Lesson 7: The harmonic oscillator

Keywords : Harmonic oscillator, Ladder operators, Number operator, Ground-state energy, Hermite functions

The harmonic oscillator is undoubtedly the most important model in the whole of physics, both classical and quantum. The reason is simple: near a stable minimum, any regular potential resembles a parabola. The small oscillations of a pendulum, the vibrations of atoms about their equilibrium positions in a molecule or a crystal, and even, as we shall see much later, the modes of the electromagnetic field, are all described, to a first approximation, by a harmonic oscillator.

In this lesson, we shall calculate its spectrum and eigenstates. We could proceed as we did for the wells in the previous lesson, by solving the stationary differential equation. Instead, we shall follow an algebraic method, due to Dirac, which is both more elegant and more instructive. It is based on factorising the Hamiltonian using two operators, known as ladder operators, which allow us to move from one energy level to the next. We shall see that the positivity of certain operators, a direct consequence of the notion of adjoint, is enough to determine the spectrum completely. We shall return to the position-space representation only at the end, to write the wave functions explicitly, and shall then recover the Hermite functions already encountered in Theme 2.

1. The model

1.1. The neighbourhood of a minimum

Let us work in one dimension, and consider a regular potential V(x)V(x) with a minimum at x0x_0, where V′(x0)=0V'(x_0)=0 and V"(x0)>0V"(x_0)>0. The Taylor expansion near this point is

V(x0+q)=V(x0)+12V"(x0) q2+O(q3).V(x_0+q)=V(x_0)+\frac12V"(x_0)\,q^2+O(q^3).

The linear term is absent because x0x_0 is a minimum. Let us choose the origin of position at x0x_0 and the origin of energy at V(x0)V(x_0). If the particle remains sufficiently close to the minimum for higher-order terms to be negligible, its Hamiltonian is that of a harmonic oscillator:

H^=P^22m+12mω2X^2,ω=V"(x0)m\boxed{\hat H=\frac{\hat P^2}{2m}+\frac12m\omega^2\hat X^2, \qquad \omega=\sqrt{\frac{V"(x_0)}{m}}}
(1)

The angular frequency ω\omega is that of small classical oscillations about the minimum. In what follows, we shall treat this Hamiltonian as exact. When it is used to approximate another potential, however, one must bear in mind that the approximation becomes less accurate for highly excited states, which explore regions farther from the minimum where higher-order terms, known as anharmonic terms, are no longer negligible.

1.2. The natural scales

Before beginning any calculation, it is useful to identify the scales of the problem. They are fixed by the three constants mm, ω\omega and ℏ\hbar, from which one can form only a single energy, ℏω\hbar\omega, and a single length,

ℓ=ℏmω.\ell=\sqrt{\frac{\hbar}{m\omega}} .
(2)

We can go further and estimate the ground-state energy using the uncertainty relation. In a state with standard deviations σX\sigma_X and σP\sigma_P, and expectation values equal to zero by symmetry, the expectation value of the energy is

⟨H^⟩=σP22m+12mω2σX2≥ℏ28mσX2+12mω2σX2,\langle\hat H\rangle=\frac{\sigma_P^2}{2m}+\frac12m\omega^2\sigma_X^2 \geq\frac{\hbar^2}{8m\sigma_X^2}+\frac12m\omega^2\sigma_X^2,

where we have used σP≥ℏ/(2σX)\sigma_P\geq\hbar/(2\sigma_X). The first term, the kinetic term, penalises excessively strong localisation; the second, the potential term, penalises excessive spreading. The minimum of the right-hand side as a function of σX\sigma_X is attained for σX2=ℏ/(2mω)=ℓ2/2\sigma_X^2=\hbar/(2m\omega)=\ell^2/2, and is exactly ℏω/2\hbar\omega/2 (check this!). No state can therefore have an expectation value of the energy below ℏω/2\hbar\omega/2. We shall see that this bound is attained: it is the exact ground-state energy. The particle cannot be at rest at the bottom of the well, for the same reason as in the infinite well of Lesson 6.

For what follows, it is convenient to measure lengths in units of ℓ\ell and momenta in units of ℏ/ℓ\hbar/\ell. Introduce the dimensionless operators

X~=X^ℓ,P~=ℓ P^ℏ.\tilde X=\frac{\hat X}{\ell},\qquad \tilde P=\frac{\ell\,\hat P}{\hbar}.

The canonical relation [X^,P^]=iℏ1[\hat X,\hat P]=i\hbar\mathbf{1} becomes [X~,P~]=i1[\tilde X,\tilde P]=i\mathbf{1}, and the Hamiltonian takes the highly symmetric form

