Science Forums
Advanced search
User Name
Password

Science Social Network
home    members    help/rules    who is online    contact   

Go Back   Science Forums > Physical Sciences Forums > Physics and Mathematics
Become a science forums sponsor today
Reply
 
LinkBack Thread Tools
Old 09-24-2007   #1 (permalink)
Monomer's Avatar
Explaining


 



Closed form solution for P(x) = exp(x)

A student at my Mum's work sent this email out and Mum sent it to me thinking I'd know how to solve it. She's sweet, but forgets that it's been more than a decade since I studied maths.

So is there anyone at Hypo that can help out with this one?


Quote:
I am trying to find a closed form solution for the following equation:

P(x) = exp(x),

where P(x) is a polynomial of degree d >0.

Does anyone know the solution for this? Any help will be appreciated.
Reply With Quote
Old 09-25-2007   #2 (permalink)
Qfwfq's Avatar
Exhausted Gondolier

Hypography Staff Member
Administrator

 



Re: Closed form solution for P(x) = exp(x)

Can't give an exact proof without looking back through textbooks but I'd say no, for a polynomial P(x) of finite degree.

The only sensible way to treat an equality between the two is by an expansion of the exponential, which is a polynomial of infinite degree. Expanding from 0 is easy:

e^x=\sum_{n=0}^{\infty}\frac{x^n}{n!}

Now writing the equation as difference equals 0 means altering a finite subset of the series coefficients. There's not a general method for finding the zeros of the new "polynomial" although there certainly is in the case of degree 0 because the equation's original form is trivial to solve. A full proof would be slightly more complicated but I think degree 0 is the only finite one for which there's a solution.


----------------
Who's afraid of the Big Black Hole?????

Go Black Hole! W the Black Hole!

Hasta que el agujero negro nos traga, siempre!

Hypography Forum PITA...... er, Administrator.

Last edited by Qfwfq; 09-25-2007 at 04:05 AM.
Reply With Quote
Old 09-25-2007   #3 (permalink)
Monomer's Avatar
Explaining


 



Re: Closed form solution for P(x) = exp(x)

Thanks for the reply Qfwfq!

I'll pass it on to the student.
Reply With Quote
Old 09-25-2007   #4 (permalink)
Pyrotex's Avatar
Slaying Bad Memes

Hypography Staff Member
Moderator
Editor

Latest blog entry:
I need a Vacation
 
Pyrotex has a reputation beyond reputePyrotex has a reputation beyond reputePyrotex has a reputation beyond reputePyrotex has a reputation beyond reputePyrotex has a reputation beyond reputePyrotex has a reputation beyond reputePyrotex has a reputation beyond reputePyrotex has a reputation beyond reputePyrotex has a reputation beyond reputePyrotex has a reputation beyond reputePyrotex has a reputation beyond repute
Send a message via MSN to Pyrotex
 



Re: Closed form solution for P(x) = exp(x)

Quote:
Originally Posted by Qfwfq View Post
Can't give an exact proof without looking back through textbooks but I'd say no, for a polynomial P(x) of finite degree....
Maybe it depends on what you want the polynomial for. If you're looking for the "zeros" for P(x), then it appears hopeless. But if you just want a polynomial that has nearly the same shape in the region 0 < x < 1, the same area under the curve, the same slope, etc, then a close approximation may be to just take the first m terms of the expansion, for m between 4 and 8.


----------------
Hypography Forums Moderator
-- - - - - -
What concerns me is not the way things are, but rather the way people think things are.
Epictetus, Greek Philosopher
The map is NOT the territory.
Korzybski, Polish-American Philosopher
Reply With Quote
Old 09-26-2007   #5 (permalink)
Monomer's Avatar
Explaining


 



Re: Closed form solution for P(x) = exp(x)

Thanks for your input Pyrotex!

I'll pass that info on too.
Reply With Quote
Old 09-27-2007   #6 (permalink)
Qfwfq's Avatar
Exhausted Gondolier

Hypography Staff Member
Administrator

 



Re: Closed form solution for P(x) = exp(x)

Yes Pyro, solving the equation would mean finding the zeros of e^x - P(x) so I'd say it's hopeless except for brute number crunching.


----------------
Who's afraid of the Big Black Hole?????

Go Black Hole! W the Black Hole!

