MHB How many solutions for this general equation?

  • Thread starter Thread starter poissonspot
  • Start date Start date
  • Tags Tags
    General
Click For 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.
 
Here is a little puzzle from the book 100 Geometric Games by Pierre Berloquin. The side of a small square is one meter long and the side of a larger square one and a half meters long. One vertex of the large square is at the center of the small square. The side of the large square cuts two sides of the small square into one- third parts and two-thirds parts. What is the area where the squares overlap?

Similar threads

  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 105 ·
4
Replies
105
Views
8K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 70 ·
3
Replies
70
Views
6K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 30 ·
2
Replies
30
Views
5K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
1K