H^=ℏω2(X~2+P~2).\hat H=\frac{\hbar\omega}{2}\bigl(\tilde X^2+\tilde P^2\bigr).
(3)

2. Ladder operators

2.1. The idea of factorisation

For real numbers xx and pp, we would factorise the sum of two squares using complex numbers: x2+p2=(x−ip)(x+ip)x^2+p^2=(x-ip)(x+ip). Let us try to do the same with the operators X~\tilde X and P~\tilde P. Since they do not commute, we must carefully preserve the order of the factors when expanding:

(X~−iP~)(X~+iP~)=X~2+P~2+i(X~P~−P~X~)=X~2+P~2+i[X~,P~]=X~2+P~2−1.(\tilde X-i\tilde P)(\tilde X+i\tilde P)=\tilde X^2+\tilde P^2+i\bigl(\tilde X\tilde P-\tilde P\tilde X\bigr) =\tilde X^2+\tilde P^2+i[\tilde X,\tilde P]=\tilde X^2+\tilde P^2-\mathbf{1}.

Thus the factorisation works up to a constant term, which arises from the commutator. Reversing the order of the factors similarly gives (X~+iP~)(X~−iP~)=X~2+P~2+1(\tilde X+i\tilde P)(\tilde X-i\tilde P)=\tilde X^2+\tilde P^2+\mathbf{1}. It is precisely this small difference between the two orders that will generate the entire structure of the spectrum.

Definition 1 (Ladder operators)
The annihilation operator aa, the creation operator a†a^\dagger and the number operator NN are defined by

a=X~+iP~2=12(X^ℓ+iℓP^ℏ),a†=X~−iP~2,N=a†a.a=\frac{\tilde X+i\tilde P}{\sqrt2} =\frac1{\sqrt2}\left(\frac{\hat X}{\ell}+i\frac{\ell\hat P}{\hbar}\right), \qquad a^\dagger=\frac{\tilde X-i\tilde P}{\sqrt2}, \qquad N=a^\dagger a .
(4)

To lighten the notation, we do not place hats on these new operators. The factor 1/21/\sqrt2 is chosen to simplify the commutator below, and the names given to these operators will be justified by their properties. Note that a†a^\dagger is indeed the adjoint of aa: since X~\tilde X and P~\tilde P are self-adjoint, taking the adjoint merely conjugates the factor ii. In contrast, aa is not self-adjoint, and therefore does not represent an observable. Nor is it a unitary operator: a†a^\dagger is not the inverse of aa.

Remark 1 (The domain of the calculations)
The operators aa and a†a^\dagger are unbounded, like X^\hat X and P^\hat P. All the products and commutators in this lesson are calculated on the Schwartz space introduced in Lesson 4, which is invariant under X^\hat X, P^\hat P, aa and a†a^\dagger; all the eigenstates that we shall construct belong to it. We shall therefore not have to concern ourselves with domain issues.

2.2. The oscillator algebra

Proposition 1 (Oscillator algebra)
The ladder operators satisfy

[a,a†]=1,H^=ℏω(N+12),[N,a]=−a,[N,a†]=a†\boxed{[a,a^\dagger]=\mathbf{1},\qquad \hat H=\hbar\omega\left(N+\frac12\right),\qquad [N,a]=-a,\qquad [N,a^\dagger]=a^\dagger}
(5)

Proof.
The two products calculated above give, with the factor 1/21/2 arising from the definition, a†a=12(X~2+P~2−1),aa†=12(X~2+P~2+1).a^\dagger a=\frac12\bigl(\tilde X^2+\tilde P^2-\mathbf{1}\bigr),\qquad aa^\dagger=\frac12\bigl(\tilde X^2+\tilde P^2+\mathbf{1}\bigr).

Their difference gives the first commutator. The first equality also gives X~2+P~2=2N+1\tilde X^2+\tilde P^2=2N+\mathbf{1}, and substituting this into (3) yields the expression for H^\hat H. For the last two commutators, use the rule [AB,C]=A[B,C]+[A,C]B[AB,C]=A[B,C]+[A,C]B:

[N,a]=[a†a,a]=a†[a,a]+[a†,a] a=−a,[N,a†]=[a†a,a†]=a†[a,a†]+[a†,a†] a=a†.[N,a]=[a^\dagger a,a]=a^\dagger[a,a]+[a^\dagger,a]\,a=-a, \qquad [N,a^\dagger]=[a^\dagger a,a^\dagger]=a^\dagger[a,a^\dagger]+[a^\dagger,a^\dagger]\,a=a^\dagger .

