Quantcast Unsolvable exponental? Text - Physics Forums Library

PDA

View Full Version : Unsolvable exponental?


soandos
Oct2-08, 12:59 PM
Is it possible to solve x = y^y for y?

CRGreathouse
Oct2-08, 03:54 PM
There's a closed form in Lambert's W (http://mathworld.wolfram.com/LambertW-Function.html), or you could use Newton's method. (Actually, depending on how fast you can evaluate logarithms and exponentials, the secant method is probably faster.)

SW VandeCarr
Oct2-08, 04:30 PM
I'm sure I'm missing something here, but isn't the solution simply y equals the yth root of x?.

mathman
Oct2-08, 05:01 PM
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.

soandos
Oct2-08, 10:45 PM
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]

WarPhalange
Oct3-08, 01:09 AM
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.

CRGreathouse
Oct3-08, 08:24 AM
is there a way to get an exact value, or just a numeric approximation?

Is there a way to get an exact value for \sqrt 2, 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.

Irrational
Oct3-08, 08:56 AM
*erroneous post*

soandos
Oct3-08, 03:18 PM
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?

CRGreathouse
Oct3-08, 04:03 PM
http://www.google.com/search?q=Newton's method

soandos
Oct4-08, 08:16 PM
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?

CRGreathouse
Oct4-08, 10:29 PM
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.

soandos
Oct5-08, 12:55 AM
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 belive 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?

CRGreathouse
Oct5-08, 01:54 PM
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.

in fact, i belive that all of these methods are for continuous functions only.

Your function is continuous, what's the problem?

soandos
Oct6-08, 07:50 AM
i thought that it is not continious at all negative x.

CRGreathouse
Oct6-08, 09:17 AM
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.

soandos
Oct6-08, 01:02 PM
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.

soandos
Oct7-08, 07:38 AM
also, how could someone compute W using halleys mehtod?

CRGreathouse
Oct7-08, 09:04 AM
also, how could someone compute W using halleys mehtod?

http://keithbriggs.info/W-ology.html

soandos
Oct7-08, 12:28 PM
thanks. but what about the previous question?

CRGreathouse
Oct7-08, 02:50 PM
thanks. but what about the previous question?

I've given lots of ways to solve the problem. Pick one and go with it.

JANm
Oct27-08, 09:06 PM
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?

soandos
Oct28-08, 07:53 AM
that is the whole problem to begin with, finding the solution.

JANm
Oct28-08, 12:10 PM
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

soandos
Oct28-08, 12:14 PM
and how does this help with negative x?
it is just what we had before.

JANm
Oct28-08, 12:24 PM
Sorry added in Yesterday, for negative x the ln(x) becomes complex but is calcuable.

soandos
Oct28-08, 12:51 PM
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.

JANm
Oct28-08, 02:51 PM
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

soandos
Oct28-08, 07:18 PM
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?

JANm
Nov5-08, 04:36 PM
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

soandos
Nov5-08, 10:18 PM
and for negative irrational?

JANm
Nov6-08, 04:19 AM
Yes the negative irrationals, so the algebraic numbers, which are solutions of polynomal equations and the trancendentals like -e and -pi will be the numbers for which the discontinuity of x^x arises. Whether one can say of irrationals that they are even or not I don't know.

