How Do You Solve the Equation e^x - x^3 + x^2 - 2x = 0?

  • Thread starter Thread starter Cheman
  • Start date Start date
AI Thread Summary
The equation e^x - x^3 + x^2 - 2x = 0 is a transcendental equation, and its solutions can only be approximated, with graphical methods being the most effective approach. The approximate solutions identified are x = 1.727780... and x = 4.098178..., confirmed by multiple users. A method to isolate x involves iterative guessing, starting with an initial value and refining it through recalculations. However, this method may not yield all solutions, particularly the second one, which requires a different formulation for convergence. The discussion emphasizes the importance of understanding fixed-point solutions for better approximation techniques.
Cheman
Messages
235
Reaction score
1
Does anyone know how to solve the following equation:

e^x-x^3+x^2-2x = 0.

Thanks in advance.
 
Mathematics news on Phys.org
x = 1.727780...
x = 4.098178...
 
It doesn't work that way...It's a transcendental equation.It's solutions are found only by approximation...Graphical method is the best to use...

Daniel.
 
Cheman said:
Does anyone know how to solve the following equation:

e^x-x^3+x^2-2x = 0.

Thanks in advance.

Do you know that without using LaTex you can still do superscripts using the [ sup ] [ /sup ] tags (without spaces)

For example. e^x can be written as e[ sup ]x[ /sup ] (to produce) ex.

Type in [ sup ] (without the spaces), copy it, then just paste it as you type. Then add the slash to the trailing tags.

With just a little pasting your equation could look like this,...

ex-x3+x2-2x = 0.

Or even encapsulate the whole mess in a larger font size llike so,...

ex-x3+x2-2x = 0

The're even nestable. For example you could do something like the following without using latex at all.

e(x2-y2)

You can also do subscripts the same way using [ sub ] [ /sub ]

Sorry. I just hate messy looking equations. :biggrin:
 
The good part is that,even written in this "horrible" way,it's still inteligible.Thankfully it didn't involve fractions... :-p

Daniel.
 
arcnets said:
x = 1.727780...
x = 4.098178...
Yep, that's what I got too. These calculators never cease to amaze me. :approve:
 
One way to come up with a solution for this type of problem is to simply to isolate an x on one side of the equation. Then make a guess, following guesses are made by simply recomputing using the most recent result.

for example in this problem you can write

x = \frac { e^x -x^3+x^2} 2

With a starting guess of 1 the following sequence is generated
2.718281828
1.228890709
1.535886038
1.69065678
1.724461477
1.72755973
1.727765576
1.727778787
1.727779633
1.727779687
1.727779691


Trouble is this particular formulation will not generate the second point. It is required that the slope of the function be less then 1 in the region of the solution.

if you recast as

x= ln (x^3 -x^2 +2)

You get a fixed point at the second solution but is much slower in converging.

This process is know as a Fixed point solution. A web search may well provide more details.
 

Similar threads

Replies
7
Views
1K
Replies
1
Views
983
Replies
2
Views
1K
Replies
3
Views
1K
Replies
8
Views
1K
Replies
6
Views
1K
Replies
14
Views
2K
Back
Top