Thus, up to a constant, the Hamiltonian is the operator NN. Diagonalising H^\hat H amounts to diagonalising NN: if N∣λ⟩=λ∣λ⟩N\ket\lambda=\lambda\ket\lambda, then ∣λ⟩\ket\lambda is an eigenstate with energy ℏω(λ+1/2)\hbar\omega(\lambda+1/2). The rest of the argument consists in determining the possible values of λ\lambda, using only relations (5).

3. The spectrum

3.1. Positivity of the number operator

A first piece of information follows directly from the definition of NN as the product of an operator and its adjoint. For any state ∣ψ⟩\ket\psi,

⟨ψ∣N∣ψ⟩=⟨ψ∣a†a∣ψ⟩=⟨aψ|aψ⟩=∥a∣ψ⟩∥2≥0.\bra\psi N\ket\psi=\bra\psi a^\dagger a\ket\psi=\braket{a\psi}{a\psi}=\norm{a\ket\psi}^2\geq0 .

The operator NN is therefore positive. In particular, its eigenvalues are non-negative: if N∣λ⟩=λ∣λ⟩N\ket\lambda=\lambda\ket\lambda with ∣λ⟩\ket\lambda normalised, then λ=⟨λ∣N∣λ⟩≥0\lambda=\bra\lambda N\ket\lambda\geq0. We thus recover, exactly, the bound ⟨H^⟩≥ℏω/2\langle\hat H\rangle\geq\hbar\omega/2 obtained above from the uncertainty relation.

3.2. Moving up and down the ladder

Now take a normalised eigenstate ∣λ⟩\ket\lambda of NN, and consider what becomes of a∣λ⟩a\ket\lambda and a†∣λ⟩a^\dagger\ket\lambda. The commutator [N,a]=−a[N,a]=-a may be written Na=aN−aNa=aN-a, so that

N(a∣λ⟩)=aN∣λ⟩−a∣λ⟩=(λ−1) a∣λ⟩.N\bigl(a\ket\lambda\bigr)=aN\ket\lambda-a\ket\lambda=(\lambda-1)\,a\ket\lambda .

Thus, if a∣λ⟩a\ket\lambda is not the zero vector, it is an eigenstate of NN with eigenvalue λ−1\lambda-1. Similarly, Na†=a†N+a†Na^\dagger=a^\dagger N+a^\dagger gives

N(a†∣λ⟩)=(λ+1) a†∣λ⟩.N\bigl(a^\dagger\ket\lambda\bigr)=(\lambda+1)\,a^\dagger\ket\lambda .

The operator aa therefore moves one step down the ladder of eigenvalues, that is, it lowers the energy by one quantum ℏω\hbar\omega, while a†a^\dagger moves it up one step. This is the origin of the name ladder operators, and of their names as annihilation and creation operators for a quantum of energy.

It is also important to know the norm of the resulting vectors. Once again, it is calculated using the adjoint:

∥a∣λ⟩∥2=⟨λ∣a†a∣λ⟩=λ,∥a†∣λ⟩∥2=⟨λ∣aa†∣λ⟩=⟨λ∣(N+1)∣λ⟩=λ+1,\norm{a\ket\lambda}^2=\bra\lambda a^\dagger a\ket\lambda=\lambda, \qquad \norm{a^\dagger\ket\lambda}^2=\bra\lambda aa^\dagger\ket\lambda=\bra\lambda(N+\mathbf{1})\ket\lambda=\lambda+1,
(6)

where we have used aa†=a†a+1aa^\dagger=a^\dagger a+\mathbf{1}. These two formulae have an important consequence: the lowered state a∣λ⟩a\ket\lambda is zero if and only if λ=0\lambda=0, whereas the raised state a†∣λ⟩a^\dagger\ket\lambda is never zero. One can therefore never be stopped while moving up the ladder, but one can be stopped while moving down it, and only at the level λ=0\lambda=0.

3.3. An integer spectrum

We can now determine the possible eigenvalues. The idea is simple: starting from an eigenvalue λ\lambda and moving down the ladder gives the values λ−1\lambda-1, λ−2\lambda-2, and so on, which would eventually become negative, something forbidden by the positivity of NN. The descent must therefore stop, and it can do so only on reaching exactly zero.

Proposition 2 (Eigenvalues of the number operator)
The eigenvalues of NN are non-negative integers.
Proof.
Let ∣λ⟩\ket\lambda be a normalised eigenstate, with λ≥0\lambda\geq0. Applying the operator aa rr times, and using the norm formula (6) at each step, gives ∥ar∣λ⟩∥2=λ(λ−1)(λ−2)⋯(λ−r+1),\norm{a^r\ket\lambda}^2=\lambda(\lambda-1)(\lambda-2)\cdots(\lambda-r+1),

