Find the value of $x^5 + \frac{1}{x^5}$ – question about correctness of method

algebra-precalculuscomplex numberspolynomialsquadraticssolution-verification

The task is: if $x+ \frac{1}{x}= 1$ find $x^5 + \frac{1}{x^5} $.

I used the binomial formula and proved that $x^5 + \frac{1}{x^5} = 1$, but I have a question about following method, I am not sure if it's correct. If I take square of the the first equality, I get:
$x^2 +2 + \frac{1}{x^2} = 1$ so $x^2 +\frac{1}{x^2} = -1$. Now, the sum of 2 squares is nonnegative and the right side is negative, so when I come to this part does it mean that this method is wrong?

In general, when proving such equalities, when are we allowed to take square (and we don't know if one side of equality is positive as in this task)? Thanks in advance.

Best Answer

The fact is that

$$x+ \frac{1}{x}= 1 \implies x^2-x+1=0 \implies x=\frac{1\pm\sqrt{-3}}{2}=\frac{1\pm i\sqrt{3}}{2} \in \mathbb{C}$$

In general, when proving equalities, we are always allowed to take square. We need to pay attention when we are solving an equation for $x$, in these case infact squaring both sides can produce some extra solutions which must be checked with respect to the original equation.