# Interference and Colour Part III - Mathematics of Thin-Film Interference

How can alternating layers in a beetle's shell give the beetle brilliant colour?

- The phase difference, between two waves determines how the waves interfere and depends on path length difference, difference in 'inherent phase' and the wavelength of the waves
- If the phase difference is even/odd multiples of then constructive/destructive interference results.
- The condition then on the path length difference that gives constructive/destructive interference will change depending on the presence of 'inherent' phase shifts
- By having multiple reflections interfere constructively at a specific wavelength due to alternating thin-film layers brilliant colours can be created in nature.

We have talked in the article on diffraction gratings about the role of path length difference between two waves in determining how the waves will interfere when overlapped. In particular, we have seen that the relation between path length difference and wavelength influences whether we get constructive or destructive interference, or something in between. However in some situations such as thin film interference there are additional complications that may affect the conditions for constructive or destructive interference. One complication has to do with the fact that the wavelength of light changes depending on what medium it is travelling in. The wavelength of light in a medium, , with index of refraction is related to the wavelength of light in vacuum, by .

**Figure 1**: The wavelength of the light will be different travelling in a medium (shown shaded in blue) with index of refraciton different than for the medium shown in white. The wavelength of light in a medium with index of rfraction can be given as where is the wavelength of the light in a vacuum. In Figure 1 the extra path length still has to be odd multiples of half wavelengths to have constructive interference as seen in Figure 5 of the article on diffraction.

Figure 1 shows if the extra path length difference takes place in a medium (shown in blue) with index of refraction the wavelength of wave B will change in that medium. The equations for constructive and destructive interference remain the same as we saw in our first article on diffraction except the wavelength used must be the wavelength of the light in the medium where the path length difference occurs.

, (constructive) Equation 1

, (destructive) Equation 2

**Figure2**: a) Alternating layers of refractive index n_{1} and n_{2} can be used in nature to provide bright reflections at a specific wavelength. b) TEM cross section of a Cincindela Scutellaris shell showing these multilayer reflectors are used in nature for coloration 1, 2. c) Picture of Cincindela scutellaris scutellaris1. Photos courtesy of: J. R. Soc. Interface 2009 6, S165-S184.

To calculate the thickness of each layer type as shown in Figure 2 that would give constructive interference for 635 nm (wavelength in air for the colour red) we need to account for the wavelength change in medium 1 with and medium 2 with . Equation 1 would correctly predict that thickness and thickness should not be equal for . We have made a step in the right direction but unfortunately, using equation 1 to calculate the thickness and for which wave B in Figure 2 would interfere constructively with wave A and C, respectively, would in fact be finding the thicknesses that would give destructive inteference! Why is that?

Consider, for example, Figure 3 which shows wave B starting with a rising slope while wave A starts with a falling slope. As shown, even though the path length difference is half a wavelength wave A and B will interfere constructively! Similarly a path length difference of one wavelength would, as shown, give destructive interference. We see then there is more to account for in the condition for constructive or destructive interference than path length difference. For this, we need to describe waves mathematically.

**Figure 3**: In the top case wave A and B have a half a wavelngth difference and now constructive interference results. In the bottom case a wavelength difference results in destructive interference. This is opposite to what we had said earlier in the article on diffraction gratings where wave A and B were shown to be starting at the same stage in their oscillation cycle.

Waves can be described by a sine or a cosine function, or . Sine and cosine funcitons have angles as arguments. Here these are not geometric angles but so called 'phase angles' that describe at what point on the sine or cosine function we are. One wavelength corresponds to one full sine or cosine function period, or to an angle or 'phase' of ( or 360 deg). Figure 4 shows a graph of , as well as where . Note that is just shifted over by compared to . For clarity, for we would say the phase is , i.e. whatever is inside the brackets. For , , and , this corresponds to a quarter, half and whole wavelgnth shift respectively. You can easily generate these curves with your computer using a spreadsheet. Try it! Notice a shfit by gives the identical wave. It follows that if a sine function is shifted by any multiple of we would still get the same sine function.

Similarly to Figure 1 we can see that two waves will interfere constructively if their phases differ by or destructively if their phases differ by .