as long as the intermediate vectors are non-zero. Suppose that λ\lambda is not an integer. There is then an integer p≥0p\geq0 such that p<λ<p+1p<\lambda<p+1. For r=p+1r=p+1, all the factors in the product are strictly positive, and the vector ap+1∣λ⟩a^{p+1}\ket\lambda is non-zero. It is therefore an eigenstate of NN, with eigenvalue λ−p−1<0\lambda-p-1<0, contradicting the positivity of NN. Thus λ\lambda is an integer nn. In this case, the factor (λ−n)(\lambda-n) is zero in the norm of an+1∣λ⟩a^{n+1}\ket\lambda: after nn steps the descent reaches a non-zero vector with eigenvalue zero, and the next step gives the zero vector.

Note the power of this argument: we have used only the commutation relation and positivity, without ever writing a differential equation. The argument does not yet prove, however, that every integer is indeed an eigenvalue, nor that there is only one eigenstate for each eigenvalue, nor that these states form a basis. These three points require us to construct the ground state explicitly, which we shall do in the position-space representation.

The ladder operators connect neighbouring states. The numbers alongside the arrows are the norm factors. The upward progression continues indefinitely. Moving down from the ground state gives the zero vector, not a state of lower energy.
Figure 1. The ladder operators connect neighbouring states. The numbers alongside the arrows are the norm factors. The upward progression continues indefinitely. Moving down from the ground state gives the zero vector, not a state of lower energy.

4. The ground state

The bottom of the ladder is a state ∣0⟩\ket0 with eigenvalue 00. By (6), ∥a∣0⟩∥2=0\norm{a\ket0}^2=0, and it is therefore characterised by

a∣0⟩=0.a\ket0=0 .
(7)

The right-hand side is the zero vector, not a physical state: the equation simply expresses the fact that there is no lower level. Conversely, any state satisfying (7) satisfies N∣0⟩=a†a∣0⟩=0N\ket0=a^\dagger a\ket0=0.

To solve this equation, move to the position-space representation, where P^=−iℏ d/dx\hat P=-i\hbar\,d/dx. From definition (4), we have iℓP^/ℏ=ℓ d/dxi\ell\hat P/\hbar=\ell\,d/dx, and the ladder operators become first-order differential operators:

a=12(xℓ+ℓddx),a†=12(xℓ−ℓddx).a=\frac1{\sqrt2}\left(\frac x\ell+\ell\frac{d}{dx}\right), \qquad a^\dagger=\frac1{\sqrt2}\left(\frac x\ell-\ell\frac{d}{dx}\right).
(8)

The ground-state equation is therefore the first-order differential equation

φ0′(x)+xℓ2 φ0(x)=0.\phi_0'(x)+\frac{x}{\ell^2}\,\phi_0(x)=0 .

This is the entire advantage of the factorisation: instead of solving the stationary Schrödinger equation, which is second order, it is enough to solve a first-order equation, which can be integrated immediately.

Proposition 3 (Ground state)
Up to a phase, there is a unique normalised state annihilated by aa:

φ0(x)=1π1/4ℓe−x2/(2ℓ2)\boxed{\phi_0(x)=\frac{1}{\pi^{1/4}\sqrt\ell} e^{-x^2/(2\ell^2)}}
(9)

It is an eigenstate of the Hamiltonian, with energy E0=ℏω/2E_0=\hbar\omega/2.

