I have question related to the following example: $\sqrt{22-x} - \sqrt{10-x}=2$.
First question:
Do I first need conditions $22-x \geq 0 $ and $ 10-x \geq 0$ to obtain the equivalent equation: $\sqrt{22-x}= \sqrt{10-x}+2$, then take square and so on or I don't need these conditions
i.e.$\sqrt{22-x} - \sqrt{10-x}=2$ is already equivalent to $\sqrt{22-x}= \sqrt{10-x}+2$, so we need only $10-x \geq 0$. The right side is non-negative, we take square and so on.
I wonder which method is correct.
Second question:
I know from theory that $\sqrt{f(x)}= g(x) \iff g(x) \geq 0 $ and $ f(x)= (g(x))^2 \geq 0$, so condition $f(x)\geq 0$ is automatically fulfilled. Can we do same here i.e. since right side is positive, so is left side in $\sqrt{22-x} - \sqrt{10-x}=2$ and we just take square of both sides?
Please help with this, I am learning for exams and I am confused about this. Thanks a lot in advance.
ANSWER TO 1ST QUESTION
I belive you can just mess around with the terms to find the solutions in $x$ but then you have to check if all of them are valid, ie you do need to use the conditions that $22-x\ge0$ and $10-x\ge0$. Is that helpful?