How to solve when x is an exponent and a base

  • Context: High School 
  • Thread starter Thread starter JungleJesus
  • Start date Start date
  • Tags Tags
    Base Exponent
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
5 replies · 6K views
JungleJesus
Messages
36
Reaction score
0
Just out of curiosity, I was wondering how to solve for x in an expression of the form
ax = xb

It kinda tripped me out at first.
 
Mathematics news on Phys.org
You can try manipulating it to fit the lambert W function I think.
 
Anonymous217 said:
You can try manipulating it to fit the lambert W function I think.
Yes. Taking the "b"th root of both sides, [itex](a^{1/b})^x= x[/itex] so that [itex]1= xe^{-(1/b)(ln a)x}[/itex]. Multiply on both sides by -(1/b)ln a: [itex]-(1/b)ln a[/itex][itex]= (-(1/b)(ln a)x)e^{-(1/b)(ln a)x}[/itex].

Letting y= -(1/b)(ln a)x, that becomes [itex]ye^y= -(1/b)ln a[/itex]. Using the Lambert W function (which is defined as the inverse function to f(x)= xex) we have y= W(-(1/b)ln a).

Then [itex]x= -\frac{b}{ln a}W(-(1/b)ln a)[/itex]
 
HallsofIvy said:
Letting y= -(1/b)(ln a)x, that becomes [itex]ye^y= -(1/b)ln a[/itex]. Using the Lambert W function (which is defined as the inverse function to f(x)= xex) we have y= W(-(1/b)ln a).

Then [itex]x= -\frac{b}{ln a}W(-(1/b)ln a)[/itex]

Is there any way to simplify this expression, or is this the bare bones? How would one procede to calculate this value?
 
JungleJesus said:
Is there any way to simplify this expression, or is this the bare bones? How would one procede to calculate this value?

There are numerical methods, like Newton's method or the secant method, that can give numerical values for the W function -- or even your original function directly. (If you just want the W function, there are optimizations that can be used to make it go faster.)