The Physics of Thin-Film Interference in Bubbles and Oil
This article explains the optical phenomenon behind the vibrant, shifting colors seen in soap bubbles and oil slicks. By examining the physics of thin-film interference, it covers how light waves reflect off microscopic boundaries, interact with one another, and produce brilliant iridescent patterns based on the varying thickness of the liquid layer and the angle of the viewer.
What is a Thin Film?
In physics, a thin film is a layer of material with a thickness ranging from fractions of a nanometer to several micrometers. This thickness is roughly comparable to the wavelength of visible light, which ranges from about 400 nanometers (violet) to 700 nanometers (red).
A soap bubble consists of a microscopic layer of water sandwiched between two layers of soap molecules, surrounded by air. Similarly, an oil slick is a microscopic layer of oil floating on top of water. Neither soap nor oil actually contains the pigments of the rainbow; instead, their physical structure manipulates incoming white light to create structural color.
Double Reflection of Light
When white light from the sun or a lamp hits a soap bubble or an oil slick, it encounters two distinct boundaries: the top surface and the bottom surface of the film.
- The First Reflection: When the light wave strikes the top surface (where the air meets the film), a portion of that light immediately reflects back toward your eyes.
- The Second Reflection: The remaining light passes into the transparent film, bends slightly (refracts), and travels down until it hits the bottom surface (where the film meets the air inside the bubble, or the water beneath the oil). Here, another portion of the light reflects upward, travels back through the film, and exits toward your eyes.
Because the film is so thin, these two reflected light waves exit the film in nearly the exact same spot and travel together to the observer's eye. However, the second wave had to travel a slightly longer distance than the first wave because it went through the film twice.
Constructive and Destructive Interference
Light travels in waves, consisting of peaks (crests) and valleys (troughs). Because the two reflected light waves traveled different distances, their peaks and valleys may no longer be aligned when they meet up again. This interaction is called wave interference, and it happens in two ways:
- Constructive Interference: If the extra distance traveled by the second wave allows its peaks to line up perfectly with the peaks of the first wave, the two waves combine and amplify each other. They are "in phase," making that specific wavelength of light appear exceptionally bright.
- Destructive Interference: If the extra distance causes the peaks of the second wave to align with the valleys of the first wave, the two waves cancel each other out. They are "out of phase," and that specific wavelength of light is eliminated from view.
Additionally, light waves sometimes flip upside down (undergo a 180-degree phase shift) when they reflect off a medium with a higher refractive index, such as light in the air bouncing off soap or oil. This initial flip must be factored into the total alignment of the waves.
How Interference Creates Colors
Sunlight and standard indoor lighting are forms of white light, which is a mixture of all the colors of the visible spectrum. Each color has a different wavelength. For example, blue light has short, tight waves, while red light has longer, stretched-out waves.
When white light hits a specific spot on a soap bubble, the thickness of the bubble at that exact spot might be the perfect distance to cause destructive interference for red light, canceling it out. At the same time, that exact thickness will cause constructive interference for blue and green light, amplifying them. With the red light removed from the white light mixture, your eye perceives the remaining amplified light as a bright cyan.
Why the Colors Swirl and Change
The colors on a bubble or oil slick are iridescent, meaning they constantly shift and change based on two main factors:
- Varying Thickness: Gravity pulls the liquid in a soap bubble downward, making the film thinner at the top and thicker at the bottom. Wind and evaporation also cause the liquid in both bubbles and oil slicks to swirl and fluctuate in thickness. As the thickness changes from nanometer to nanometer, different wavelengths (colors) of light are amplified or canceled out, creating moving bands of color.
- Viewing Angle: If you move your head, the angle at which light enters the film and reflects to your eyes changes. Light traveling through the film at a steep angle travels a longer path through the liquid than light hitting it straight on. Therefore, changing your viewing angle alters the distance the second wave travels, shifting which colors constructively interfere for your specific line of sight.
Ultimately, just before a soap bubble pops, the water drains away until the top of the film is only about 25 nanometers thick. At this point, the film is too thin to allow constructive interference for any visible wavelength of light. Destructive interference cancels out all colors, and the top of the bubble turns completely black and transparent right before it bursts.