Lambert W Function: Solving for the Inverse of x^x = y

  • Thread starter Thread starter arpon
  • Start date Start date
  • Tags Tags
    Function Homework
Click For Summary
The discussion focuses on finding the inverse of the function f(x) = x^x, noting that there is no closed form expression for it. It highlights the use of the Lambert W function, which is the inverse of the function f(x) = xe^x. By taking the logarithm of both sides of the equation x^x = y, the transformation leads to the equation u e^u = ln(y), where u = ln(x). This allows for the solution x = exp(W(ln(y))). The Lambert W function thus provides a method to express x in terms of y for the original equation.
arpon
Messages
234
Reaction score
16
If, ##f(x)=x^x##, then, f-1(x)=?
 
Mathematics news on Phys.org
I don't think there's a closed form expression for that.
 
Nicely done! I misread your answer at first and thought you had it wrong but saw that you are correct after working it out for myself. The Lambert W function is inverse to f(x)= xe^x but taking the logarithm of both sides of x^x= y gives xln(x)= ln(y) not xe^x= y.

Instead, once you have xln(x)= ln(y), let u= ln(x). Of course, then, x= e^{ln(x)}= e^u so the equation becomes
ue^u= ln(y), u= ln(x)= W(ln(y)) so that, as you say, x= exp(W(ln(y)).
 
Here is a little puzzle from the book 100 Geometric Games by Pierre Berloquin. The side of a small square is one meter long and the side of a larger square one and a half meters long. One vertex of the large square is at the center of the small square. The side of the large square cuts two sides of the small square into one- third parts and two-thirds parts. What is the area where the squares overlap?

Similar threads

  • · Replies 0 ·
Replies
0
Views
4K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K