Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

The simple harmonic oscillator

The next potential we wish to consider is the *simple harmonic oscillator,

H=p22m+12mω2x2H = \frac{p^2}{2m} + \half m \omega^2 x^2

Tihs is exactly solvable in both classical and quantum mechanics. Why do we consider such a potential, besides this nice fact of classical solvablility? Because at low energies, it is often a good first approximation to a given potential.

Consider a more general 1d potential problem,

H=p22m+V(x)H = \frac{p^2}{2m} + V(x)

We will consider energies so that the classically allowed region is near the absolute minimum of the potential.

general 1d potential

Now if we set x=x0x = x_0 as the location of this classical minimum, we can approximate V(x)V(x) as:

V(x)=V(x0)+(xx0)V(x0)+12(xx0)2V(x0)+13!(x=x0)3V(x0)+V(x) = V(x_0) + (x - x_0) V'(x_0) + \half (x - x_0)^2 V''(x_0) + \frac{1}{3!} (x = x_0)^3 V'''(x_0) + \ldots

Since we are looking near a minimum, V(x0)=0V'(x_0) = 0. We can also shift the total energy (since it is irrelevant in classical and qauntum mechanics in the absence of gravity). This expansion is a good one if the higher order terms in (xx0)(x - x_0) are smaller than the lower-order ones. In particular, we can approximate the potential by the quadratic term if

12V(x0)(xx0)213!V(x0)(xx0)3xx03V(x0)V(x0)\half \big| V''(x_0) (x - x_0)^2\big| \gg \frac{1}{3!} \big|V'''(x_0)(x - x_0)^3\big| \Rightarrow |x - x_0| \ll \frac{3 V''(x_0)}{V'''(x_0)}

You might have been tempted to say “the third derivtive of VV at x0x_0 is smaller than the second derivative” but that makes no sense -- these quantities have different dimensions. In fact the viability of the approximation also depends on xx0|x - x_0| being small enough. This depends on the energy. We can see thius best classically: for larger energies, the particle has a larger range, and eventually the criterion (4) will break down.

This story is actually pretty general; for many problems, teh Lagrangian can be approximated at low energies by a Lagrangian which is quadratic in the phase space variables; if the system is stable, it can be reduced further to a collection of harmonic oscillators. This includes the electromagnetic field. Higher order or anharmonic terms (which in quantum field theory arises from particle interactions) can be treated in an approximation scheme known as perturbation theory.

Finally to get (1), we set V(x0)=mω2V'(x_0) = m \omega^2. We can define ω\omega this way (given m,V(x)m, V(x)). The reason for doing so becomes clear when we examine the solutions to the classical and quantum problems.

Classical solution

As a reminder, Hamilton’s equations give us:

x˙=Hp=pmp˙=Hx=mω2x\begin{align} {\dot x} & = \frac{\del H}{\del p} = \frac{p}{m}\\ {\dot p} & = - \frac{\del H}{\del x} = - m \omega^2 x \end{align}

Taking the derivative of the first equation and using the second equation, we get the classical SHO equation

x¨+ω2x={\ddot x} + \omega^2 x = -

which has as a general solution

x(t)=Xmaxcos(ωt+δ)p=Xmaxmωsin(ωt+δ)x(t) = X_{max} \cos(\omega t + \delta) \Rightarrow p = - X_{max} m\omega \sin(\omega t + \delta)

and A,δA,\delta are set by the initial conditions on x(t0),x˙(t0)x(t_0), {\dot x}(t_0). The total energy of this solution is

E=p22m+12mω2x2=12mω2Xmax2E = \frac{p^2}{2m} + \half m \omega^2 x^2 = \half m \omega^2 X_{max}^2

Thus, more energetic states travel a wider range. The frequency of oscillation in ω\omega, and the period T=2π/ωT = 2\pi/\omega, are fixed.

The quantum oscillator

To solve this problem we are going to do a bit of scaling analysis. The time-independent Schroedinger equation is:

22m2x2ψ(x)+12mω2x2ψ(x)=Eψ(x)- \frac{\hbar^2}{2m} \frac{\del^2}{\del x^2} \psi(x) + \half m \omega^2 x^2 \psi(x) = E \psi(x)

