Jump to content

Hamilton's principle/Applications/Fermat's principle: Difference between revisions

From The Invariance Itself
m 1 revision imported
Add DISPLAYTITLE: title the page by its section rather than its path
Line 1: Line 1:
{{DISPLAYTITLE:Fermat's principle}}
'''Fermat's principle''' states that the path taken by light between two points
'''Fermat's principle''' states that the path taken by light between two points
is stationary with respect to time. It is the oldest surviving variational
is stationary with respect to time. It is the oldest surviving variational
Line 166: Line 167:


<references />
<references />

Revision as of 04:46, 16 September 2026

Fermat's principle states that the path taken by light between two points is stationary with respect to time. It is the oldest surviving variational principle in physics, it precedes the calculus of variations by nearly a century, and it is the historical bridge to mechanics: the analogy Hamilton exploited runs from this principle to his own.

Statement

Snell's law from stationary time.

In a medium of refractive index n(x,y,z), light travels at speed c/n. The transit time along a path is

T=∫dsv=1c∫n(x,y,z)ds(1)

The quantity ∫nds is the optical path length. Fermat's principle is that light follows a path for which (1) is stationary.

Fermat himself said least, and for the cases he treated the two coincide. The correction to stationary is required, and the failures are exhibited at the end of this page.

Snell's law

Take two media, indices n1 above and n2 below a flat interface. Light goes from A=(0,a) to B=(d,−b) with a,b>0, crossing at (x,0). Straight segments within each medium — the index is constant there, so each leg is a straight line — give the time as a function of the single unknown x:

cT(x)=n1a2+x2+n2b2+(d−x)2(2)

This is ordinary calculus, not the calculus of variations: the variational problem has collapsed to one variable because the path shape within each medium is already known. Differentiate:

cdTdx=n1xa2+x2−n2(d−x)b2+(d−x)2(3)

The two fractions are the sines of the angles from the normal, so setting (3) to zero gives

n1sin⁡θ1=n2sin⁡θ2(4)

Snell's law, from a stationarity condition in three lines.

The second derivative of (2) is positive for all x, so this stationary point is a genuine minimum — refraction at a flat interface really is least time. That will not survive curved interfaces.

The law of reflection follows the same way with n1=n2 and both points on the same side, giving equal angles.

The continuous case

For a medium with varying index the problem is a genuine variational one. With the path written y(x) in the plane,

J[y]=∫n(x,y)1+y'2dx(5)

Two special cases are worth having.

Stratified medium, n=n(y). The integrand carries no explicit x, so the Beltrami identity of Hamilton's principle/Mathematics/The Beltrami identity applies. The same collapse as in Hamilton's principle/Applications/The brachistochrone gives

n(y)1+y'2=const(6)

Since 1/1+y'2=sin⁡θ with θ measured from the vertical, (6) reads nsin⁡θ=const — Snell's law again, now holding continuously along the ray rather than at an interface. The discrete law is the first integral of the continuous problem.

This is the mirage. Hot air near a road surface has lower index; a ray descending into it bends until sin⁡θ=1 and turns back up, and the observer sees sky below the horizon.

Constant index. Then (5) is arc length and the rays are straight lines, the case worked on Hamilton's principle/Mathematics/The Euler-Lagrange equation.

Rays are geodesics

Equation (5) is the arc-length functional of Hamilton's principle/Applications/Geodesics with the metric conformally rescaled by n2:

ds~2=n2(q)(dx2+dy2+dz2)(7)

So light rays are geodesics of the optical metric, and every result about geodesics transfers. In particular the geodesic equation (6) of that page supplies the ray equation, and conjugate points supply the foci.

Compare this with Jacobi's form of Maupertuis' principle on Hamilton's principle/Mathematics/Abbreviated action: Maupertuis versus Hamilton, where a particle of energy E in potential V follows a geodesic of the metric rescaled by 2(E−V). The two statements are the same statement under

n(q)⟷2(E−V(q))(8)

That correspondence is the optical-mechanical analogy, and it is developed on Hamilton's principle/Applications/The optical-mechanical analogy.

Stationary, not least

Three standard cases show that least fails, and none of them is contrived.

A concave mirror at its focus. Place source and observer at the two foci of an ellipsoidal mirror. Every path via the surface has the same optical length. The time is stationary and constant — neither minimum nor maximum, and not isolated.

A mirror curved more sharply than the ellipse. Replace the ellipsoidal surface by one curving away more sharply through the same reflection point. The reflected path now has greater optical length than neighbouring paths: the actual light path is a local maximum of time. The reflection law (4) still holds, and the light still goes that way.

Beyond a focus. A ray passing through a focus and continuing is stationary but no longer minimal, for exactly the reason a great-circle arc past the antipode is not shortest. The focus is a conjugate point of Hamilton's principle/Mathematics/The Jacobi condition and conjugate points, and the optical and mechanical statements are the same statement under (7).

This is the cleanest place in the volume to see why the correction to "stationary" is forced. A maximum-time path is not an edge case of least time; it is the opposite, and the principle as Fermat stated it is simply false there.

Historical note

Fermat proposed the principle in the 1650s and defended it against Descartes' derivation of the refraction law from an assumption about light travelling faster in denser media. Fermat's principle requires the opposite, and the question was settled experimentally by Foucault in 1850, two centuries later, in Fermat's favour.

The metaphysical framing — that nature acts by the shortest paths — was contested at the time and is the same framing Maupertuis would use for mechanics ninety years later. Both principles survived; both framings did not. The corrected statement is stationarity, and it carries no claim about nature's economy.

Provenance: the historical paragraph is editorial summary. The Fermat row of the survey on Hamilton's principle/Sources is UNCOMPUTED — no full text of the Synthesis ad refractiones has been located for this volume — so no words are attributed to Fermat here, and every equation on this page is derived on it.

Next

Hamilton's principle/Applications/The optical-mechanical analogy makes the correspondence (8) the subject rather than a remark.

References