X raised to the power of X equals Y. Given Y, how to calculate X?

dim35

New member
Joined
Apr 28, 2023
Messages
4
If I have the equation of X raised to the power of X is Y, how do I calculate X if I am given Y?
 
If I have the equation of X raised to the power of X is Y, how do I calculate X if I am given Y?
f(X) = Y = X^X

What is the domain of f(X) (given or implied) → consequently what is the domain of f(X)?
 
The answer is maybe you can't find x for some y.
If y= 4, then x=2
If y = 27, then x=3
 
The answer is maybe you can't find x for some y.
If y= 4, then x=2
If y = 27, then x=3
If Y=10, I can find X via trial and error to be 2.5061841456 (discounting rounding errors). I would like a formula to work it backwards.
 
f(X) = Y = X^X

What is the domain of f(X) (given or implied) → consequently what is the domain of f(X)?
The domain for both X & Y are positive numbers greater than zero. Sorry for the delay in replies but as a new member my posts need to be approved before you can see them.
 
f(X) = Y = X^X
For these types of functions, I d not know of any simple algebraic method to solve for 'x' (exactly) - as inverse of the given function. The only way I can suggest is to use graphical method or numerical method to approximate the solution.
 
If I have the equation of X raised to the power of X is Y, how do I calculate X if I am given Y?
This can't be done using elementary functions.

You can use the Lambert W function to solve [imath]y = x^x[/imath]. Take the natural log of both sides, then replace [imath]x[/imath] with [imath]x^{\ln(x)}[/imath].

In practice, though, you can just use any numerical approximation method, such as the midpoint method, to find x.
 
The initial question from the great khan of khans really needs to be answered. If the domain is integers, the best solution is via a computer table.
 
Am I understanding correctly that the only way to solve this problem is by trial and error zeroing in on the correct number? There's no formula to find X when given Y?
 
Am I understanding correctly that the only way to solve this problem is by trial and error zeroing in on the correct number? There's no formula to find X when given Y?
Not quite. Did you not read answer #8??

There are many methods of numerical approximation besides mere random trial and error. And there is a formula of sorts, if you have a way to evaluate W.

But if you describe all numerical methods as "trial and error", and want a formula using only elementary functions, then you are correct (but you are just restating, less clearly, what I already said).
 
Am I understanding correctly that the only way to solve this problem is by trial and error zeroing in on the correct number? There's no formula to find X when given Y?
Did you not read my earlier post (#3). It is easily seen that if y=4, then x=2 (no zeroing in!). If y=27, then x=3 immediately. I used no formula and did not zero in to get my answer. Now I never said that for all values of y you can get an immediate answer. You on the other hand said that the only way to solve this problem is by trial and error--that is not always true.
 
It is easily seen that if y=4, then x=2 (no zeroing in!). If y=27, then x=3 immediately.
So your method in this case is not "trial and error", but "trial and success", better known as "solving by inspection".

That's useful for the very easiest problems ... or rather, it makes some problems very easy, when you just recognize a fact that you have seen before, just as some divisions are very easy, if you know your multiplication table.

But I was curious:
The answer is maybe you can't find x for some y.
If y= 4, then x=2
If y = 27, then x=3
Did you mean to say, "you can"? If that's a typo, it certainly made it harder to follow your thinking.
 
Top