\(x^2+4x=5\)
\(\Leftrightarrow x^2+4x+4=9\)
\(\Leftrightarrow\left(x+2\right)^2=9\)
\(\Leftrightarrow\left[{}\begin{matrix}x+2=3\\x+2=-3\end{matrix}\right.\Leftrightarrow\left[{}\begin{matrix}x=1\\x=-5\end{matrix}\right.\)
Vậy \(\left[{}\begin{matrix}x=1\\x=-5\end{matrix}\right.\)
Cách khác : \(x^2+4x=5\)
\(\Leftrightarrow x^2+4x-5=0\)
\(\Leftrightarrow x^2-x+5x-5=0\)
\(\Leftrightarrow\left(x+5\right)\left(x-1\right)=0\)
\(\Leftrightarrow\left[{}\begin{matrix}x=-5\\x=1\end{matrix}\right.\)
Vậy , tập nghiệm của pt : \(S=\left\{-5;1\right\}\)