The shortest path touching a line
Statement
Let and . We look for a point on the horizontal axis such that the path is as short as possible.
- Minimise with calculus.
- Recover the result geometrically with a reflection.
Hint
. For part 2, reflect in the axis.
Show solutionHide solution
Solution
1. Derivative.
means . Both sides must have the same sign, so and have the same sign, i.e. . Squaring,
and the condition rejects (i.e. ) and keeps , i.e. .
is convex, as a sum of two functions of the form (the norm of an affine function of ), so this critical point is the global minimum, and
2. Reflection. Let . For every on the axis, , so , with equality when is on the segment . This segment lies on the line , which meets the axis at , in agreement with part 1.
Remark. At the optimum, the angles of incidence and reflection are equal: this is the law of reflection of light (Heron of Alexandria's principle).