\(A=\left|x-3\right|+\left|x+4\right|+\left|x+1\right|=\left|3-x\right|+\left|x+4\right|+\left|x+1\right|\)
\(\Rightarrow A\ge\left|3-x+x+4\right|+\left|x+1\right|=7+\left|x+1\right|\ge7\)
\(\Rightarrow A_{min}=7\) khi \(\left\{{}\begin{matrix}3-x\ge0\\x+4\ge0\\x+1=0\end{matrix}\right.\) \(\Rightarrow x=-1\)