Set and . Since there is no explicit dependence, the Beltrami identity says is constant along a stationary curve. One can verify it directly:by the Euler-Lagrange equation. Here , soThis identity applies on the open arch where . The constant is finite by evaluating at any interior point. Near an endpoint , hence everywhere on such an arch. Thus also throughout it.
Ray in a linear-speed medium Created 2026-10-13 Updated 2026-10-18
For light speed , the travel-time integrand is . The Beltrami identity gives , so nonvertical rays are semicircles centred on . Boundary endpoints at have infinite travel time: along any rectifiable path entering positive height, and the integral diverges. These semicircles are therefore ideal-endpoint hyperbolic geodesics, not finite-time optical minimizers joining zero-speed endpoints.
Ray in an exponential-speed medium 2026-10-13
For positive and light speed , the Fermat principle uses the time integrand . The Beltrami identity sets constant. Solving this first integral gives the displayed symmetric ray between when . Its travel time is . The ray's central height diverges as , while its travel time tends to .
For positive twice differentiable functions , the Euler-Lagrange equation for this functional reduces to . Thus and integration gives . The upper circular arc is a graph wherever its radicand is positive. A fixed horizontal endpoint with free height imposes , so that endpoint must lie above the centre. Distinct horizontal endpoints cannot both satisfy this natural boundary conditions for a free endpoint. The Beltrami identity alone also admits constant functions, which are excluded by the full Euler-Lagrange equation.
For refractive index with , the optical-length integrand is . The Beltrami identity gives , while the full Euler-Lagrange equation gives . Together these yield the displayed parabolas and exclude a spurious constant solution of the squared first integral. Equal-height endpoints force and . There are two positive stationary rays for , one coalesced ray for , and none of this smooth family for . For , the two paths are and . Fermat principle requires stationary optical length, not a global minimum over every competing path.