Solve the system [tex]\left\{\begin{array}{l} x^3-y^3=8(x-y) \\ x^2+y^2=8 \end{array}\right.[/tex]
Solution:
The first equation must not be divided by [tex]x-y[/tex], because this expression may be zero and solutions would be lost. Move everything to the left side and factor:
[tex](x-y)(x^2+xy+y^2)-8(x-y)=0\iff (x-y)(x^2+xy+y^2-8)=0[/tex]
If [tex]x=y[/tex], the second equation gives [tex]2x^2=8[/tex], so [tex]x=\pm 2[/tex]: the pairs [tex](2, 2)[/tex] and [tex](-2, -2)[/tex].
If [tex]x^2+xy+y^2=8[/tex], subtracting the second equation [tex]x^2+y^2=8[/tex] gives [tex]xy=0[/tex]. For [tex]x=0[/tex] we get [tex]y^2=8[/tex], [tex]y=\pm 2\sqrt{2}[/tex]; for [tex]y=0[/tex] we get [tex]x=\pm 2\sqrt{2}[/tex].
All six pairs satisfy both equations, so the solutions are
[tex](2, 2),\ (-2, -2),\ (0, 2\sqrt{2}),\ (0, -2\sqrt{2}),\ (2\sqrt{2}, 0),\ (-2\sqrt{2}, 0)[/tex]