Dispersion Through a Prism: Newton's Rainbow
Problem
White light enters a glass prism (apex angle 60°). Show how different wavelengths (colors) refract at different angles because the refractive index depends on wavelength. Calculate the deviation for red (n = 1.514) and violet (n = 1.532) light, and show the resulting rainbow spectrum.
Explanation
In 1666, Isaac Newton darkened his room at Trinity College, Cambridge, bored a small hole in the window shutter, and let a thin beam of sunlight fall on a glass prism. What came out the other side wasn't white — it was a band of colors, spreading from red at one end to violet at the other. Newton had demonstrated that white light is not a single entity but a mixture of colors, and that a prism separates them because glass bends each color by a slightly different amount.
That separation is called dispersion, and it happens because the refractive index of a material isn't a single fixed number — it depends on the wavelength (or equivalently, the color) of the light passing through it. Shorter wavelengths (violet, blue) experience a slightly higher than longer wavelengths (red, orange). Since a higher means more bending via Snell's law, violet bends the most and red bends the least. The result: a prism fans white light out into its component colors.
Why depends on wavelength
At the atomic level, when light passes through glass, it interacts with the electrons in the material. The electrons are driven into oscillation by the light's electric field. The amount the electrons respond depends on how close the light's frequency is to the electrons' natural resonance frequency.
For most transparent materials, the natural resonance is in the ultraviolet — higher frequency than visible light. Violet light, being closest to that resonance, interacts most strongly with the electrons, producing the largest refractive index. Red light, farthest from resonance, interacts less and has a lower .
The empirical relationship is captured by the Cauchy equation:
where , , are material-specific constants and is wavelength. The term dominates, confirming: shorter → larger .
For crown glass in the visible spectrum:
- Red ( nm):
- Orange ( nm):
- Yellow ( nm):
- Green ( nm):
- Blue ( nm):
- Violet ( nm):
The difference between red and violet is only 0.018 — less than 2%. But when you apply this twice (entering and exiting the prism), and the prism has a steep angle (60°), even this tiny difference fans the colors out into a visible spectrum.
Geometry of a prism
A triangular prism has an apex angle (the angle at the top of the triangle, where the two refracting faces meet). Light enters one face, refracts toward the base, crosses the interior, and exits the other face, refracting again.
The total angle of deviation is the angle between the original incoming ray and the final outgoing ray. For a given and , the deviation depends on the angle of incidence. There's a special incidence angle — the minimum deviation angle — at which is smallest. At minimum deviation, the ray passes through the prism symmetrically (the refraction at each face is equal).
At minimum deviation:
This formula is frequently used in laboratory measurements to determine the refractive index of a glass prism.
Solving the problem — deviation for red and violet
For the general case (not necessarily minimum deviation), we trace the ray through both refractions using Snell's law at each face:
At the first face (entering): , where is the incidence angle and is the refraction angle inside the prism.
Geometry constraint: (the internal angles must sum to the prism apex angle).
At the second face (exiting): , where is the exit angle.
Total deviation: .
Let's compute for minimum deviation where and :
Red ():
Violet ():
Angular spread (dispersion):
That 1.6° spread is what creates the visible rainbow on the wall. It may sound small, but projected over a distance of a few meters, it becomes several centimeters of spectral spread — easily visible.
Rainbows in nature
The rainbow in the sky is Nature's prism. Sunlight enters a spherical raindrop, refracts (Snell's law), reflects off the back wall (TIR — Problem 152), and exits with a second refraction. The two refraction events disperse the colors, and the geometry of a sphere means the rainbow always appears at approximately 42° from the antisolar point (the point directly opposite the sun). Red is on the outside (42.4°) and violet on the inside (40.7°) — a 1.7° spread, very similar to our prism calculation.
Real-world applications
- Spectroscopy: Prisms (and their modern replacement, diffraction gratings) are used to analyze the spectrum of light from stars, flames, LEDs, and other sources. Each element produces unique spectral lines.
- Rainbow projectors & Pink Floyd album covers: The iconic cover of The Dark Side of the Moon is literally a white beam entering a prism and exiting as a rainbow.
- Chromatic aberration in lenses: Simple lenses are prisms in disguise — the outer edges of a lens refract like a prism, causing different colors to focus at slightly different distances. Expensive camera lenses use multiple glass types (achromatic doublets) to cancel this.
- Fiber optic communications: Dispersion in glass fibers causes different wavelengths to travel at different speeds, blurring the signal over long distances. Special "dispersion-shifted" fibers are engineered to minimize this.
Common mistakes
- Thinking the prism "adds" color to white light. It doesn't — the colors are already in the white light. The prism only separates them.
- Confusing dispersion with diffraction. Dispersion is — refraction-based color separation. Diffraction is wave-interference-based (Problems 154–155). Both can produce spectra, but the mechanism is different.
- Using a single for all colors. In many problems, a single is appropriate (it simplifies the calculation). But in dispersion problems, using a single would give zero dispersion — the whole point is that varies with color.
Try it in the visualization
Adjust the prism apex angle and the angle of incidence. Watch the white beam split into a rainbow spectrum on the far side. Toggle "monochromatic" to see just one color at a time — notice how red (lowest ) deviates least and violet (highest ) deviates most. Turn on "min deviation" mode to snap to the symmetric passage condition.
Interactive Visualization
Parameters
Got your own math or physics problem?
Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.