\(\hept{\begin{cases}\sqrt{x}-\sqrt{x-y-1}=1\left(1\right)\\y^2+x+2y\sqrt{x}-y^2x=0\left(2\right)\end{cases}}\)
đk: x>=0 và x>= y+1
ta có \(\left(1\right)\Leftrightarrow\sqrt{x}=1+\sqrt{x-y-1}\)
\(\Leftrightarrow x=1+x-y-1+2\sqrt{x-y-1}\Leftrightarrow2\sqrt{x-y-1}=y\)
\(\Leftrightarrow\hept{\begin{cases}y\ge0\\4\left(x-y-1\right)=y^2\end{cases}\Leftrightarrow\hept{\begin{cases}y\ge0\\4x=\left(y+2\right)^2\end{cases}\Leftrightarrow}\hept{\begin{cases}y\ge0\\\left|y+2\right|=2\sqrt{x}\end{cases}\Leftrightarrow}\hept{\begin{cases}y\ge0\\y+2=2\sqrt{x}\end{cases}}}\)
thay vào (2) \(\left(y+\sqrt{x}\right)^2=\left(y\sqrt{x}\right)^2\)
\(\Leftrightarrow y+\sqrt{x}=y\sqrt{x}\)ta được \(y+\frac{y+2}{2}=y\left(\frac{y+2}{2}\right)\)
\(\Leftrightarrow y^2-y-2=0\Leftrightarrow\orbr{\begin{cases}y=-1\left(loai\right)\\y=2\end{cases}}\)
do đó nghiệm hệ \(\hept{\begin{cases}x=4\\y=2\end{cases}}\)