Solve y=x^x for x: Logarithmic Equations

  • Thread starter Thread starter Izzhov
  • Start date Start date
Click For Summary

Homework Help Overview

The discussion revolves around solving the equation y=x^x for x in terms of y, focusing on logarithmic equations and the properties of the Lambert W function.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants explore the implications of taking the natural logarithm of both sides and question the feasibility of expressing x as a function of y. Some suggest plotting the functions, while others clarify that the goal is not to find intersections but to manipulate the equation. The role of the Lambert W function is introduced as a potential solution, with discussions on its definition and applicability.

Discussion Status

The conversation is ongoing, with various interpretations of the problem being explored. Some participants have provided insights into the Lambert W function and its relevance, while others are questioning the definitions and constraints of the functions involved.

Contextual Notes

Participants note that the logarithm is undefined for non-positive values, and there are discussions regarding the limitations of expressing the inverse of y=x^x in terms of elementary functions. The discussion also touches on the conditions under which the Lambert W function can be applied.

Izzhov
Messages
120
Reaction score
0
Problem:
I'm trying to figure out how to solve y=x^x for x as a function of y.

Related Equations:
\log_n a^b=b \ast \log_n a

Attempt at Solution:
I took the natural logarithm of both sides and got: \ln y=x \ast \ln x I don't really have any idea where to go from here.
 
Physics news on Phys.org
How about plotting both sides...

Remember that the \ln(x) is nonsense for x \leq 0.
 
Dr Transport said:
How about plotting both sides...

Remember that the \ln(x) is nonsense for x \leq 0.

Uh... by plot, do you mean graph? I'm not trying to find where the graphs intersect or anything... I'm just trying to change the equation from y=f(x) to x=f(y)
 
Last edited:
You mean to say that x^x has no inverse that can be defined in terms of elementary functions? Then what about using calculus? Can it be defined then?
 
Depends upon what you mean by "using Calculus". The inverse of y= xx is the "Lambert W function".
 
By "using calculus," I mean, for example, defining the function with sigma notation, the derivative of something, etc. Here's a good example: the indefinite integral \int x^x dx can not be defined in terms of elementary functions, but can be defined as the indefinite integral of x^x So, what I'm asking is, can the inverse of x^x be defined in terms of elementary functions as well as indefinite integrals, series, sums (i.e. sigma notation), derivatives, and so on?
 
I did some research on the "Lambert W function," and it's not the inverse of x^x. It's the inverse of x \ast e^x.
 
Nchimy

Solving y=x^x for x does have a solution in terms of Lambert W Function. Although this reply may have come late, one could still make use of it later.

To make the problem easy, let's assume that x and y are real. Then we can proceed as follows:

If y = x^x, ...(1)

then since we also have

x = exp[ln[x]], ...(2)

we may conviniently express (1) as

y=x^exp[ln[x]]. ...(3)

Now, taking logs on both sides of (3) (and noting that ln[d^c]=cln[d]) gives

ln[y] = ln[x] * exp[ln[x]] ... (4).

Imediately, we see that (4) can be solved for ln[x], using Lambert W Function, as

ln[x] = W[ln[y]] ... (5)

so that

x = exp[W[ln[y]]] ... (6) .

The solution in (6) is valid for y > 0 because ln[y] for real values of y makes sense only within this range. From (6) (and taking note that W[0]=1while W[e] =1) we see that

(a) x = 0 when y = 1,
(b) x = 1 when y = e
(c) x is only real when ln[y] >= -(1/e) (or equivalently x is real for y >= exp[-(1/e)) but complex and multivalued otherwise.
(d) x increases monotonically with increasing value of y.
(e) The exists a taylor series expansion of x, about ln[y]=0, with a radius of converges equal to -(1/e).

For more details on th Lambert W function, please refer to Corless R M et al, “On the Lambert W function”, Adv. Comput. Math, Vol. 5, pp.329-359.


Cheers...
 
Last edited:

Similar threads

Replies
4
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
10
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 19 ·
Replies
19
Views
3K
Replies
7
Views
2K
Replies
17
Views
3K