Fermat's principle characterizes a light ray between fixed endpoints by stationary travel time, or stationary optical path length in a stationary isotropic medium. With refractive index and path element , the travel time is , so an allowed ray has vanishing first variation of this integral. Stationary does not always mean the globally shortest time.
For a planar interface between two uniform media, vary the point at which a broken straight path crosses the interface. Setting the travel-time derivative to zero gives , Snell's law, with angles measured from the normal. This makes the link between a variational statement and an observable direction of refraction explicit. The geometrical optics description requires scales large enough compared with the wavelength; diffraction supplies effects that a single ray cannot describe.
For three unit-height layers with positive speeds , the straight-segment travel time is . Its Hessian matrix has form with positive . Its leading minor is positive and its determinant is . Hence this time function is strictly convex, and its stationary path is the unique minimum.
For speed of light , where and , the travel-time integrand in Fermat's principle is . For nonzero , the Beltrami identity giveswhere is the turning height. The corresponding stationary rays are the parabolasFor equal-height endpoints with , symmetry gives and . Real turning heights therefore require , not merely a one-sided condition on signed . When the inequality is strict, the two algebraic values are ; only rays remaining inside the specified optical layer are admissible. Equality merges the two branches. At , the medium has constant speed of light and the ray joining these endpoints is the straight horizontal segment; the formulas containing must be replaced by that limit.
For a positive refractive index depending only on , Fermat principle applied to has as a cyclic coordinate. The Euler-Lagrange equation therefore makes the displayed quantity constant along a stationary ray. When , its slope is . If is the angle to the axis, this is conservation of , the stratified-medium form of Snell's law. For fixed endpoint values, the integrand has second derivative with respect to . Its strict convexity and the constant momentum show, by the tangent-line inequality and integration, that any such ray is the unique minimum among competing graph paths with the same endpoints.
For refractive index with , the optical-length integrand is . The Beltrami identity gives , while the full Euler-Lagrange equation gives . Together these yield the displayed parabolas and exclude a spurious constant solution of the squared first integral. Equal-height endpoints force and . There are two positive stationary rays for , one coalesced ray for , and none of this smooth family for . For , the two paths are and . Fermat principle requires stationary optical length, not a global minimum over every competing path.
For light speed , the travel-time integrand is . The Beltrami identity gives , so nonvertical rays are semicircles centred on . Boundary endpoints at have infinite travel time: along any rectifiable path entering positive height, and the integral diverges. These semicircles are therefore ideal-endpoint hyperbolic geodesics, not finite-time optical minimizers joining zero-speed endpoints.
For positive and light speed , the Fermat principle uses the time integrand . The Beltrami identity sets constant. Solving this first integral gives the displayed symmetric ray between when . Its travel time is . The ray's central height diverges as , while its travel time tends to .
Articles by others on the same topic
Fermat's principle, also known as the principle of least time, is a fundamental concept in optics formulated by the French mathematician Pierre de Fermat in the 17th century. It states that the path taken by a ray of light between two points is the one that can be traversed in the least time.