Ta có :
\(\left(x+1\right)^2=x+1\)
\(\Leftrightarrow\left(x+1\right)^2-\left(x+1\right)=0\)
\(\Leftrightarrow\left(x+1\right)\left(x+1-1\right)=0\)
\(\Leftrightarrow x\left(x+1\right)=0\)
\(\Leftrightarrow\left[{}\begin{matrix}x=0\\x+1=0\end{matrix}\right.\Leftrightarrow\left[{}\begin{matrix}x=0\\x=-1\end{matrix}\right.\)
Vậy \(x=0\) hoặc \(x=-1\)
Wish you study well !!