An optical table with mirrors and lenses lit green by a laser beam, next to the steel vacuum chamber in which a nanoparticle is levitated in the focus of the beam
Unit 03 · All masterclasses · 60 min

Quanta and the Harmonic Oscillator

Photons, wave functions, and the evenly spaced ladder of the oscillator
Image: Gavin Morley, Wikimedia Commons, CC BY-SA 4.0

Light comes in photons, a moving particle has a wavelength, and a confined wave can hold only certain energies. This unit builds quantum mechanics from the photoelectric effect and the electron double slit, introduces the wave function, the Born rule, the uncertainty principle, and the Schrödinger equation, and solves the particle in a box and the harmonic oscillator. The ladder operators of the oscillator are the tool that Unit 7 applies to every mode of a string.

Sample unit: the complete text

Unit 1 built the toolkit of waves and oscillations, Unit 2 showed that space and time are one geometry, and the third idea that string theory stands on is older than relativity and stranger. Energy comes in portions, a moving particle has a wavelength, and a vibrating system cannot hold any amount of energy it likes but only a whole number of equal portions, called quanta, plus a small remainder that cannot be removed. This unit builds that idea from the experiments that forced it on physics and ends with the harmonic oscillator, whose ladder of evenly spaced states is what a string is made of.

1 The quantum of light

Light is a wave, and Unit 1 described it by its wavelength \(\lambda\) and frequency \(f\), linked by \(c = \lambda f\). A wave can carry any amount of energy, because its amplitude can be as small as one likes. In 1900 Max Planck (1858-1947) found that the spectrum of the glow of a hot body, which he modelled as a hollow oven filled with light, could be explained only if the matter in its walls exchanged energy with light of frequency \(f\) in portions of size \(hf\), where \(h\) is a new constant of nature. In 1905 Albert Einstein (1879-1955) went further and proposed that light itself consists of such portions, later named photons, so that a beam of light of frequency \(f\) can only contain a whole number of them.

The second relation follows from the first, because a photon has no mass, and Unit 2 showed that a massless particle has \(E = pc\), so \(p = hf/c = h/\lambda\). The constant \(h\) is tiny on a human scale (and so is \(\hbar = 1.055\times10^{-34}\unit{J\,s}\)), which is why the portions went unnoticed for so long. The convenient energy unit for single photons is the electronvolt, the energy an electron gains when it is accelerated through a voltage of one volt, \(1\unit{eV} = 1.602\times10^{-19}\unit{J}\). Since \(f = c/\lambda\), the energy of a photon can also be written as \(E = hc/\lambda\), and in these units the product \(hc\) is \(1240\unit{eV\,nm}\), so the energy of a photon in electronvolts is \(1240\) divided by its wavelength in nanometres. The companion product \(\hbar c = hc/2\pi = 197.3\unit{eV\,nm}\), which is the same number as \(197.3\unit{MeV\,fm}\) in the units particle physicists prefer, is used in Section 3 and in Unit 7.

BandExampleWavelengthPhoton Energy
RadioFM broadcast\(3\unit{m}\)\(4.1\times10^{-7}\unit{eV}\)
Microwavekitchen oven\(12.2\unit{cm}\)\(1.0\times10^{-5}\unit{eV}\)
Infraredhuman body heat\(10\unit{\mu m}\)\(0.124\unit{eV}\)
Visiblegreen light\(550\unit{nm}\)\(2.25\unit{eV}\)
Ultravioletfar ultraviolet\(100\unit{nm}\)\(12.4\unit{eV}\)
X-raymedical imaging\(0.1\unit{nm}\)\(12.4\unit{keV}\)
Gamma raynuclear decay\(1\unit{pm}\)\(1.24\unit{MeV}\)
Table 1. The energy of one photon across the electromagnetic spectrum, computed from \(E = hc/\lambda\) with \(hc = 1240\unit{eV\,nm}\). Chemical bonds hold with a few electronvolts, which is why ultraviolet light damages skin and radio waves do not.

1.1 The photoelectric effect

Light falling on a clean metal surface in a vacuum knocks electrons out of it. Heinrich Hertz (1857-1894) noticed the effect in 1887, and by 1902 Philipp Lenard (1862-1947) had measured the puzzling rule. The maximum energy of the electrons depends on the colour of the light and not on its brightness, and below a threshold frequency no electrons come out at all, however bright the lamp. A wave would behave differently, because a brighter wave carries more energy and should eventually shake an electron loose at any frequency.