Now we will let x=Lyx = L y and multiply the equation by mL2/2m L^2/\hbar^2:

12y2ψ(y)+12m2ω2L42y2ψ(y)=mL22Eψ- \half \del_y^2 \psi(y) + \half \frac{m^2 \omega^2 L^4}{\hbar^2} y^2 \psi(y) = \frac{mL^2}{\hbar^2} E \psi

setting L=mωL = \sqrt{\frac{\hbar}{m\omega}} and E=Eω\CE = \frac{E}{\hbar\omega}, we have

12y2ψ(y)+12y2ψ(y)=Eψ(y)- \half \del_y^2 \psi(y) + \half y^2 \psi(y) = \CE\psi(y)

what we have learned is that the typical trange of variation of the wavefunction is set by mω\sqrt{\hbar}{m\omega} and the energy scales are set by ω\hbar\omega.

We will solve this with a clever trick. We can write a=12(y+y)a = \frac{1}{\sqrt{2}}(\del_y + y) and a=12(y+y)a^{\dagger} = \frac{1}{\sqrt{2}}(- \del_y + y). The fact that this is the correct expression for teh Hermitian conjugate can be deduced using the standard norm on wavefunctions, or we can note that

y=Lx=iLp\del_y = L \del_x = \frac{i L}{\hbar} p

so that if p=pp^{\dagger} = p, ()y=y()\del_y^{\dagger} = - \del_y. Now we can write

aa=12(y+y)(y+y)=12(y2+y21) a^{\dagger} a = \half(-\del_y + y)(\del_y + y) = \half(-\del_y^2 + y^2 - 1)

Thus,

H=ω(aa+12)H = \hbar\omega(a^{\dagger} a + \half)

Note that we can write

a=(mω2)12x^+i(12ωm)12p^a=(mω2)12x^i(12ωm)12p^\begin{align} a & = \left(\frac{m\omega}{2 \hbar}\right)^{\half} {\hat x} + i \left(\frac{1}{2\hbar\omega m}\right)^{\half} {\hat p}\\ a^{\dagger} & = \left(\frac{m\omega}{2 \hbar}\right)^{\half} {\hat x} - i \left(\frac{1}{2\hbar\omega m}\right)^{\half} {\hat p} \end{align}

It is an important fact that

[a,a]=1[H,a]=ωa ;[H,a]=ωa\begin{align} & [a,a^{\dagger}] = 1\\ & \Rightarrow [H,a] = - \hbar\omega a\ ; [H,a^{\dagger}] =\hbar\omega a^{\dagger} \end{align}

We can use these facts to define the spectrum and generate solutions to the TISE. First, let us assume we have a normalized energy eigenstate E\ket{E} with energy EE. Then using (16) we find

HaE=(E+ω)aEHaE=(Eω)aE\begin{align} H a^{\dagger} \ket{E} & = (E + \hbar\omega) a^{\dagger}\ket{E}\\ H a \ket{E} & = (E - \hbar\omega) a \ket{E} \end{align}

so that

aE=c(E)EωaE=c+(E)E+ω\begin{align} a\ket{E} & = c_-(E) \ket{E - \hbar\omega}\\ a^{\dagger} \ket{E} & = c_+(E)\ket{E + \hbar\omega} \end{align}

where c±(E)c_{\pm}(E) are adjusted so that the states have unit norm.

Now let us deduce the spectrum. Using H=ω(aa+12)H = \hbar\omega(a^{\dagger} a + \half), for any state ψ\ket{\psi} with norm 1,

ψHψ=ω(ψaaψ+12ψψ)=ω(aψ2+1)>0\bra{\psi} H \ket{\psi} = \hbar\omega\left(\bra{\psi} a^{\dagger} a\ket{\psi} + \half \brket{\psi}{\psi}\right) = \hbar\omega \left(||a\ket{\psi}||^2 + 1\right) > 0

If ψ\ket{\psi} is an energy eigenstate with energy EE, ψHψ=E\bra{\psi} H \ket{\psi} = E, so this means EE must always be positive.

