I have the problem:
Let be given three points $A(1,2)$, $B(3,4)$, $C(5,6)$. Find point $M$ on the line $y=x$ so that sum of distances $P=AM+BM+CM$ is smallest.
I tried. We have $$P=\sqrt{(x-1)^2 + (x-2)^2} + \sqrt{(x-3)^2 + (x-4)^2} +\sqrt{(x-5)^2 + (x-6)^2}.$$ We know that $$\sqrt{a^2 + b^2}+\sqrt{c^2 + d^2} \geqslant \sqrt{(a+c)^2 + (b+d)^2}.$$ The sign of equal occur when and only when $\dfrac{a}{c}=\dfrac{b}{d}$. We have \begin{align*} \sqrt{(x-1)^2 + (x-2)^2} + \sqrt{(x-5)^2 + (x-6)^2} & = \sqrt{(x-1)^2 + (x-2)^2} + \sqrt{(5-x)^2 + (6-x)^2} \\ & \geqslant \sqrt{(x-1 + 6-x)^2 + (x-2 + 5-x)^2}\\ & \geqslant \sqrt{34}. \end{align*}
The sign of equal occur $$\dfrac{x-1}{6-x}=\dfrac{x-2}{5-x} \Leftrightarrow x=\dfrac{7}{2}.$$ Another way $$\sqrt{(x-3)^2 + (x-4)^2} =\sqrt{2x^2 - 14 x + 25} = \sqrt{2}\sqrt{\left (x-\dfrac{7}{2}\right)^2 + \dfrac{1}{4} } \geqslant \dfrac{1}{\sqrt{2}}.$$ The sign of equal occur $ x=\dfrac{7}{2}.$ Therefore, the least of the expression $P $ is $\dfrac{1}{\sqrt{2}}+\sqrt{34}$ at $x=\dfrac{7}{2}.$
How can I solve this problem geometrically?
