Analytic Ray Tracing
In the previous sections we've done some work with ray tracing. We have used two facts to trace rays through optical systems: 1) A ray incident on a lens after passing through its front focal point will emerge from the lens parallel to the central axis and 2) A ray passing through the center of the optic is undeviated.
In this section we develop a much more useful (and rigorous) tool for tracing rays through general optical systems. In the derivations that follow we again assume paraxial propagation and therefore will take
sin(θ)≈tan(θ)≈θ
and
cos(θ)≈1
Ray Transfer Matrices: Free Space Matrix
Consider the following diagram:
The figure above shows a simple system consisting of a ray propagating in free space over a distance d≡z2−z1. The input ray is characterized by its initial deviation from the z-axis and its angle of propagation w.r.t. the z-axis.
Positive angles are measured counter-clockwise (ccw) from the z-axis. Using this figure, we can write a simple equation to solve for the output angle and output deviation from the z-axis as
x2=x1+(z2−z1)tan(γ)
this is
x2≈x1+dγ1
we also have
γ1=γ2
We can write this system as a matrix equation of the following form:
(x2γ2)=(1d01)(x1γ1)
where we have used the paraxial approximation such that
sin(γ)≈γ
tan(γ)≈sin(γ)≈γ
and
cos(γ)≈1
In the paraxial approximation, this system of equations can also be written as
(x2x′2)=(1d01)(x1x′1)
where the primed variables are the slope of the line and in the paraxial approximation m=tan(γ)=γ. More complicated matrices can be derived. We call these matrices "ABCD" matrices because they have the form
(ABCD)
We see from the above that the most fundamental transmission matrix is that of free space propagation.
Ray Transfer Matrix: Curved Dielectric Interface
he next element that we wish to investigate is the curved dielectric interface:
We first note that the effect of the curved dielectric interface is to redirect the ray and not shift it. This means that we are investigating the effect of the interface at the interface and nowhere else. From this information we deduce that x2=x1. From the figure we can write Snell's law in the following form.
n1sin(θ1)=n2sin(θ2)
and in the paraxial approximation we have
n1θ1=n2θ2
solving for θ1 we have
θ1=γ1+φ
and θ2
θ2=φ+γ2
in the paraxial approximation we can write φ=x1/R, therefore
θ2=n1n2(γ1+x1R)
which is also equal to
θ2=n1n2(γ1+x1R)=φ−γ2=x1R+γ2
finally we have
γ2=n1n2(γ1+x1R)−x1R=n1n2γ1+(n1n2−1)x1R=n1n2γ1+(n1−n2n2R)x1
In matrix form, this system becomes
(x2γ2)=(10n1−n2n2Rn1n2)(x1γ1)
If we now consider the case where R→∞, we recover the matrix
(x2γ2)=(100n1n2)(x1γ1)
which yields γ2=n1n2γ1, this is of course Snell's law again and the transmission matrix for this case describes propagation of a ray through a tilted interface.
Ray Transfer Matrix: Thin Lens
We now examine one of the most important systems in optics - the thin lens:
We demonstrate the power of the transmission matrix approach by simply stating the full transmission matrix of the thin lens system as the matrix multiplication of simpler transmission matrices derived above:
(x2γ2)=(10n1−n2n2R1n1n2)(x1γ1)
This multiplication gets us 'into' the lens (note we have positive radii of curvature for rays traveling in the +ˆz direction incident on a curved surface with 'center' to the right of the interface and negative radii of curvature for rays traveling in the
+ˆzdirection incident on a curved surface with 'center' to the left of the interface). In this case we have
n1≈1 and n2=n i.e.,
(x2γ2)=(101−nn|R1|1n)(x1γ1)
To propagate 'out' of the lens we multiply by another transmission matrix for a curved dielectric interface
(x3γ3)=(10n1−n2n2R2n1n2)(x2γ2)
however, in this case n2=1 and n1=n, and by convention R2<0 leaving
(x3γ3)=(10−n−1|R2|n)(x2γ2)
and inserting for (x2γ2), we have
(x3γ3)=(101−n|R2|n)(101−nn|R1|1n)(x1γ1)
and finally, multiplying this out
(x3γ3)=(10(1−n)(1|R1|+1|R2|)1)(x1γ1)
If we write this matrix as,
(x3γ3)=(10C1)(x1γ1),
C≡(1−n)(1R1+1R2)
considering a collimated input ray (parallel to the central axis) and propagate the output a distance 'd' we can write
(x3γ3)=(1d01)(10C1)(x10)
Multiplying this matrix out we get
(x3γ3)=(1+dCdC1)(x10)
We now investigate the case where all the rays 'cross' the z-axis at the point z=d, which allows us to write
(0γ3)=(1+dCdC1)(x10)
multiplying this system out we get
(1+dC)x1=0 and
γ3=Cx1
The first equation gives
1=−dC, inserting
C≡(1−n)(1R2+1R1)
leaving
1d=−C=(n−1)(1R2+1R1)
We note, that the geometrical location of the intersection of all rays exiting the lens is called the focal length of that lens i.e.,
1f=(n−1)(1R2+1R1)
this is the same equation we derived earlier. This means that the transmission matrix for a thin lens is written
↔TLens=(10(1−n)(1R2+1R1)1)=(10−1f1)
Ray Transfer Matrix: Curved Mirror
We next consider the 'transmission' matrix for a curved mirror
The incident angle θ1=γ1+φ and the reflected angle is
θ2=π/2−(γ2−{π/2−φ})=π−(γ2+φ)Because
θ1=θ2, we have
γ1+φ=π−(γ2+φ)
and solving for γ2 we get
γ2=π−(γ1+2φ)
This seems a bit scrambled in a way, but if we think about reflections 'mirroring' the system along the z-axis, then γ2→π−γ2 i.e. measuring output angles as positive clockwise from the z-axis:
γ2=π−[π−(γ1+2φ)]=γ1+2φ
or
γ2=γ1+2Rx1
This can then be written in a matrix formalism as
(x2γ2)=(102/R1)(x1γ1)
If we had simply written γ2 as measured to be positive clockwise from the z-axis for reflections, we would have arrived at:
θ2=θ1=γ1+φ=γ2−φ
and we would have derived at γ2=γ1+2φ immediately! We can compare this result with that of a thin lens to identify
−1f=2R
or
f=−R/2, for a diverging mirror.
Ray Transfer Matrix: Thin Window
Finally, let's look at the case where we propagate through a thin window of index n. This system can be written as a product of three matrices that take into account the change in angle at both interfaces and a free space propagator
Tw=(100n1n2)(1t01)(100n1n2)
filling in the values for the refractive indices
Tw=(100n)(1t01)(1001n)
now writing this out, we get
Tw=(100n)(1t/n01/n)=(1t/n01)
all-in-all then
Tw=(1t/n01)
note that this is consistent with the small angle approximation as the actual distance propagated in the material is
cos(γ2)=tL→L=tcos(γ2)
but because cos(γ2)∼1, we have
L=tcos(γ2)≈t
Quick review of important transmission matrices:
Summary of Ray Matrices
Free-space matrix
↔Tfs=(1d01)
Thin Window
↔Tw=(1t/n01)
Single curved dielectric interface
↔Tcd=(10n1−n2Rn2n1n2)
Lens
↔Tlens=(10−1f1)
Curved mirror
↔Tmirror=(102R1)
We see that (at least for all of these matrices, turns out to be generally true) that if the index on the input and output side of the 'object' are the same, the determinant of the matrix is unity i.e.,
AD−BC=1