Hasta que el agujero negro nos traga, siempre!

Hypography Forum PITA...... er, Administrator.

Last edited by Qfwfq; 09-27-2007 at 01:18 AM.
Reply With Quote
Old 09-29-2007   #7 (permalink)
Nootropic's Avatar
Questioning


 



Re: Closed form solution for P(x) = exp(x)

The Lambert W-function, or product log, actually provides a closed form for the solution of this equation in certain instances. Check it out: Lambert W function - Wikipedia, the free encyclopedia


----------------
"In heaven all the interesting people are missing."
--Friedrich Nietzsche
Reply With Quote
Old 10-01-2007   #8 (permalink)
Qfwfq's Avatar
Exhausted Gondolier

Hypography Staff Member
Administrator

 



Talking Re: Closed form solution for P(x) = exp(x)

Well I suppose that with:
Quote:
Originally Posted by Nootropic View Post
...in certain instances.
you mean those of the form P(x)=\frac{\alpha}{x} or even P(x)=\alpha x with a bit of manipulation. Even for P(x)=\alpha x+\beta I don't seem to get Lambert equals a constant, I get:

xe^x=\frac{1}{\alpha+\frac{\beta}{x}}

Of course one could always define the Gilbert W-squared function w^2e^w and the Dilbert W-cube function etc. and, for any polinomial P(x), one couild define the Gollywooglesmurfbert P^{-1}(w) function as:

f(w)=\frac{e^w}{P(w)}

and of course in each case you need to know the inverse of the defined function.


----------------
Who's afraid of the Big Black Hole?????

Go Black Hole! W the Black Hole!

Hasta que el agujero negro nos traga, siempre!

Hypography Forum PITA...... er, Administrator.
Reply With Quote
Old 10-01-2007   #9 (permalink)
Monomer's Avatar
Explaining


 



Re: Closed form solution for P(x) = exp(x)

Here's one reply you might be interested in:

Quote:
I don't believe there is a general closed form solution. For P(x)=0, general closed form solutions only exist up to d=4 [1, Chapter 4]. For P(x)=exp(x), the solution for d=0 is trivial. For d=1, we we have a*x+b=exp(x). Doing a graph, we can see that there can be one, two, or no real solutions, depending on the value of a and b. We can express exp(x) as an infinite polynomial, but we know this does not have a general closed form solution. Given the difficulty of finding a solution even for d=1, I very much doubt a general solution exists.

Your best bet is to solve the equation numerically. Newton-Raphson's (or Newton's) method is probably the most useful.

p_{n+1} = p_n - f(p_n)/f'(p_n), n >=0

where f(x) = P(x) - exp(x), and f'(x) = dP(x)/dx - exp(x).

[1] N. Jacobson, "Basic algebra I, Second Ed.," W. H. Freeman and Company, New York, 1985.
Reply With Quote
Old 10-02-2007   #10 (permalink)
Nootropic's Avatar
Questioning


 



Re: Closed form solution for P(x) = exp(x)

Certain instances, where p(x) = x. For larger degree polynomials, we may be out of luck, unless we use the suggested method of approximating the solution with the mclaurin series for the exponential function. Or a more efficient method, while not exact, would be to use newton's method. Which is certainly plausible, and can be used to good degree of accuracy.


----------------
"In heaven all the interesting people are missing."
--Friedrich Nietzsche
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
I want someone to reveiw my AI solution ScottKreiger Computer Science 2 04-16-2007 11:01 AM
Solution chemistry quatumrulesoverall Chemistry 12 09-14-2006 05:35 PM
Mixture? | Solution? kingwinner Chemistry 10 11-13-2005 07:48 AM
A new form of entertainment dimidimidimi Books, movies, games 3 06-24-2003 04:16 AM


All times are GMT -8. The time now is 12:11 PM.

Hypography?

Hypography [n.]: A combination of "hyperlink" and "bibliography" - ie, a list of links to electronic documents. Comparable to discography and bibliography, but not cartography.

We have been online since May 2000, and aim to be the best place to find and share science-related content of all kinds.

Share the love!

Please add more science to your life. Use our RSS feeds on your blog, your portal, or your favorite feedreader!

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. Copyright © 2000-2008 Hypography
Part of the Hypography - Science for Everyone Network