Solving for y: e^(y) = y^(2) - 2

Click For Summary
SUMMARY

The equation e^(y) = y^(2) - 2 cannot be solved analytically and requires numerical or graphical methods for solutions. Key mistakes in the initial approach include the incorrect assumption that ln(2) = 1, when it is approximately 0.693. The discussion emphasizes using Taylor series approximations and Newton's method for iterative solutions, with an example yielding an approximate answer of -1.6458. The recommended tools for solving this equation include graphing calculators and software like Desmos and GeoGebra.

PREREQUISITES
  • Understanding of logarithmic properties, specifically ln(A - B) ≠ ln(A) - ln(B)
  • Familiarity with Taylor series expansions, particularly for e^y
  • Knowledge of numerical methods, including Newton's method
  • Experience with graphing tools such as Desmos or GeoGebra
NEXT STEPS
  • Learn about Taylor series approximations for exponential functions
  • Study the Newton-Raphson method for finding roots of equations
  • Explore graphical methods for solving equations using Desmos
  • Investigate numerical analysis techniques for approximating solutions
USEFUL FOR

Students studying calculus, mathematicians dealing with transcendental equations, and anyone interested in numerical methods for solving complex equations.

flyingfishcattle
Messages
2
Reaction score
0

Homework Statement


Hi
I am having trouble solving for y for the following equation:
e^(y) = y^(2) - 2

Homework Equations


ln(x)^(y) = y*ln(x)
ln(e^(y)) = y
ln(2) = 1

The Attempt at a Solution


My attempt:
e^(y) = y^(2) -2
ln(e^(y)) = ln(y^(2)) - ln(2)
y = 2*ln(y) - 1
y - 2*ln(y) + 1 = 0 <--- stuck here

Any help would be appreciated
 
Physics news on Phys.org
flyingfishcattle said:

Homework Statement


Hi
I am having trouble solving for y for the following equation:
e^(y) = y^(2) - 2

Homework Equations


ln(x)^(y) = y*ln(x)
ln(e^(y)) = y
ln(2) = 1

The Attempt at a Solution


My attempt:
e^(y) = y^(2) -2
ln(e^(y)) = ln(y^(2)) - ln(2)
y = 2*ln(y) - 1
y - 2*ln(y) + 1 = 0 <--- stuck here

Any help would be appreciated
Hello flyingfishcattle . :welcome:

You have some mistakes:
  1. ln(2) ≠ 1 . In fact, what is true: ln(e) = 1, also ln(2) ≅ 0.693 as well as log2(2) = 1 .
  2. In general, ln(A − B) ≠ ln(A) − ln(B) . Specifically, ln(y^(2) − 2) ≠ ln(y^(2)) − ln(2) .
Equations such as this cannot be solved in closed form using standard functions. This equation should be solved using something like numerical or graphical methods.
 
https://www.desmos.com/calculator/yfsfflsspq
Two functions: ##e^x## and ##x^2-2##
It should only have an approximated answer,rather than an definitive one( like ##\sqrt2##).Geogebra and my graphing calculator also says that.
 
A decimal approximation is -1.491644195.
 
This cannot be solved analytically.
You have to use an approximation.

For example, you can take the approximation (taylor series) of e^y = 1 + y + y^2/2
Then you will have 0 = y^2 - 2y - 6, and can solve for y.
You will get -1.6458 which is approaching the correct answer. To get more correct, include more terms from the taylor series.
 
  • Like
Likes   Reactions: YoungPhysicist and DaveE
DuckAmuck said:
This cannot be solved analytically.
You have to use an approximation.

For example, you can take the approximation (taylor series) of e^y = 1 + y + y^2/2
Then you will have 0 = y^2 - 2y - 6, and can solve for y.
You will get -1.6458 which is approaching the correct answer. To get more correct, include more terms from the taylor series.
If you are going to do it essentially "by hand", it's much more efficient to just use a couple of iterations of Newton's method.
 
LCKurtz said:
If you are going to do it essentially "by hand", it's much more efficient to just use a couple of iterations of Newton's method.
The first approximation using the 3 term Taylor expansion will be 1 - √7 which you can punch into the calculator. Thereafter you can very easily set up the Newton Rhapson iteration on any scientific calculator having an 'ANS' button (just about all of them!):

$$ANS - \frac{e^{ANS}-{ANS}^2+2}{e^{ANS}-2 \times ANS}$$

Just keep pressing the "=" sign for continuing iterations!
 
  • Like
Likes   Reactions: DuckAmuck

Similar threads

  • · Replies 19 ·
Replies
19
Views
3K
Replies
8
Views
4K
Replies
12
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
4
Views
2K
Replies
10
Views
2K
Replies
12
Views
3K