Unsolvable Exponential: Solving x = y^y

  • Context: Graduate 
  • Thread starter Thread starter soandos
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the equation x = y^y and the challenges associated with solving for y. Participants explore various methods, including the Lambert W function, Newton's method, and numerical approximations, while addressing the implications of negative values of x and the continuity of derivatives.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants propose that a closed form solution exists using the Lambert W function, while others suggest numerical methods like Newton's method or the secant method.
  • There is uncertainty regarding whether the solution can be expressed exactly or if only numeric approximations are feasible.
  • Participants discuss the validity of the expression Sqrt[x]^Sqrt[x] == 1/x^Sqrt[x], with some asserting it is false based on numerical checks.
  • Concerns are raised about the applicability of Newton's method for negative values of x, with some arguing that the derivatives are non-continuous in that case.
  • Some participants suggest alternative methods like Halley's method or the secant method for negative x, while others question the continuity of the function involved.
  • There is a discussion about the implications of solving x^x for negative values and the relationship to the gamma function, with varying opinions on the solvability of such expressions.
  • Participants express uncertainty about the continuity of the function x^x and its behavior with negative or irrational inputs.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the methods for solving the equation or the implications of negative values of x. Multiple competing views remain regarding the applicability of various mathematical techniques and the continuity of the functions involved.

Contextual Notes

Limitations include unresolved questions about the continuity of derivatives for negative x, the exact nature of solutions for irrational numbers, and the dependence on specific mathematical definitions and conditions.

soandos
Messages
166
Reaction score
0
Is it possible to solve x = y^y for y?
 
Physics news on Phys.org
There's a closed form in Lambert's W, or you could use Newton's method. (Actually, depending on how fast you can evaluate logarithms and exponentials, the secant method is probably faster.)
 
I'm sure I'm missing something here, but isn't the solution simply y equals the yth root of x?.
 
SW VandeCarr said:
I'm sure I'm missing something here, but isn't the solution simply y equals the yth root of x?.
Since y is unknown, the yth root of x is unknown.
 
Just some clarification:

is there a way to get an exact value, or just a numeric approximation?
also, i do not really understand the Lambert W function. the link just says that it is the inverse function, but not how.

also, how is the following true (or is it false?):
Sqrt[x]^Sqrt[x]==1/x^Sqrt[x]
 
Last edited:
soandos said:
also, how is the following true (or is it false?):
Sqrt[x]^Sqrt[x]==1/x^Sqrt[x]

False. 1/x = x^(-1), so you'd have [x^(1/2)]^[x^(1/2)] = [x^(-1)]^[x^(1/2)]

Also, a quick numerical check can show you it's false. Take 4, for example. Square root 4 = 2, so you have 2^2 = (1/4)^2, so that's false.
 
soandos said:
is there a way to get an exact value, or just a numeric approximation?

Is there a way to get an exact value for [itex]\sqrt 2[/itex], or just a numeric approximation? Because Newton's method is used for square roots as well.

This is a philosophical question more than a mathematical one, I suspect.
 
*erroneous post*
 
to get an exact answer, i think the only real way is with a continuous fraction. could someone please explain to me exactly what Newtons method is?
 
  • #10
http://www.google.com/search?q=Newton's method
 
Last edited by a moderator:
  • #11
I am not sure that i understand. if the root is negative, then it will never work, as the derivatives of the function are x^x (1 + \text {Log}[x]) for the first derivative, and x^{-1 + x} + x^x (1 + \text {Log}[x])^2 for the second derivative. i believe that both of these are non-continuous at any negative. is this right, or am is making a mistake?
 
  • #12
soandos said:
I am not sure that i understand. if the root is negative, then it will never work, as the derivatives of the function are x^x (1 + \text {Log}[x]) for the first derivative, and x^{-1 + x} + x^x (1 + \text {Log}[x])^2 for the second derivative. i believe that both of these are non-continuous at any negative. is this right, or am is making a mistake?