Einstein’s explanation needs a single assumption. An electron absorbs one photon, gains its energy \(hf\), and spends an energy \(W\) on leaving the metal. This energy \(W\) is called the work function of the metal; it is a few electronvolts and differs from metal to metal. What is left is its kinetic energy, \begin{equation} K_{\max} = hf - W . \label{eq:photoelectric} \end{equation} Brighter light means more photons and therefore more electrons per second, each with the same maximum energy, and light with \(hf < W\) releases none. In the laboratory, \(K_{\max}\) is measured by applying a voltage that pushes the electrons back toward the metal. The stopping potential \(V_{\mathrm{s}}\) is the voltage at which the current just vanishes, so that \(eV_{\mathrm{s}} = K_{\max}\), where \(e\) is the charge of the electron, and a plot of \(V_{\mathrm{s}}\) against \(f\) is a straight line whose slope is \(h/e\). Robert Millikan (1868-1953) measured exactly this line in 1916 and obtained \(h\) to within about one per cent, although he had set out to prove Einstein wrong.

The momentum of a photon is just as real as its energy. When a sodium atom emits a photon of its yellow line at \(589\unit{nm}\), the photon carries away \(p = h/\lambda = 1.13\times10^{-27}\unit{kg\,m\,s^{-1}}\), and the atom of mass \(3.82\times10^{-26}\unit{kg}\) recoils at \(2.9\unit{cm\,s^{-1}}\). Millions of such kicks per second, delivered by a laser beam from the right direction, are what slows atoms almost to a standstill in laser cooling, and a related force of light holds the glass sphere of the research spotlight in Section 5 in place. In 1923 Arthur Compton (1892-1962) saw the same momentum at work when X-ray photons bounced off electrons like billiard balls, and after that the photon was no longer in doubt.

2 Matter waves and the double slit

If a wave of light can behave like a stream of particles, can a particle behave like a wave? In 1924 Louis de Broglie (1892-1987) proposed in his doctoral thesis that it must, and that the same two relations, \(E = hf\) and \(p = h/\lambda\), hold for particles of matter as well. Every particle of momentum \(p\) is accompanied by a wave whose wavelength is fixed by \(p\).

The electron wave was seen within three years. In 1927 Clinton Davisson (1881-1958) and Lester Germer (1896-1971) at Bell Laboratories scattered electrons of \(54\unit{eV}\) off a nickel crystal and found them reflected strongly in exactly the direction in which waves of the de Broglie wavelength, reflected from the successive planes of atoms, add up in step. In the same year George Paget Thomson (1892-1975) in Aberdeen sent faster electrons through thin metal films and photographed the rings of a diffraction pattern. His father, J. J. Thomson (1856-1940), had discovered the electron as a particle in 1897; the son shared the Nobel Prize of 1937 with Davisson for showing that it is a wave.

The cleanest version of the experiment is the double slit. A beam of electrons, all with the same momentum and hence the same wavelength, falls on a screen with two narrow slits, and a detector far behind the slits counts where the electrons land. Figure 1 shows the pattern that the wave picture predicts and that the experiment confirms. Where the two paths from the slits differ in length by a whole number of wavelengths, the waves arrive in step and the counts are high; where the paths differ by half a wavelength more than that, the waves cancel and almost no electron arrives. For small angles the difference of the two paths is the slit distance \(d\) times the angle, so it grows by one wavelength each time the angle grows by \(\lambda/d\), and this is the spacing between neighbouring maxima. The whole pattern sits under a broader hump, drawn dashed in Figure 1, which is the pattern that one slit alone, of width \(a\), would give; this hump is called the envelope of the single slit.

