\(\left(x-1\right)^2-3\left|x-1\right|+2=0\)
đặt \(t=\left|x-1\right|\left(t\ge0\right)\)
\(t^2=\left(x-1\right)^2\)
pt \(\Leftrightarrow t^2-3t+2=0\)
\(\Leftrightarrow\left[{}\begin{matrix}t=1\\t=2\end{matrix}\right.\)
\(\Leftrightarrow\left[{}\begin{matrix}\left|x-1\right|=1\\\left|x-1\right|=2\end{matrix}\right.\)
\(\Leftrightarrow\left[{}\begin{matrix}x-1=1\\x-1=-1\\x-1=2\\x-1=-2\end{matrix}\right.\)
\(\Leftrightarrow\left[{}\begin{matrix}x=2\\x=\\x=3\\x=-1\end{matrix}\right.\)
|x-1| =t ; t>=0 ; t^2 =x^2 -2x +1 => x^2 -2 x+3 =t^2 +2
\(\Leftrightarrow t^2-3t+2=0\)
\(\Leftrightarrow\left(t-1\right)\left(t-2\right)=0\Leftrightarrow\left[{}\begin{matrix}t=1\\t=2\end{matrix}\right.\)
\(t=1\Rightarrow\left[{}\begin{matrix}x=0\\x=2\end{matrix}\right.\)
\(t=2\Rightarrow\left[{}\begin{matrix}x=-1\\x=3\end{matrix}\right.\)