Optical-Mechanical Analogy
In 1834 William Rowan Hamilton published a fact so far ahead of its time that physics needed ninety years to catch up. He had spent a decade building a "theory of systems of rays" — geometrical optics organized around a single characteristic function whose level surfaces are wavefronts and whose gradients are rays. Then he noticed that mechanics fits the same mold exactly: surfaces of constant action play the wavefronts, particle trajectories thread them perpendicularly like rays, and the momentum stands wherever optics writes the refractive index . Fermat's principle of least optical path and Maupertuis' principle of least abbreviated action become one variational statement wearing two costumes. Read literally, the analogy whispers something radical. Geometrical optics is not a fundamental theory — it is the short-wavelength limit of wave optics, blind to diffraction and interference. If classical mechanics is mathematically identical to geometrical optics, then classical mechanics might likewise be the short-wavelength limit of an undiscovered wave mechanics. Hamilton had no experimental reason to take that step; matter showed no hint of a wavelength. The hint arrived in 1924 when de Broglie proposed , and in 1926 Schrödinger ran Hamilton's logic in reverse — hunting the wave equation whose eikonal limit is the Hamilton-Jacobi equation — and found wave mechanics. This page builds the dictionary quantitatively: wavefronts from Hamilton's Characteristic Function, the eikonal equation from the wave equation, a mechanical Snell's law, and the phase-versus-group-velocity subtlety that seeded matter waves. It is the conceptual heart of this chapter's bridge from classical to quantum.
- The time-independent Hamilton-Jacobi equation and the optical eikonal equation are the same equation under the dictionary , .
- Surfaces of constant are mechanical wavefronts; trajectories are the orthogonal rays, with playing the role of .
- Fermat's principle and Maupertuis' principle are the two faces of one variational law; a particle refracts at a potential step by a Snell's law .
- The wavefronts do not travel with the particle: they sweep along at phase speed while the particle moves at — the mismatch resolved only by wave packets and group velocity.
- The analogy is exact ray-to-ray but silent about wavelength; supplying (de Broglie, 1924) converts it into quantum mechanics (Schrödinger, 1926) — the machinery is in WKB Approximation and the Eikonal Connection.
- Working fruits today: electron microscopes are literally refraction of matter waves by potential "lenses"; seismic tomography and gradient-index optics integrate the same Hamilton-Jacobi ray equations.
- Key idea: surfaces of constant characteristic function are mechanical wavefronts, trajectories are their orthogonal rays, and the Hamilton-Jacobi and eikonal equations coincide under the dictionary refractive index equals momentum — classical mechanics is a geometrical optics awaiting its wave theory.
Surfaces of Hamilton's characteristic function are mechanical wavefronts; trajectories are the orthogonal rays with playing the role of . The Hamilton-Jacobi equation and the optical eikonal equation are the same equation under the dictionary .
Where this lives today
Every electron microscope is the analogy running as infrastructure: magnetic and electrostatic fields are gradient-index lenses for matter waves (Examples 1-2), and lens designers still compute with the electron-optical refractive index . The same Hamilton-Jacobi ray machinery, with , powers seismic travel-time tomography — imaging Earth's interior by integrating mechanical rays — and gradient-index (GRIN) optics, from smartphone camera lenses to the graded cores of optical fibers. Atom interferometry closes the historical loop: laser-cooled atoms with picometer de Broglie wavelengths diffract off light gratings, and the resulting interferometers measure gravity and rotation precisely enough to hunt dark energy — Maupertuis' read as an interferometric phase. Conceptually, the analogy remains the cleanest statement of why semiclassical physics works: classical mechanics is the caustic-and-ray skeleton of quantum mechanics, sharp wherever actions dwarf . Its quantitative completion is the WKB expansion of WKB Approximation and the Eikonal Connection; its historical completion — how the eikonal limit plus de Broglie's postulate pinned down the Schrödinger equation — is the story finished in Connection to the Schrodinger Equation.
The physical picture
Drop a stone in a pond and watch the rings spread: the crests are wavefronts, and the energy travels along paths perpendicular to every crest — the rays. Hamilton's observation is that mechanics already contains this picture. Take the family of surfaces on which the characteristic function is constant. The momentum of any trajectory is : always perpendicular to the local surface, threading the family like rays through wavefronts. One function organizes an entire bundle of trajectories at once — every particle of energy launched perpendicular to one wavefront — exactly as one eikonal organizes a beam of light.
The dictionary earns its keep at an interface. Light entering glass slows down, its wavefronts crowd together, and the ray bends toward the normal: Snell's law, . Now push a particle across a step where the potential drops. Its momentum grows, its constant- surfaces crowd together, and the trajectory bends toward the normal: , derived below by the same wavefront-matching argument opticians use. High momentum is high refractive index. An electrostatic lens focuses electrons for exactly the reason a glass lens focuses light. But the analogy carries a built-in tension, and it is the productive kind. The wavefronts are not carried along by the particle: Derivation A shows they sweep through configuration space at phase speed , while the particle crawls at — for a free particle the front moves at half the particle's speed. Which one is "the motion"? In optics the same puzzle is resolved by wave packets: individual crests move at the phase velocity, but a localized pulse — the thing you can detect — moves at the group velocity. Demanding that a matter-wave packet's group velocity equal the particle velocity is a one-line calculation once is granted, and it works. That consistency check, run by de Broglie and Schrödinger, is the hinge on which this chapter's whole classical-to-quantum bridge turns. Keep one caveat in view throughout: everything here is ray-to-ray. Hamilton proved classical trajectories are the rays of some wave geometry; he could not say what waves, or how long their wavelength. The analogy is silent exactly where diffraction, interference, and tunneling live. That silence is not a defect — it is a precise map of what quantum mechanics would have to add.
The dictionary, quantitatively
Start on the mechanics side. For a conservative system, Hamilton's principal function separates as (the split constructed in Hamilton's Characteristic Function), and the time-independent Hamilton-Jacobi equation of Time-Independent Hamilton-Jacobi Equation fixes the spatial function :
where: — the characteristic function, whose level sets are the mechanical wavefronts; — the momentum field, of magnitude . Read geometrically: (1) prescribes how tightly the wavefronts pack at each point — spacing inversely proportional to the local momentum. Now the optics side. A scalar monochromatic wave in a medium of refractive index obeys the Helmholtz equation, and in the short-wavelength regime its phase (the eikonal, from the Greek for image) satisfies
where: — optical path length accumulated by the wave, so wavefronts are and rays run along . Derivation B extracts (2) honestly from the wave equation, and the extraction is worth watching: it is the same expansion that extracts classical mechanics from the Schrödinger equation in WKB Approximation and the Eikonal Connection. Equations (1) and (2) are one equation. The complete dictionary reads:
where: the correspondence is exact at the level of ray geometry — every theorem of geometrical optics has a mechanical twin. A potential well is a high-index inclusion (a lens); a potential barrier is a low-index gap; the turning surface is total internal reflection, where and rays cannot pass. The variational principles translate along with the field equations. Fermat's principle selects light rays as paths of stationary optical length; under the dictionary it becomes Maupertuis' principle of stationary abbreviated action:
where: — arc length; both principles compare paths between fixed endpoints at fixed frequency/energy. Fermat (1662) and Maupertuis (1744) were arguing about theology and economy in nature a century apart; Hamilton showed they had proved the same theorem twice. Note what is extremized: path length weighted by or — not time. The distinction matters and is a favorite examiner's trap (see the FAQ). Finally, the kinematics of the wavefronts themselves. Fix a value of and follow that surface as time runs:
where: — the normal speed of the constant- wavefront (Derivation A); — the speed of the particle riding the ray. They are different functions of position: fronts race where the particle dawdles () and dawdle where it races. Their product is fixed by the energy. This is the crack in the pure ray picture through which wave mechanics eventually entered.
We are deriving the propagation speed of the mechanical wavefronts — the level surfaces of Hamilton's principal function — for a conservative system. The strategy is direct kinematics: freeze a value of , ask how far along its normal the surface must shift in time to keep constant, and read off the normal speed. The payoff is the mismatch between this phase speed and the particle speed, which the analogy alone cannot resolve.
Step 1. Fix . Since , the frozen surface satisfies : as advances, the surface must migrate to configurations of ever larger — it sweeps outward through the nested family of -surfaces.
Step 2. Displace a point of the surface by along the local normal . Keeping constant requires
Why the normal direction is the right one to track: motion of a surface tangent to itself is invisible; the only geometrically meaningful "speed of a wavefront" is along its normal, exactly as for wave crests in optics.
Step 3. Solve for the normal speed and insert from equation (1):
Step 4. Compare with the particle: , so everywhere, and for a free particle () the front moves at exactly half the particle speed, . Front and particle agree nowhere; slow particles sit inside fast wavefronts and vice versa. Why this mismatch is a feature: identical behavior occurs for any dispersive wave — individual crests (phase velocity) and localized packets (group velocity) travel differently. Requiring a matter-wave packet with , gives group velocity : the packet moves with the particle even though no crest does. Verified: , , match Goldstein §10.8 and Landau-Lifshitz Mechanics §47; the free-particle check agrees with the non-relativistic de Broglie dispersion .
Go deeper · Derivation B · 1 minThe eikonal equation from the wave equation
We are deriving the eikonal equation (2) — the optics half of the analogy — from the scalar Helmholtz equation, to exhibit exactly what "geometrical optics is the short-wavelength limit" means. The strategy is the eikonal ansatz followed by ordering in the large parameter : the vacuum wavenumber plays the role plays for matter waves, and watching the parallel is the point of the exercise.
Step 1. In a medium of index , a monochromatic scalar wave obeys the Helmholtz equation
Step 2. Insert with real amplitude and real eikonal , and divide by :
Step 3. Order in . The terms dominate when the wavelength is short compared to the scale of variation of and :
which is equation (2) — the eikonal equation, with rays along . Why the condition is geometric: the neglected terms are smaller by , with the scale over which the medium or amplitude varies. Geometrical optics needs a slowly varying medium, not a weak one — the exact analogue of the WKB validity condition.
Step 4. The terms give , i.e. : intensity is transported along the rays, conserved in every ray tube. This is optics' transport equation, twin of the probability-continuity equation at order in WKB Approximation and the Eikonal Connection.
Step 5. Under the dictionary , (up to constants), Steps 1-4 map term-for-term onto the -expansion of the Schrödinger equation: the eikonal equation becomes Hamilton-Jacobi, the transport law becomes probability conservation. One computation, two theories. Verified: matches Born & Wolf, Principles of Optics §3.1 (eikonal and transport equations); the correspondence table to the WKB expansion follows Goldstein §10.8.
Go deeper · Derivation C · 1 minMechanical Snell law from wavefront matching
We are deriving the refraction law for a particle crossing a potential step, using only the continuity of the wavefront family — no forces, no Newton. The strategy is the optician's: across the interface the function is continuous, so the component of tangent to the interface cannot jump; only the normal component can. This is worth doing precisely because the usual force-based derivation obscures that refraction is pure wavefront geometry.
Step 1. Let two half-spaces carry constant potentials (incidence side) and , meeting at a plane. In each region, equation (1) fixes the magnitude : wavefront spacing is uniform in each region but different between them.
Step 2. is continuous across the interface (the wavefront family does not tear), so its derivative along the interface is the same on both sides:
Why only the tangential component is protected: continuity of a function across a surface constrains derivatives within the surface; the normal derivative is free to jump, and does — that jump is the impulsive normal force of the step.
Step 3. Write each side's tangential component via the angle between the trajectory (along ) and the interface normal: . Equating:
— Snell's law with momentum as the refractive index, completing dictionary entry (3).
Step 4. Consistency check against Newton: the step exerts force only along the normal, so the tangential momentum is conserved — the same law from mechanics. The wavefront argument, however, generalizes instantly to continuously graded , where it integrates to the full ray equation of gradient-index optics. Verified: form matches optical Snell's law under and the conserved-tangential-momentum argument; consistent with Landau-Lifshitz Mechanics §47.
Limiting cases
| case | result | meaning |
|---|---|---|
| free particle, | const: plane wavefronts, straight rays | the mechanical vacuum: , no refraction |
| potential step | Snell's law with momentum as index; lower bends trajectories toward the normal | |
| turning surface | : the "index" vanishes, rays cannot penetrate | total internal reflection = classical turning point; caustics form here |
| (optics) | eikonal equation exact | geometrical optics valid; diffraction is the correction |
| (mechanics) | Schrödinger Hamilton-Jacobi | classical mechanics is the eikonal limit of wave mechanics — the analogy read backwards |
| relativistic de Broglie wave | with rest energy included, fronts outrun light; harmless, since signals travel at group velocity |
Worked examples
Example 1 — electron refraction at an accelerating grid (confidence builder). An electron with kinetic energy eV crosses a grid into a region at potential V (so eV), striking the interface at from the normal. Find the refraction angle and the effective index ratio.
Step 1. Momenta from equation (1): , so — the "glass" side is the high-momentum side.
Step 2. Snell's law: , giving — bent toward the normal, like light entering glass with .
Step 3. The matter wavelengths confirm the picture. , so nm; after the grid nm. Wavefronts crowd by exactly the index ratio, as the hero figure shows.
Example 2 — the wavelength of a microscope electron (exam level). A transmission electron microscope accelerates electrons through kV. Find the de Broglie wavelength (the accelerating energy is a substantial fraction of keV, so include the relativistic correction) and compare with atomic spacings.
Step 1. The exact relation is ; the bracket corrects the non-relativistic .
Step 2. Evaluate the pieces: J; ; the relativistic bracket is .
Step 3. So and
pm — about a hundred times smaller than an atomic spacing ( nm).
Step 4. The lesson of the analogy: resolution is not wavelength-limited () but aberration-limited — electron lenses are refracting potentials (Example 1 iterated smoothly), and shaping precisely is harder than grinding glass. Modern aberration-corrected instruments reach pm, resolving single atoms: Hamilton's dictionary, operating at industrial scale.
Origins · 1 minWilliam Rowan Hamilton and how this was discovered
Hamilton was appointed Astronomer Royal of Ireland while still an undergraduate at Trinity College Dublin. His Theory of Systems of Rays (1828) rebuilt optics around a single characteristic function; by 1834-35 he had recast dynamics in the same mold, giving mechanics its canonical equations and the principal function at the heart of this chapter. The optical-mechanical analogy was, to him, the deepest of his results — and the least used: contemporaries treated it as formal elegance. He predicted conical refraction (confirmed within months, a sensation at the time), invented quaternions in a flash of insight on Broome Bridge, and died thirty years too early to see Schrödinger vindicate his conviction that mechanics and wave optics are one subject.
Going further
References. Goldstein, Poole & Safko, Classical Mechanics, 3rd ed., §10.8 (the analogy and wave mechanics) · Landau & Lifshitz, Mechanics, 3rd ed., §47 · Born & Wolf, Principles of Optics, ch. 3 (eikonal theory) · Hamilton, Theory of Systems of Rays (1828); On a General Method in Dynamics (1834) · Schrödinger, Ann. Phys. 79, 489 (1926), second communication — the explicit tribute to Hamilton · Taylor, Classical Mechanics, ch. 13
Provenance. A verifier should reproduce: (1) the eikonal equation from the Helmholtz equation (Born-Wolf §3.1); (2) from the time-independent Hamilton-Jacobi equation (Goldstein §10.3, Landau-Lifshitz §47); (3) the phase/group relations , , and the free-particle check ; (4) mechanical Snell's law from tangential continuity of . Worked numbers computed for this article and hand-verifiable: electron at 100 eV, with , nm; 300 kV microscope electron pm with relativistic bracket . All constants CODATA.
Builds on: Hamilton-Jacobi Equation · Hamilton's Principal Function · Hamilton's Characteristic Function · Time-Independent Hamilton-Jacobi Equation Leads to: Action-Angle Variables · Separation of Variables in Hamilton-Jacobi Theory · Liouville Integrable Systems
If Hamilton had the full analogy in 1834, why did nobody propose matter waves for ninety years?
Because the analogy, taken alone, gives no reason to. It says classical mechanics has the form of a ray optics; it does not say the rays belong to an actual wave, and in 1834 nothing in experiment hinted at matter diffracting or interfering. Physics had no anomaly the wave hypothesis would cure, and no way to guess the wavelength scale. What changed by 1924: quantized atomic spectra, the photoelectric effect, and Bohr-Sommerfeld's mysterious integer conditions — phenomena that look like interference conditions ( reads as "an integer number of wavelengths around the orbit"). De Broglie's postulate turned Hamilton's formal wave into a physical one with a definite , and within two years Schrödinger had the equation. The analogy was a loaded spring waiting for one experimental fact.
Is the analogy exact, or approximate with corrections?
State it carefully and it is exact — as a correspondence between ray theories. The time-independent Hamilton-Jacobi equation and the optical eikonal equation are the same PDE under the dictionary; every ray-optics theorem (Snell, Fermat, caustic geometry, lens equations) has an exact mechanical twin. What is approximate is each ray theory's relation to its own wave theory: geometrical optics errs by against wave optics, classical mechanics by against quantum mechanics. So the accurate slogan is: exact analogy between two limits. The parallel even extends one level up — wave optics and wave mechanics correspond too, but only approximately (light obeys a second-order-in-time equation for a vector field; the Schrödinger equation is first-order in time for a complex scalar), which is why the analogy is sharpest at the ray level.
De Broglie's phase velocity comes out faster than light. Is that a problem?
No — and working out why is instructive. Including rest energy, a de Broglie wave has and , so : superluminal whenever . But a single infinite plane wave carries no information — it is the same everywhere forever. Anything detectable (a particle, a signal, a modulation) is a packet, and packets move at the group velocity . Phase fronts are bookkeeping surfaces, free to move at any speed, exactly like the intersection point of scissors blades. The same resolution handles the milder non-relativistic surprise in Derivation A (): no observable rides a single crest.
Light slows down in glass, but the particle speeds up where the index is high. Doesn't that break the analogy?
It breaks only a false expectation, and the fix locates the analogy precisely. The dictionary maps index to momentum, and rays bend toward high in optics exactly as trajectories bend toward high (low ) in mechanics — the geometry matches perfectly. Speeds are a different question: in optics high means low phase speed , while in mechanics high means high particle speed but low wavefront speed . So the honest statement is: particle speed corresponds to nothing simple in optics, but wavefront (phase) speed corresponds exactly — both go as . The analogy is wavefront-to-wavefront and ray-to-ray; it never promised particle-speed-to-energy-speed. Keeping track of which velocity is which is the entire content of the pitfall box.
Fermat's principle is least time — Maupertuis' principle is not. How can they be the same?
Because Fermat's principle, stated correctly for a dispersive medium, is stationary optical path at fixed frequency — which equals travel time only when the phase and signal speeds coincide. The mechanical twin under is stationary at fixed energy: Maupertuis. Neither principle extremizes the particle's travel time; indeed a mechanical "least time" principle is generally false (the fast path and the stationary-action path differ). The deeper common structure: both are reduced variational principles — time (optics: frequency) has been eliminated in favor of a conserved quantity, leaving a purely geometric comparison of paths. Hamilton's principle , which does involve time, is a different (unreduced) principle; the relation between the two is the Legendre-transform story of this chapter's action articles.
Does the analogy extend to magnetic forces, where the force depends on velocity?
Yes, and the extension is telling: it maps onto anisotropic optics. With a vector potential , the abbreviated action becomes , so the effective index depends on direction of travel, not just position — like a crystal whose refractive index differs along different axes, or a moving medium that drags light. Electron optics handles magnetic lenses exactly this way. The quantum echo is profound: that direction-dependent phase is the Aharonov-Bohm phase, observable in electron interferometers even where . The analogy thus quietly anticipates gauge phases — geometry entering through the action — a thread this chapter picks up again with Hannay's angle and Berry's phase.
Where exactly does the ray picture fail, and what phenomena live in the gap?
The eikonal expansion needs the wavelength short compared to every length in the problem, and it fails at three characteristic places. Caustics and foci — where rays cross and the predicted intensity diverges — get finite, structured spots (Airy patterns in optics; turning-point wavefunctions in mechanics). Shadow boundaries — where geometrics says intensity jumps discontinuously — get diffraction fringes; mechanically, this is wavepacket spreading into classically forbidden angles. And barriers thin compared to the decay length get leakage: evanescent coupling in optics, tunneling for matter. Each failure is the wave theory refusing to honor an infinitely sharp ray-geometric feature. Semiclassical physics is the art of repairing these spots locally (Airy patches, Maslov phases) while keeping rays everywhere else — the program executed in WKB Approximation and the Eikonal Connection.