Proof.
Multiplying the equation by ex2/(2ℓ2)e^{x^2/(2\ell^2)} reveals an exact derivative: ddx(ex2/(2ℓ2) φ0(x))=ex2/(2ℓ2)(φ0′+xℓ2φ0)=0.\frac{d}{dx}\Bigl(e^{x^2/(2\ell^2)}\,\phi_0(x)\Bigr)=e^{x^2/(2\ell^2)}\Bigl(\phi_0'+\frac{x}{\ell^2}\phi_0\Bigr)=0 .

Thus φ0(x)=C e−x2/(2ℓ2)\phi_0(x)=C\,e^{-x^2/(2\ell^2)}, and all solutions are proportional. This Gaussian is square-integrable, and the normalisation condition

1=∣C∣2∫Re−x2/ℓ2 dx=∣C∣2π ℓ1=|C|^2\int_\R e^{-x^2/\ell^2}\,dx=|C|^2\sqrt\pi\,\ell

fixes ∣C∣|C|; we choose CC to be real and positive. Finally, aφ0=0a\phi_0=0 implies Nφ0=0N\phi_0=0, and then H^φ0=ℏω2φ0\hat H\phi_0=\frac{\hbar\omega}{2}\phi_0.

The ground state is therefore a Gaussian of width ℓ\ell. Its probability density ∣φ0∣2∝e−x2/ℓ2|\phi_0|^2\propto e^{-x^2/\ell^2} has standard deviation σX=ℓ/2\sigma_X=\ell/\sqrt2, which is the value that minimised the energy in our estimate based on the uncertainty relation. It is a Gaussian packet of the type studied in Lesson 4, with x0=p0=0x_0=p_0=0 and σ0=ℓ/2\sigma_0=\ell/\sqrt2, and is therefore a minimum-uncertainty state.

For an electron, an atom or a molecule, ℓ\ell is typically of the order of a fraction of an ångström to a few ångströms. For a laboratory pendulum, by contrast, ℓ\ell is absurdly small: with m=1m=1 kg and ω=1\omega=1 rad s−1^{-1}, one finds ℓ≈10−17\ell\approx10^{-17} m, and the zero-point energy ℏω/2\hbar\omega/2 is entirely unobservable.

5. Excited states

5.1. Recursive construction

Starting from the normalised ground state ∣0⟩\ket0, let us move up the ladder. The vector a†∣0⟩a^\dagger\ket0 is an eigenstate of NN with eigenvalue 11, and its norm is 0+1=1\sqrt{0+1}=1 by (6). We may therefore set ∣1⟩=a†∣0⟩\ket1=a^\dagger\ket0. The next vector, a†∣1⟩a^\dagger\ket1, has eigenvalue 22, but its norm is 2\sqrt2: to obtain a normalised state, we must divide by this factor, and

∣2⟩=12 a†∣1⟩=12 (a†)2∣0⟩.\ket2=\frac{1}{\sqrt2}\,a^\dagger\ket1=\frac{1}{\sqrt{2}}\,(a^\dagger)^2\ket0 .

Similarly, ∣3⟩=13a†∣2⟩=13!(a†)3∣0⟩\ket3=\frac{1}{\sqrt3}a^\dagger\ket2=\frac{1}{\sqrt{3!}}(a^\dagger)^3\ket0, and so on. The factorial that appears is not a convention: it compensates for the norms accumulated at each upward step.

Theorem 1 (Spectrum of the harmonic oscillator)
The states

∣n⟩=(a†)nn!∣0⟩,n=0,1,2,...\boxed{\ket n=\frac{(a^\dagger)^n}{\sqrt{n!}}\ket0,\qquad n=0,1,2,...}
(10)

are orthonormal and satisfy

a†∣n⟩=n+1∣n+1⟩,a∣n⟩=n∣n−1⟩,N∣n⟩=n∣n⟩\boxed{a^\dagger\ket n=\sqrt{n+1} \ket{n+1},\qquad a\ket n=\sqrt n \ket{n-1},\qquad N\ket n=n\ket n}
(11)

with the convention a∣0⟩=0a\ket0=0. They are eigenstates of the Hamiltonian, with energies

En=ℏω(n+12)\boxed{E_n=\hbar\omega\left(n+\frac12\right)}
(12)

They form a Hilbert basis of L2(R)L^2(\R). The spectrum of the Hamiltonian is the set of these levels, all of which are non-degenerate.

Proof.
The raising relation follows from the construction: if ∣n⟩\ket n is normalised and is an eigenstate of NN with eigenvalue nn, the vector a†∣n⟩a^\dagger\ket n is an eigenstate with eigenvalue n+1n+1 and has norm n+1\sqrt{n+1}, hence ∣n+1⟩=a†∣n⟩/n+1\ket{n+1}=a^\dagger\ket n/\sqrt{n+1} and formula (10) follows by recursion. For the lowering relation, write ∣n⟩=a†∣n−1⟩/n\ket n=a^\dagger\ket{n-1}/\sqrt n and use aa†=N+1aa^\dagger=N+\mathbf{1}: a∣n⟩=1n aa†∣n−1⟩=1n (N+1)∣n−1⟩=nn∣n−1⟩=n ∣n−1⟩.a\ket n=\frac{1}{\sqrt n}\,aa^\dagger\ket{n-1}=\frac{1}{\sqrt n}\,(N+\mathbf{1})\ket{n-1}=\frac{n}{\sqrt n}\ket{n-1}=\sqrt n\,\ket{n-1}.

The states ∣n⟩\ket n are eigenvectors of the self-adjoint operator NN associated with distinct eigenvalues: they are orthogonal, and normalised by construction.

Let us show that there is no other eigenstate. Let ∣ψ⟩\ket\psi be an eigenstate of NN; its eigenvalue is an integer nn by Proposition 2, and an∣ψ⟩a^n\ket\psi is a non-zero eigenstate with eigenvalue zero. It is therefore annihilated by aa, and proportional to ∣0⟩\ket0 by uniqueness of the ground state. Applying (a†)n(a^\dagger)^n, we find that (a†)nan∣ψ⟩(a^\dagger)^na^n\ket\psi is proportional to ∣n⟩\ket n; by induction, starting from a†a=Na^\dagger a=N and Na=a(N−1)Na=a(N-\mathbf{1}), one verifies that (a†)kak=N(N−1)⋯(N−(k−1)1)(a^\dagger)^ka^k=N(N-\mathbf{1})\cdots(N-(k-1)\mathbf{1}), so that (a†)nan(a^\dagger)^na^n acts on an eigenstate of eigenvalue nn as multiplication by n!≠0n!\neq0. Thus ∣ψ⟩\ket\psi is proportional to ∣n⟩\ket n: each level is non-degenerate.

Finally, the wave functions of the states ∣n⟩\ket n are the Hermite functions, which we write explicitly below. Their completeness in L2(R)L^2(\R) is a result from analysis, assumed in Theme 2. It guarantees that no state has been omitted, and hence that the Hamiltonian, diagonal in this basis with eigenvalues EnE_n, has no other spectrum.

The harmonic potential and its first five levels. The vertical axis is marked in units of . The levels are equally spaced, and the ground state lies above the minimum of the potential.
Figure 2. The harmonic potential and its first five levels. The vertical axis is marked in units of ℏω\hbar\omega. The levels are equally spaced, and the ground state lies above the minimum of the potential.

The spectrum of the oscillator has a remarkable structure: the levels are equally spaced, separated by En+1−En=ℏωE_{n+1}-E_n=\hbar\omega (Figure 2). This is very different from the infinite well, where the gaps increased as 2n+12n+1: the more slowly the potential widens, the closer together the levels become at high energy. The integer nn counts the number of quanta ℏω\hbar\omega above the ground state; hence the name number operator for NN. Note, however, that here these quanta are not particles. The model still describes a single particle in a potential, and nn simply indexes its energy levels. It is in quantum field theory that these quanta acquire the status of particles, for example photons for the modes of the electromagnetic field.

5.2. The wave functions

The excited states are obtained by repeatedly applying the differential operator a†a^\dagger to the Gaussian (9). In the dimensionless variable ξ=x/ℓ\xi=x/\ell, we have a†=(ξ−d/dξ)/2a^\dagger=(\xi-d/d\xi)/\sqrt2 and dφ0/dξ=−ξφ0d\phi_0/d\xi=-\xi\phi_0. Thus

φ1=a†φ0=12(ξφ0+ξφ0)=2 ξ φ0.\phi_1=a^\dagger\phi_0=\frac{1}{\sqrt2}\bigl(\xi\phi_0+\xi\phi_0\bigr)=\sqrt2\,\xi\,\phi_0 .

Repeating the operation, with ddξ(ξφ0)=(1−ξ2)φ0\frac{d}{d\xi}(\xi\phi_0)=(1-\xi^2)\phi_0, gives

φ2=12a†φ1=12(ξ2φ0−(1−ξ2)φ0)=2ξ2−12 φ0.\phi_2=\frac{1}{\sqrt2}a^\dagger\phi_1=\frac{1}{\sqrt2}\bigl(\xi^2\phi_0-(1-\xi^2)\phi_0\bigr)=\frac{2\xi^2-1}{\sqrt2}\,\phi_0 .

At each step, the same Gaussian is multiplied by a polynomial whose degree increases by one. The general formula involves the Hermite polynomials HnH_n, defined by the recurrence relation

H0(ξ)=1,H1(ξ)=2ξ,Hn+1(ξ)=2ξHn(ξ)−2nHn−1(ξ),H_0(\xi)=1,\qquad H_1(\xi)=2\xi,\qquad H_{n+1}(\xi)=2\xi H_n(\xi)-2nH_{n-1}(\xi),

which gives, for example, H2(ξ)=4ξ2−2H_2(\xi)=4\xi^2-2. It can be shown that

φn(x)=1π1/42nn!ℓHn ⁣(xℓ)e−x2/(2ℓ2),\phi_n(x)=\frac{1}{\pi^{1/4}\sqrt{2^n n! \ell}} H_n\!\left(\frac x\ell\right)e^{-x^2/(2\ell^2)},
(13)

as is readily verified for n=1n=1 and n=2n=2 using the preceding expressions. These are the Hermite functions that we presented in Theme 2 as an example of a Hilbert basis of L2(R)L^2(\R), noting that they were the eigenstates of the harmonic oscillator (Figure 3). The figure shows that φn\phi_n has nn nodes, like the states of the infinite well, and that it is even for even nn and odd for odd nn, as it must be for an even potential with non-degenerate levels (cf. Lesson 6).

Note also that the wave functions extend beyond the classically allowed region ∣x∣≤xn|x|\leq x_n, where xn=ℓ2n+1x_n=\ell\sqrt{2n+1} is the amplitude of a classical oscillation with energy EnE_n: as in the finite well, the wave function penetrates the forbidden region, where it decays as a Gaussian.

The first four Hermite functions. On the left, the amplitudes _n( )= \, _n( ); on the right, the densities | _n( )|^2, all with integral equal to 1.
Figure 3. The first four Hermite functions. On the left, the amplitudes φ~n(ξ)=ℓ φn(ℓξ)\widetilde\phi_n(\xi)=\sqrt\ell\,\phi_n(\ell\xi); on the right, the densities ∣φ~n(ξ)∣2|\widetilde\phi_n(\xi)|^2, all with integral equal to 11.

6. Expectation values and fluctuations

The algebraic method also makes it very easy to calculate expectation values, without ever calculating an integral. It is enough to invert definitions (4) to express position and momentum in terms of the ladder operators:

X^=ℓ2(a+a†),P^=ℏi2ℓ(a−a†).\hat X=\frac{\ell}{\sqrt2}\bigl(a+a^\dagger\bigr),\qquad \hat P=\frac{\hbar}{i\sqrt2 \ell}\bigl(a-a^\dagger\bigr).
(14)

By (11), these two operators connect a state ∣n⟩\ket n only to its immediate neighbours ∣n−1⟩\ket{n-1} and ∣n+1⟩\ket{n+1}. This is a selection rule that we shall encounter again: only the matrix elements ⟨n±1∣X^∣n⟩\bra{n\pm1}\hat X\ket n are non-zero.

Proposition 4 (Fluctuations in an eigenstate)
In the state ∣n⟩\ket n, the expectation values of position and momentum are zero, and

σX2=ℓ2(n+12),σP2=ℏ2ℓ2(n+12),σX σP=ℏ(n+12).\sigma_X^2=\ell^2\left(n+\frac12\right), \qquad \sigma_P^2=\frac{\hbar^2}{\ell^2}\left(n+\frac12\right), \qquad \sigma_X\,\sigma_P=\hbar\left(n+\frac12\right).

(15)

The ground state attains equality in the Heisenberg relation.

Proof.
The vectors a∣n⟩a\ket n and a†∣n⟩a^\dagger\ket n are proportional to ∣n−1⟩\ket{n-1} and ∣n+1⟩\ket{n+1}, which are orthogonal to ∣n⟩\ket n. The expectation values of X^\hat X and P^\hat P are therefore zero, and the variances are equal to the expectation values of their squares. For X^2\hat X^2, expand while preserving the order of the factors: X^2=ℓ22(a2+aa†+a†a+(a†)2).\hat X^2=\frac{\ell^2}{2}\left(a^2+aa^\dagger+a^\dagger a+(a^\dagger)^2\right).

The terms a2a^2 and (a†)2(a^\dagger)^2 change the level by two units and have zero expectation value in ∣n⟩\ket n. The two remaining terms are ⟨n∣aa†∣n⟩=n+1\bra naa^\dagger\ket n=n+1 and ⟨n∣a†a∣n⟩=n\bra na^\dagger a\ket n=n. Thus ⟨X^2⟩n=ℓ2(2n+1)/2\langle\hat X^2\rangle_n=\ell^2(2n+1)/2. For P^2\hat P^2, the factor (1/i)2=−1(1/i)^2=-1 changes the sign of the cross terms:

P^2=−ℏ22ℓ2(a2−aa†−a†a+(a†)2),\hat P^2=-\frac{\hbar^2}{2\ell^2}\left(a^2-aa^\dagger-a^\dagger a+(a^\dagger)^2\right),

and similarly we obtain ⟨P^2⟩n=ℏ2(2n+1)/(2ℓ2)\langle\hat P^2\rangle_n=\hbar^2(2n+1)/(2\ell^2).

It follows that the energy is divided equally between its kinetic and potential contributions in each eigenstate:

⟨P^22m⟩n=⟨12mω2X^2⟩n=En2,\left\langle\frac{\hat P^2}{2m}\right\rangle_n =\left\langle\frac12m\omega^2\hat X^2\right\rangle_n =\frac{E_n}{2},

as for the time average of a classical oscillation. As nn increases, the position distribution broadens, and the momentum spread also increases: only the ground state minimises the product of the two, without either spread vanishing.

7. Dynamics

What happens for a state that is not an eigenstate? Since the potential is quadratic, we saw in Lesson 5 that Ehrenfest's theorem gives exactly classical equations for the expectation values:

d⟨X^⟩dt=⟨P^⟩m,d⟨P^⟩dt=−mω2⟨X^⟩.\frac{d\langle\hat X\rangle}{dt}=\frac{\langle\hat P\rangle}{m},\qquad \frac{d\langle\hat P\rangle}{dt}=-m\omega^2\langle\hat X\rangle .

The centre of any wave packet therefore oscillates exactly like a classical particle, at angular frequency ω\omega: ⟨X^⟩(t)=⟨X^⟩0cos⁡ωt+⟨P^⟩0mωsin⁡ωt\langle\hat X\rangle(t)=\langle\hat X\rangle_0\cos\omega t+\frac{\langle\hat P\rangle_0}{m\omega}\sin\omega t.

This can be checked for the example of the superposition ∣ψ(0)⟩=(∣0⟩+∣1⟩)/2\ket{\psi(0)}=(\ket0+\ket1)/\sqrt2. By Lesson 1, it evolves as

∣ψ(t)⟩=12(e−iωt/2∣0⟩+e−3iωt/2∣1⟩)=e−iωt/22(∣0⟩+e−iωt∣1⟩).\ket{\psi(t)}=\frac{1}{\sqrt2}\left(e^{-i\omega t/2}\ket0+e^{-3i\omega t/2}\ket1\right) =\frac{e^{-i\omega t/2}}{\sqrt2}\left(\ket0+e^{-i\omega t}\ket1\right).

Using (14) and ⟨0∣X^∣1⟩=ℓ/2\bra0\hat X\ket1=\ell/\sqrt2, we find

⟨X^⟩(t)=ℓ2cos⁡(ωt),\langle\hat X\rangle(t)=\frac{\ell}{\sqrt2}\cos(\omega t),

which indeed oscillates at the classical angular frequency. More generally, all the energy differences En−Em=(n−m)ℏωE_n-E_m=(n-m)\hbar\omega are integer multiples of ℏω\hbar\omega. All the relative phases therefore return to their initial value after the classical period 2π/ω2\pi/\omega, and every state of the oscillator is periodic, up to a global phase. This property, specific to the equally spaced spectrum, makes the harmonic oscillator the quantum system closest to its classical analogue. One can even construct Gaussian packets that oscillate without changing shape, the coherent states, which we shall study later.

8. Scope of the model

The vibration of a diatomic molecule near its equilibrium separation provides a direct application. The relevant coordinate is then the distance between the two nuclei, and the mass is the reduced mass of the pair. The harmonic approximation predicts equally spaced vibrational levels, separated by ℏω\hbar\omega, which are observed in infrared spectroscopy. For the HCl molecule, for example, ℏω≈0.36\hbar\omega\approx0.36 eV. The actual levels become slightly closer together as nn increases, because of the anharmonic terms in the potential, which eventually allow the molecule to dissociate; the departure from the harmonic law provides a precise measure of these terms. The vibrations of the atoms in a crystal about their equilibrium positions can likewise be decomposed into a large number of independent oscillators, whose quanta are called phonons.

The model also applies to a particle trapped near the minimum of a trap, such as an ion in an electromagnetic trap or an atom in an optical trap, and more generally to any system whose Hamiltonian reduces, over the energy range under study, to the sum of a quadratic kinetic energy and a quadratic potential. In three dimensions, an isotropic harmonic potential 12mω2(x2+y2+z2)\frac12m\omega^2(x^2+y^2+z^2) separates into three independent oscillators, like the box in Lesson 6, and its levels ℏω(nx+ny+nz+3/2)\hbar\omega(n_x+n_y+n_z+3/2) are degenerate.

Finally, let us retain the role played by the adjoint throughout this lesson. It gave us the positivity of NN, from which quantisation follows; it fixed the norms of the lowered and raised states, and hence the factors n\sqrt n and n+1\sqrt{n+1}; and it is the Hilbert-space structure that allowed us to construct an orthonormal basis of eigenstates. We shall encounter the same algebraic method again, with a ladder bounded on both sides this time, for angular momentum and spin in Lesson 10.

9. References

No references added yet for this lesson.