\(M=\left|x-2002\right|+\left|x-2001\right|\)\(=\left|x-2002\right|+\left|2001-x\right|\ge\left|x-2002+2001-x\right|=\left|-2002+2001\right|=1\)
tức \(M\ge1\) \(\Leftrightarrow\left[{}\begin{matrix}x-2001=0\\x-2002=0\end{matrix}\right.\Leftrightarrow\left[{}\begin{matrix}x=2001\\x=2002\end{matrix}\right.\)
Vậy MinM = - 1 \(\Leftrightarrow\left[{}\begin{matrix}x=2001\\x=2002\end{matrix}\right.\)