Skip to main content
Physics LibreTexts

1.5: Dispersion

Everyone enjoys the spectacle of a rainbow glimmering against a dark stormy sky. How does sunlight falling on clear drops of rain get broken into the rainbow of colors we see? The same process causes white light to be broken into colors by a clear glass prism or a diamond (Figure \(\PageIndex{1}\)).

Figure a is a photograph of a rainbow. Figure b is a photograph of light refracting through a prism. In both figures, we see parallel bands of color: red, orange, yellow, green, blue, and violet. 

Figure \(\PageIndex{1}\): The colors of the rainbow (a) and those produced by a prism (b) are identical. (credit a: modification of work by “Alfredo55”/Wikimedia Commons; credit b: modification of work by NASA)

We see about six colors in a rainbow—red, orange, yellow, green, blue, and violet; sometimes indigo is listed, too. These colors are associated with different wavelengths of light, as shown in Figure \(\PageIndex{2}\). When our eye receives pure-wavelength light, we tend to see only one of the six colors, depending on wavelength. The thousands of other hues we can sense in other situations are our eye’s response to various mixtures of wavelengths. White light, in particular, is a fairly uniform mixture of all visible wavelengths. Sunlight, considered to be white, actually appears to be a bit yellow, because of its mixture of wavelengths, but it does contain all visible wavelengths. The sequence of colors in rainbows is the same sequence as the colors shown in the figure. This implies that white light is spread out in a rainbow according to wavelength. Dispersion is defined as the spreading of white light into its full spectrum of wavelengths. More technically, dispersion occurs whenever the propagation of light depends on wavelength.

The figure shows colors that are associated with different wavelengths of light in order of decreasing wavelength, lambda, measured in nanometers. Infrared starts at 800 nanometers. It is followed by visible light, which is a continuous distribution of colors with red at 700 nanometers, orange, yellow at 600 nanometers, green, blue at 500 nanometers, and violet at 400 nanometers. The distribution ends with ultraviolet which extends past the visible to about 300 nanometers. 

Figure \(\PageIndex{2}\): Even though rainbows are associated with six colors, the rainbow is a continuous distribution of colors according to wavelengths.

Any type of wave can exhibit dispersion. For example, sound waves, all types of electromagnetic waves, and water waves can be dispersed according to wavelength. Dispersion may require special circumstances and can result in spectacular displays such as in the production of a rainbow. This is also true for sound, since all frequencies ordinarily travel at the same speed. If you listen to sound through a long tube, such as a vacuum cleaner hose, you can easily hear it dispersed by interaction with the tube. Dispersion, in fact, can reveal a great deal about what the wave has encountered that disperses its wavelengths. The dispersion of electromagnetic radiation from outer space, for example, has revealed much about what exists between the stars—the so-called interstellar medium.

Nick Moore’s video discusses dispersion of a pulse as he taps a long spring. Follow his explanation as Moore replays the high-speed footage showing high frequency waves outrunning the lower frequency waves.

Refraction is responsible for dispersion in rainbows and many other situations. The angle of refraction depends on the index of refraction, as we know from Snell’s law. We know that the index of refraction n depends on the medium. But for a given medium, n also depends on wavelength (Table \(\PageIndex{1}\)).

Table \(\PageIndex{1}\): Index of Refraction (\(n}\)) in Selected Media at Various Wavelengths
Medium Red (660 nm) Orange (610 nm) Yellow (580 nm) Green (550 nm) Blue (470 nm) Violet (410 nm)
Water 1.331 1.332 1.333 1.335 1.338 1.342
Diamond 2.410 2.415 2.417 2.426 2.444 2.458
Glass, crown 1.512 1.514 1.518 1.519 1.524 1.530
Glass, flint 1.662 1.665 1.667 1.674 1.684 1.698
Polystyrene 1.488 1.490 1.492 1.493 1.499 1.506
Quartz, fused 1.455 1.456 1.458 1.459 1.462 1.468

Note that for a given medium, n increases as wavelength decreases and is greatest for violet light. Thus, violet light is bent more than red light, as shown for a prism in Figure \(\PageIndex{3b}\). White light is dispersed into the same sequence of wavelengths as seen in Figures \(\PageIndex{1}\) and \(\PageIndex{2}\).

Figure a shows a drawing of a triangle glass prism and a pure wavelength lambda of incident light falling onto it and getting refracted at both sides of the prism. The incident ray hits the bends going into the prism. The refracted ray runs parallel to the base of the prism and then emerges after getting refracted at the other surface. Because the normal to the two surfaces where refraction occurs are at an angle to each other, the net effect is that each refraction bends the ray further away from its original direction. Figure b shows the same triangle prism and an incident white light falling onto it. Two refracted rays are shown at the first surface with slightly different angles of separation. The refracted rays, on falling on the second surface, refract with various angles of refraction. A sequence of red at 760 nanometers to violet is at 380 nanometers produced when light emerges out of the prism.

