Module 6 · 7 min read · Free chapter
Fermat's principle and the laws of reflection and refraction
Start from zero: the lifeguard's choice
A lifeguard on the beach sees a swimmer in trouble out at sea, off to one side. Running straight toward the swimmer means a long swim. Running along the beach to the point nearest the swimmer means a long run. The fastest route lies between: run further on sand, where you are fast, and swim less in water, where you are slow.
Light faces exactly this choice when it passes from air into glass. In 1662 Pierre de Fermat proposed that light always takes the path of least time. From that single idea, the laws of reflection and refraction follow by simple calculus. The idea also explains mirages and lenses, and it hints at the deep link between optics and mechanics.
Optical path length and Fermat's principle
Light in a medium of refractive index n moves at . The time to cross a short distance ds is . So the total travel time is times the optical path length
Minimising the time is the same as minimising L.
Fermat's principle (modern form). The actual path of a ray between two points is one for which the optical path length is stationary. Small changes in the path, to first order, do not change L. Usually this is a minimum, but it can be a maximum or a point of inflection.
Optical path length counts how many wavelengths fit along the route, scaled to vacuum. Two paths with equal L take equal time and arrive in step. This idea will return in interference.
Deriving the laws of reflection and refraction
Reflection. Light goes from A to a mirror and then to B, both at heights a and b above it, separated horizontally by d. If it strikes the mirror at distance x from A's foot,
Setting gives , that is, sin i = sin r, so i = r. Geometrically: reflect B in the mirror to B′; the shortest path from A to B′ is a straight line, and it crosses the mirror where i = r.
Refraction. Now A is in medium 1 (index ) at height a above a flat boundary, and B is in medium 2 (index ) at depth b below it. The optical path is
Setting gives
which is Snell's law. This is the lifeguard's rule: the ratio of the sines of the angles equals the ratio of the speeds. The same result came from wavelets in Huygens' principle, a sign that the ray and wave pictures agree.
Reversibility. Since the time from A to B equals the time from B to A, a ray retraces its path if reversed. This is the principle of reversibility of light.
Minimum, maximum or equal: mirrors and lenses
Not always a minimum. Consider an ellipsoidal mirror with A and B at its two foci. Every path from A to any point on the mirror and on to B has the same length, a property of the ellipse.
Now replace the ellipse by a concave mirror curving more sharply, touching it at one point. At that point the actual reflected path is a maximum among nearby paths. Fermat's principle in its correct form says only that the path is stationary.
Focusing. At the other extreme, all paths may have the same optical length. A perfect lens is shaped so that every ray from an object point to its image point has equal optical path. The rays through the thick centre travel a shorter distance in air but a longer distance in glass than those through the thin edge, and the two effects balance exactly.
All the rays then arrive in phase, and the image forms. A parabolic mirror does the same for parallel rays coming to its focus, which is why telescopes and satellite dishes use parabolas.
Curved rays: mirages and atmospheric refraction
When n changes smoothly from place to place, the least-time path is a curve, not a set of straight segments. Rays always bend toward the region of higher refractive index, where light is slower. A ray "prefers" to spend less time there, so it curves to approach it at a steep angle and pass through quickly.
Mirage. Over hot sand or a sunlit road, the air near the ground is hotter and less dense, so n is lower there. Light from the sky heading down at a shallow angle curves back upward before reaching the ground. An observer sees sky-light apparently coming from the ground, which looks like a pool of water.
Over cold sea the reverse happens. Air near the surface is denser, rays curve downward, and distant ships appear lifted above the horizon (looming).
Atmospheric refraction. Air gets thinner with height, so starlight bends toward the denser air below as it comes down through the atmosphere. Stars appear higher than they are, by about 0.5° at the horizon. We see the Sun for about two minutes after it has actually set, which lengthens the day by about four minutes. The flattened look of the setting Sun comes from the same bending.
Graded-index fibres. An optical fibre whose core index falls smoothly from the axis outward bends rays back toward the centre in smooth curves. Rays on longer, curved paths spend more time in the faster outer region, so all rays take nearly equal times and pulses stay sharp; see fibre optics.
Why least time? The wave explanation
How does light "know" which path is fastest before it sets out? It does not.
Wave optics answers the puzzle. Light from A spreads in all directions, and in effect every path contributes a wave to point B. Each arrives with a phase set by its optical path length.
Near a path where L is stationary, neighbouring paths have almost the same L. Their contributions arrive nearly in phase and add up strongly. Far from it, L changes rapidly from one path to the next, the phases spin round, and the contributions cancel.
So the light we see is concentrated along the stationary path. This is the ray limit of wave optics, valid when the wavelength is small compared with the objects involved.
A wider principle. In mechanics, a particle moves along the path that makes the action stationary (Hamilton's principle; see Lagrangian and Hamiltonian mechanics). Feynman's path-integral picture of quantum mechanics unites the two. A particle explores all paths, and the classical one emerges where the phases agree, just as rays emerge from waves.
Mains lens: how UPSC asks this
The syllabus begins geometrical optics with "Laws of reflection and refraction from Fermat's principle". Expect the two derivations, often with a remark on whether the path is a minimum.
Expect:
- Derivations (10 to 15 marks): reflection and Snell's law by minimising optical path.
- Statement subtleties (5 to 10 marks): stationary rather than minimum; examples of maximum and equal paths.
- Applications (5 to 10 marks): mirages, atmospheric refraction, graded-index fibres.
Model answer plan: "State Fermat's principle of least time. Deduce from it the laws of reflection and refraction" (15 marks).
- Optical path length ; time = ; stationary path.
- Reflection: ; ⇒ i = r.
- Refraction: ⇒ .
- Both rays in the plane of incidence; reversibility.
- Note stationary, not always minimum (concave mirror); wave origin of the principle.
Quick revision
- Optical path ; actual ray makes L stationary.
- Reflection: minimise L ⇒ i = r (mirror-image construction).
- Refraction: ⇒ (lifeguard rule).
- Stationary can be minimum, maximum or equal for all paths (lens focusing).
- Rays bend toward higher n: mirage, looming, Sun seen after sunset.
- Wave origin: paths near the stationary one add in phase.