Fixed-endpoint optical path
The comparison curves must retain both endpoints. A shorter unrelated route to a different detector says nothing about Fermat stationarity.
Optics 007 · Ray worlds, boundaries, and natural optics
A cinematic variational theatre keeps source and detector fixed while a draggable trial path moves across an opaque mirror, a two-index interface, or a continuous parabolic GRIN field. The physical ray, candidate variation, optical-path landscape, and governing-law residual all come from one model.
Physics tutorial
BackgroundFermat optics compares neighboring curves with the same endpoints. The physical ray makes the optical-path functional stationary: . “Stationary” is the precise statement: the direct branches selected in this lab are local minima, while other optical systems can have stationary maxima or saddle paths. The principle is not a universal shortest-geometric-distance rule.
Why it mattersWhy does a stationary travel-time path reproduce reflection, refraction, and curved rays?
Start with the essentials
The comparison curves must retain both endpoints. A shorter unrelated route to a different detector says nothing about Fermat stationarity.
Stationarity with respect to the boundary hit preserves tangential optical momentum. Equal indices on a reflector reduce the condition to equal incidence and reflection angles.
The GRIN path is integrated from this equation and solved as a boundary-value problem. The numerical check separately monitors the conserved axial optical momentum.
Typical misconceptionLight simply chooses the geometrically shortest line, so refractive index and neighboring paths are secondary details.
Better mental modelThe functional weights every segment by its local refractive index. Reflection, refraction, and smooth bending all follow from stationarity of that weighted path with fixed endpoints.
In the mirror scene, drag the magenta surface point until it coincides with the gold hit; compare the two mirror angles and locate the stationary point of the arrival-time landscape.
What to observe: Only the gold mirror path turns at the equal-angle hit. The dashed comparison is not reflected light and carries no photon pulses.Switch to the two-medium scene, move the target, and verify that the stationary crossing shifts while the source and target remain fixed during each variation sweep.
What to observe: The interface stationary crossing is generally displaced from the straight geometric crossing because the slower medium changes the optical-path weighting.Enter the GRIN scene, orbit the camera through the index contours, then return the trial deformation to zero while watching the first variation and momentum residual.
What to observe: The GRIN solution bends continuously toward larger index. Neighboring physical launch rays end elsewhere, whereas every magenta variation retains the chosen target.