Suppose I have the following two nonlinear (degree two) equations:
- $y = x^2$
- $y = 8 – x^2$
By solving these two equations, the possible values for $x$ and $y$ are: $x = –2, +2$ and $y=4$.
Note that the possible values for $x$ are the same $(+2,-2)$ but different signs $(+,-)$.
My question: What are the cases when we solve two equations that will result in the same values with different signs? Or how can we prove that the solutions for any two given equations will not result in same variable values with different signs like the case for $x$ above?
Whenever you have difference of squares, you'll get the result you note. E.g.:
$$(x^2 - a^2) = 0 \iff (x + a)(x-a) = 0 \iff x =\pm a$$
In your case, solving $$x^2 = 8-x^2 \iff 2x^2 = 8 \iff x^2 = 4 \iff (x)^2 - (2)^2 = 0\iff (x-2)(x+2) = 0$$
$$\implies x-2 = 0 \text{ or } x+2 = 0$$
So, indeed, $x = 2$ or $x = -2$.