Can You Solve 2^x = x^5 with Just a Basic Calculator?

  • Thread starter Thread starter EternityMech
  • Start date Start date
AI Thread Summary
The equation 2^x = x^5 cannot be solved algebraically, but numerical methods and the Lambert W function can be applied for solutions. By taking logarithms, one can derive x = 5 ln(x), though this still lacks a straightforward algebraic solution. Graphical methods and fixed-point iteration can help find approximate solutions, with two real solutions identified for the equation. For practical calculations, starting with an initial guess and iterating can yield results using basic calculators. Ultimately, while the problem appears simple, it involves complex mathematical concepts and numerical techniques for resolution.
EternityMech
Messages
95
Reaction score
0
anyway to solve this? if so what level of math is needed?
 
Mathematics news on Phys.org


what if you logged both sides using log with 2 power base?

you get x = 5 lnx

is that easier to solve?
 


EternityMech said:
anyway to solve this? if so what level of math is needed?

As micromass said, you can't really solve that type of equation algebraically. In some simple case you might just "spot" a solution by inspection (eg 2^x = x^2; x=2 or x=4).

You can solve the equation numerically or manipulate the Lambert-W function into a solution.

The Lambert-W function W(x) is defined as the solution (w) to we^w = x.

BTW. How many real solutions are you expecting to get for that equation?
 


EternityMech said:
what if you logged both sides using log with 2 power base?

you get x = 5 lnx

is that easier to solve?

No, there's still no algebraic solution.

You're best to write it as e^{ax} = x^5 and then take the fifth root of each side. (a = sqrt(2) btw).

x e^{-ax/5} = 1

From here you can fairly easily manipulate it into Lambert's equation.
 


uart said:
BTW. How many real solutions are you expecting to get for that equation?

all of them...?
 


EternityMech said:
all of them...?

Can you deduce how many there are?
 


Mentallic said:
Can you deduce how many there are?

2 if you use calculus it seems atleast according to wolfram. been looking into the lambert w function seems waay out of my league for now. seems there are no simple answer with this. but it sure looks simple.
 


Solve it graphically! A picture is worth a thousand words.
 
  • #10


EternityMech said:
2 if you use calculus it seems atleast according to wolfram. been looking into the lambert w function seems waay out of my league for now. seems there are no simple answer with this. but it sure looks simple.

x=\cos(x) might also look simple, but it too cannot be solved algebraically. They're called transcendental equations.
 
  • #11


EternityMech said:
2 if you use calculus it seems atleast according to wolfram. been looking into the lambert w function seems waay out of my league for now. seems there are no simple answer with this. but it sure looks simple.
Yes that is correct, there are two real solutions. For some fairly small positive value of "x", x^5 will exceed 2^x, but it is important to understand that for large "x" that 2^x will eventually exceed x^5 (or any power of x for that matter).

BTW. From my previous post x e^{-ax/5} = 1, so (-ax/5) e^{-ax/5} = -a/5. Can you see that this is exactly in the form of Lambert's equation. Of course this is only of use to you if you have software or tables or whatever that solves Lambert's equation.
 
Last edited:
  • #12


There is a simple numerical solution you can do on just a basic scientific calculator, and it's particularly easy if it's got an "ans" button and can automatically repeat the previous calculation (many do this by just repeatedly pressing "=" for example).

Rearrange the equation to x = (2^x)^{0.2} and start with an initial "guess" of say x=2. You'll find that repeated iterations of this equation converge to the first solution fairly quickly. This is called "fixed point iteration" btw.

For the second solution you can rearrange it into x = \log(x^5)/\log(2), with some larger initial guess for "x" this should converge fairly quickly to the second solution.

For fixed point iteration you just keep repeating the calculation, each time using the newest value of "x" in the right hand side of the equation.
 
Back
Top