Sub topic 8
Where these rules are used: prisms, lenses, and optical fibers
This chapter assumes you know the law of reflection, the refractive index, Snell's law (n1 sin θ1 = n2 sin θ2), and the critical angle. It also assumes basic trigonometry. Here you apply those rules to three devices: prisms, lenses, and optical fibers. All three work from the same two ideas. A ray bends at each boundary according to Snell's law, and it reflects totally when the angle inside the denser medium exceeds the critical angle.
The working model
To trace a ray through any device, repeat three steps at every surface:
- Find the surface normal at the point where the ray lands.
- Measure the angle of incidence from that normal.
- Apply Snell's law, or total internal reflection if sin θ2 would exceed 1.
The device is just a sequence of boundaries. Its behavior follows from the shape of those boundaries and the refractive indices on each side.
Prisms
A prism is a block of transparent material with flat, non-parallel faces. A common one is a triangular glass prism. A ray entering one face bends toward the normal, because it goes from air into glass. It then reaches the second face, where it bends away from the normal as it leaves. Because the faces are not parallel, the two bends add up instead of cancelling. The ray leaves deviated from its original direction.
For a slab with parallel faces, the exit ray is parallel to the entry ray. It is only shifted sideways. A prism breaks that symmetry.
Worked example: a ray through a prism
Take a prism with a 60° apex angle and n = 1.5. A ray hits the first face at 40° from the normal. Inside the prism, the two normals meet at an angle equal to the apex angle. For the geometry used here, the internal angles satisfy θ2 + θ3 = A, where A is the apex angle and θ3 is the angle of incidence on the second face.
The code below traces the ray through both faces and reports the deviation. The deviation is the angle between the entry direction and the exit direction.
import math
def refract(n1, n2, theta1_deg):
"""Return refraction angle in degrees, or None for total internal reflection."""
s = n1 * math.sin(math.radians(theta1_deg)) / n2
if s > 1:
return None
return math.degrees(math.asin(s))
def prism_deviation(n, apex_deg, incidence_deg):
"""Deviation of a ray crossing a prism in air. Returns None if the ray is trapped."""
t2 = refract(1.0, n, incidence_deg)
t3 = apex_deg - t2
t4 = refract(n, 1.0, t3)
if t4 is None:
return None
return incidence_deg + t4 - apex_deg
print(prism_deviation(1.5, 60, 40))The first face gives θ2 of about 25.4°. Then θ3 = 60° − 25.4° = 34.6°, and the exit angle is about 58.5°. The deviation is 40° + 58.5° − 60°, or about 38.5°.
Prisms as reflectors
A prism can also act as a mirror. A 45°-45°-90° glass prism, with the ray entering perpendicular to a short face, sends the ray at 45° onto the long face. The critical angle for glass (n = 1.5) to air is about 41.8°. Since 45° is larger than that, the light reflects totally and turns through 90°. Binoculars and periscopes use prisms like this. The reflection is lossless apart from small surface losses, and the surface needs no metal coating that could tarnish.
Lenses
A lens is a piece of transparent material with at least one curved surface. Each point on the curved surface has its own normal, and the normal tilts as you move across the surface. A ray hitting near the edge meets the surface at a different angle than a ray hitting near the center, so the two bend by different amounts.
A convex (converging) lens is thicker in the middle. In air, it works like a stack of thin prisms. Rays near the edge are bent toward the axis more than rays near the center. For an ideal thin lens, parallel rays meet at a single point called the focal point. A concave (diverging) lens is thinner in the middle and spreads parallel rays apart, as if they came from a point behind the lens.
The lensmaker's equation
For a thin lens in air, the focal length f depends on the index n and on the radii of curvature R1 and R2 of its two surfaces:
1/f = (n − 1)(1/R1 − 1/R2)
The sign convention takes R as positive when the surface's center of curvature lies on the outgoing side of the lens. A symmetric biconvex lens then has R1 > 0 and R2 < 0.
Two consequences follow. A higher index gives a shorter focal length, meaning a stronger lens. Tighter curvature (smaller R) also gives a stronger lens. This is why eyeglass lenses made from high-index plastic can be thinner than ordinary glass lenses for the same prescription.
def focal_length(n, r1, r2):
"""Thin-lens focal length in air from the lensmaker's equation."""
power = (n - 1) * (1 / r1 - 1 / r2)
return 1 / power
# Biconvex lens, n = 1.5, both radii 0.20 m in magnitude
print(focal_length(1.5, 0.20, -0.20))This prints 0.2, so the focal length is 0.20 m.
Thin-lens imaging
Once you know f, the thin-lens equation relates object distance do and image distance di:
1/f = 1/do + 1/di
An object farther than f from a converging lens forms a real image on the far side. An object closer than f gives a virtual, upright, magnified image, which is how a magnifying glass works.
Where the simple model fails
The thin-lens model assumes all rays hit the surface at small angles. Real lenses show errors called aberrations.
- Spherical aberration: rays far from the axis focus at a slightly different point than rays near the axis. The small-angle form of Snell's law, sin θ ≈ θ, is no longer accurate for them.
- Chromatic aberration: n depends on wavelength, so blue light focuses closer to the lens than red light. The next chapters on dispersion explain the cause.
- Edge losses: steep surfaces make the angle of incidence large, and a larger share of light reflects instead of entering the lens.
Camera lenses combine several elements of different glasses to cancel these errors.
Optical fibers
An optical fiber is a thin strand of glass or plastic that guides light along its length. It has a core with refractive index ncore, surrounded by cladding with a slightly lower index nclad. Light that travels inside the core and hits the core-cladding boundary at an angle above the critical angle reflects totally. It then zigzags down the fiber with almost no loss at each bounce.
The critical angle at the core-cladding boundary is given by sin θc = nclad / ncore. The angle is measured from the normal to the boundary, which is perpendicular to the fiber axis.
The acceptance angle
Light only stays trapped if it enters the fiber end within a limited cone. Suppose a ray enters from air at angle θ0 to the fiber axis, and refracts to θr inside. It then meets the side wall at 90° − θr from the normal. For total internal reflection, we need 90° − θr ≥ θc, which means sin θr ≤ cos θc.
Using Snell's law at the entry face gives sin θ0 = ncore sin θr. The largest allowed entry angle satisfies
sin θmax = sqrt(ncore² − n_clad²)
The right side is called the numerical aperture (NA). If NA is greater than 1, every ray from the front hemisphere is accepted.
import math
def numerical_aperture(n_core, n_clad):
return math.sqrt(n_core ** 2 - n_clad ** 2)
def acceptance_angle(n_core, n_clad):
"""Maximum entry angle in degrees, measured in air from the fiber axis."""
na = numerical_aperture(n_core, n_clad)
if na >= 1:
return 90.0
return math.degrees(math.asin(na))
print(numerical_aperture(1.48, 1.46))
print(acceptance_angle(1.48, 1.46))For a typical fiber with ncore = 1.48 and nclad = 1.46, NA is about 0.24 and the acceptance angle is about 14°.
Why a cladding is needed
You might ask why a bare glass strand would not do. It would guide light too, with a glass-to-air boundary. But dirt, scratches, and touching surfaces would leak light at every contact. The cladding protects the boundary. It also keeps the critical-angle condition controlled by the design of the fiber instead of the environment.
Modes and fiber types
| Fiber type | Core diameter | Behavior | Typical use |
|---|---|---|---|
| Multimode step-index | 50 to 100 µm | Many ray paths of different length, so pulses spread | Short links, such as inside a building |
| Multimode graded-index | 50 to 62.5 µm | Index falls smoothly from the center, so paths are nearly equal in time | Data centers |
| Single-mode | about 9 µm | Only one path, so pulses stay sharp | Long-distance telecommunications |
In a step-index multimode fiber, a ray going straight down the axis arrives before a ray zigzagging at a steep angle, because the zigzag path is longer. A short pulse at the input is then stretched at the output. This is called modal dispersion, and it limits the data rate. Graded-index fibers reduce it: rays on longer paths pass through regions of lower index, where light travels faster.
Common failure modes
- Bend loss: if a fiber is bent too sharply, the angle of incidence at the outer wall drops below the critical angle. Light then leaks out. Installation guides specify a minimum bend radius for this reason.
- Absorption and scattering: even with perfect reflection, impurities in the glass absorb and scatter light over kilometers.
- Wavelength dependence: n varies slightly with wavelength, so different colors travel at slightly different speeds. This stretches pulses even in single-mode fibers.
Common errors
- Measuring angles from the surface instead of from the normal. Every formula in this chapter uses the normal.
- Forgetting that a prism needs two refractions. One bend at the first face is not the whole deviation.
- Using the critical angle when light goes from low index to high index. Total internal reflection only happens when the ray travels toward the lower-index medium.
- Mixing sign conventions in the lensmaker's equation. Choose one convention and keep it.
- Treating the fiber's critical angle as an entry angle. The critical angle is measured at the side wall. The acceptance angle is measured at the end face.
Summary of the link to earlier rules
| Device | Rule used | What it produces |
|---|---|---|
| Prism (deviating) | Snell's law at two non-parallel faces | A ray turned by a fixed deviation |
| Prism (reflecting) | Critical angle, total internal reflection | A lossless 90° or 180° turn |
| Lens | Snell's law on curved surfaces | Rays converge or diverge |
| Optical fiber | Total internal reflection at the core-cladding boundary | Light guided along a path |
Exercise
A glass prism in air has n = 1.5. Light inside the glass hits a face at 38°. Does it undergo total internal reflection? Then, a fiber has ncore = 1.50 and nclad = 1.44. Calculate its numerical aperture and say whether all front-hemisphere rays are accepted.
Show answer
The critical angle is arcsin(1/1.5), about 41.8°. The incidence angle of 38° is below that, so the light is not totally reflected. Most of it refracts out into the air, bent away from the normal, and a small part reflects. For the fiber, NA = sqrt(1.50² − 1.44²) = sqrt(2.25 − 2.0736) = sqrt(0.1764) = 0.42. Since 0.42 is less than 1, the fiber does not accept every ray. The acceptance angle is arcsin(0.42), about 24.8°.
Exercise
A thin biconvex lens has n = 1.6 and both surfaces have radius of curvature 0.30 m in magnitude. Find its focal length, then find where the image forms for an object 1.0 m from the lens.
Show answer
Using R1 = +0.30 m and R2 = −0.30 m, 1/f = 0.6 × (1/0.30 + 1/0.30) = 0.6 × 6.667 = 4.0 per meter, so f = 0.25 m. The thin-lens equation gives 1/di = 1/f − 1/do = 4.0 − 1.0 = 3.0, so di is about 0.33 m on the far side of the lens. The image is real because di is positive.