PhysicsScore

Ray-transfer matrices for mirrors and lenses

  • GATE

4 minute read · Updated 2026-11-15

Picking up from

In Polarization: Jones vectors and matrices, birefringence, we saw that polarization describes the path traced by the transverse electric-field vector at a fixed point as a wave oscillates. How can a sequence of focusing elements be calculated without repeated ray sketches?

In one line

Ray-transfer matrices propagate paraxial ray position and direction through lenses, spaces and mirrors in a stated sign convention.

The idea, explained

Paraxial optics follows rays close to an optical axis with small inclination angles. Position and angle at one reference plane form a two-component ray vector. A centered optical element maps that vector linearly to another plane, so consecutive elements are represented by matrix multiplication. This turns repeated geometric constructions into one ordered calculation.

A propagation space changes height according to the ray angle, while a thin lens changes angle according to the ray height. The order matters because these matrices generally do not commute. An imaging condition makes output height independent of the input angle for rays leaving the same object point. A different convention using refractive-index-weighted angle changes interface matrices and determinants, so one must not mix entries from different tables. Mirrors also require a declared unfolding or propagation-direction convention before a lens-like matrix can be assigned safely.

Core ideas

  • State whether the ray vector uses angle or refractive-index-weighted angle. Determinant statements depend on that choice and on refractive indices at the reference planes.
  • Multiply matrices in the physical encounter order with the first encountered element acting on the right. Reversing written order changes the system.
  • Thin-lens focal length is signed. A converging lens and a diverging lens therefore produce opposite angular changes for the same positive ray height.
  • In one fixed angle convention, a system images one plane to another when the height-from-input-angle matrix entry is zero. Magnification is then the height-from-input-height entry.
  • The paraxial model neglects aberrations and fails for large angles or strongly off-axis rays. Agreement of a matrix result with itself does not establish that the approximation is physically valid.

Key formulas

Free propagation and thin-lens matrices

P(ℓ)=(1ℓ01),L(f)=(10−1/f1)P(\ell)=\begin{pmatrix}1&\ell\\0&1\end{pmatrix},\qquad L(f)=\begin{pmatrix}1&0\\-1/f&1\end{pmatrix}

The ray vector is (y,θ)T(y,\theta)^T in one homogeneous index region; ℓ\ell is forward propagation distance and ff signed focal length.

System imaging condition

(y2θ2)=(ABCD)(y1θ1),B=0\begin{pmatrix}y_2\\\theta_2\end{pmatrix}=\begin{pmatrix}A&B\\C&D\end{pmatrix}\begin{pmatrix}y_1\\\theta_1\end{pmatrix},\qquad B=0

For imaging between the chosen reference planes, output height is independent of input angle and transverse magnification is AA.

Draw the axis, reference planes and positive direction before writing a matrix. Use consistent length units, retain the encounter order, and check a simple axial or parallel ray directly. For imaging, solve the matrix condition rather than setting every angle to zero. At a refracting boundary or mirror, translate the physical geometry into the chosen convention instead of copying a matrix with unstated signs. Inspect limiting cases such as zero propagation distance and infinite focal length to catch accidental order or sign errors.

Quick worked example

A ray reaches a thin converging lens at height yy with zero incident angle. The lens gives θ=−y/f\theta=-y/f. Propagation by distance ff then gives height y+f(−y/f)=0y+f(-y/f)=0, locating the paraxial focus.

Where this leads

Continue to Lasers: Einstein coefficients, population inversion, two- and three-level systems, because laser resonators combine stable optical geometry with amplification.

Related: Polarization: Jones vectors and matrices, birefringence — prerequisite definitions used in this model.

Practice this topic

Practice this topic

25 questions in Assistant Professor · Physics · Physics. Sign in and practice access may be required.

Other exam sections