> anishgoyal


NotesFundamentals of Photonics (Saleh & Teich) Lecture 1

Ray Optics

calendar_today   article 3220 words   access_time 27 min   replay Modified

Table of Contents

Postulates of Ray Optics

Basic Postulates

Homogeneous Media

Reflection from a Mirror

Definition (Law of Reflection).
  1. Reflected rays lie in the plane of incidence
  2. The angle of reflection $\theta’$ equals the angle of incidence $\theta$

Proof. We will show that $\overline{AB} + \overline{BC}$ is the shortest possible path by Hero’s Principle.

Observe that $\overline{BC} = \overline{BC’}$; therefore, $\overline{AB} + \overline{BC’}$ must also be the shortest length. By coinciding $B$ with $B’$, we can see a straight line $\overline{AB’C’}$ connecting $A$ to $C’$.

Thus, $\overline{AB} + \overline{BC}$ is the shortest path and $\theta = \theta’$.

mirror reflection

Refraction Between Media

Simple Optical Components

Mirrors

Planar Boundaries

Types of Refraction

external and internal refraction

Total Internal Reflection

  • A special case of Internal Refraction in which Snell’s Law cannot be physically satisfied
    • This is because $\theta_2$ is capped at $\frac{\pi}{2}$ rad, so beyond some critical $\theta_{c} \coloneqq \sin^{-1} \frac{n_{2}}{n_{1}}$, the planar boundary is treated like a normal reflecting surface

total internal reflection

Prisms

Beamsplitters

beamsplitter

Beam Directors

beam directors

Spherical Boundaries and Lenses

Spherical Boundaries

Theorem (Property 1).
$$ \theta_{2} \approx \frac{n_{1}}{n_{2}} \theta_{1} - \frac{n_{2}-n_{1}}{n_{2}} \frac{y}{R} $$
  • Measures how much the ray changes direction at the $z$-axis

Proof of Property 1. (EXERCISE 1.2-2 [Saleh & Teich, Fundamentals of Photonics, p. 177])

01 Ray Optics 2026-07-29 16.09.02

Theorem (Property 2).
$$ \frac{n_1}{z_{1}} + \frac{n_{2}}{z_{2}} \approx \frac{n_{2}-n_{1}}{R} $$
  • The image location is determined by the indices of refraction, surface curvature, and object location
  • The refracting power (RHS) is directly proportional to the index difference and curvature ($1/R$)
Theorem (Property 3).
$$ y_{2} = -\frac{n_{1}}{n_{2}} \frac{z_{2}}{z_{1}}y_{1} $$
  • Every point in the plane $z=z_1$ has an associated image in the plane $z=z_2$ with magnification $-\frac{n_{1}}{n_{2}} \frac{z_{2}}{z_{1}}$
  • $z_1, z_2$ are thus said to be conjugate planes

Proof of Property 2 AND Property 3. (EXERCISE 1.2-2 [Saleh & Teich, Fundamentals of Photonics, p. 177])

01 Ray Optics 2026-07-30 00.55.40

Exercise (Aberration-Free Imaging Surface).

(EXERCISE 1.2-3 [Saleh & Teich, Fundamentals of Photonics, p. 177])

01 Ray Optics 2026-07-30 14.38.02

LED Collimators

led collimator

Spherical Lenses

Construction
  • Two spherical surfaces with radii $R_1$ and $R_2$
  • Refractive index $n$
  • Thickness $\Delta$

biconvex spherical lens

Tracing
  • Ray crosses the first boundary at height $y$ with angle $\theta_1$

  • $\theta_2$ is obtained via

    Theorem (Property 1).
    $$ \theta_{2} \approx \frac{n_{1}}{n_{2}} \theta_{1} - \frac{n_{2}-n_{1}}{n_{2}} \frac{y}{R} $$
    • Measures how much the ray changes direction at the $z$-axis

and the resulting ray is extended until the second boundary

  • $\theta_2$ then becomes $\theta_1$ and the property is applied again for the exiting ray
“Thin Lens” Assumption
  • If the lens is thin, we may assume the emergent ray has approximately the same $y$ as the incident ray. In addition to simplifying things (we only have to track two angles, not four), this yields the following properties:
Theorem (Angle Relationships and Focal Length).
$$ \theta_{2} = \theta_{1} - \frac{y}{f} \quad \quad \quad \frac{1}{f} = (n-1)\left( \frac{1}{R_{1}} - \frac{1}{R_{2}} \right) $$
  • Sign convention for $R$:
    • Convex: $R > 0$
    • Concave: $R < 0$
  • For a biconvex lens, $R_1 > 0$ and $R_2 < 0$, which implies $f > 0$