The double-slit pattern computed from the wave picture for electrons of \(600\unit{eV}\) (\(\lambda = 0.0501\unit{nm}\)) passing two slits \(50\unit{…
Figure 1. The double-slit pattern computed from the wave picture for electrons of \(600\unit{eV}\) (\(\lambda = 0.0501\unit{nm}\)) passing two slits \(50\unit{nm}\) wide and \(280\unit{nm}\) apart, the values of the experiment of Bach and colleagues (2013). The dashed curve is the envelope that a single slit would give. The whole pattern spans three thousandths of a radian, about a sixth of a degree.

The pattern itself was first photographed with electrons in Tübingen in 1961. The deeper point came when the beam was made so weak that only one electron at a time was in the apparatus, as Akira Tonomura (1942-2012) and his colleagues at Hitachi did in 1989, with a charged wire that splits the beam in the same way as two slits. Each electron arrives at one point of the detector, as a particle should, and the first few hundred points look random. After tens of thousands of electrons the points have built up the stripes of Figure 1. No electron can know where the earlier ones landed, so the stripes must be a property of each electron alone, and the wave that passes through both slits decides where one electron is likely to land. The experiment has since been repeated with neutrons, with whole atoms, and with molecules of more than two thousand atoms, always with the same result.

2.1 The wave function and the Born rule

The wave that de Broglie introduced is described by a function \(\psi(x)\) of position, the wave function, pronounced “psi”. Its values are complex numbers, which is why Unit 1 insisted on them, and the simplest wave function, that of a particle with a definite momentum \(p = \hbar k\), is \(\psi(x) = A\,e^{ikx}\), the complex exponential of Euler’s formula in Unit 1, whose phase turns once around the unit circle for every wavelength travelled along \(x\). In 1926 Max Born (1882-1970) said what the function means.

The wave function tells us the probabilities of the outcomes of a measurement and nothing more; it does not say where the particle “really is” before the measurement, and the question has no answer within the theory. The sign and the phase of \(\psi\) carry no probability themselves, since only \(|\psi|^{2}\) does, but they decide how two waves add. In the double slit, the waves from the two slits add as \(\psi_{1} + \psi_{2}\) before the square is taken, and \(|\psi_{1} + \psi_{2}|^{2}\) is not \(|\psi_{1}|^{2} + |\psi_{2}|^{2}\), which is why the stripes appear and why they vanish if one slit is covered. The absolute square \(|\psi|^{2}\) is the same for \(\psi\) and for \(-\psi\), so a wave function and its negative describe the same state.

3 The uncertainty principle

A wave with one definite wavelength, \(A\,e^{ikx}\), has the same \(|\psi|^{2} = |A|^{2}\) everywhere. A particle with a definite momentum is therefore equally likely to be found anywhere, and nothing is known about its position. To build a wave function that is concentrated near one point, waves of different wavelengths must be added, as in the beats of Unit 1, so that they reinforce near that point and cancel elsewhere. The narrower the bump, the wider the range of wavelengths needed, which means the wider the range of momenta. Werner Heisenberg (1901-1976) put a number on this trade-off in 1927.

The principle is a property of waves and would hold with perfect instruments. A sound of one exact pitch has to last forever, and a short click contains many pitches; the relation between the length of a signal and the spread of its frequencies is the same mathematics, and it was known in the theory of waves before Heisenberg applied it to matter. What is new is that \(p = \hbar k\) turns a spread in wavenumber into a spread in momentum.

4 The Schrödinger equation and the particle in a box

A wave needs a wave equation, and the one for the matter wave was found by Erwin Schrödinger (1887-1961) in the first weeks of 1926. For a particle whose energy \(E\) does not change in time it reads as follows.

The equation is easier to read than it looks. For the wave \(\psi = A\,e^{ikx}\) of a free particle, one on which no force acts, so that \(V = 0\), differentiating twice brings down the factor \((ik)^{2} = -k^{2}\), so the first term is \((\hbar^{2}k^{2}/2m)\,\psi = (p^{2}/2m)\,\psi\), which is the kinetic energy times \(\psi\). The equation therefore says, point by point, that kinetic energy plus potential energy equals the total energy, and it says it in a form that applies to waves. The equation can be read as a rule for the curvature, \(\dd^{2}\psi/\dd x^{2} = -(2m/\hbar^{2})(E - V)\,\psi\). Where \(V\) is below \(E\) the curvature has the opposite sign to \(\psi\), so the wave function curves toward the axis and oscillates, with a shorter wavelength where the kinetic energy is larger; where \(V\) is above \(E\) the curvature has the same sign as \(\psi\), so it curves away from the axis and dies off, which is the region a classical particle could never enter.

The simplest case with a wall is the particle in a box, a particle that is free between \(x = 0\) and \(x = L\) and cannot leave, so that \(V = 0\) inside and \(V = \infty\) at the walls. A wave function cannot exist where the potential energy is infinite, because the particle would need an infinite energy to be there, so it must vanish at the walls, \(\psi(0) = \psi(L) = 0\). This is exactly the condition of a guitar string fixed at both ends, and the result is the same. Only waves that fit a whole number of half wavelengths between the walls survive, as Unit 6 derives for the string, and because the wavelength fixes the momentum and the momentum fixes the energy, only certain energies are allowed.

The first four wave functions of a particle in a box, each drawn on its own energy level. The wave function \(\psi_{n}\) has \(n\) half wavelengths b…
Figure 2. The first four wave functions of a particle in a box, each drawn on its own energy level. The wave function \(\psi_{n}\) has \(n\) half wavelengths between the walls and \(n - 1\) points inside the box where it is zero, called nodes. The energies are \(E_{1}\), \(4E_{1}\), \(9E_{1}\), and \(16E_{1}\), computed from the key equation.

The lowest state has \(n = 1\), so a confined particle always moves, with the energy \(E_{1} = h^{2}/8mL^{2}\), which is the uncertainty principle of Section 3 in another form. And because \(E_{n}\) is proportional to \(1/mL^{2}\), the steps between the levels shrink rapidly for larger and heavier objects. For example, an electron confined to a box of \(L = 1\unit{nm}\) has, with \(c^{2}\) inserted above and below as in the hydrogen example, \(E_{1} = (hc)^{2}/(8mc^{2}L^{2}) = (1240\unit{eV\,nm})^{2}/(8\times511\,000\unit{eV}\times1\unit{nm^{2}}) = 0.376\unit{eV}\) and \(E_{2} = 1.50\unit{eV}\), so a jump from \(n = 2\) to \(n = 1\) emits a photon of \(1.13\unit{eV}\) in the near infrared, and this is the right order of magnitude for the colours of dye molecules, whose electrons are confined along a chain of atoms about a nanometre long. A marble of \(10\unit{g}\) in a box of \(10\unit{cm}\), on the other hand, has \(E_{1} = 5\times10^{-64}\unit{J}\), and its levels are so close together that no experiment could tell them apart.

The standing waves of Figure 2 can be made visible. Ernst Chladni (1756-1827) sprinkled sand on a metal plate, held it at one point, and drew a violin bow along its edge. The plate vibrates in one of its allowed patterns, and the sand is shaken off the moving parts and collects along the lines that stay at rest, the nodal lines (Figure 3). A different pattern appears for each frequency at which the plate can resonate, and only those frequencies sound. The plate is a two-dimensional cousin of the box, with the same rule at work, that a confined wave can take only certain shapes and therefore only certain energies.

Four Chladni plates of different shapes, each vibrating in one of its patterns, with sand gathered along the nodal lines where the plate does not mov…
Figure 3. Four Chladni plates of different shapes, each vibrating in one of its patterns, with sand gathered along the nodal lines where the plate does not move. Credit: Estes Objethos Atelier and Rodrigo Tet, Matemateca IME-USP, Wikimedia Commons, CC BY-SA 4.0.

5 The harmonic oscillator

Unit 1 described the mass on a spring, which obeys \(F = -\kappa x\) with the spring constant \(\kappa\) and swings as \(x = A\cos(\omega t + \varphi)\) with the angular frequency \(\omega = \sqrt{\kappa/m}\). Its potential energy is \(V(x) = \tfrac12\kappa x^{2} = \tfrac12 m\omega^{2}x^{2}\), a parabola, and its total energy \(E = \tfrac12 m\omega^{2}A^{2}\) can be anything, because the amplitude \(A\) can be anything. The system matters far beyond springs, for a reason that the series of Unit 1 supply. Near a minimum of any potential energy, the curve is approximately a parabola, because the slope is zero at the minimum, so the first term of the series in powers of the displacement that can bend the curve is the one with \(x^{2}\) (this series is called the Taylor expansion of the function), and for small displacements the higher powers are negligible. Every small vibration in nature, of an atom in a molecule, of an atom in a crystal, of the electromagnetic field in a cavity, and of a string in Unit 7, is a harmonic oscillator, and the quantum version is the one problem that must be solved completely.

Putting the parabola into the Schrödinger equation gives \(-(\hbar^{2}/2m)\,\psi'' + \tfrac12 m\omega^{2}x^{2}\psi = E\psi\), where the two primes denote the second derivative. The potential energy rises on both sides, so the wave function is trapped as in the box, with soft walls instead of hard ones, and again only certain energies are allowed, which this time form the most regular ladder in physics.

That the bell curve solves the equation can be checked by differentiating it twice, and the derivation box does this. The higher states are the same bell curve multiplied by a polynomial of degree \(n\), named after the mathematician Charles Hermite (1822-1901), and each has \(n\) nodes, as Figure 4 shows.

The parabolic potential of the harmonic oscillator, its first four energy levels, and the wave functions \(\psi_{0}\) to \(\psi_{3}\) drawn on their …
Figure 4. The parabolic potential of the harmonic oscillator, its first four energy levels, and the wave functions \(\psi_{0}\) to \(\psi_{3}\) drawn on their levels, computed from the Hermite polynomials. The dashed lines mark the range a classical oscillator of the same energy would cover; the wave functions reach beyond it into the region the classical particle cannot enter, where they decay.

The zero-point energy is the uncertainty principle again. A particle sitting at rest at the bottom of the parabola would have \(\Delta x = 0\) and \(\Delta p = 0\) at once, which no state can achieve. The ground state is the compromise, with a spread \(x_{0}/\sqrt{2}\) in position and \(\hbar/(\sqrt{2}x_{0})\) in momentum, whose product is \(\hbar/2\), exactly the minimum the principle allows. The energy \(\tfrac12\hbar\omega\) cannot be removed by cooling, because there is no lower state to cool into, and yet it has observable effects. Helium stays liquid down to absolute zero at ordinary pressure because the zero-point motion of its light atoms is too large for a crystal to hold them, and solid helium forms only under a pressure of some 25 atmospheres, 25 times that of the air around us. The research spotlight at the end of this section describes a direct measurement.

5.1 Ladder operators

The equation can be solved without any polynomial, by a method that Unit 7 applies to every mode of a string and that is therefore worth learning here with care. It needs the idea of an operator, which is a rule that turns one function into another. Multiplying a wave function by \(x\) is an operator, written \(\hat{x}\), and taking the derivative is another. The momentum operator is \[ \hat{p} = -i\hbar\,\frac{\dd}{\dd x} , \] because acting on the wave \(e^{ikx}\) of definite momentum it gives \(-i\hbar\,(ik)\,e^{ikx} = \hbar k\,e^{ikx} = p\,e^{ikx}\), the momentum times the wave. The Schrödinger equation is then \(\hat{H}\psi = E\psi\) with the energy operator \(\hat{H} = \hat{p}^{2}/2m + \tfrac12 m\omega^{2}\hat{x}^{2}\), which is called the Hamiltonian; here \(\hat{p}^{2}\) means \(\hat{p}\) applied twice, which gives \(-\hbar^{2}\,\dd^{2}/\dd x^{2}\), the first term of the Schrödinger equation.

Operators have one property that numbers lack. The order in which two of them act can matter. Applying first \(\hat{p}\) and then \(\hat{x}\) to a function \(\psi\) gives \(-i\hbar\,x\,\psi'\); applying first \(\hat{x}\) and then \(\hat{p}\) gives \(-i\hbar\,(x\psi)' = -i\hbar\,(\psi + x\psi')\) by the product rule. The second result minus the first is \(i\hbar\,\psi\), whatever \(\psi\) is, and this difference is written as a commutator, \begin{equation} [\hat{x}, \hat{p}] = \hat{x}\hat{p} - \hat{p}\hat{x} = i\hbar . \label{eq:xp} \end{equation} A great deal of quantum mechanics is contained in this one relation; the uncertainty principle follows from it, and so does the oscillator ladder. The trick is to combine \(\hat{x}\) and \(\hat{p}\) into one operator and its conjugate, \begin{equation} a = \sqrt{\frac{m\omega}{2\hbar}}\left(\hat{x} + \frac{i\hat{p}}{m\omega}\right) , \qquad a^{\dagger} = \sqrt{\frac{m\omega}{2\hbar}}\left(\hat{x} - \frac{i\hat{p}}{m\omega}\right) , \label{eq:adef} \end{equation} where the dagger marks the Hermitian conjugate (also called the adjoint) of an operator, obtained by replacing \(i\) with \(-i\) and, for a product of operators, reversing their order. The derivation box shows what these two operators do; the result is the key equation.

The ladder of states of the harmonic oscillator. The raising operator \(a^{\dagger}\) climbs one rung and the lowering operator \(a\) descends one, e…
Figure 5. The ladder of states of the harmonic oscillator. The raising operator \(a^{\dagger}\) climbs one rung and the lowering operator \(a\) descends one, each with the factor shown; the lowering operator applied to the ground state gives zero, so the ladder has a bottom and no top.

The method is worth more than the result, because nothing in the derivation used the shape of the wave functions; the whole spectrum came out of the one commutator \eqref{eq:xp} and the requirement that the energy be positive. Unit 7 will have an infinite set of such oscillators, one for each mode of a string, with a pair \(a_{n}\), \(a^{\dagger}_{n}\) for each, and the states of the string will be built by applying raising operators to a ground state, exactly as here. The number \(n\) also has a second reading that Unit 4 makes precise. Instead of saying that one oscillator is in its \(n\)th state, one can say that it holds \(n\) quanta of energy \(\hbar\omega\), and \(a^{\dagger}\) then creates a quantum while \(a\) destroys one. In the oscillators of a quantum field, those quanta are the particles.

6 Spin, bosons, and fermions

A particle has one more quantum property that a wave function of position does not show. In 1922 Otto Stern (1888-1969) and Walther Gerlach (1889-1979) sent a beam of silver atoms through a magnetic field that varied strongly across the beam, so that any magnetic atom would be deflected according to the orientation of its magnetism. A classical magnet can point in any direction, so the beam should have spread out into a continuous band. Instead it split cleanly into two spots. The atom’s magnetism, which comes from its outermost electron, can take only two orientations in a field, up or down, and nothing in between. The property behind this is the spin of the electron, an angular momentum that every electron carries of its own, called intrinsic because it belongs to the particle itself and not to any motion around something else, and whose component along any chosen axis can take only the two values \(+\tfrac12\hbar\) and \(-\tfrac12\hbar\). The name is historical, since nothing in the electron turns; spin is a quantum number like \(n\), with no classical counterpart.

Every kind of particle has a spin, always an integer or half-integer multiple of \(\hbar\), and the value divides the particles of nature into two families with opposite social behaviour. Particles with half-integer spin (\(\tfrac12\), \(\tfrac32\), …) are called fermions, after Enrico Fermi (1901-1954); electrons, protons, neutrons, quarks, and neutrinos are fermions with spin \(\tfrac12\). Particles with integer spin (\(0\), \(1\), \(2\), …) are called bosons, after Satyendra Nath Bose (1894-1974); the photon has spin \(1\), and so do the other carriers of forces that Unit 4 introduces, the Higgs boson has spin \(0\), and the graviton, the quantum of gravity that Unit 7 finds among the states of a closed string, has spin \(2\). The rule that goes with the division was found by Wolfgang Pauli (1900-1958) in 1925, before spin itself was understood.

The principle is the reason matter has structure. In an atom, each state of the electron can hold two electrons, one of each spin, so the electrons of a heavier atom are forced into higher and higher states instead of all collapsing into the lowest one; the shells that result are the rows of the periodic table, and chemistry is the study of their outermost occupants. The same rule keeps the electrons of a white dwarf, the burnt-out remnant of a star like the Sun, from being crushed together and holds up the star against its own gravity. Bosons do the opposite. Because they like to share a state, the photons of a laser all occupy one and the same mode, which is why laser light is so pure, and atoms with integer spin cooled to less than a millionth of a degree above absolute zero crowd into one wave function and form what is called a Bose-Einstein condensate, first made in 1995.

For string theory the two families are a demand on the theory. A string whose vibrations describe only bosons cannot describe electrons or quarks, and the theory that contains fermions as well needs a symmetry that pairs every boson with a fermion, called supersymmetry, which lies beyond the Foundation units. The oscillators of this unit are the bosonic half of that story; each of their quanta can pile up without limit on one mode, exactly as the key equation of the ladder allows.

This is one of 16 units

Participants also get the quiz, the further reading, and the final exam.
See the Tuition Fee