First, we will find the minimum energy solution E0\ket{E_0}. Since there are no states with lower energy, we must have aE0=0a\ket{E_0} = 0. Since H=ω(aa+12)H = \hbar\omega(a^{\dagger} a + \half) this means that HE0=12ωE0H\ket{E_0} = \half\hbar\omega \ket{E_0}, or E0=12ωE_0 = \half\hbar\omega. Excited states with energy E=ω(n+12)E = \hbar\omega(n + \half) are proportional to (a)nE0(a^{\dagger})^n \ket{E_0}. These are all of the states. The ground state and the states above are nondegenerate. If there were any states with energies different from ω(n+12)\hbar\omega(n + \half), say with energy ω(n+12)+ϵ\hbar\omega(n + \half) + \eps, with 0<ϵ<ω0 < \eps < \hbar\omega, we could act on them repeatedly with powers of aa and lower the energy in units of ω\hbar\omega. Sincse the starting point has the form ω(n+12)+ϵ\hbar\omega(n + \half) + \eps, these other states will have energy ω(nk+12)+ϵ\hbar\omega(n - k + \half) + \eps. None of these will be equal to 12ω\half\hbar\omega, so none can be annihilated by aa and kk can be arbitrarily large, and the energy arbitrarily negative. But we have proven the energy must be positive, so such states do not exist.

From here on out, we call the eigenstates n\ket{n}, n{0,1,2,}n \in \{0,1,2,\ldots\}, with energies En=ω(n+12)E_n = \hbar\omega(n + \half). They are also eigenstates of aaa^{\dagger} a with eigenvalue nn. We thus sometimes call aaa^{\dagger} a the number operator. One motivation is that when we quantize the electromagnetic field, it behaves as a collection of harmonic oscillators -- one for each polarization and wavenumber -- and nn becomes the number of photons. We thus call aa^{\dagger} a creation operator and aa an annihilation operator.

Next we wish to construct the wavefunctions. We can write a0=0a\ket{0} = 0 using the differential form of the operator as

(y+y)ψ0(y)=0(\del_y + y)\psi_0(y) = 0

This has the unique solution (after imposing 00=1\brket{0}{0} = 1):

ψ0(y)=Aey2/2ψ0(x)=(mωπ)1/4e12mωx\psi_0(y) = A e^{- y^2/2} \rightarrow \psi_0(x) = \left( \frac{m \omega}{\pi \hbar}\right)^{1/4} e^{- \half \frac{m \omega x}{\hbar}}

Next we wish to find the excited states by applying the operator aa^{\dagger}. Using the commutation relations, we can find c±c_{\pm}. Now

naan=n=c(n)2c(n)=n\bra{n} a^{\dagger} a \ket{n} = n = |c_-(n)|^2 \Rightarrow c_-(n) = \sqrt{n}

for c+c_+, we use the fact that aa=aa+1a a^{\dagger} = a^{\dagger} a + 1, so that

naan=c+(n)2=n(aa+1)n=n+1c+(n)=n+1\bra{n} a a^{\dagger} \ket{n} = |c_+(n)|^2 = \bra{n}(a^{\dagger} a + 1)\ket{n} = n + 1 \Rightarrow c_+(n) = \sqrt{n+1}

Thus,

n=1n!(a)n0\ket{n} = \frac{1}{\sqrt{n!}} (a^{\dagger})^n \ket{0}

When we apply nn powers of a=12(y+y)a^{\dagger} = \frac{1}{\sqrt{2}}(-\del_y + y) to a Gaussian, we can see that the result is an nnth order polynomial times the same Gaussian. These polynomials have a name -- they are the Hermite polynomials. The resulting wavefunctions are

ψn(x)=xn=12nn!(1π1/4L1/2)ex22L2Hn(xL)\psi_n(x) = \brket{x}{n} = \frac{1}{\sqrt{2^n n!}} \left(\frac{1}{\pi^{1/4} L^{1/2}}\right) e^{- \frac{x^2}{2 L^2}} H_n\left(\frac{x}{L}\right)

where L=mωL = \sqrt{\frac{\hbar}{m\omega}}, and HnH_n can be looked up in textbooks. One point of these functions is that they form a complete orthonormal basis of square-integrable functions, because they are eigenfunctions of a Hermitian operator.