Proof of Angle Relationships and Focal Length. (EXERCISE 1.2-4 [Saleh & Teich, Fundamentals of Photonics, p. 181])

Spherical Lens 2026-07-30 18.17.01

Theorem (Imaging Equation and Magnification).

For $P_1 \coloneqq (y_1, z_1)$ and $P_2 \coloneqq (y_2, z_2)$, we have:

$$ \frac{1}{z_{1}} + \frac{1}{z_{2}} = \frac{1}{f} \quad \quad \quad y_{2} = -\frac{z_{2}}{z_{1}} y_{1} $$
  • These results are identical to the Spherical Mirror:
    • There is a one-to-one correspondence between the conjugate planes $(z=z_1, z=z_2) \mapsto (P_1, P_2)$ with magnification factor $m=-z_2/z_1$
    • $m=1 \iff z_1=z_2=2f$

Proof of Imaging Equation and Magnification. (EXERCISE 1.2-4 [Saleh & Teich, Fundamentals of Photonics, p. 181])

Spherical Lens 2026-07-30 18.20.06

Convex and Concave Lenses

Types

different lenses

Light Guides

Characterization
  • Conduits made of two concentric glass/plastic cylinders
    • Core and cladding have indices $n_1$ and $n_2$ with $n_2 < n_1$ (but only slightly)
  • Uses Total Internal Reflection to keep the rays confined within the core
  • Often made with silica glass (a.k.a. fused silica/amorphous silicon dioxide ($\text{SiO}_{2}$)) due to its excellent optical/mechanical properties
  • Refractive index can be modified via doping (often with $\text{GeO}_{2}$)
TIR Reflection Condition
Definition (Notation peculiarities in this section).
  • My notation:
    • Overbar $\coloneqq$ measured from the surface normal
    • Unbarred $\coloneqq$ measured from the optical axis
    • Subscript $c$ marks the critical value of the variable it is attached to.
  • This reverses Saleh’s notation in the book (p. 185 [Saleh & Teich, Fundamentals of Photonics, p. 185]), where $\theta_c \coloneqq \sin^{-1}(n_2/n_1)$ and $\bar{\theta}_c \coloneqq 90^\circ - \theta_c$.
    • In other words: $\bar{\theta}_{c}$ here $=$ $\theta_{c}$ in the main TIR note. The unbarred $\theta_c$ here is fiber-specific and has no counterpart there.
  • Surface normal POV
    • $\bar{\theta} > \left[\overline{\theta}_{c} \coloneqq \sin^{-1}\left(\frac{n_2}{n_1}\right)\right]$
  • Optical axis POV
    • $\left[\theta \coloneqq 90^{\circ} - \bar{\theta}\right] < \left[\theta_c \coloneqq 90^{\circ} - \overline{\theta}_{c} = \cos^{-1}\left(\frac{n_2}{n_1}\right)\right]$

fiber optic

Theorem (Cone of Acceptable Rays).

The cone of acceptable rays without undergoing refraction at the cladding is characterized by the half-angle, $\theta_a$, (a.k.a. the acceptance angle):

$$\theta_{a} = \sin^{-1}\left( \sqrt{ n_{1}^2 - n_{2}^2} \right)$$

with the numerical aperture equal to

$$\text{NA} = \sin \theta_{a} = \sqrt{ n_{1}^2 - n_{2}^2}.$$

Proof of Cone of Acceptable Rays. (EXERCISE 1.2-5 [Saleh & Teich, Fundamentals of Photonics, p. 187])

Optical Fiber 2026-07-31 01.47.42

Light Trapping

Exercise (Light Trapped in an LED).

(EXERCISE 1.2-6 [Saleh & Teich, Fundamentals of Photonics, p. 189])

01 Ray Optics 2026-07-31 16.17.02

Graded-Index Optics

The Ray Equation

Main Equation

Theorem (Ray Equation).

Determines the trajectories of light rays in an inhomogeneous medium.

$$\frac{\mathrm{d}}{\mathrm{d}s} \left( n \frac{\mathrm{d}\mathbf{r}}{\mathrm{d}s} \right) = \nabla n $$

Proof of Ray Equation. Assume the path is parametrized by $\bf{r}(s) \coloneqq \langle x(s), y(s), z(s) \rangle$. Using

Theorem (Euler-Lagrange Equation).

For a functional of the form

