Orange: selected curve · green dashed: stationary solution.
Geometry is in metres; axis scales are equal.
Drag the orange interface point or use the crossing control. A=(0,2 m), B=(4 m,−2 m).
Settings
Record measurement
No measurements yet.
Investigate and explain
- Which way does the optimal crossing move as n₂ increases?
- First set n₁=n₂, then increase n₂ and move the orange point to the minimum.
- Relate the zero first derivative at stationarity to the angle ratios.
Notes are saved in this browser.
Mathematics step by step
Two homogeneous isotropic media, flat interface y=0. Fixed A=(0,2 m), B=(4 m,−2 m). Each segment is straight in its medium. This explores transmitted paths, not total internal reflection or wave interference. Both angles are measured from the normal.
Since light speed is c/n, optical path cT is the index-weighted sum of the two segment lengths.
Vary the crossing x and set the derivative to zero. The first segment lengthens as the second shortens.
Right triangles identify these ratios as sines of angles from the normal, yielding Snell’s law.
For this flat two-medium setup, the second derivative is strictly positive: the unique stationary crossing is a minimum. General Fermat means stationary time, not an absolute minimum in every setup.
Source and target are fixed in opposite media; this is not a critical-angle experiment for a prescribed incident ray.
Primary teaching sources
Experiment purpose and introduction
Classical Mechanics · δJ = 0
From Fermat’s principle to Snell’s law
Drag the interface crossing; derive refraction by making optical travel time stationary.
Constraints and model
Two homogeneous isotropic media, flat interface y=0. Fixed A=(0,2 m), B=(4 m,−2 m). Each segment is straight in its medium. This explores transmitted paths, not total internal reflection or wave interference. Both angles are measured from the normal.