I'm trying to solve this equation:
$$2-x=-\sqrt{x}$$
Multiply by $(-1)$:
$$\sqrt{x}=x-2$$
power of $2$:
$$x=\left(x-2\right)^2$$
then:
$$x^2-5x+4=0$$
and that means:
$$x=1, x=4$$
But $x=1$ is not a correct solution to the original equation.
Why have I got it? I've never got a wrong solution to an equation before. What is so special here?
Best Answer
This is because the equation $\;\sqrt x=x-2$ is not equivalent to $x=(x-2)^2$, but to $$x=(x-2)^2\quad\textbf{and}\quad x\ge 2.$$ Remember $\sqrt x$, when it is defined, denotes the non-negative square root of $x$, hence in the present case, $x-2 \ge 0$, i.e. $x$ must be at least $2$.