A light ray is a line (straight or curved) that is perpendicular to the light's wavefronts; its tangent is collinear with the wave vector. Light rays in homogeneous media are straight. They bend at the interface between two dissimilar media and may be curved in a medium in which the refractive index changes. Geometric optics describes how rays propagate through an optical system. Objects to be imaged are treated as collections of independent point sources, each producing spherical wavefronts and corresponding outward rays. Rays from each object point can be mathematically propagated to locate the corresponding point on the image.
A slightly more rigorous definition of a light ray follows from Fermat's principle, which states that the path taken between two points by a ray of light is the path that can be traversed in the least time.
There are many special rays that are used in optical modelling to analyze an optical system. These are defined and described below, grouped by the type of system they are used to model.
Interaction with surfaces
An incident ray is a ray of light that strikes a surface. The angle between this ray and the perpendicular or normal to the surface is the angle of incidence.
The reflected ray corresponding to a given incident ray, is the ray that represents the light reflected by the surface. The angle between the surface normal and the reflected ray is known as the angle of reflection. The Law of Reflection says that for a specular (non-scattering) surface, the angle of reflection is always equal to the angle of incidence.
The refracted ray or transmitted ray corresponding to a given incident ray represents the light that is transmitted through the surface. The angle between this ray and the normal is known as the angle of refraction, and it is given by Snell's Law. Conservation of energy requires that the power in the incident ray must equal the sum of the power in the refracted ray, the power in the reflected ray, and any power absorbed at the surface.
If the material is birefringent, the refracted ray may split into ordinary and extraordinary rays, which experience different indexes of refraction when passing through the birefringent material.
A meridional ray or tangential ray is a ray that is confined to the plane containing the system's optical axis and the object point from which the ray originated.
A skew ray is a ray that does not propagate in a plane that contains both the object point and the optical axis. Such rays do not cross the optical axis anywhere and are not parallel to it.
The marginal ray (sometimes known as an a ray or a marginal axial ray) in an optical system is the meridional ray that starts at the point where an object to be imaged crosses the optical axis (the axial object point) and touches an edge of the aperture stop of the system. This ray is useful, because it crosses the optical axis again at the locations where a real image will be formed, and backward extensions of the ray's path cross the axis where a virtual image will be formed. Since the entrance pupil and exit pupil are images of the aperture stop, for real image pupils, the distance of the marginal ray from the optical axis at the pupil locations defines the sizes of each pupil. For virtual image pupils, an extended line, forward along the marginal ray before the first optical element or backward along the marginal ray before the last optical element, determines the size of the entrance or exit pupil, respectively.
The principal ray or chief ray (sometimes known as the b ray) in an optical system is the meridional ray that starts at an edge of an object and passes through the center of the aperture stop. The distance between the chief ray (or an extension of it for a virtual image) and the optical axis at an image location defines the size of the image. This ray (or forward and backward extensions of it for virtual image pupils) crosses the optical axis at the locations of the entrance and exit pupils. The marginal and chief rays together define the Lagrange invariant, which characterizes the throughput or etendue of the optical system. Some authors define a "principal ray" for each object point, and in this case, the principal ray starting at an edge point of the object may then be called the marginal principal ray.
A sagittal ray or transverse ray from an off-axis object point is a ray that propagates in the plane that is perpendicular to the meridional plane and contains the principal ray. Sagittal rays intersect the pupil along a line that is perpendicular to the meridional plane for the ray's object point and passes through the optical axis. If the axis direction is defined to be the z axis, and the meridional plane is the y-z plane, sagittal rays intersect the pupil at yp= 0. The principal ray is both sagittal and meridional. All other sagittal rays are skew rays.
A paraxial ray is a ray that makes a small angle to the optical axis of the system, and lies close to the axis throughout the system. Such rays can be modeled reasonably well by using the paraxial approximation. When discussing ray tracing this definition is often reversed: a "paraxial ray" is then a ray that is modeled using the paraxial approximation, not necessarily a ray that remains close to the axis.
A finite ray or real ray is a ray that is traced without making the paraxial approximation.
A parabasal ray is a ray that propagates close to some defined "base ray" rather than the optical axis. This is more appropriate than the paraxial model in systems that lack symmetry about the optical axis. In computer modeling, parabasal rays are "real rays", that is rays that are treated without making the paraxial approximation. Parabasal rays about the optical axis are sometimes used to calculate first-order properties of optical systems.
A leaky ray or tunneling ray is a ray in an optical fiber that geometric optics predicts would totally reflect at the boundary between the core and the cladding, but which suffers loss due to the curved core boundary.
Geometrical optics does not account for certain optical effects such as diffraction and interference. This simplification is useful in practice; it is an excellent approximation when the wavelength is small compared to the size of structures with which the light interacts. The techniques are particularly useful in describing geometrical aspects of imaging, including optical aberrations.
In physics, ray tracing is a method for calculating the path of waves or particles through a system with regions of varying propagation velocity, absorption characteristics, and reflecting surfaces. Under these circumstances, wavefronts may bend, change direction, or reflect off surfaces, complicating analysis. Ray tracing solves the problem by repeatedly advancing idealized narrow beams called rays through the medium by discrete amounts. Simple problems can be analyzed by propagating a few rays using simple mathematics. More detailed analysis can be performed by using a computer to propagate many rays.