Question: Let P be point $(5,3)$ on the coordinate plane. Let Q and R lie on $x$-axis and line $y=x$, respectively. Find Q if
$$PQ+QR+RP$$
is minimum.
I tried this question by taking any general point R on the line y=x and using triangular inequality, which gives me $PQ+QR+RP>2RQ$ and equality tolds when P, Q and R are collinear. The above logic leads me nowhere.
My teacher told me that to do this question, we take images of fixed point in the given lines and join the images. The points of intersection obtained by this line and the given lines give us Q and R for minimum value of $PQ+QR+RP$. I verified it for a few other random cases where it seemed to work.
Though I understand the procedure, I am still not able to figure why this works. Any help would be appreciated.