$$\int L(x, y, z, x^{'}, y^{'}, z^{'}) \ \mathrm{d}s,$$

the path that minimizes/maximizes the integral is determined by the following equations:

$$\frac{d}{ds}\left(\frac{\partial L}{\partial x'}\right) - \frac{\partial L}{\partial x} = 0 \quad \text{(and similarly for } y, z\text{)}.$$

on Fermat’s Principle, we account for the arc-length constraint $\left(\frac{dx}{ds}\right)^2 + \left(\frac{dy}{ds}\right)^2 + \left(\frac{dz}{ds}\right)^2 = 1$ via Lagrange multipliers. The augmented Lagrangian is:

$$\tilde{L} = n(\mathbf{r}) + \lambda(s) \left[\left(\frac{dx}{ds}\right)^2 + \left(\frac{dy}{ds}\right)^2 + \left(\frac{dz}{ds}\right)^2 - 1\right]$$

Computing $\frac{\partial \tilde{L}}{\partial x’} = 2\lambda(s) \frac{dx}{ds}$ and applying the Euler-Lagrange equation, we get:

$$\frac{d}{ds}\left(2\lambda(s) \frac{dx}{ds}\right) = \frac{\partial n}{\partial x}$$

For the actual ray trajectory, the Lagrange multiplier identifies with the refractive index: $\lambda(s) = \frac{n(\mathbf{r}(s))}{2}$. This yields three separate PDEs:

$$\begin{align} \frac{\mathrm{d}}{\mathrm{d}s} \left( n \frac{\mathrm{d}x}{\mathrm{d}s} \right) &= \frac{\partial n}{\partial x} \\ \frac{\mathrm{d}}{\mathrm{d}s} \left( n \frac{\mathrm{d}y}{\mathrm{d}s} \right) &= \frac{\partial n}{\partial y} \\ \frac{\mathrm{d}}{\mathrm{d}s} \left( n \frac{\mathrm{d}z}{\mathrm{d}s} \right) &= \frac{\partial n}{\partial z} \end{align}$$

These three equations can be compactly written as the vector equation: $\frac{d}{ds}\left(n\frac{d\mathbf{r}}{ds}\right) = \nabla n$.

  • In general, the way you would solve the Ray Equation is by describing the trajectory by two functions and writing $\mathrm{d}s = \mathrm{d}z \sqrt{ 1 + \left( \frac{\mathrm{d}x}{\mathrm{d}z} \right)^2 + \left( \frac{\mathrm{d}y}{\mathrm{d}z} \right)^2 }$

Paraxial Regime

Corollary (Paraxial Ray Equations).

Under the paraxial approximation, the trajectory is nearly parallel to the $z$-axis, such that $\mathrm{d}s \approx \mathrm{d}z$. This simplifies the Ray Equation to:

$$\frac{\mathrm{d}}{\mathrm{d}z}\left( n \frac{\mathrm{d}x}{\mathrm{d}z} \right) \approx \frac{\partial n}{\partial x}, \ \ \ \frac{\mathrm{d}}{\mathrm{d}z}\left( n \frac{\mathrm{d}y}{\mathrm{d}z} \right) \approx \frac{\partial n}{\partial y}$$

which are much easier to solve for $x(z)$ and $y(z)$.

Graded-Index Optical Components

Graded-Index Slab

Definition (GRIN Slab Relation).

For a slab with $n=n(y)$, the rays in the $yz$-plane are described by:

$$\frac{\mathrm{d}}{\mathrm{d}z}\left( n \frac{\mathrm{dy}}{\mathrm{d}z} \right) = \frac{\mathrm{d}n}{\mathrm{d}y}, $$

which implies

$$\frac{\mathrm{d}^2y}{\mathrm{d}z^2} = \frac{1}{n(y)} \frac{\mathrm{d}n(y)}{\mathrm{d}y},$$

which may be solved from ICs ($y(0)=y_0,\frac{\mathrm{d}y}{\mathrm{d}z}(0)=\theta_0$) to solve for $y(z)$.

GRIN slab

Alternative Derivation of GRIN Slab Relation
01 Ray Optics 2026-08-02 15.57.54
Example (Slab with Parabolic Index Profile).

A common distribution for GRIN slabs is parabolic, known by the trade name SELFOC:

$$n^2(y) = n_{0}^2(1-\alpha^2y^2)$$
01 Ray Optics 2026-08-02 17.53.08
  • It’s symmetric in $y$ and maxes at $y=0$
  • $n_{0}$ decreases radially/transversely from the center to the edges
    • Since the drop off is substantial, $\frac{n_{0}}{n} \ll 1$
  • $\alpha$ is chosen to be sufficiently small such that $\alpha^2y^2 \ll 1$
    • This allows for $n(y) = n_{0}\sqrt{ 1-\alpha^2y^2 } \approx n_{0}\left( 1-\frac{1}{2}\alpha^2 y^2\right)$

We solve for the final ray trajectory below:

01 Ray Optics 2026-08-02 19.27.48

The ray oscillates around $y_0$ with a period $\frac{2\pi}{\alpha}$, known as the pitch parabolic grin slab ray trajectory

  • Additional important characteristics of note:
    • $y_{\text{max}} = \sqrt{ y_{0}^2 + \left( \frac{\theta_{0}}{\alpha} \right)^2 }$
    • $\theta_{\text{max}} = \alpha y_{\text{max}}$
    • Ray confinement: the rays stay confined to the SELFOC slab via TIR iff $2y_{\text{max}} < \text{slab thickness}$
  • One important condition for this analysis to hold:
    • $\theta_{\text{max}}$ is still paraxial: the max angle maintaining paraxiality implies that the ray trajectory approximation is indeed valid for all values of $z$ (i.e., $theta$ doesn’t grow unbounded)
Exercise (The GRIN Slab as a Lens).

(EXERCISE 1.3-1 [Saleh & Teich, Fundamentals of Photonics, p. 197])

01 Ray Optics 2026-08-02 20.45.50

Graded-Index Fibers

Definition (GRIN Fiber Relation).

Consider the sample distribution $n^2 = n_{0}^{2}\left[ 1-\alpha^2(x^2 + y^2) \right].$ Plugging it into the Ray Equation > Paraxial Ray Equations and assuming $\alpha_{2}(x+y_{2}) \ll 1$ for all $(x, y)$ of interest, we obtain:

$$\frac{\mathrm{d}^2 x}{\mathrm{d}z^2} \approx -\alpha^2 x, \ \ \ \frac{\mathrm{d^2 y}}{\mathrm{d}z^2}\approx-\alpha^2 y.$$

Thus, both $x(z), y(z)$ are harmonic with $T=\frac{2\pi}{\alpha}$. The ICs $(x_0, y_0)$ and $(\theta_{x, 0}, \theta_{y, 0})$ determine the amplitude and phase.

If we let $x_0 = 0$ (valid because the solutions are axially symmetric), our solutions take the form:

$$\begin{align} x(z) &= \frac{\theta_{x, 0}}{\alpha} \sin \alpha z \\ y(z) &= \frac{\theta_{y,0}}{\alpha} \sin \alpha z + y_{0} \cos \alpha z. \end{align}$$

GRIN fiber

Exercise (Numerical Aperture of the Graded-Index Fiber).

(EXERCISE 1.3-2 [Saleh & Teich, Fundamentals of Photonics, p. 200])

01 Ray Optics 2026-08-03 00.40.37

The Eikonal Equation

Definition (The Eikonal Equation).

In order to obey Fermat’s Principle, the eikonal must satisfy:

$$|\nabla S|^2 = n^2.$$

For this reason, ray optics can be derived ab initio via Fermat’s Principle or the Eikonal Equation. By the Fundamental Theorem of Line Integrals, we have $S(\bf{r}_B)-S(\bf{r}_A)$ as the optical path length (line integral of $n$ from $A$ to $B$).

level surfaces eikonal

Matrix Optics

The RT Matrix

optical system

$$\begin{align} y_{2}&=Ay_{1}+B\theta_{1} \\ \theta_{2} &= Cy_{1} + D\theta_{1} \end{align}$$ $$\begin{bmatrix} y_{2} \\ \theta_{2} \end{bmatrix} = \begin{bmatrix} A & B \\ C & D \end{bmatrix} \begin{bmatrix} y_{1} \\ \theta_{1} \end{bmatrix}$$
Exercise (Special Forms of the Ray-Transfer Matrix).

(Special Forms of the Ray-Transfer Matrix [Saleh & Teich, Fundamentals of Photonics, p. 207]) Part 1: $A$ in a focusing system is 0.

01 Ray Optics 2026-08-04 02.23.32

Part 2: $B$ in an imaging system is 0.

01 Ray Optics 2026-08-09 19.50.28

Part 3: $C=0$ and $D=0$

01 Ray Optics 2026-08-16 06.02.51

Matrices of Optical Components

Free-Space Propagation

Cascaded Optical Systems

Exercise (A Set of Parallel Transparent Plates).

(EXERCISE 1.4-2 [Saleh & Teich, Fundamentals of Photonics, p. 212])

01 Ray Optics 2026-08-16 06.48.21

Sources

Graph