Ray Tracing
The method of approximating the path of light by drawing straight lines (rays) through the optical system, simplifying calculations.
📜
The statement of the theorem
Let the optical medium be defined by a spatially varying refractive index . The propagation of the wavefront is governed by the eikonal equation, which is the scalar form of the wave equation in the high-frequency limit:\n\nwhere and is the eikonal function. The ray path is parameterized by the arc length and follows the direction of the wave vector . The trajectory must satisfy the differential equation:\n\nThis equation, derived from the Hamiltonian formulation of the optical path length minimization, describes the continuous path of the ray through the inhomogeneous medium.
Source: Wikipedia