It is possible to simulate the propagation of light through multilayered media using the transfer matrix method. Simply, this involves assigning each interface/layer a matrix and then multiplying these terms together.
Let us assume we have a plane wave propagating in the forward direction (
where in this equation
where
We can use matrices to calculate the situation in which waves are propagating both forward (defined as to the right,
Alternatively we can write this in matrix form as
Since we want subsequent matrices to be inserted on the right we will invert the form of this matrix equation to
Let us now define the transfer (propagation) matrix as
For the TE (Transverse electric; s-polarisation) and TM (Transverse magnetic; p-polarisation) cases we can calculate the reflection and transmission coeficients using the Fresnel equations
The angles
Using these equations we can now calculate the transfer matrix corresponding to the interface between two media. Waves coming from the left and right side will result in output waves given by the scattering matrix