Ta có:
\(B-2011=\left|x-1\right|+\left|x-2\right|+\left|x-3\right|\)
\(\ge x-1+0+3-x=2\)
\(\Rightarrow B-2011\ge2\)\(\Rightarrow B\ge2013\)
Dấu = khi \(\begin{cases}x-1\ge0\\x-2=0\\3-x\ge0\end{cases}\)\(\Leftrightarrow\begin{cases}x\ge1\\x=2\\x\le3\end{cases}\)\(\Leftrightarrow x=2\)
Vậy MinB=2013 khi x=2