\(D=\left|2014-x\right|+\left|2013-x\right|+2015\)
\(\Rightarrow D=\left|2014-x\right|+\left|x-2103\right|+2015\)
Ta có \(\left|2014-x\right|+\left|x-2013\right|+2015\ge\left|2014-x+x-2013\right|+2015=2016\)
\(\Rightarrow D_{min}\Leftrightarrow\left(2014-x\right)\left(x-2013\right)\ge0\Leftrightarrow2013\le x\le2014\)