Solving x^x = a*x with Lambert W Function

  • Context: Graduate 
  • Thread starter Thread starter Swapnil
  • Start date Start date
  • Tags Tags
    Function
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
7 replies · 4K views
Swapnil
Messages
459
Reaction score
6
How would you solve
[tex]x^x = ax[/tex]
for x (where a is any positive constant >1)?

I am trying the Lambert W function but I just can't get it to the right form. I am starting to think that you can't solve this using the Lambert W function. Any help?

edit: Sorry, I really wanted the expression to be x^x = a*x
 
Last edited:
Mathematics news on Phys.org
You're looking for solutions to [itex]x^x=cx[/itex].

Set x=a+ib=|x|exp(i[itex]\Phi[/itex]) and look to solutions to

[tex]|x|\exp(i\Phi)^{a+ib}=|x|\exp(i\Phi)[/tex]

knowing that two complex numbers are equal iff their modulus are equal and their phase differ by at most a factor of 2n[itex]\pi[/itex], [itex]n\in \mathbb{Z}[/itex]. For instance, I find that the condition of equality of modulus imposes the following relation btw a,b and c

[tex]\frac{b-ab}{2}\ln(a^2+b^2)\tan^{-1}(b/a)=c[/tex]

The condition on the phase will restrict the possible solutions some more.
 
Last edited:
I have a little doubt about what I wrote though because I don't remember how a complex number raised to a complex number "looks" like but I think

[tex](e^{z})^w=e^{wz}[/tex]

is correct.
 
quasar987 said:
[tex]\frac{b-ab}{2}\ln(a^2+b^2)\tan^{-1}(b/a)=c[/tex]

The condition on the phase will restrict the possible solutions some more.
I don't know how is this going to help. Instead of having one equation and one unknown we would now have two equations and two unknowns. And it doesn't seem like this approach is going to be any easy looking how the a's and b's are "trapped" inside.
 
Wheter you find it pretty or not it's the solution nonetheless. If you give that to a computer, he will indiscriminately find all solutions in a fraction of second.
 
Last edited:
quasar987 said:
Wheter you find it pretty or not it's the solution nonetheless. If you give that to a computer, he will indiscriminatorily find all solutions in a fraction of second.
That's the only clever way to go here.
Closed form solution is impossible for this equation I think.Just numerically ,and it depends on constant [tex]a[/tex].
 
So it is NOT possible to use the Lambert W function here. I mean, we can use the Lambert W function to find a closed-form solution to the equation x^x = a. But we can't, supposedly, solve for x^x=ax using the same function?

Anyways, does anyone have clever way to solve this equation in CLOSED-FORM?
 
Possible or not,this equation can't be solved explicitly.I haven't worked with "W" function much in past ,but I think you are right:
X^(X)=a is one thing and X^(X-1)=a quite another one.
There are numerical methods though.
Some may be better suited for this type of equation (ie. faster convergence) than others. It depends what precision you want.