1. Light slows down in glass
In a material, light's wave crests move at a speed smaller than . The refractive index says how much smaller:
Typical window glass has , so light moves through it at about . The frequency does not change at the boundary — every crest that arrives must leave — so the wavelength shrinks by the same factor: .
2. Refraction from the wavefronts
Let a plane wave hit flat glass at angle to the normal. Along the boundary, the crests on both sides must meet at the same points, so the crest spacing measured along the surface is the same on both sides. From the right triangles that each wavelength makes with the surface,
Each side of the front slows as soon as it enters the glass, so the part that enters first lags and the whole front swings round. With the and cancel, which gives Snell's law:
A larger means a smaller : the ray bends more towards the normal.
3. Why colours separate
If glass had the same for every colour, a prism would bend all of white light by the same angle and nothing would separate. Measured values for a common crown glass:
| colour | (nm) | | |---|---|---| | red | 656 | 1.514 | | yellow | 589 | 1.517 | | blue | 486 | 1.522 |
Blue has the larger , so it slows more and, by Snell's law, bends more. At each face of a prism the colours leave at slightly different angles: white light fans out into a spectrum. This is dispersion.
4. Where the colour dependence comes from
Glass is mostly empty space between atoms; between them light still moves at . The incoming wave shakes the electrons in the glass at its own frequency, each shaking electron radiates a small wave of its own, and the sum of the original wave and all those small waves is a new wave whose crests advance more slowly — that is what means.
How strongly an electron responds depends on how close the light's frequency is to the electron's own natural frequency. For the bound electrons of glass those natural frequencies lie in the ultraviolet. Visible light is below them, and blue (higher frequency) is closer to the UV than red. So blue drives the electrons harder, their re-radiated waves are stronger, the light slows more and is larger. A simple fit that captures this in the visible range is Cauchy's formula
with : shorter wavelength, larger index. This "normal dispersion" is why a prism and a raindrop put violet on one edge and red on the other.