\(\left|x-2010\right|+\left|x-2012\right|=\left|x-2010\right|+\left|x-2012\right|\ge\left|x-2010-x+2012\right|=2\)
\(\left|x-2011\right|\ge0\)
=> \(B\ge2\)
dấu = xảy ra khi \(\hept{\begin{cases}\left(x-2010\right).\left(-x+2012\right)\ge0\\x=2011\end{cases}}\Rightarrow\hept{\begin{cases}2010\le x\le2012\\x=2011\end{cases}\Rightarrow x=2011}\)