*\(x\ge\dfrac{1}{2}\Leftrightarrow\left|2x-1\right|=2x-1\)
\(D=\left(2x-1\right)^2-3\left(2x-1\right)+2=\left(2x-1\right)^2-2.\dfrac{3}{2}\left(2x-1\right)+\dfrac{9}{4}-\dfrac{1}{4}=\left(2x-1-\dfrac{3}{2}\right)^2-\dfrac{1}{4}=\left(2x-\dfrac{5}{2}\right)^2-\dfrac{1}{4}\ge-\dfrac{1}{4}\)\(D_{min}=-\dfrac{1}{4}\Leftrightarrow x=\dfrac{5}{4}\left(1\right)\)
*\(x< \dfrac{1}{2}\Leftrightarrow\left|2x-1\right|=-2x+1\)
\(D=\left(2x-1\right)^2+3\left(2x-1\right)+2=\left(2x-1\right)^2+2.\dfrac{3}{2}\left(2x-1\right)+\dfrac{9}{4}-\dfrac{1}{4}=\left(2x-1+\dfrac{3}{2}\right)^2-\dfrac{1}{4}=\left(2x+\dfrac{1}{2}\right)^2-\dfrac{1}{4}\ge-\dfrac{1}{4}\)\(D_{min}=-\dfrac{1}{4}\Leftrightarrow x=\dfrac{-1}{4}\left(2\right)\)
-Từ (1) và (2) suy ra \(D_{min}=-\dfrac{1}{4}\Leftrightarrow x\in\left\{\dfrac{5}{4};\dfrac{-1}{4}\right\}\)