Ta có tính chất :
\(\left|a\right|+\left|b\right|\ge\left|a+b\right|\)
\(\rightarrow A=\left|x+5\right|+\left|x+2\right|+\left|x-7\right|+\left|x-8\right|\ge\left|x+5+x+2+x-7+x-8\right|\)
\(\rightarrow A\ge\left|4x-8\right|\)
Vì \(\left|4x-8\right|\ge0\forall x\in R\) nên :
\(\rightarrow A\ge0\forall x\in R\)
Dấu "= " xảy ra khi :
\(\left|4x-8\right|=0\) \(\Leftrightarrow4x-8=0\)
\(\Leftrightarrow x=2\)
Vậy \(A_{min}=0\Leftrightarrow x=2\)