Áp dụng BĐT Min-cốp-xki:
\(A=\sqrt{\left(x+2\right)^2+2^2}+\sqrt{\left(1-x\right)^2+1^2}\ge\sqrt{\left(x+2+1-x\right)^2+\left(2+1\right)^2}=3\sqrt{2}\)
\(\Rightarrow A_{min}=3\sqrt{2}\) khi \(\left(x+2\right).1=2.\left(1-x\right)\Leftrightarrow x=0\)