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

  • Thread starter Thread starter Swapnil
  • Start date Start date
  • Tags Tags
    Function
AI Thread Summary
The discussion centers on solving the equation x^x = ax using the Lambert W function, with participants expressing skepticism about its applicability. One contributor attempts to reformulate the problem using complex numbers, suggesting that equality of modulus and phase will yield additional equations but ultimately complicates the solution. The consensus is that a closed-form solution is unlikely, and numerical methods may be the most effective approach for finding solutions, especially given the dependence on the constant a. It is noted that while the Lambert W function can solve x^x = a, it does not extend to the form x^x = ax. Overall, the equation appears to resist explicit solutions, favoring numerical approaches instead.
Swapnil
Messages
459
Reaction score
6
How would you solve
x^x = ax
for x (where a is any postive 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 x^x=cx.

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

|x|\exp(i\Phi)^{a+ib}=|x|\exp(i\Phi)

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

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

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

(e^{z})^w=e^{wz}

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

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 a.
 
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.
 

Similar threads

Replies
0
Views
4K
Replies
9
Views
2K
Replies
27
Views
4K
Replies
2
Views
3K
Replies
2
Views
3K
Replies
2
Views
3K
Replies
11
Views
14K
Back
Top