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.
 
Thread 'Erroneously  finding discrepancy in transpose rule'
Obviously, there is something elementary I am missing here. To form the transpose of a matrix, one exchanges rows and columns, so the transpose of a scalar, considered as (or isomorphic to) a one-entry matrix, should stay the same, including if the scalar is a complex number. On the other hand, in the isomorphism between the complex plane and the real plane, a complex number a+bi corresponds to a matrix in the real plane; taking the transpose we get which then corresponds to a-bi...

Similar threads

  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 105 ·
4
Replies
105
Views
7K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 70 ·
3
Replies
70
Views
5K
  • · 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