You didn't sy you were looking at x < 0. You'll need to use the secant method (as I recommended in my first post!) or something similar instead of Newton in that case. Otherwise you could use Newton's method or Halley's method to compute W and get the answer that way.

I generally recommend Newton's method only because it is what is taught. The secant method is often better. Of course you can always fall back onto bisection if you have trouble... or don't want to use something complex like regula falsi.
 
  • #13
i am not sure that i understand. i thought from what i read that the secant method has the same kind of problem that Newton's method does, namely that if there is no continuous second derivative, then there is no guarantee that it will converge.
also, from what i understand of Halley's function, is that it is dependent on Newtons method, so for -x it will also fail. in fact, i believe that all of these methods are for continuous functions only.
is there a non-iterative way of doing this, or at least one that will work for negative x?
 
  • #14
soandos said:
i am not sure that i understand. i thought from what i read that the secant method has the same kind of problem that Newton's method does, namely that if there is no continuous second derivative, then there is no guarantee that it will converge.
also, from what i understand of Halley's function, is that it is dependent on Newtons method, so for -x it will also fail.

I suggested Halley's method for solving W, not x^x.

soandos said:
in fact, i believe that all of these methods are for continuous functions only.

Your function is continuous, what's the problem?
 
  • #15
i thought that it is not continious at all negative x.
 
  • #16
soandos said:
i thought that it is not continious at all negative x.

Well, just take absolute values and find the magnitude, then see if a solution is possible with a sign change.
 
  • #17
how could that work if the magnitude of the absolute value is a different expresion? even with a sign change, the absolute value is changing more than that.
 
  • #18
also, how could someone compute W using halleys mehtod?
 
  • #20
thanks. but what about the previous question?
 
  • #21
soandos said:
thanks. but what about the previous question?

I've given lots of ways to solve the problem. Pick one and go with it.
 
  • #22
Let us try the transformation: Switch (x,y), and after the slolution of:

y=x^x then switch(x,y) again.

is that a good start for the Newton(-Raphson) method?
 
  • #23
that is the whole problem to begin with, finding the solution.
 
  • #24
Beste Soandos,

y=x^x=exp(x*ln(x)), dy/dx=d(x*ln(x))/dx*exp(x*ln(x)) by the chain rule.

d(x*ln(x)/dx = ln(x)+x/x by summation rule, under the condition: x<>0

dy/dx=(ln(x)+1)*x^x under the condition: x<>0.

Fill this in in the Newton method and solve.

greetings
 
Last edited:
  • #25
and how does this help with negative x?
it is just what we had before.
 
  • #26
Sorry added in Yesterday, for negative x the ln(x) becomes complex but is calcuable.
 
  • #27
as you can see from earlier posts, this has arelady been dealth with. Newtons does not work where the derivative is non-continious. see earlier posts.
 
  • #28
OK. If it is true that x^x can be solved than x^-x can also be solved.
For at least all x even there is then the solution x^x=x^-x.
This is interesting for I always wondered what rationals are even.
Compare this to the fact that gamma(x) is a extension of the factorial x! for a unwhole number.

Greetings
 
  • #29
not what i said. i meant (-|x|)^(-|x|)==x^x. that is the case that i was talking about. in that case, there is no continuous derivative. how is gamma related?
 
  • #30
Gamma(n+1)=1*2*3...(n-1)*n=n!
FI gamma(3/2)=pi^(1/2)/2=(1/2)!=0,8862269254,
The recurrence equation n!=n*(n-1)! becomes for gamma:
.........gamma(n+1)=n *gamma(n).

Now about solving x^x, with x<0. Not all are solvable at the same tim but for even x...

3/2 is odd, for this value (-3/2)^(-3/2)<>(3/2)^(-3/2)
I suppose q=2/3 is even (not sure!), and (-2/3)^(-2/3)=(2/3)^(-2/3),
but 2, 4, 10354 are even, so (-10354)^-10354=10354^10354, and for even negative values the "exponential is solvable" I meant.

greetings
 

Similar threads

  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 8 ·
Replies
8
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K