Ta có :
| x - 2012 | + | x - 2013 | = | x - 2012 | + | 2013 - x | \(\ge\) | x - 2012 + 2013 - x | = 1
Vậy Mmin = 1 khi 2012 \(\le x\le2013\)
Ta có: \(M=\left|x-2012\right|+\left|x-2013\right|\ge\left|2012-x\right|+\left|x-2013\right|\)
Áp dụng bất đẳng thức \(\left|a\right|+\left|b\right|\ge\left|a+b\right|\) có:
\(M\ge\left|2012-x\right|+\left|x-2013\right|\ge\left|2012-x+x-2013\right|=\left|2012-2013\right|=1\)
Dấu " = " xảy ra khi \(2012-x\ge0;x-2013\ge0\)
\(\Rightarrow x\le2012;x\ge2013\)
\(\Rightarrow2012\le x\le2013\)
Vậy \(MIN_M=1\) khi \(2012\le x\le2013\)
Ta có:\(M=\left|x-2012\right|+\left|x-2013\right|=\left|x-2012\right|+\left|2013-x\right|\)
\(\Rightarrow M\ge\left|x-2012+2013-x\right|\)
\(\Rightarrow M\ge1\)
Vậy MINm=1 khi \(2012\le x\le2013\)