\(\left(1\right)\Leftrightarrow z=x-y+1\)
Thế vào (2)\(xy+\left(x^2+y^2-2xy+2x-2y+1\right)-7\left(x-y+1\right)+10=0\)
\(x^2+y^2-xy-5x+5y+4\Leftrightarrow-xy-5\left(x-y\right)+21=0\left(3\right)\\ \)
\(\left(x-y\right)^2=17-2xy\Rightarrow-xy=\frac{\left(x-y\right)^2-17}{2}\) (4)đặt (x-y)=t
\(\left(3\right)\Leftrightarrow\frac{t^2-17}{2}-5t+21=0\Leftrightarrow t^2-10t+25\Rightarrow t=5\)
(1)=> z=6
(4) => xy=-4 hệ \(\left\{\begin{matrix}x-y=5\\xy=-4\end{matrix}\right.\)=> (y+5)y=y^2+5y+4=0=>\(\left\{\begin{matrix}y=-1\\y=-4\end{matrix}\right.\) \(\Rightarrow\left\{\begin{matrix}x=4\\x=1\end{matrix}\right.\)
Kết luận:
(x,y,z)=(1,-4,6);(4,-1,6)