a) Ta có: \(x^2-25=0\)
\(\Leftrightarrow\left(x-5\right)\left(x+5\right)=0\)
\(\Leftrightarrow\left[{}\begin{matrix}x-5=0\\x+5=0\end{matrix}\right.\Leftrightarrow\left[{}\begin{matrix}x=5\\x=-5\end{matrix}\right.\)
Vậy: \(x\in\left\{5;-5\right\}\)
b) Ta có: \(x^2+2x+1=0\)
\(\Leftrightarrow\left(x+1\right)^2=0\)
\(\Leftrightarrow x+1=0\)
hay x=-1
Vậy: x=-1