MHB Determine all real x in x^n+x^(-n)

  • Thread starter Thread starter lfdahl
  • Start date Start date
Click For Summary
The discussion focuses on determining all real values of x such that the expression x^n + x^(-n) is an integer for any integer n. It is established that if x + x^(-1) equals an integer k, then x^2 + x^(-2) and x^3 + x^(-3) are also integers, leading to a general proof by induction. The key is to solve the quadratic equation derived from x + x^(-1) = k, yielding solutions x = (1/2)(k ± √(k^2 - 4)). These solutions are real for all integer values of k except for k = 0 or ±1. Therefore, the general solution is x = (1/2)(k ± √(k^2 - 4)) for integers k with |k| ≥ 2.
lfdahl
Gold Member
MHB
Messages
747
Reaction score
0
Determine all real $x$ such that

$$x^n+x^{-n}$$

is an integer for any integer $n$

Source: Nordic Math. Contest
 
Mathematics news on Phys.org
–1, 0, and 1, because for any other whole numbers, $$x^{–n}$$ will become fraction while for fractions, $$x^n$$ will stay fraction.
 
Monoxdifly said:
–1, 0, and 1, because for any other whole numbers, $$x^{–n}$$ will become fraction while for fractions, $$x^n$$ will stay fraction.

zero is not valid. so x = -1 or 1
 
Monoxdifly said:
–1, 0, and 1, because for any other whole numbers, $$x^{–n}$$ will become fraction while for fractions, $$x^n$$ will stay fraction.

Hi, Monoxdifly

Your conclusion is wrong. Try e.g. the value: $x = 2 + \sqrt{3}$. (and $x=0$ is not valid as pointed out by kaliprasad)
 
lfdahl said:
Determine all real $x$ such that

$$x^n+x^{-n}$$

is an integer for any integer $n$

Source: Nordic Math. Contest
[sp]If $x+x^{-1} = k$ (where $k$ is an integer) then $x^2+x^{-2} = (x+x^{-1})^2 - 2 = k^2-2$, which is also an integer. Similarly, $x^3+x^{-3} = (x+x^{-1})^3 - 3(x+x^{-1})$ is also an integer, and, by an induction argument using the binomial theorem, $x^n+x^{-n}$ is an integer for all integers $n$.

So it is sufficient to find all $x$ such that $x+x^{-1} = k$. But that is a quadratic equation with solutions $x = \frac12\bigl(k \pm\sqrt{k^2-4}\bigr)$. Those solutions are real for all integers $k$ apart from $k = 0$ or $\pm1$.

Thus the general solution is $x = \frac12\bigl(k \pm\sqrt{k^2-4}\bigr)$ ($k\in\Bbb{Z},\ |k|\geqslant2$).[/sp]
 
Hi, Opalg!

Thankyou for your correct answer! I guess, I could save a lot of time writing down the suggested solution, whenever one of your exemplary solutions appears on the screen! :D
 

Similar threads