If $P(2,1) $ and $A $ and $B $ lie on $x$ axis and $y=x $ respectively, then find the minimum value of $PA+PB+AB $ .
If $A$ was given , I could have worked geometrically, by using that image of $P$ and point $A$ and $B$ should be collinear. But here vary two things , $A$ and $B$....
Ah, but we can work geometrically:
Simply reflect $P$ across the two lines.
Can you see what to do next?