\(\left(x+1\right)^2+\left(x^2+1\right)=0\)
\(\Leftrightarrow\orbr{\begin{cases}\left(x+1\right)^2=0\\\left(x^2+1\right)=0\end{cases}\Leftrightarrow\orbr{\begin{cases}x+1=0\\x^2+1=0\end{cases}\Leftrightarrow}\orbr{\begin{cases}x=-1\\x^2=-1\end{cases}\Leftrightarrow}x=-1}\)
Vậy x=-1