Sub topic 9
Dispersion: Why Colors Bend Differently
This chapter assumes you can use Snell's law (n₁ sin θ₁ = n₂ sin θ₂), that you know the refractive index is c divided by the speed of light in the medium, and that you can measure angles from the surface normal. Earlier chapters treated n as one fixed number per material. Here n becomes a function of wavelength, and that change explains prisms, rainbows, and the colored fringes around cheap lenses.
The core idea: n depends on wavelength
The refractive index of a transparent material is not one number. It changes slowly with the wavelength λ of the light. Snell's law still holds exactly, but you must use the index for the color you are tracing:
n(λ₁) sin θ₁ = n(λ₂) sin θ₂
For almost all clear materials in visible light, shorter wavelengths see a larger index. Violet light is slowed more than red light, so violet bends more toward the normal when entering glass. This pattern is called normal dispersion.
Two points are easy to get wrong:
- The frequency of light does not change when it enters a medium. The speed v = c/n and the wavelength λ/n change, and the frequency stays the same.
- The quoted wavelength of a color is normally its wavelength in vacuum. Inside glass the wavelength is shorter by a factor of n.
Dispersion needs two ingredients: a material whose index varies with wavelength, and an oblique (non-normal) angle of incidence. At θ₁ = 0° every color goes straight through, because sin 0° = 0 for all of them.
Why the index depends on wavelength
A material responds to light because its electrons are driven by the oscillating electric field of the wave. Each electron behaves like a small oscillator with its own natural frequency, usually in the ultraviolet for glass. The material's response, and therefore n, depends on how the light's frequency compares with those natural frequencies.
Visible light has a lower frequency than the ultraviolet resonances. As the frequency rises toward a resonance, the response grows, so n rises. Blue light is closer to the ultraviolet resonance than red light, so n is larger for blue. Close to an absorption band, n can fall as frequency increases. This is anomalous dispersion. The name is misleading, because it is ordinary behavior at an absorption line. Glass in the visible range is normal.
Modeling n(λ) with the Cauchy equation
Far from absorption bands, a good empirical model for transparent materials is the Cauchy equation:
n(λ) = A + B / λ²
A and B are constants of the material, and λ is usually in micrometres. The B term makes n grow as λ shrinks. Industry catalogs use fuller formulas (Sellmeier equations), but two terms are enough to see the effect.
The reference points are the standard spectral lines used for glass catalogs:
| Line | Wavelength (nm) | Color | n for BK7 crown glass (approx.) |
|---|---|---|---|
| F | 486.1 | blue | 1.52238 |
| d | 587.6 | yellow | 1.51680 |
| C | 656.3 | red | 1.51432 |
The code below fits A and B from the F and C lines, then predicts n at the d line. It never sees the d value, so the prediction is a real test.
def fit_cauchy(lam1_um, n1, lam2_um, n2):
"""Fit n = A + B / lam^2 through two (wavelength in um, index) points."""
x1, x2 = 1 / lam1_um**2, 1 / lam2_um**2
b = (n1 - n2) / (x1 - x2)
a = n1 - b * x1
return a, b
def cauchy(a, b, lam_um):
return a + b / lam_um**2
a, b = fit_cauchy(0.4861, 1.52238, 0.6563, 1.51432)
print(f"A = {a:.5f}, B = {b:.5f} um^2")
print(f"Predicted n at 587.6 nm: {cauchy(a, b, 0.5876):.5f}")It prints A ≈ 1.50447 and B ≈ 0.00424, and a prediction of about 1.51675 at 587.6 nm. The catalog value is 1.51680, so a two-parameter formula already matches to four decimal places.
Worked example: how far apart do the colors land?
Take a ray in air hitting a flat BK7 surface at 40° from the normal. The following code applies Snell's law three times with the three indices.
import math
def refraction_angle(n1, n2, theta1_deg):
"""Return the refraction angle in degrees, or None if total internal reflection occurs."""
s = n1 * math.sin(math.radians(theta1_deg)) / n2
if s > 1:
return None
return math.degrees(math.asin(s))
bk7 = {
"F blue (486.1 nm)": 1.52238,
"d yellow (587.6 nm)": 1.51680,
"C red (656.3 nm)": 1.51432,
}
for name, n in bk7.items():
print(f"{name}: {refraction_angle(1.0, n, 40):.3f} degrees")The angles are roughly 24.97° for blue, 25.08° for yellow, and 25.12° for red. Blue bends about 0.14° more toward the normal than red. That is small, which is why a single flat window shows no visible rainbow. The separation grows when the light crosses a second, tilted surface, as in a prism.
The prism: two refractions add up
A prism has two faces that are not parallel. The ray bends at the entry face and again at the exit face, and both bends turn it the same way, toward the thick base. Each color has its own n, so each leaves at its own angle.
For a prism with apex angle A, a ray traveling symmetrically through it (the minimum-deviation condition) has a total deviation δ given by:
n = sin((A + δ) / 2) / sin(A / 2), which rearranges to δ = 2 asin(n sin(A / 2)) − A
import math
def min_deviation(n, apex_deg):
"""Minimum deviation angle in degrees for a prism with the given apex angle."""
half_apex = math.radians(apex_deg) / 2
return 2 * math.degrees(math.asin(n * math.sin(half_apex))) - apex_deg
red = min_deviation(1.51432, 60)
blue = min_deviation(1.52238, 60)
print(f"red: {red:.2f} blue: {blue:.2f} spread: {blue - red:.2f} degrees")For a 60° prism the red ray is deviated by about 38.43° and the blue ray by about 39.14°. The spread is about 0.7°. Over a 2 m path from prism to wall, that is a band about 2.5 cm wide, enough to see a clear spectrum with violet furthest from the original direction.
Measuring dispersion: the Abbe number
Designers need one number that says how strongly a glass spreads colors compared with how strongly it bends light overall. The Abbe number is:
V = (nd − 1) / (nF − n_C)
The numerator measures average bending power. The denominator is the spread between blue and red. A large V means low dispersion.
def abbe_number(n_d, n_f, n_c):
return (n_d - 1) / (n_f - n_c)
print(round(abbe_number(1.51680, 1.52238, 1.51432), 1))This prints about 64.1 for BK7. Approximate catalog values for some common materials:
| Material | n_d (approx.) | Abbe number V (approx.) | Dispersion |
|---|---|---|---|
| Fused silica | 1.458 | 67.8 | low |
| BK7 crown glass | 1.517 | 64.2 | low |
| Water | 1.333 | 55.6 | moderate |
| SF11 dense flint glass | 1.785 | 25.7 | high |
Glasses with V above about 50 are called crown glasses, and those below that are flint glasses. Flint glass spreads colors more, which is why it is used in decorative crystal and in lenses that need dispersion on purpose.
Consequences
Chromatic aberration
A simple lens is effectively two prisms joined, so it refracts blue more strongly than red. Blue light focuses closer to the lens than red light. The result is colored fringes at high-contrast edges, called chromatic aberration. A camera or telescope fixes this with an achromatic doublet. It cements a converging crown lens to a diverging flint lens. The two lenses are chosen so their dispersions cancel at two wavelengths, while the net focusing power stays positive.
Rainbows
A raindrop acts as a prism with a reflection inside. Sunlight refracts into the drop, reflects once off the back surface, and refracts out. Because n for water is larger for blue, the exit angles differ by color. The strongest concentration of light is near 42° from the direction opposite the Sun for red and near 40° for violet. This puts red on the outside of the primary bow. The reflection inside the drop is not what separates the colors. The two refractions do that.
The critical angle depends on color
The critical angle comes from sin θc = n₂ / n₁, so it also depends on wavelength. Glass has a slightly smaller critical angle for blue than for red. In a narrow range of incidence angles, blue is totally internally reflected while red still partly escapes. In optical fibers, the same effect means different colors travel slightly different speeds. A short pulse containing several wavelengths spreads out as it travels. This is chromatic dispersion in fibers, and it limits how fast data can be sent over long distances unless the light source is narrow in wavelength.
Common errors
- Using one n for everything. Always check which wavelength a quoted n refers to. Tables normally give the yellow d line (587.6 nm) or the sodium D line (589.3 nm).
- Mixing up the direction. In normal dispersion, blue has the larger index and bends more, not less. Red deviates least.
- Saying the color changes in the glass. Color is set by frequency, and frequency is unchanged. Only the wavelength measured inside the material shrinks.
- Expecting a spectrum from parallel faces. A slab with parallel faces shifts each color sideways by a different amount, but they leave parallel to each other and recombine into white light, apart from slight color fringes at the edges of a beam.
- Using the thin-prism rule for large prisms. The approximation δ ≈ (n − 1)A holds only for small apex angles. Use the minimum-deviation formula above for a 60° prism.
Link to Fermat's principle
Fermat's principle says light takes the path of least time between two points. Time along a path depends on the speed v = c/n, and n depends on color. So each color has its own least-time path, which is a different refraction angle. Dispersion fits into the same principle with no new rule: Snell's law, with n evaluated at the right wavelength, is what the least-time condition gives for each color.
Summary of the working model
- n is a function of wavelength, n(λ), and for transparent materials in visible light it is larger for shorter wavelengths.
- Snell's law is applied separately for each color, using that color's index.
- A single flat surface separates colors only slightly. A prism, a lens, or a raindrop amplifies the effect.
- The Abbe number V summarizes how dispersive a material is, and a low V means strong dispersion.
- Reflection is the same for all colors. Refraction, critical angles, and total internal reflection thresholds all depend on color.
Exercise
Light inside BK7 glass travels toward an air boundary. The index is 1.51432 for red (656.3 nm) and 1.52238 for blue (486.1 nm). Find the critical angle for each color, and say what happens to each at an incidence angle of 41.2°.
Show answer
Use sin θc = 1 / n. For red, sin θc = 1 / 1.51432 = 0.6604, so θc is about 41.33°. For blue, sin θc = 1 / 1.52238 = 0.6569, so θc is about 41.06°. At 41.2° the angle is above the blue critical angle, so blue is totally internally reflected. It is below the red critical angle, so red is mostly transmitted into the air, with a small part reflected. The ray therefore loses its blue component in transmission, and the transmitted light looks reddish.
Exercise
A lens designer must choose between two glasses for a cemented achromatic doublet. One is BK7 (V ≈ 64) and the other is SF11 (V ≈ 26). Which has the larger blue-to-red index difference for the same bending power, and why does a doublet pair them?
Show answer
SF11 has the larger index difference, because a lower Abbe number means a larger (nF − nC) relative to (n_d − 1). The diverging flint element adds strong dispersion with relatively little net focusing power, and the converging crown element adds focusing power with little dispersion. When the two are matched, their color spreading cancels at two wavelengths, and the combined lens still focuses light, so the colored fringes shrink.