**Figure 4**: The top graph shows vs where is an angle called 'the phase'. repeats itself when increases by radians ( or 360 deg). Graphs of are shifted by to the right horizontally compared to . A shift of , , corresponds to a quarter, half or whole wavelength shift, respectively.

Note that when we drew waves earlier we were drawing them as a function of position because we talked about differences in path length but the argument of a sine or cosine function is an angle or a 'phase' . The connection is made by 'scaling' all distances to the wavelength by

The right hand side says in mathematical form that if you change the position x by one wavelength , the phase angle changes by , exactly what we need. So the wave pattern repeats after a distance . The term in brackets is now a phase in radians with no physical dimension. Remember to put your calculator to radians when doing calculations. So this gives us the correct wavelength in our mathematical description. It does not yet describe that waves travel.

For travelling waves described by , the 'phase' of the wave is

x is the distance travelled or position in space, is the 'wave number', and where T is the period, t is the time, is the 'inherent phase' of the wave which will determine the intial starting point in a wavelength of the wave at .

For simplicity of notation we will not write the subscript 'med' on . The term is the term that makes the wave travel because time changes. It does not influence the wave pattern described by the wavelength: the whole wave pattern just moves to the left with increasing time. If you followed the discussion above on scaling the distances to the wavelength, you might be wondering why the time is scaled to a certain period T. It turns out that it is related to the wave speed ( or 'propagation' speed) due to the relation

which is true for all waves.

If we have two travelling waves A and B, wave A will have with and another wave B will have . The phase difference between the two waves is

(Equation 3)

where is the path length differnece which we discussed earlier and is the 'inherent phase difference' with . As you can see, the term cancels. The phase difference relation does not change with time for two waves with the same wavelength. There are however instances where the inherent phase difference is not zero. Different starting points is one example and picking up an extra phase shift upon reflection is another example. This brings us back to thin film interference.

Because extra shifts of in any one of the interfering waves does not affect the interference between the waves we can say most generally that the condition for constructive interference is that the phase difference equal even multiples of

, (constructive interference) (equation 4)

For destructive interference the phase difference has to be odd multiples of ,

, (destructive interference) (equation 5)

These conditions on phase difference are the most fundamental underlying conditions for constructive and destructive interference. We can show that our previous conditions for constructive and destructive interference given in the article on diffraction gratings follow from equation 4 and 5. For the case where , equating equation 3 with 4 gives

, (constructive interference)

or more simply

,

Dividing by and multiplying both sides by we have

, (constructive interference) (equation 6)

For equating equations 3 and 5 and following the same steps gives

, (destructive interference) (equation 7)

We have seen these conditions on path length difference before in our discussion of diffraction gratings when discussing Figure 2. The inherent phase difference for reflection from different points on the same surface becase all the waves originating from the point sources start off 'in phase', meaning at the same place in their wavelength cycle. Similarly we saw that in figure 2 wave A and B started off in phase with .

In figure 1 the waves started out shifted by with respect to each other. When equating equation 3 with 4 or 5 now gives

, (constructive interference)

, (destructive interference)

which upon division by and multiplication by gives

, (constructive interference) (equation 8)

, (destructive interference) (equation 9)

We can see that equation 8 and 9 which hold for are the same as for equation 6 and 7 for , except swapped.

Taking into account the inherent phase difference becomes very important when considering thin film interference. For a wave traveling from medium 1 to medium 2 shown in Figure 5, if n_{2 }> n_{1}, the reflected ray instantly gets shifted forward by half a wavelength in its cycle ( or we can say experiences a phase shift) compared to the incident wave at the boundary where reflection occurs. This does not occur if n_{1} < n_{2}. Transmitted waves do not experience this shift either regardless of which of n_{1} or n_{2} is bigger.

**Figure 5**: The top and bottom graphs show a wave traveling from medium 1 to medium 2. Part of the wave gets transmitted to medium 2 and part gets reflected back into medium 1. For n_{2} > n_{1} (the bottom case) the reflected wave (dashed) will be shifted forward by a half-wavelength while for n_{1} < n_{2} this does not occur.

Considering wave C and F in figure 6 we include these possible phase shifts in the inherent phases of wave C and F. If both or neither of wave C and F experience a phase shift (n_{1} > n_{2} > n_{3} or n_{1} < n_{2} < n_{3}) then . If only one of the waves experiences a phase shift (n_{1 }> n_{2} < n_{3} or n_{1} < n_{2 }> n_{3}) then .

