Paraxial rays and ABCD matrices
Build first-order ray transport from a declared reduced-angle vector, signed distances, and ordered matrix multiplication.
On this page
The question for today
What you’ll understand
- Construct translation and refraction matrices for the vector (y,n theta).
- Multiply optical elements in physical order.
- Use the B equals zero condition to identify conjugate planes.
A paraxial optical system maps the height and direction of an entering ray linearly to its outgoing height and direction. Matrix notation turns a long sequence of surfaces into a compact calculation, but only after the ray coordinates and signs are fixed. Different books place angle and height in different orders or use an unreduced angle. We will use one convention consistently, derive its elementary matrices, and test the resulting map with both dimensions and a directly traced ray.
Declare the vector before using a matrix
Let z increase along light propagation from left to right, let y increase upward, and let the small angle be positive for an upward-going ray. Our column vector is with , called the reduced angle. Height is in metres and reduced angle is dimensionless. The approximation replaces sine and tangent by their angles in radians and requires small ray angles and small surface slopes throughout the system.
Within a uniform region of index n, propagation through positive axial distance d changes height by and leaves direction unchanged. Thus the upper-right matrix entry has units of length. At a curved interface take radius R positive when the center of curvature lies to the right of the vertex. Linearizing Snell’s law about that local surface normal changes reduced angle by minus surface power times height, while height is continuous.
Order and determinant are physical checks
If a ray first meets element one and then element two, the total matrix is : the rightmost factor acts first on a column. Interchanging factors usually changes the system because propagation before bending differs from propagation after bending. A converging thin lens in air has positive focal length f and lower-left entry . An initially parallel ray above the axis therefore leaves with a negative slope, as physical convergence requires.
Both elementary reduced-angle matrices have determinant one, so their product does too for ideal first-order transport without ray rejection. That fact expresses preservation of a suitable phase-space area, not preservation of every individual ray height or angle. If a reference uses instead, refraction can give determinant . Mixing that vector with reduced-angle matrices is a common error that can hide in air-only examples and fail immediately at a dielectric boundary.
Imaging removes dependence on launch angle
All rays from one point in an object plane share its height but can have different launch angles. At an image plane they must return to a common height. The equation shows that first-order imaging therefore requires B to vanish. At those conjugate planes A is the transverse magnification. A negative A means inversion, while the determinant condition gives and connects angular spread to magnification.
This condition assumes the considered rays pass through the clear apertures; a matrix does not reject an obstructed ray automatically. It also cannot reveal spherical aberration, polarization, diffraction, or the finite brightness of a source. A good workflow first checks the paraxial map, then traces representative aperture rays, and finally asks whether higher-order or wave effects matter. A beautifully multiplied matrix is still only as valid as the linearization used at every surface.
Work it through
A lens followed by free space
In air a thin converging lens has . Find the matrix from immediately before the lens to a plane 0.10 m after it, then propagate the input ray , .
The lens matrix has . Since propagation occurs second, the total is , not the reverse product.
Multiplication gives . Its determinant is , and its entries have the expected units.
The output height is . The output reduced angle is . Directly, the lens gives slope −0.030 and the subsequent drift lowers height by 0.003 m.
The ray reaches height 7 mm with slope −0.030 radians. Because B is 0.10 m, this pair of reference planes is not an object-image conjugate pair.
The living notebook
Explore the model
Interactive lab · matrix
A transport shear and its determinant
Use normalized coordinates to study a translation-like shear. Reset, set Diagonal scale a = 1 and Shear b = 1, and predict determinant 1 with a sheared square. For a fresh comparison Reset, set a = 1 and b = 0, and predict the identity. Readouts describe the selected final matrix even during playback.
- Area scale · det A
- 1.4
- Singular values · σmax, σmin
- 1.597, 0.876
- Condition number · κ₂(A)
- 1.823
The selected matrix is A = [[a,b],[0,1]]. Playback interpolates geometry between the identity and A; readouts always describe A. Its determinant is a and its singular values come from AᵀA. Positive a makes every supported matrix invertible. This two-dimensional family is not a general eigensolver or a learned network. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.
Look forOnly the a = 1 shear resembles normalized free propagation. This triangular family cannot represent a powered lens, a general ABCD system, or real apertures.
Pause & reason
Check your understanding
Your turn
Try it yourself
In a uniform medium with index 1.5, a ray begins at height 2 mm with reduced angle . It propagates 0.15 m. Find its ending height and the determinant of the translation matrix.
Take a moment to make a prediction or work it out on paper. Open a hint when you need one.
Give me a hint
Convert reduced angle to geometric slope by dividing by index before calculating the height change.
Compare with the solution
The geometric slope is . The height change is , so the final height is , or −1 mm. Equivalently B is . The translation determinant is one; propagation preserves reduced-angle phase-space area even though this ray crosses the axis.
Keep the idea
Take it with you
- Specify ray ordering, angular coordinate, and signs before copying an ABCD matrix.
- The first encountered element is the rightmost matrix factor.
- B equals zero is the first-order imaging condition between chosen reference planes.
Read further
Original sources and deeper explanations to follow at your own pace.
Optional progress, saved in this browser when available. Revisit any lesson at any time.
Lesson not marked complete.