\(x^2=\left(x+y\right)^2\)
\(\Leftrightarrow x^2=x^2+2xy+y^2\)
\(\Leftrightarrow2xy+y^2=0\)
\(\Leftrightarrow y\left(2x+y\right)=0\)
\(\Leftrightarrow\left[{}\begin{matrix}y=0\\y=-2x\end{matrix}\right.\)
\(\left(x+y\right)^2=\left(x+9\right)^2\)
\(\Leftrightarrow x^2+2xy+y^2=x^2+18x+81\)
\(\Leftrightarrow2xy-18x+y^2=81\)(1)
Thay y =0 vào (1),có:
\(0-18x+0=81\Leftrightarrow x=\frac{-9}{2}\)
Thay \(y=-2x\) vào (1),có:
\(2x.\left(-2x\right)-18x+\left(-2x\right)^2=81\)
\(\Leftrightarrow-4x^2-18x+4x^2=81\)
\(\Leftrightarrow x=-\frac{9}{2}\)
Vì \(-\frac{9}{2}\) là nghiệm âm nên pt ko có nghiệm dương