MHB How many solutions for this general equation?

  • Thread starter Thread starter poissonspot
  • Start date Start date
  • Tags Tags
    General
AI Thread Summary
The equation $x^n = n^x$ has a specific number of real solutions based on the parity of the positive integer n. For even n, there are exactly three solutions, while for odd n, there are exactly two solutions. This can be demonstrated by analyzing the function $\frac{\ln x}{x}$, which has a maximum at $x=e$ and intersects the line $\frac{\ln n}{n}$ at the specified points. Additionally, for negative values of x, odd n yields no solutions, whereas even n results in one solution. Overall, the findings confirm the distinct solution counts based on the parity of n.
poissonspot
Messages
39
Reaction score
0
I was wondering if there is any way to know in general how many real solutions $x^n=n^x$ may have with n being a positive integer. Thanks!

Using IVT one can see that if n is even there must be at least three solutions, and if n is odd there exists at least two. But are these the "sharpest" bounds?
 
Last edited:
Mathematics news on Phys.org
conscipost said:
I was wondering if there is any way to know in general how many real solutions $x^n=n^x$ may have with n being a positive integer. Thanks!

Using IVT one can see that if n is even there must be at least three solutions, and if n is odd there exists at least two. But are these the "sharpest" bounds?

Hi conscipost! :)

For even n, there are exactly 3 solutions, and for odd n there are exactly 2.This can be verified by rewriting your equation for positive x:
\begin{array}{lcl}
x^n&=&n^x \\
\ln(x^n)&=&\ln(n^x) \\
n \ln x &=& x \ln n \\
\frac{\ln x}{x} &=& \frac{\ln n}{n}
\end{array}

The derivative of $$\frac{\ln x}{x}$$ is $$\frac{1 - \ln x}{x^2}$$ which has exactly 1 root for $x=e$.
This means that $$\frac{\ln x}{x}$$ has a maximum at $x=e$.
See this plot to see what it looks like.
Since we have a solution at $x=n$, there must be exactly 1 other solution at the other side of $x=e$ (for positive x).

For negative x with odd n there can be no solution, since $x^n$ is negative while $n^x$ is positive.
For negative x with even n there is exactly 1 solution, since $x^n$ is strictly decreasing, while $n^x$ is strictly increasing.

So for even n, there are exactly 3 solutions, and for odd n there are exactly 2.
 
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...

Similar threads

3
Replies
105
Views
6K
Replies
10
Views
2K
Replies
2
Views
1K
Replies
30
Views
5K
Replies
4
Views
1K
Back
Top