Giải thích các bước giải:
Từ hệ suy ra :
$x^2-y^2=y+2-(x+2)\to (x-y)(x+y)=-(x-y)$
$\to (x-y)(x+y)+(x-y)=0\to (x-y)(x+y+1)=0$
$+)x-y=0\to x=y\to x^2=x+2\to x^2-x-2=0\to (x-2)(x+1)=0\to x\in\{2,-1\}\to (x,y)\in\{(2,2),(-1,-1)\}$
$+) x+y+1=0\to y=-x-1$
$\to x^2=-x-1+2\to x^2+x-1=0\to x=\dfrac{-1+\sqrt{5}}{2},\:x=\dfrac{-1-\sqrt{5}}{2}\to y$