a/ Bạn tự giải
b/ \(\Delta'=-m^2+2m\)
Để pt có nghiệm thì \(\Delta'\ge0\Rightarrow-m^2+2m\ge0\Rightarrow0\le m\le2\)
Khi đó theo Viet ta có: \(\left\{{}\begin{matrix}x_1+x_2=2\\x_1x_2=m^2-2m+1=\left(m-1\right)^2\end{matrix}\right.\)
Xét \(A=\left|x_2-x_1\right|\Rightarrow A^2=\left(x_2-x_1\right)^2\)
\(A^2=x_1^2+x_2^2-2x_1x_2=\left(x_1+x_2\right)^2-4x_1x_2\)
\(A^2=4-4\left(m-1\right)^2\le4\)
\(\Rightarrow A\le2\) (đpcm)
Dấu "=" xảy ra khi \(m-1=0\Rightarrow m=1\)