S13 · Lesson 1 · Ray-transfer matrices
Paraxial rays as a height and an angle, the 2 × 2 matrices of free space, thin lenses, refracting surfaces and mirrors, cascading them into a system matrix, reading off focal length, imaging and magnification, and the stability of periodic systems and resonators
B8 traced rays through one lens at a time with the lens equation. Real optical systems, a camera objective, a microscope, a laser cavity, have many elements, and tracing rays through them one surface at a time gets tedious. In the paraxial approximation every element is linear in a ray's height and angle, so each is a 2 × 2 matrix and a whole system is their product. One matrix then tells you the system's focal length, where it images, how much it magnifies, and whether a ray bouncing between two mirrors stays trapped.
- Rays leaving an on-axis point at several angles, passing through a thin lens of focal length f placed a distance a away, and converging to an image.
- When a is larger than f the rays cross at the image distance . At a = f they leave parallel; inside f they diverge, forming a virtual image.
- Paraxial means small angles: here up to 0.1 rad, where to within 0.2%.
Predict
Two thin lenses, f₁ = 100 mm and f₂ = 50 mm, sit 30 mm apart. What's the focal length of the pair?
Multiply the matrices: lens 1, 30 mm of free space, lens 2. The system's C element is −0.024 mm⁻¹, so f = −1/C = 41.7 mm, the same as . In contact (d = 0) the powers would simply add, to 33.3 mm; separating the lenses weakens the combination.
Name it
Rays as vectors
In a medium of index n, a paraxial ray at position z is described by its height y and angle θ to the axis. Each optical element maps linearly to through its ray-transfer matrix :
- free space of length d:
- thin lens of focal length f:
- planar boundary from to :
- spherical boundary of radius R (center to the right positive):
- concave mirror of radius R (unfolded):
Systems
A ray passing elements 1, 2, …, N meets the product , with the first element on the right. The determinant is (1 when the system begins and ends in the same medium).
- Effective focal length: . For two thin lenses a distance d apart, .
- Imaging: a system images when B = 0; then A is the magnification.
Periodic systems and resonators
A ray bouncing between two mirrors of radii and a distance d apart stays confined if
(R positive for concave mirrors). Plane–plane () and concentric () cavities sit on the edge of stability; confocal () sits in the middle.
Worked example
Find the system matrix of the two-lens pair (100 mm and 50 mm, 30 mm apart), its focal length and its back focal distance.
Show the solution
- Free space after lens 1. Lens 1 followed by 30 mm of free space gives
- Then lens 2.
- Check the determinant.
- Focal length.
- Back focal distance. A ray entering parallel at height leaves at with angle , so it crosses the axis after lens 2. That's the back focal distance, .
Answer , with a focal length of 41.7 mm and a back focal distance of 29.2 mm.
Worked example
Is a cavity with two concave mirrors of 1 m radius stable at 0.5 m, 1 m and 1.5 m spacing?
Show the solution
- The g parameters. With and R = 1 m, the three spacings give
- The stability products. All three are stable, and the middle one (confocal) sits exactly at the center of the range.
- The concentric limit. At 2 m, g = −1 and = 1.
- A flat mirror. A flat mirror facing a 1 m mirror at 0.5 m gives also stable.
Answer all three are stable, with = 0.25, 0 and 0.25; the 1 m (confocal) spacing sits at the center of the range.
Worked example
An object stands 150 mm in front of a 100 mm thin lens. Use the system matrix to find where it images, and the magnification.
Show the solution
- System matrix. From the object to a plane beyond the lens, whose B element is
- Set B to zero. Imaging needs B = 0:
- Magnification. The image is inverted and twice the size.
- Check. The unit determinant requires D = 1/A, and it is:
Answer the object images 300 mm beyond the lens, inverted and twice the size (A = −2).
Check
An object sits 150 mm in front of a thin lens of focal length 50 mm. Where is its image?
Write units the way you normally would: 1.5 mm, 1500 µm and 0.0015 m are the same answer.
Check
Two thin lenses of 100 mm and 25 mm focal length are 40 mm apart. What's the effective focal length?
Write units the way you normally would: 1.5 mm, 1500 µm and 0.0015 m are the same answer.
Check
For the same pair (100 mm, then 25 mm, 40 mm apart), how far behind the second lens does a parallel beam focus?
Write units the way you normally would: 1.5 mm, 1500 µm and 0.0015 m are the same answer.
Check
A laser cavity has concave mirrors of radius 0.5 m and 3 m, 0.8 m apart. What's ?
Check
A ray at height 3 mm and angle −0.02 rad travels 100 mm and then passes a thin lens of 150 mm. What angle does it leave at?
Write units the way you normally would: 1.5 rad and 1500 mrad are the same answer.
Check
An object 150 mm in front of a 50 mm lens: what's the magnification of its image?
Check
An object stands 1.5 focal lengths in front of a 100 mm thin lens.
(a)
How far behind the lens is its image?
Write units the way you normally would: 1.5 mm, 1500 µm and 0.0015 m are the same answer.
(b)
What is the magnification (A)?
Check
A resonator has mirrors of radii a and b (concave positive) a distance d apart.
Step 1
What is ?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
What is , which must lie between 0 and 1 for stability?
Explain why
Why does a ray-transfer matrix's determinant equal 1 when the system starts and ends in the same medium?
The determinant measures how the area of a bundle of rays in the plane of height and angle changes from input to output. Free space only shears that area, adding to every height, and a thin lens only shears it the other way, changing angles in proportion to height; shears preserve area, so both have determinant 1. Refraction into a denser medium compresses angles by , but leaving it again expands them by the inverse. The product of any sequence that ends in the starting medium therefore has determinant 1. It's the optical form of conservation of étendue: no passive system can concentrate a bundle of rays into less height–angle area.
Practice
Keep practicing
10 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.