Solution

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

The Fermat principle makes the optical path length stationary. For a graph the variational integrand is
The Euler-Lagrange equation is
Use the chain rule and differentiate to obtain
Multiplying through and combining the terms gives the required second-order ordinary differential equation with no derivatives in denominators:
All partial derivatives of the refractive index are evaluated along the ray.

New to topics? Read the docs here!