Sub topic 6
Total internal reflection and the critical angle
This chapter assumes you know Snell's law from the previous chapter, can use sine and inverse sine on a calculator, and measure ray angles from the normal (the line perpendicular to the surface). Here you will find out when a refracted ray stops existing, compute the angle where that happens, and see how engineers use it.
When refraction runs out of angles
Snell's law says n1 sin θ1 = n2 sin θ2. Suppose light goes from a denser medium into a less dense one, so n1 > n2. Then sin θ2 = (n1/n2) sin θ1 is larger than sin θ1, so the ray bends away from the normal. As you increase θ1, θ2 grows faster and reaches 90° first. At 90° the refracted ray runs along the surface.
Past that point the equation asks for sin θ2 > 1, and no angle has a sine above 1. No refracted ray exists, and all the light reflects back into the first medium. This is total internal reflection (TIR). The reflection obeys the ordinary law of reflection: the angle of reflection equals the angle of incidence.
The critical angle
The critical angle θc is the incident angle that makes the refracted angle exactly 90°. Setting θ2 = 90° in Snell's law gives:
sin θc = n2 / n1, so θc = arcsin(n2 / n1)
This formula only works when n1 > n2. If n1 ≤ n2, the ratio n2/n1 is at least 1, and TIR cannot happen at any angle.
| Boundary (from → to) | n1 | n2 | Critical angle |
|---|---|---|---|
| Water → air | 1.33 | 1.00 | 48.6° |
| Crown glass → air | 1.50 | 1.00 | 41.8° |
| Diamond → air | 2.42 | 1.00 | 24.4° |
| Fiber core → cladding | 1.48 | 1.46 | 80.6° |
Diamond has a small critical angle. Light entering a cut diamond hits its inner faces at angles above 24.4° and reflects many times before it escapes. This is part of why diamonds sparkle.
Computing it in code
The function below extends the refract function from the spine. It returns None when TIR occurs, and it raises an error when you ask for a critical angle that does not exist.
import math
def refract(n1, n2, theta1_deg):
"""Return the refraction angle in degrees, or None for total internal reflection."""
s = n1 * math.sin(math.radians(theta1_deg)) / n2
if abs(s) > 1:
return None
return math.degrees(math.asin(s))
def critical_angle(n1, n2):
"""Critical angle in degrees for light going from n1 into n2."""
if n1 <= n2:
raise ValueError("TIR needs n1 > n2")
return math.degrees(math.asin(n2 / n1))
print(round(critical_angle(1.5, 1.0), 1)) # 41.8
print(round(critical_angle(1.33, 1.0), 1)) # 48.8 (with n = 1.33; 48.6 with n = 1.333)
print(round(critical_angle(2.42, 1.0), 1)) # 24.4
print(refract(1.5, 1.0, 41.0)) # about 82.7 degrees, just below critical
print(refract(1.5, 1.0, 45.0)) # None: total internal reflectionNear θc the refracted angle changes very quickly. At 41° it is already almost 83°, which is why the transition looks abrupt.
Worked example: a 45° prism
A right-angle prism of crown glass (n = 1.50) is used in binoculars. Light enters one short face at normal incidence, so it does not bend. It then reaches the long face (the hypotenuse) at 45° to the normal.
- Find the critical angle for glass to air: arcsin(1/1.5) = 41.8°.
- Compare: 45° > 41.8°, so TIR occurs.
- The ray reflects through 90° and leaves the third face, again at normal incidence.
The prism acts as a mirror with no silver coating, and it does not tarnish. The margin is only about 3°, so the prism works only if the glass is clean and the light arrives close to the design angle.
The same prism fails in water. With water on the long face, the critical angle becomes arcsin(1.33/1.50) = 62.5°. The ray at 45° is below that, so much of it leaks out. TIR depends on the contrast between the two indices, not on the glass alone.
Optical fibers
An optical fiber is a thin glass core (n1) wrapped in cladding with a slightly lower index (n2). Light that hits the core-cladding boundary at more than θc reflects again and again and travels along the fiber with little loss.
For the example fiber (core 1.48, cladding 1.46), θc = 80.6°. This is an angle to the normal, so the ray must travel within about 9.4° of the fiber axis. Light entering the end face from air must be within an acceptance angle for this to hold. It is found from the numerical aperture:
NA = √(n1² − n2²) = √(1.48² − 1.46²) ≈ 0.243, and θ_accept = arcsin(NA) ≈ 14.0°
Rays that enter at a wider angle hit the side boundary below θc and escape into the cladding.
Common errors and gotchas
- Using the wrong ratio. The formula is n2/n1 with n1 the medium the light is in. Flipping it gives a sine above 1 and a math error.
- Measuring from the surface. Angles are measured from the normal. A ray 10° from a surface is at 80° incidence.
- Expecting TIR going into a denser medium. Air to glass never gives TIR. A ray bends toward the normal, and every incident angle up to 90° has a refracted ray.
- Thinking nothing happens at exactly θc. The refracted ray exists and travels along the boundary. Its intensity goes to zero in the limit, so in practice you treat θc as the onset of TIR.
- Forgetting that below θc part of the light still reflects. Refraction and partial reflection occur together. Only above θc is the reflection 100%.
- Assuming no field exists in the second medium. Under TIR an evanescent wave decays within about a wavelength past the boundary. It carries no energy away, but it means a second surface placed very close by can "frustrate" the reflection and pass light through. Fingerprint scanners use this effect.
- Ignoring wavelength. The index depends on wavelength, so θc differs slightly for each color. This is one reason prisms and diamonds spread colors.
Connection to what comes next
TIR is a limit on refraction, so it shows up wherever the ray model meets a boundary between media. In lens and mirror work you will mostly use the paraxial approximation, where rays are near the axis and angles are small. In that regime TIR does not occur, since incident angles stay far below any critical angle. It matters again when you study prisms, fibers and the eye.
Exercise
A ray travels inside a block of plastic (n = 1.60) toward its boundary with water (n = 1.33). (a) What is the critical angle? (b) Does a ray at 50° from the normal undergo TIR? (c) What is the critical angle if the plastic faces air instead, and does the 50° ray undergo TIR there?
Show answer
(a) θc = arcsin(1.33/1.60) = arcsin(0.83125) ≈ 56.2°. (b) No. 50° is less than 56.2°, so the ray refracts into the water, at arcsin(1.60 sin 50° / 1.33) = arcsin(0.9215) ≈ 67.1° from the normal, with a weaker reflected ray. (c) θc = arcsin(1/1.60) = arcsin(0.625) ≈ 38.7°. Since 50° > 38.7°, the ray undergoes TIR at a plastic-air boundary.
Exercise
A fiber has a core index of 1.50 and a cladding index of 1.45. Find the critical angle at the core-cladding boundary and the numerical aperture.
Show answer
θc = arcsin(1.45/1.50) = arcsin(0.9667) ≈ 75.2°. NA = √(1.50² − 1.45²) = √(2.25 − 2.1025) = √0.1475 ≈ 0.384. The acceptance angle in air is arcsin(0.384) ≈ 22.6°.