Figure \(\PageIndex{3}\): (a) A pure wavelength of light falls onto a prism and is refracted at both surfaces. (b) White light is dispersed by the prism (shown exaggerated). Since the index of refraction varies with wavelength, the angles of refraction vary with wavelength. A sequence of red to violet is produced, because the index of refraction increases steadily with decreasing wavelength.

Example \(\PageIndex{1}\): Dispersion of White Light by Flint Glass

A beam of white light goes from air into flint glass at an incidence angle of 43.2°. What is the angle between the red (660 nm) and violet (410 nm) parts of the refracted light?



Values for the indices of refraction for flint glass at various wavelengths are listed in Table \(\PageIndex{1}\). Use these values for calculate the angle of refraction for each color and then take the difference to find the dispersion angle.


Applying the law of refraction for the red part of the beam

\[n_{air}\sin θ_{air}=n_{red} \sinθ_{red},\]

we can solve for the angle of refraction as

\[θ_{red}=\sin^{−1}(\frac{n_{air}\sin θ_{air}}{n_{red}})=\sin^{−1}[\frac{(1.000)\sin43.2°}{(1.662)}]=27.0°.\]

Similarly, the angle of incidence for the violet part of the beam is


The difference between these two angles is



Although 0.6° may seem like a negligibly small angle, if this beam is allowed to propagate a long enough distance, the dispersion of colors becomes quite noticeable.

Exercise \(\PageIndex{1}\)

In the preceding example, how much distance inside the block of flint glass would the red and the violet rays have to progress before they are separated by 1.0 mm?


9.3 cm

Rainbows are produced by a combination of refraction and reflection. You may have noticed that you see a rainbow only when you look away from the Sun. Light enters a drop of water and is reflected from the back of the drop (Figure \(\PageIndex{4}\)).

Sun light incident on a spherical water droplet gets refracted at various angles. The refracted rays further undergo total internal reflection and refract again when they leave the water droplet. As a result,  a sequence of colors ranging from violet to red is formed by the exiting light. The exiting light is on the same side of the drop as the incident sunlight.

Figure \(\PageIndex{4}\): A ray of light falling on this water drop enters and is reflected from the back of the drop. This light is refracted and dispersed both as it enters and as it leaves the drop.

The light is refracted both as it enters and as it leaves the drop. Since the index of refraction of water varies with wavelength, the light is dispersed, and a rainbow is observed (Figure \(\PageIndex{4a}\)). (No dispersion occurs at the back surface, because the law of reflection does not depend on wavelength.) The actual rainbow of colors seen by an observer depends on the myriad rays being refracted and reflected toward the observer’s eyes from numerous drops of water. The effect is most spectacular when the background is dark, as in stormy weather, but can also be observed in waterfalls and lawn sprinklers. The arc of a rainbow comes from the need to be looking at a specific angle relative to the direction of the Sun, as illustrated in Figure \(\PageIndex{4b}\). If two reflections of light occur within the water drop, another “secondary” rainbow is produced. This rare event produces an arc that lies above the primary rainbow arc, as in Figure \(\PageIndex{4c}\), and produces colors in the reverse order of the primary rainbow, with red at the lowest angle and violet at the largest angle.

In figure a, sunlight is incident on two water droplets close to one another. The incident rays undergo refraction and total internal reflection. Red light emerges from the upper drop, making an angle theta with the original direction of the ray of sunlight. Violet light emerges at a smaller angle.  Red and violet also emerge from the lower droplet at slightly different angles. A woman with her back to the sun and facing the droplets observes from a distance.  The red from the upper droplet and the violet from the lower droplet reach the observer’s eyes from different directions. The observer sees a band of color with violet at the bottom and red at the top. In figure b, a man looks at the rainbow, which is in the shape of an arc. Parallel rays from behind the man fall on the outside of the rainbow at different positions, reflect and refract and then reach the observer, each ray making the same angle theta with the incident ray. The rays reaching the observer are red. Figure c shows a photograph of a double rainbow in the sky.

Figure \(\PageIndex{5}\): (a) Different colors emerge in different directions, and so you must look at different locations to see the various colors of a rainbow. (b) The arc of a rainbow results from the fact that a line between the observer and any point on the arc must make the correct angle with the parallel rays of sunlight for the observer to receive the refracted rays. (c) Double rainbow. (credit c: modification of work by “Nicholas”/Wikimedia Commons)

Dispersion may produce beautiful rainbows, but it can cause problems in optical systems. White light used to transmit messages in a fiber is dispersed, spreading out in time and eventually overlapping with other messages. Since a laser produces a nearly pure wavelength, its light experiences little dispersion, an advantage over white light for transmission of information. In contrast, dispersion of electromagnetic waves coming to us from outer space can be used to determine the amount of matter they pass through.


  • Samuel J. Ling (Truman State University), Jeff Sanny (Loyola Marymount University), and Bill Moebs with many contributing authors. This work is licensed by OpenStax University Physics under a Creative Commons Attribution License (by 4.0).