Solution

ID: past-exam-of-the-mathematics-course-of-the-year-2-of-the-natural-sciences-course-of-the-university-of-cambridge/2019/paper-1/9/a/solution

Fermat principle states that the optical path length , or equivalently travel time , is stationary under small variations of the ray with fixed endpoints. Stationarity need not mean a global minimum.
For a plane ray written as , use , with . Its stationary paths obey the Euler-Lagrange equation
It follows by taking the first variation, integrating the term in by parts, and using zero endpoint variations.

New to topics? Read the docs here!