3) \(\left(x-1\right)\left(x+1\right)^2-\left(2x-1\right)\left(x^2+2x+1\right)=0\)
\(\Leftrightarrow\left(x-1\right)\left(x+1\right)^2-\left(2x-1\right)\left(x+1\right)^2=0\)
\(\Leftrightarrow\left(x+1\right)^2\left(x-1-2x+1\right)=0\)
\(\Leftrightarrow-x\left(x+1\right)^2=0\)
\(\Leftrightarrow\left[\begin{array}{nghiempt}-x=0\\\left(x+1\right)^2=0\end{array}\right.\)\(\Leftrightarrow\left[\begin{array}{nghiempt}x=0\\x+1=0\end{array}\right.\)\(\Leftrightarrow\left[\begin{array}{nghiempt}x=0\\x=-1\end{array}\right.\)