ĐKXĐ: \(x\ge-2;y\ge0\)
Đặt \(\left\{{}\begin{matrix}\sqrt{x+2}=a\ge0\\\sqrt{y}=b\ge0\end{matrix}\right.\) pt đầu trở thành:
\(a\left(a^2+1\right)=b\left(ab+1\right)\)
\(\Leftrightarrow a^3+a=ab^2+b\)
\(\Leftrightarrow a^3-ab^2+a-b=0\)
\(\Leftrightarrow a\left(a^2-b^2\right)+a-b=0\)
\(\Leftrightarrow a\left(a-b\right)\left(a+b\right)+a-b=0\)
\(\Leftrightarrow\left(a-b\right)\left(a^2+ab+1\right)=0\)
\(\Leftrightarrow a-b=0\) (do \(a^2+ab+1>0;\forall a\ge0;b\ge0\))
\(\Leftrightarrow\sqrt{x+2}=\sqrt{y}\)
\(\Rightarrow y=x+2\)
Thế vào pt dưới:
\(x^2+\left(x+3\right)\left(x+3\right)=x+16\)
\(\Leftrightarrow2x^2+5x-7=0\Rightarrow\left[{}\begin{matrix}x=1\Rightarrow y=3\\x=-\dfrac{7}{2}< -2\left(loại\right)\end{matrix}\right.\)