Trừ 2 vế của HPT
\(\Leftrightarrow x^2-xy+y^2-x+y-xy=0\\ \Leftrightarrow x^2+y^2-x+y-2xy=0\\ \Leftrightarrow\left(x-y\right)^2-\left(x-y\right)=0\\ \Leftrightarrow\left(x-y\right)\left(x-y-1\right)=0\\ \Leftrightarrow\left[{}\begin{matrix}x=y\\x=y+1\end{matrix}\right.\)
Với \(x=y\Leftrightarrow x-x+x^2=7\Leftrightarrow\left[{}\begin{matrix}x=\sqrt{7}\Rightarrow y=\sqrt{7}\\x=-\sqrt{7}\Rightarrow y=-\sqrt{7}\end{matrix}\right.\)
Với \(x=y+1\Leftrightarrow y+1-y+y\left(y+1\right)=7\)
\(\Leftrightarrow y^2+y-6=0\\ \Leftrightarrow\left[{}\begin{matrix}y=2\Rightarrow x=3\\y=-3\Rightarrow x=-2\end{matrix}\right.\)
Vậy ...
x^2 - xy + y^2 = x - y + xy
<=> x^2 - 2xy + y^2 - (x - y) = 0
<=> (x - y)^2 - (x - y) = 0
<=> (x - y)(x - y - 1) = 0
TH1: x - y = 0 <=> x = y
x^2 - xy + y^2 = 7
<=> x^2 = 7 <=> x = sqrt(7) hoặc x = -sqrt(7)
Với x = sqrt(7) thì y = sqrt(7)
Với x = -sqrt(7) thì y = -sqrt(7)
TH2: x - y - 1 = 0 <=> x = y + 1
x - y + xy = 7
<=> (y + 1)y + 1 = 7
<=> y^2 + y - 6 = 0
<=> (y - 2)(y + 3) = 0
<=> y = 2 hoặc y = -3
Với y = 2 thì x = 2 + 1 = 3
Với y = -3 thì x = -3 + 1 = -2
\(\left\{{}\begin{matrix}x-y+xy=7\\x^2-xy+y^2=7\end{matrix}\right.\Leftrightarrow x-y+xy-x^2+xy-y^2=0\\ \Leftrightarrow x^2-2xy+y^2-x+y=0\\ \Leftrightarrow\left(x-y\right)^2-\left(x-y\right)=0\\ \Leftrightarrow\left(x-y\right)\left(x-y-1\right)=0\\ \Leftrightarrow\left[{}\begin{matrix}x=y\\x=y+1\end{matrix}\right.\)
Với x=y thế vào pt(1) ta được:
\(x-y+xy=7\\ \Leftrightarrow y-y+y.y=7\\ \Leftrightarrow y^2=7\\ \Leftrightarrow\left[{}\begin{matrix}y=\sqrt{7}\Rightarrow x=\sqrt{7}\\y=\sqrt{7}\Rightarrow x=\sqrt{7}\end{matrix}\right.\)
Với x=y-1 thế vào pt(1) ta được:
\(y-1-y+\left(y+1\right).y=7\\ \Leftrightarrow y^2+y-6=0\\ \Leftrightarrow\left[{}\begin{matrix}y=2\Rightarrow x=3\\y=-3\Rightarrow x=-2\end{matrix}\right.\)
HPT => \(x^2-xy+y^2=x-y+xy\)
<=> \(x^2-2xy+y^2-\left(x-y\right)=0\)
<=> \(\left(x-y\right)^2-\left(x-y\right)=0\)
<=> \(\left(x-y\right)\left(x-y-1\right)=0\)
TH1: x = y
Thay y = x vào PT(1), ta có:
x-x+x2 = 7
<=> \(\left[{}\begin{matrix}x=\sqrt{7}< =>y=\sqrt{7}\left(TL->TM\right)\\x=-\sqrt{7}< =>y=-\sqrt{7}\left(TL->TM\right)\end{matrix}\right.\)
TH2: x-y=1
Thay x = y+1 vào PT(1), ta có:
y+1-y+(y+1)y=7
<=> y2 + y - 6 = 0
<=> \(\left[{}\begin{matrix}y=2< =>x=3\left(TL->TM\right)\\y=-3< =>x=-2\left(Tl->TM\right)\end{matrix}\right.\)