**Figure 6**: The inherent phase difference if neither or both of the rays C and F pick up a phase shift upon reflection and equation 6 and 7 describe the path length differences that give constructive and destructive interference. If either C or F picks up a phase shift upon reflection (but not both) then and equation 8 and 9 describe constructive and destructive interference.

Returning to the multi-layers in Figure 2, because the indices of refraction n_{1} and n_{2} for the different layers are alternating we wil have for waves A and B, and for waves B and C and so on. Equation 8 describes the condition of path length difference in this situation for constructive interference. To find the minimum thickness (setting m =1) for which wave A and B will intefere for 635 nm (wavelength given in air) we let in equation 12 be and solve for . This gives

.

Using equation 8 again and a path length difference of between wave B and C in figure 2 we find the minimum thickness that gives constructive interference for 635 nm (in air) to be

.

By having alternating layers of melanin with thickness 79 nm and protein with thickness 106 nm, the red colour of 635 nm would have all the reflections A, B, C and D... interfere constructively and a bright reflection at this wavelength would be observed. Other visible wavelengths may interfere partially constructively but not with the same intensity as for 635 nm.

In this article we have seen the concept of phase difference and its relation to path length difference and inherent phase difference. We have also seen that phase difference between two waves determines how the waves will interfere. From the fundamental conditions on phase difference that give constructive and destructive interference we were able to derive conditions for path length difference in various situtions such as diffraction gratings and thin film interference. The discussion started in our first article by developing a pictoral intuition of waves and interference and led to a full mathematical description.

The examples given in the articles concerning beetle coloration are a very small subset of the phenomena of structural coloration. There are many examples of thin-film interference, diffraction gratings or photonic crystals, in nature such as in coloration of birds such as hummingbirds 3, peacocks 4, 5, and pigeons 6 and various butterflies 7 as well as other insects. The reflections seen from animals eyes at night and even the silvery appearance of fish are also due to interference of light caused by microscopic structures 8, 9. Gems such as opal also display structural coloration 10. Of course the most common non-nature example of thin-film interference is the array of colours seen on a soap bubble or on a film of oil. For simplicity we considered the case where the incident light was normal to the thin-fim surfaces. When the angle of incidence is different from normal incidence, equations 6-9 still apply however the path length difference will no longer simply be twice the thickness of the thin-film. This means reflections occuring at different angles with respect to the bubble surface will interfere constructively at different wavelengths 11, 12. The multiple colours seen on a soap bubble are due to the reflections reaching your eye coming from different angles and also explains why if you change your position with respect to the bubble the colors change.

In conclusion microscopic layers or structures can give rise to what is known as structural coloration where colour is caused by the interference of light rather than by apsorption by pigments.

- 1. a. b. J. R. Soc. Interface 2009
**6**, S165-S184 - 2. J. exp. Biol
**117**, 87-110 (1985) - 3. S. Kinoshita,
*Stuctural colors in the realm of nature*, p. 172-173 - 4. Natural Polymers and Photonics Group (online) http://www.materials.drexel.edu/npp/research-news/structural-color.aspx [Aug 17, 2011]
- 5. Forma, 17, 169-181 (2002)
- 6. Phys. Rev. E 74, 051916 (2006)
- 7. Interference in multilayers (online). http://newton.ex.ac.uk/research/emag/butterflies/interference_in_multila... [Aug 17, 2011]
- 8. Land, M.F., and Nilsson, D.E.,
*Animal Eyes*, p.104-124 - 9. Ahlborn, B.K.
*Zoological Physics*, p. 294 - 10. Opal, Causes of Color (online) http://www.webexhibits.org/causesofcolor/15F.html
- 11. Bubbles, causes of color (online) http://www.webexhibits.org/causesofcolor/15E.html [Aug 17, 2011]
- 12. Inteference colors [online] http://astro1.panet.utoledo.edu/~lsa/_color/14_interference.htm [Aug 17,2011]

© Physics and Astronomy Outreach Program at the University of British Columbia (Janelle Van Dongen 2011-08-17)

- Browse by Theme:
- Keywords:

## Comments

## Post new comment

Please note that these comments are moderated and reviewed before publishing.