Solving an exponential function

Click For Summary

Homework Help Overview

The discussion revolves around solving the equation e2x + 2 = e3x-4, which falls under the subject area of exponential functions. Participants explore various methods to find solutions, including numerical techniques like the Newton-Raphson method.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss transforming the original equation into a cubic polynomial form and question the validity of their approaches. Some express uncertainty about the existence of other solutions, particularly regarding complex roots.

Discussion Status

The discussion is active, with participants sharing their attempts and reasoning. Some have provided approximations for solutions, while others are questioning the implications of complex roots and the accuracy of their methods. There is no explicit consensus on the final solution, but several productive lines of inquiry are being explored.

Contextual Notes

Participants note that the problem may have constraints related to the domain of real numbers and the nature of the roots derived from the cubic equation. There is also mention of the need for more accurate values in calculations to improve approximations.

chwala
Gold Member
Messages
2,835
Reaction score
426

Homework Statement


[/B]
Solve the equation
## e^{2x}+2=e^{3x-4}##

Homework Equations

The Attempt at a Solution


I know by using Newton-Raphson method the problem can be solved, i however tried solving it as follows
##e^{3x-4}-e^{2x}-2=0, e^{3x}-e^{2x}.e^{4}-2e^{4}=0, p^3-p^2.e^4-2e^4=0, →p^3-54.6p^2-109.2=0##
where
##p=e^x##,
am i correct, will i get solution this way
 
Last edited:
Physics news on Phys.org
chwala said:

Homework Statement


[/B]
Solve the equation
## e^{2x}+2=e^{3x-4}##

Homework Equations

The Attempt at a Solution


I know by using Newton-Raphson method the problem can be solved, i however tried solving it as follows
##e^{3x-4}-e^{2x}-2=0, e^{3x}-e^{2x}.e^{4}-2e^{4}=0, p^3-p^2.e^4-2e^4=0##
where
##p=e^x##,
am i correct, will i get solution this way
Yes, you can do it.
 
  • Like
Likes   Reactions: chwala

ehild said:
Yes, you can do it.
i will post solution soon, i don't have calculator now but i know solution will be of the form ## x=ln p##
 
the solution is thus ##p=54.64→x=ln 54.64, ⇒x=4.00##
 
chwala said:
the solution is thus ##p=54.64→x=ln 54.64, ⇒x=4.00##
Yes, very close to it.
 
ehild said:
Yes, very close to it.
yes, ##x=4.00 ## is an approximate solution to the problem.
 
chwala said:
yes, ##x=4.00 ## is an approximate solution to the problem.
Might there be other approximate solutions to the problem, i ignored the negative values of ##p=-0.0183+1.41i, -0.0183-1.41i##
 
chwala said:

Homework Statement


[/B]
Solve the equation
## e^{2x}+2=e^{3x-4}##

Homework Equations

The Attempt at a Solution


I know by using Newton-Raphson method the problem can be solved, i however tried solving it as follows
##e^{3x-4}-e^{2x}-2=0, e^{3x}-e^{2x}.e^{4}-2e^{4}=0, p^3-p^2.e^4-2e^4=0, →p^3-54.6p^2-109.2=0##
where
##p=e^x##,
am i correct, will i get solution this way

You will get an approximation. To get better accuracy, you need a more accurate value for ##e^4##. In principle you can write down an exact solution, using exact formulas for solutions of a cubic equation and retaining ##e^4## in symbolic form.
 
  • Like
Likes   Reactions: chwala
chwala said:
the solution is thus ##p=54.64→x=ln 54.64, ⇒x=4.00##

You can see that ##x=4## cannot be the solution, but is very close to a solution. For ##x = 4## the left-hand-side is ##2+e^{8\times 4} = 2 + e^8## while the right-hand-side is ##e^{3 \times 4 - 4} = e^8##. Since ##e^8 \doteq 2980.958## the two sides of the equation are close in terms of relative magnitude (that is, % difference), although they still differ by 2 in absolute terms.

You can also see how to get a good approximation quickly: set ##x = 4 + y## with ##y## small. The equation becomes ##2 + e^8 e^{2y} = e^8 e^{3y}##, or ##e^{3y} - e^{2y} = 2 e^{-8} \doteq##0.6709252558e-3. Using the series expansions ##e^{3y} = 1 + 3y + \cdots## and ##e^{2y} = 1 + 2y + \cdots##, we have ##3y - 2y + \cdots =##0.6709252558e-3, so ##y \doteq##0.6709252558e-3 and ##x \doteq 4.000670925.## This is still an approximation, but it is a pretty good one: with this new ##x## the left-hand side is 2986.960670, while the right-hand-side is 2986.964042.
 
  • Like
Likes   Reactions: chwala
  • #10
Ray Vickson said:
You can see that ##x=4## cannot be the solution, but is very close to a solution. For ##x = 4## the left-hand-side is ##2+e^{8\times 4} = 2 + e^8## while the right-hand-side is ##e^{3 \times 4 - 4} = e^8##. Since ##e^8 \doteq 2980.958## the two sides of the equation are close in terms of relative magnitude (that is, % difference), although they still differ by 2 in absolute terms.

You can also see how to get a good approximation quickly: set ##x = 4 + y## with ##y## small. The equation becomes ##2 + e^8 e^{2y} = e^8 e^{3y}##, or ##e^{3y} - e^{2y} = 2 e^{-8} \doteq##0.6709252558e-3. Using the series expansions ##e^{3y} = 1 + 3y + \cdots## and ##e^{2y} = 1 + 2y + \cdots##, we have ##3y - 2y + \cdots =##0.6709252558e-3, so ##y \doteq##0.6709252558e-3 and ##x \doteq 4.000670925.## This is still an approximation, but it is a pretty good one: with this new ##x## the left-hand side is 2986.960670, while the right-hand-side is 2986.964042.
Thanks Ray, yeah right I know the solution may be approximated by various numerical methods techniques, I appreciate bro
 
  • #11
chwala said:
Might there be other approximate solutions to the problem? I ignored the negative values of ##p=-0.0183+1.41i, -0.0183-1.41i##.
Those aren't negative roots; they're complex roots.

You had a cubic polynomial, so it has only three roots. The one real root gave you the solution you wanted. The two complex roots won't yield real solutions, so there are no more solutions in the (assumed) domain of the problem.
 
  • #12
Agreed
 

Similar threads

  • · Replies 12 ·
Replies
12
Views
2K
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
10
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
9
Views
2K
Replies
7
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 7 ·
Replies
7
Views
5K
Replies
5
Views
2K