soandos
Nov6-08, 07:50 PM
I think (based on a a mathematica Table[If[Re[x^x]==x^x,x,0],{x,-200,-.01,.01}]
but am not sure that the only time that it will be continuous is if the number is an integer.
Can someone find a counter-example or prove this?

Ed Aboud
Nov12-08, 02:54 PM
Where would an equation like this arise?

CRGreathouse
Nov12-08, 03:38 PM
I think (based on a a mathematica Table[If[Re[x^x]==x^x,x,0],{x,-200,-.01,.01}]
but am not sure that the only time that it will be continuous is if the number is an integer.
Can someone find a counter-example or prove this?

I really don't know what you mean. *What* will be continuous when *what* is an integer?

1. \Re(x^x)-x^x is continuous exactly at the integers
2. [\Re(x^x)=x^x] is continuous exactly at the integers, where [] is the Iverson Bracket (http://mathworld.wolfram.com/IversonBracket.html)
3. \Re(x^x)=x^x iff x\in\mathbb{Z}
4. \Re(x^x)=x^x implies x\in\mathbb{Z}
5. Something else...?

JANm
Nov12-08, 06:51 PM
The real part of x^x= Re(x^x) = x^x - Im(x^x).
Function: If Re(x^x)=x^x then function = x else 0?

soandos
Nov12-08, 07:17 PM
sorry i was really unclear.
what i meant was that i think that Im[x^x]=0 iff x is an integer, and if not, then it is some other value (assuming that domain of x in this case is x<0)
i thought that this is pretty much intuitive as you are taking a non-odd root of a negative number.
the table was just to check the assumptions.
with respect to 1. LaTeX Code: \\Re(x^x)-x^x is continuous exactly at the integers
2. LaTeX Code: [\\Re(x^x)=x^x] is continuous exactly at the integers, where [] is the Iverson Bracket
3. LaTeX Code: \\Re(x^x)=x^x iff LaTeX Code: x\\in\\mathbb{Z}
4. LaTeX Code: \\Re(x^x)=x^x implies LaTeX Code: x\\in\\mathbb{Z}
i think that all of them are true, and about the iverson bracket, which i think can be strengthened by saying that it is equal to 1 exactly at the integers.

CRGreathouse
Nov12-08, 11:06 PM
I really don't know what you mean. *What* will be continuous when *what* is an integer?

1. \Re(x^x)-x^x is continuous exactly at the integers
2. [\Re(x^x)=x^x] is continuous exactly at the integers, where [] is the Iverson Bracket (http://mathworld.wolfram.com/IversonBracket.html)
3. \Re(x^x)=x^x iff x\in\mathbb{Z}
4. \Re(x^x)=x^x implies x\in\mathbb{Z}i think that all of them are true, and about the iverson bracket, which i think can be strengthened by saying that it is equal to 1 exactly at the integers.

I think that all four are false.

soandos
Nov13-08, 09:57 AM
how could that be? is there any other way that one can take a non-odd root and end up with a number of the same sign if the domain is restricted to negative numbers?

CRGreathouse
Nov13-08, 11:45 AM
how could that be? is there any other way that one can take a non-odd root and end up with a number of the same sign if the domain is restricted to negative numbers?

You didn't say that the domain was restricted to negative numbers.

On the negative numbers, I'd think that the function in #2 would be discontinuous precisely at the integers.

For #3 and #4, what about noninteger rational numbers with odd denominators and even numerators?

I'm not entirely sure about #1 on the negative reals, but it might be true. The others look false even on the negative reals.

soandos
Nov13-08, 06:47 PM
To be honest, i am not sure, and that is why i ran the mathimatica table. the only numbers that showed up were the integers. even with odd denominators and even numerators, there are still irrational.can't prove it, just going off mathematica here, in fact is there a possibility that it is wrong? as a test case it says that (-1)^(1/3) has an imaginary part, though to the best of my knowledge, it is entirely real. could it be that because there is more than one solution to a given expression that it just picks the imaginary ones?

CRGreathouse
Nov14-08, 09:12 AM
can't prove it, just going off mathematica here, in fact is there a possibility that it is wrong?

It's hard to imagine a numerical calculation of an irrational number being right.

For me, (-1)^(1/3) = -1 since (-1)^3 = -1 and I take the principal root.

JANm
Nov14-08, 01:27 PM
' Made a graph of y=abs(x)^x.
I thought that it would be much more jumpy. It looks like some third degree with a relative maximum at (-,3; 1,4) and a relative minimum at (0,2;0,8). The difference with the third degree is the horizontal assymptote y=0 for small x.
So for positive y there can be three, two or one solution.
If there is a solution for negative x, x has to be a even rational.
For uneven rationals there are solutions with y>-rel max_y=-1,4 approximately.

soandos
Nov14-08, 03:16 PM
I plotted the same thing that you did, and it only intersected the x axis in one place, but
ln(abs(x)^x) gives the intersections with the x axis at -1,1 and with point symmetry at the origin. i am not sure, but i think that the original (with out the log) did not have this symmetry (just by looking at the graphs). how is that possible?

JANm
Nov17-08, 05:13 PM
I plotted the same thing that you did, and it only intersected the x axis in one place, but
ln(abs(x)^x) gives the intersections with the x axis at -1,1 and with point symmetry at the origin. i am not sure, but i think that the original (with out the log) did not have this symmetry (just by looking at the graphs). how is that possible?

How can this intersection take place? I have an horizontal assymptote at the line y=0.

From the derivative =0 I calculated the x-values of the local/relative extrema.
x_relmax=-e^-1 and x_relmin=e^-1. Should I call it local or relative I am not sure of...

I also found a formula closer to the end result:

y=sgn(x)*abs(x)^x.