Prisms and the Rainbow


illustration of white light passing through a triangular prism, forming rainbow light

Refraction

photo of yellow lasar light passing through a block of glass at an angle. The light tilts at a different angle inside the glass.

Before we get to prisms we should begin with the physics concept, refraction. Refraction describes the change in direction of a light ray when it passes into a different material. Light passing from air into glass, water, clear plastic, etc experiences refraction. Light passing through a prism experiences refraction both when it enters and exits, which is an important factor in how it splits white light into its colored components.

While all wavelengths of light move at c = 2.998*108 m/s in a vacuum where there is no air, they do not move at the same speed in matter (including the gasses that form air). This is because each atom will absorb the light energy, and then reemit the energy into the next atom in the light's path. Although a near instant process, it does slightly delay the speed of light. Dispersion of Light by Prisms

Each material will affect the speed of light slightly differently, and this is dependant on the amount of energy required to put the chemical structure of the material at a higher energy state than its resting state Dispersion of Light by Prisms. This is a very precise unit of energy, unique an the atom, molecule, or other structure. In order to put a molecule into a higher energy state, the energy it recieves must be exactly equal to the difference between its current state and excited state, it cannot be less or greater than that. Quantum Energy Levels in Atoms - LibreText Chemistry

So why does the direction of light change when it passes into a new material? It all boils down to the fact that light travels in waves.

diagram showing waves traveling along side of each other so that their peaks and valleys line up

In a beam of light there are countless photons traveling in waves. These waves will line up with each other so that the peaks form a wavefront. diagram showing waves hitting a surface at a 90 degree angle, allowing the light to continue straight.

Here the wavefronts are represented as colored lines. The spaces between these lines are the waves' valleys. The waves are traveling fast until they pass into the new material where they start traveling slower, represented by condensed wavefronts. When light passes through a surface at 90 degrees, it does not change direction, it easily slows down (or speeds up) in the new material without complication. However something happens when light hits a surface at an angle.

Note about the diagrams

The width of the lines/spaces here does not represent wavelength. A wave does not change wavelength when it enters a new material, it changes speed. Closer together means the wavefronts are slower, further away means they are faster (since something faster is able to get further away in the same amount of time).

diagram showing waves hitting a surface at an angle and passing straight through. The peaks and valleys across the surfaces are broken up since they are condensed on the right side.

If light went straight through a new material, we would get broken up peaks and valleys shown here. Notice how many more peaks are touching the surace on the right side, where as the left side only has a few peaks touching the surface, they are not lined up either. This is not possible though. As the peak of a light wave passes into a new material, it does not suddenly become a valley or inbetween, it has to continue in the wave pattern.

diagram showing waves hitting a surface at an angle, and bending as it passes through. The peaks and valleys across surfaces stay intact.

The only way for the waves' peaks and valleys to stay intact as they pass into a different material, is for the light path to bend. Notice how there are the same amount of peaks and valleys touching the surface on both sides, despite their difference in speed. They also line up with each other, meaning the light waves were able to follow the wave pattern. See below for an animated illustration.

The index of refraction is a constant number unique to a specific material, used to calculate the angle of refraction (how much the light is bent when passing from one material to another). The index of refaction for a material is related to the amount of energy required to excite the material to a higher energy state, which is different for each material. The closer the energy of a specific wavelength of light is to the energy required to excite the material, the slower the light will move through said material. The further way the light energy is to the materials excitation energy, the faster it moves through the material.Dispersion of Light by Prisms (Recall that different colors of light have different wavelengths and amounts of energy: The Visible Spectrum)

Prisms and Dispersion

Prisms can split white light into the different wavelengths that make up white light, which is called dispersion. Since the prism is a different material than air (such as glass or quartz), the photons travel at a slightly slower speed in said material. Even in the same material, different wavlengths of light will move at different rates through the material. This causes them to also go in different directions from each other. The slightly different direction these wavelegths go in separates them, allowing the individual colors to be seen rather than just white light.

So why do different wavelengths of light travel at different speeds? This is for the same reason that light moves at different speeds in different materials. The closer the energy of a specific wavelength of light is to the energy required to excite the material, the slower the light will move through said material. The further away the light energy is to the materials excitation energy, the faster it moves through the material.Dispersion of Light by Prisms Since different wavelengths of light have different amounts of energy, some are slowed down more than others.

Most materials will have excitation energies higher than the energy of any light wavelength. Thus violet, having the largest energy, will be slowed down the most when passing from air into another material. Red with the smallest energy will be slowed down the least. On rare occasion there are materials that have excitation energies lower than the energy of wavelengths in the visible spectrum. Since red has the lowest energy, it will be closest to the said material's and be slowed down the most, resulting in abnormal dispersion, where red is bent the most and violet is bent the least by a change in material. Radiation - Britannica

Speculation:

Theoretically this means that there are also materials that have an excitation energy in the middle of the visible light energy range. Suppose it was at a yellow wavelength, that particular wavelength would be absorbed (not visible), and then the yellows around it would be bent the most, then green and orange would be bent medium, with red and blue bent the least, causing an overlap in the colors that are equally bent (yellow, green + orange, red + blue), possibly creating a yellow to purple gradient instead of a rainbow. This is just speculation of mine however.

Note that light can of course pass from a "slower" material like glass into a "faster" material like air. But while the light is traveling faster than it was, it is still being slowed down by the atoms, compared to light in a vacuum with no atoms to absorb and reemit it. Hence, why this page usually refers to light as being slowed down.

The shape of prisms

Most glass windows do not throw rainbows when direct sunlight passes through them, however many leaded glass windows will (at the right time of day). Likewise a cube (or any rectangular prism) of glass/crystal will not separate white light into colors, but a pyramid or triangular prism will.

diagram showing how light splits into colors when it passes through a parallel glass surface versus light passing through an edge of glass. diagram slightly edited from BarsMonster on StackExchange

This is because a normal window or cube has parallel surfaces that the light enters and exits. When the light exits the parallel glass surface, the lights refraction as it passes back into air is the reverse of that as it entered the glass, stopping the divergence, meaning the colors have only seperated for as long as they were in the relatively thin glass. In the diagram above, the parallel rainbows (through a parallel faced material) will overlap, creating white again, except at the very edges where a red-yellow edge may be observed on one side and a blue-violet edge on the other side. Because a pyramid or beveled edge does not have parallel surfaces, the light upon exiting the glass will be additionally refracted, separating the colors further so that they don't overlap as much. Why doesn’t a normal window produce an apparent rainbow?

photo of a pyramid shaped crystal on one of its sides, casting a short rainbow on the counter

Here you can see a prism dispersing light into a rainbow, where the colors overlap closer to the prism.

Rainbows

So what do prisms have to do with the rainbows we see in the sky?

Diagram of a raindrop creating a rainbow. white light enters the drop and reflects off the inside surface of the drop, then exits the drop in rainbow colors. the reflection of light forms a 42 degree angle with the incident ray

Basically, water droplets in the air act as prisms, splitting the white light from the sun into a spectrum of colors. Notice that the light is reflected by the inside of the water droplets. So the light enters the droplet, is reflected by the inside surface of the droplet, and then exits the droplet. Note that most of the light that enters the water drop passes right through it rather than reflecting, but this light does not form a rainbow, only those that are reflected within the drop do. This is explained on the next pages, primary rainbows and secondary rainbows.


Suggested next page: Primary Rainbows