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 Quantum Harmonic Oscillator

From the classical spring to the quantum one

Lecture 4.1 ended with a vibrating diatomic: one bead of reduced mass μ\mu on a spring of force constant kk, oscillating at ω=k/μ\omega = \sqrt{k/\mu}. This lecture quantizes it. We write the Hamiltonian, solve H^ψ=Eψ\hat{H}\psi = E\psi, examine the states, and then explain why the levels come out evenly spaced.

Replace the momentum by p^=−iℏ d/dx\hat{p} = -i\hbar\,d/dx in the classical energy:

H^=p^22μ+12kx2=−ℏ22μd2dx2+12kx2,H^ψv(x)=Ev ψv(x)\hat{H} = \frac{\hat{p}^2}{2\mu} + \frac{1}{2}kx^2 = -\frac{\hbar^2}{2\mu}\frac{d^2}{dx^2} + \frac{1}{2}kx^2, \qquad \hat{H}\psi_v(x) = E_v\,\psi_v(x)

One energy and one length

Before solving anything, ask what sizes to expect. The Hamiltonian contains only three constants, ℏ\hbar, μ\mu and kk, and there is only one way to combine them into an energy and one way into a length. Every result below is a number times these two scales.

Step 1: collect the powers of LL. Multiply both sides by L2L^2 and divide by kk:

ℏ2μL2=kL2⟹L4=ℏ2μk\frac{\hbar^2}{\mu L^2} = kL^2 \quad\Longrightarrow\quad L^4 = \frac{\hbar^2}{\mu k}

Step 2: take the fourth root. It looks odd until you write k=μω2k = \mu\omega^2 (the classical frequency ω=k/μ\omega = \sqrt{k/\mu}). Then the right side is a perfect square, and the fourth root of a square is a square root:

L4=ℏ2μ⋅μω2=(ℏμω)2⟹L=ℏμω≡1α,α=μωℏL^4 = \frac{\hbar^2}{\mu\cdot\mu\omega^2} = \left(\frac{\hbar}{\mu\omega}\right)^2 \quad\Longrightarrow\quad L = \sqrt{\frac{\hbar}{\mu\omega}} \equiv \frac{1}{\sqrt{\alpha}}, \qquad \alpha = \frac{\mu\omega}{\hbar}

This is the size of the lowest vibrational states: how far the bond quivers. The section on zero-point energy makes this balance exact.

H^=ℏω2(−d2dy2+y2)\hat{H} = \frac{\hbar\omega}{2}\left(-\frac{d^2}{dy^2} + y^2\right)

Solving the oscillator

As with the trial-energy slider of Lecture 3.1, solutions that stay finite far from the well exist only at special energies. Solving the equation (by a power series, or by the operator method at the end of this lecture) gives a ladder of evenly spaced levels, each state a polynomial times a Gaussian:

The polynomials are the Hermite polynomials HvH_v, written in the dimensionless position y=α xy = \sqrt{\alpha}\,x:

vvHv(y)H_v(y)EvE_vnodessymmetry
0112ℏω\frac{1}{2}\hbar\omega0even
12y2y32ℏω\frac{3}{2}\hbar\omega1odd
24y2−24y^2 - 252ℏω\frac{5}{2}\hbar\omega2even
38y3−12y8y^3 - 12y72ℏω\frac{7}{2}\hbar\omega3odd
416y4−48y2+1216y^4 - 48y^2 + 1292ℏω\frac{9}{2}\hbar\omega4even
Source
<Figure size 960x420 with 8 Axes>

Fig. Top: the first four Hermite polynomials, each on its own vertical scale, with their roots in red. Bottom: the states ψv∝Hv(y) e−y2/2\psi_v \propto H_v(y)\,e^{-y^2/2}. The Gaussian kills the growth of the polynomial at large ∣y∣\lvert y\rvert and keeps its roots, which become the nodes of the state.

vvψv(x)\psi_v(x)EvE_v
0(απ)1/4e−y2/2\left(\frac{\alpha}{\pi}\right)^{1/4} e^{-y^2/2}12ℏω\frac{1}{2}\hbar\omega
1(απ)1/42 y e−y2/2\left(\frac{\alpha}{\pi}\right)^{1/4} \sqrt{2}\,y\,e^{-y^2/2}32ℏω\frac{3}{2}\hbar\omega
2(απ)1/412(2y2−1)e−y2/2\left(\frac{\alpha}{\pi}\right)^{1/4} \frac{1}{\sqrt{2}}\left(2y^2 - 1\right)e^{-y^2/2}52ℏω\frac{5}{2}\hbar\omega
3(απ)1/413(2y3−3y)e−y2/2\left(\frac{\alpha}{\pi}\right)^{1/4} \frac{1}{\sqrt{3}}\left(2y^3 - 3y\right)e^{-y^2/2}72ℏω\frac{7}{2}\hbar\omega
4(απ)1/4126(4y4−12y2+3)e−y2/2\left(\frac{\alpha}{\pi}\right)^{1/4} \frac{1}{2\sqrt{6}}\left(4y^4 - 12y^2 + 3\right)e^{-y^2/2}92ℏω\frac{9}{2}\hbar\omega
Source
<Figure size 960x470 with 2 Axes>

Fig. The first six states of the harmonic oscillator, each drawn on its energy level in the well, in units with ℏ=μ=ω=1\hbar = \mu = \omega = 1. Left: ψv\psi_v, with vv nodes. Right: the probability density ∣ψv∣2\lvert\psi_v\rvert^2. Black dots mark the classical turning points, where V=EvV = E_v; orange marks the parts of each state beyond them.

numpy confirms the formula: the grid Hamiltonian of Lecture 4.1 gives the same levels and states. In units with ℏ=μ=ω=1\hbar = \mu = \omega = 1 (so α=1\alpha = 1 and y=xy = x):

energies: [0.4999 1.4997 2.4993 3.4987 4.4979]
largest difference between the two psi_2: 0.00025

The energies agree with v+12v + \frac{1}{2} to better than 0.1%, and the two versions of ψ2\psi_2 differ by a few parts in ten thousand, the error of the grid.

Even and odd states

The well is symmetric, V(−x)=V(x)V(-x) = V(x), and the states alternate between even and odd:

ψv(−x)=(−1)v ψv(x)\psi_v(-x) = (-1)^v\,\psi_v(x)

The Gaussian is even, and a Hermite polynomial of even degree contains only even powers of yy, one of odd degree only odd powers. Symmetry settles many integrals without computing them, using three rules:

  1. The integral of an odd function over a symmetric range is zero: the left half cancels the right half.

  2. Products follow the signs: even times even and odd times odd are even, even times odd is odd.

  3. A derivative flips the symmetry: the slope of an even function is odd, and of an odd function even (the slope of x2x^2 is 2x2x).

In every state ψv\psi_v:

The same rules settle matrix elements between two different states, ⟨v′∣A^∣v⟩=∫ψv′ A^ ψv dx\langle v'|\hat{A}|v\rangle = \int\psi_{v'}\,\hat{A}\,\psi_v\,dx. The integrand has three factors, bra, operator and ket, and its parity is the product of theirs. An odd operator flips the parity of the state it acts on: x^\hat{x} multiplies by an odd function, and p^=−iℏ d/dx\hat{p} = -i\hbar\,d/dx flips it by rule 3. An even operator keeps it: x^2\hat{x}^2, p^2\hat{p}^2 and H^\hat{H}.

sandwichintegrandintegralexample
⟨even∣ odd ∣even⟩\langle\text{even}\vert\,\text{odd}\,\vert\text{even}\rangleodd0⟨2∣x^∣4⟩=0\langle 2\vert\hat{x}\vert 4\rangle = 0
⟨odd∣ odd ∣odd⟩\langle\text{odd}\vert\,\text{odd}\,\vert\text{odd}\rangleodd0⟨1∣p^∣3⟩=0\langle 1\vert\hat{p}\vert 3\rangle = 0
⟨even∣ even ∣odd⟩\langle\text{even}\vert\,\text{even}\,\vert\text{odd}\rangleodd0⟨0∣x^2∣1⟩=0\langle 0\vert\hat{x}^2\vert 1\rangle = 0
⟨even∣ odd ∣odd⟩\langle\text{even}\vert\,\text{odd}\,\vert\text{odd}\rangleevencan survive⟨2∣x^∣3⟩≠0\langle 2\vert\hat{x}\vert 3\rangle \neq 0
⟨odd∣ even ∣odd⟩\langle\text{odd}\vert\,\text{even}\,\vert\text{odd}\rangleevencan survive⟨1∣x^2∣1⟩≠0\langle 1\vert\hat{x}^2\vert 1\rangle \neq 0

Eigenfunctions of a Hermitian operator with different eigenvalues are orthogonal (Operators 2). Symmetry shows half of this at a glance:

Source
<Figure size 960x330 with 3 Axes>

Fig. Products of oscillator states, positive area purple and negative area orange. Left: ψ0ψ1\psi_0\psi_1 is odd, and its two halves cancel. Middle: ψ0ψ2\psi_0\psi_2 is even, but its negative middle exactly cancels its positive wings. Right: ψ1ψ1=∣ψ1∣2\psi_1\psi_1 = \lvert\psi_1\rvert^2 is never negative and has area 1.

⟨v′∣v⟩=∫−∞∞ψv′(x) ψv(x) dx=δv′v\langle v'|v\rangle = \int_{-\infty}^{\infty}\psi_{v'}(x)\,\psi_v(x)\,dx = \delta_{v'v}

Zero-point energy

The ladder starts at E0=12ℏωE_0 = \frac{1}{2}\hbar\omega, not at the bottom of the well. Even at absolute zero a bond keeps this much vibrational energy, its zero-point energy. A classical spring can sit still at x=0x = 0 with E=0E = 0. Why can’t the quantum one?

Sitting still at x=0x = 0 would mean a definite position and a definite momentum (zero), which the uncertainty principle of Lecture 3.6 forbids: σxσp≥ℏ/2\sigma_x\sigma_p \geq \hbar/2. To see how much energy that costs, write the average energy in terms of the two spreads, in three steps.

  1. The average energy is kinetic plus potential. Averaging H^=p^2/2μ+12kx2\hat{H} = \hat{p}^2/2\mu + \frac{1}{2}kx^2 over any state gives

⟨E⟩=⟨p2⟩2μ+12k⟨x2⟩\langle E\rangle = \frac{\langle p^2\rangle}{2\mu} + \frac{1}{2}k\langle x^2\rangle
  1. For a centered state the averages are the spreads. Every oscillator level has ⟨x⟩=⟨p⟩=0\langle x\rangle = \langle p\rangle = 0 (previous section). Since σx2=⟨x2⟩−⟨x⟩2\sigma_x^2 = \langle x^2\rangle - \langle x\rangle^2, this means ⟨x2⟩=σx2\langle x^2\rangle = \sigma_x^2, and likewise ⟨p2⟩=σp2\langle p^2\rangle = \sigma_p^2:

⟨E⟩=σp22μ+12kσx2\langle E\rangle = \frac{\sigma_p^2}{2\mu} + \frac{1}{2}k\sigma_x^2

The kinetic energy is set by how spread out the momentum is, the potential energy by how spread out the position is.

  1. The uncertainty principle ties the two spreads together. σp≥ℏ/2σx\sigma_p \geq \hbar/2\sigma_x, with equality for a Gaussian (Lecture 3.6). So a state of width σx\sigma_x has an average energy of at least

⟨E⟩  ≥  ℏ28μσx2+12kσx2\langle E\rangle \;\geq\; \frac{\hbar^2}{8\mu\sigma_x^2} + \frac{1}{2}k\sigma_x^2

Now vary the width. Take Gaussians centered at the bottom of the well, a narrow one, a wide one and every width in between. For each of them σp=ℏ/2σx\sigma_p = \hbar/2\sigma_x exactly, so the right-hand side is its actual average energy. The figure shows three of these trial states and the average energy of every width:

Source
<Figure size 960x560 with 4 Axes>

Fig. Top: three Gaussian trial states, drawn as ∣ψ∣2\lvert\psi\rvert^2 in the well, with widths σx=0.30\sigma_x = 0.30, 0.71 and 1.40 in units of 1/α1/\sqrt{\alpha} (arrows mark σx\sigma_x), and their average kinetic and potential energies in units of ℏω\hbar\omega. Bottom: the average energy of a centered Gaussian of every width, split into kinetic (orange) and potential (teal), with the total in black and the three states above marked. The squeezed state (a) pays in kinetic energy, the spread-out state (c) in potential energy, and the total is lowest at (b).

Beyond the turning points, and back to the classical spring

A classical oscillator of energy EE turns around where 12kx2=E\frac{1}{2}kx^2 = E. For Ev=ℏω(v+12)E_v = \hbar\omega\left(v + \frac{1}{2}\right), using ℏω/k=1/α\hbar\omega/k = 1/\alpha, the turning points are

x=±2v+1αx = \pm\sqrt{\frac{2v + 1}{\alpha}}

Every state in the ladder figure leaks past them (orange). The oscillator is found where its kinetic energy would be negative, like the particle in the finite well.

Lecture 4.1 found where a classical spring spends its time: most often near the turning points, where it moves slowest, P(x)=1/πA2−x2P(x) = 1/\pi\sqrt{A^2 - x^2}. The quantum ground state does the opposite and peaks in the middle. The animation climbs the ladder, with the classical curve of the same energy fixed in place:

Source
Loading...

Fig. The probability density of state vv (teal) and of a classical spring with the same energy (red), with position measured in units of the turning point so that both share one scale. As vv grows the quantum density piles up near the turning points, its wiggles become finer, and the share beyond the turning points shrinks.

Why the steps are equal: raising and lowering operators

The Hermite polynomials give the states one at a time. An idea of Dirac’s gives the whole ladder at once, and shows why the rungs are exactly ℏω\hbar\omega apart. Work in the dimensionless position y=α xy = \sqrt{\alpha}\,x, where

H^=ℏω2(y2−d2dy2)\hat{H} = \frac{\hbar\omega}{2}\left(y^2 - \frac{d^2}{dy^2}\right)

Factor the Hamiltonian

For numbers, a sum of two squares factors: u2+w2=(u−iw)(u+iw)u^2 + w^2 = (u - iw)(u + iw). The Hamiltonian is a sum of two squares too, y2y^2 and P^2\hat{P}^2 with P^=−i d/dy\hat{P} = -i\,d/dy. Since iP^=d/dyi\hat{P} = d/dy, the same factors would be y∓d/dyy \mp d/dy. Define

a^=12(y+ddy),a^†=12(y−ddy)\hat{a} = \frac{1}{\sqrt{2}}\left(y + \frac{d}{dy}\right), \qquad \hat{a}^\dagger = \frac{1}{\sqrt{2}}\left(y - \frac{d}{dy}\right)

a^†\hat{a}^\dagger is the adjoint of a^\hat{a}: yy is Hermitian, and d/dyd/dy changes sign under the adjoint (Operators 2).

The leftover is a commutator

Multiply in the order a^†a^\hat{a}^\dagger\hat{a} and act on a test function f(y)f(y), as in Operators 2:

a^†a^f=12(y−ddy)(yf+f′)=12(y2f+yf′−f−yf′−f′′)=12(y2f−f′′)−12f\hat{a}^\dagger\hat{a}f = \frac{1}{2}\left(y - \frac{d}{dy}\right)\left(yf + f'\right) = \frac{1}{2}\left(y^2f + yf' - f - yf' - f''\right) = \frac{1}{2}\left(y^2f - f''\right) - \frac{1}{2}f

The −f-f comes from the product rule, ddy(yf)=f+yf′\frac{d}{dy}(yf) = f + yf'. It is the only thing that keeps the operators from factoring like numbers. Reading off the operator:

a^†a^=12(y2−d2dy2)−12=H^ℏω−12⟹H^=ℏω(a^†a^+12)\hat{a}^\dagger\hat{a} = \frac{1}{2}\left(y^2 - \frac{d^2}{dy^2}\right) - \frac{1}{2} = \frac{\hat{H}}{\hbar\omega} - \frac{1}{2} \qquad\Longrightarrow\qquad \hat{H} = \hbar\omega\left(\hat{a}^\dagger\hat{a} + \frac{1}{2}\right)

The other order gives +12+\frac{1}{2} instead of −12-\frac{1}{2} (Problem 6), so [a^,a^†]=a^a^†−a^†a^=1[\hat{a}, \hat{a}^\dagger] = \hat{a}\hat{a}^\dagger - \hat{a}^\dagger\hat{a} = 1.

Climbing the ladder

Let ψ\psi be an eigenfunction with energy EE. Apply H^\hat{H} to a^†ψ\hat{a}^\dagger\psi, using a^a^†=a^†a^+1\hat{a}\hat{a}^\dagger = \hat{a}^\dagger\hat{a} + 1 in the middle:

H^a^†=ℏω(a^†a^a^†+12a^†)=ℏω a^†(a^†a^+1+12)=a^†(H^+ℏω)\hat{H}\hat{a}^\dagger = \hbar\omega\left(\hat{a}^\dagger\hat{a}\hat{a}^\dagger + \frac{1}{2}\hat{a}^\dagger\right) = \hbar\omega\,\hat{a}^\dagger\left(\hat{a}^\dagger\hat{a} + 1 + \frac{1}{2}\right) = \hat{a}^\dagger\left(\hat{H} + \hbar\omega\right)

so

H^(a^†ψ)=a^†(H^+ℏω)ψ=(E+ℏω)(a^†ψ)\hat{H}\left(\hat{a}^\dagger\psi\right) = \hat{a}^\dagger\left(\hat{H} + \hbar\omega\right)\psi = \left(E + \hbar\omega\right)\left(\hat{a}^\dagger\psi\right)

a^†ψ\hat{a}^\dagger\psi is again an eigenfunction, with energy exactly ℏω\hbar\omega higher: a^†\hat{a}^\dagger is the raising operator. The same steps show that a^ψ\hat{a}\psi has energy E−ℏωE - \hbar\omega (Problem 6): a^\hat{a} is the lowering operator.

The ladder has a bottom

Kinetic and potential energy are never negative, so no state has energy below zero, and stepping down cannot go on forever. It must stop at a state that a^\hat{a} turns into nothing:

a^ψ0=0⟹dψ0dy=−y ψ0⟹ψ0∝e−y2/2=e−αx2/2\hat{a}\psi_0 = 0 \quad\Longrightarrow\quad \frac{d\psi_0}{dy} = -y\,\psi_0 \quad\Longrightarrow\quad \psi_0 \propto e^{-y^2/2} = e^{-\alpha x^2/2}

the Gaussian again, this time from a first-order equation. Its energy is H^ψ0=ℏω(a^†a^ψ0+12ψ0)=12ℏω ψ0\hat{H}\psi_0 = \hbar\omega\left(\hat{a}^\dagger\hat{a}\psi_0 + \frac{1}{2}\psi_0\right) = \frac{1}{2}\hbar\omega\,\psi_0. Climbing vv rungs from there adds vℏωv\hbar\omega, which gives Ev=ℏω(v+12)E_v = \hbar\omega\left(v + \frac{1}{2}\right). No other energies exist: a state at any other energy could be lowered below zero.

Source
<Figure size 960x460 with 2 Axes>

Fig. Left: the raising operator a^†\hat{a}^\dagger moves a state up one rung (orange) and the lowering operator a^\hat{a} down one (purple); a^ψ0=0\hat{a}\psi_0 = 0 ends the ladder at 12ℏω\frac{1}{2}\hbar\omega. Right: raising the Gaussian once gives ψ1\psi_1, and twice gives ψ2\psi_2. Each step multiplies by a polynomial one degree higher and adds a node.

Position connects only neighboring levels

Add the two operators: a^+a^†=2 y\hat{a} + \hat{a}^\dagger = \sqrt{2}\,y. Position is therefore one step down plus one step up:

x^=yα=a^+a^†2α,x^ ψv=12α(v+1 ψv+1+v ψv−1)\hat{x} = \frac{y}{\sqrt{\alpha}} = \frac{\hat{a} + \hat{a}^\dagger}{\sqrt{2\alpha}}, \qquad \hat{x}\,\psi_v = \frac{1}{\sqrt{2\alpha}}\left(\sqrt{v + 1}\,\psi_{v+1} + \sqrt{v}\,\psi_{v-1}\right)

(This is the Hermite recursion 2yHv=Hv+1+2vHv−12yH_v = H_{v+1} + 2vH_{v-1} in disguise.) Multiply by ψv′\psi_{v'} and integrate; orthonormality keeps two terms at most:

⟨v′∣x^∣v⟩=12α(v+1  δv′,v+1+v  δv′,v−1)\langle v'|\hat{x}|v\rangle = \frac{1}{\sqrt{2\alpha}}\left(\sqrt{v + 1}\;\delta_{v',v+1} + \sqrt{v}\;\delta_{v',v-1}\right)

In the matrix language of Lecture 3.5: in the oscillator’s own eigenbasis H^\hat{H} is diagonal, and x^\hat{x} has entries only next to the diagonal.

Source
<Figure size 960x450 with 2 Axes>

Fig. The Hamiltonian (left) and position (right) as matrices in the basis of oscillator states v=0v = 0 to 6. H^\hat{H} is diagonal, with the energies v+12v + \frac{1}{2}. x^\hat{x} has a zero diagonal, since ⟨x⟩=0\langle x\rangle = 0 in every state, and nonzero entries (v+1)/2\sqrt{(v + 1)/2} only where v′v' and vv differ by one.

numpy builds the same matrix from the grid states of the earlier cell: sandwich each pair of eigenvectors around the diagonal matrix of positions, as in Lecture 3.5.

[[0.    0.707 0.    0.    0.    0.   ]
 [0.707 0.    1.    0.    0.    0.   ]
 [0.    1.    0.    1.224 0.    0.   ]
 [0.    0.    1.224 0.    1.414 0.   ]
 [0.    0.    0.    1.414 0.    1.58 ]
 [0.    0.    0.    0.    1.58  0.   ]]

The entries next to the diagonal are 1/2=0.707\sqrt{1/2} = 0.707, 1, 3/2=1.225\sqrt{3/2} = 1.225, 2=1.414\sqrt{2} = 1.414 and 5/2=1.581\sqrt{5/2} = 1.581, up to the grid error; everything else is zero.

Problems

Problem 1: The minimum-uncertainty state

Compute σx\sigma_x and σp\sigma_p for the ground state ψ0=(α/π)1/4e−αx2/2\psi_0 = (\alpha/\pi)^{1/4}e^{-\alpha x^2/2} and show that σxσp=ℏ/2\sigma_x\sigma_p = \hbar/2. Use ∫−∞∞e−αx2dx=π/α\int_{-\infty}^{\infty}e^{-\alpha x^2}dx = \sqrt{\pi/\alpha} and ∫−∞∞x2e−αx2dx=12απ/α\int_{-\infty}^{\infty}x^2e^{-\alpha x^2}dx = \frac{1}{2\alpha}\sqrt{\pi/\alpha}.

Problem 2: How sharp is a bond?

Carbon monoxide, 12^{12}C16^{16}O, vibrates at ν~=2170\tilde{\nu} = 2170 cm−1^{-1} and has a bond length Re=113R_e = 113 pm. Find the spread σx\sigma_x of its bond length in the ground vibrational state, and compare it with ReR_e.

Problem 3: The second excited state

Show that ψ=(2αx2−1)e−αx2/2\psi = \left(2\alpha x^2 - 1\right)e^{-\alpha x^2/2} is an eigenfunction of H^\hat{H} and find its energy. Where are its nodes, and how do they compare with the classical turning points of the same energy? Compare ψ\psi with H2(y) e−y2/2H_2(y)\,e^{-y^2/2}.

Problem 4: The kinetic isotope effect

A C-H stretch absorbs near 2900 cm−1^{-1}. (a) Predict the wavenumber of the C-D stretch, treating each as a diatomic with the carbon mass 12 u and the same force constant. (b) Find the difference in zero-point energy. (c) Suppose a reaction breaks this bond, and its transition state has lost the stretch, so both isotopes reach the same barrier top. By about what factor does replacing H with D slow the reaction at 300 K (kBT=208k_BT = 208 cm−1^{-1})?

Problem 5: Beyond the turning points, higher up

Adapt the numpy line of the example to find how often the oscillator is found beyond its turning points in v=1v = 1 and in v=10v = 10, using the grid x and states psi from the code cell that checks the Hermite formula. (The turning points are at x=±2v+1x = \pm\sqrt{2v + 1} in these units.) Why does the fraction fall as vv grows?

Problem 6: Ladder algebra

(a) Act with a^a^†\hat{a}\hat{a}^\dagger on a test function f(y)f(y) and show that [a^,a^†]=1[\hat{a}, \hat{a}^\dagger] = 1. (b) Show that if H^ψ=Eψ\hat{H}\psi = E\psi, then H^(a^ψ)=(E−ℏω)(a^ψ)\hat{H}(\hat{a}\psi) = (E - \hbar\omega)(\hat{a}\psi). (c) Apply a^†\hat{a}^\dagger to y e−y2/2y\,e^{-y^2/2} and show that the result is proportional to H2(y) e−y2/2H_2(y)\,e^{-y^2/2}.

Problem 7: Half an oscillator

A particle moves in V=12kx2V = \frac{1}{2}kx^2 for x>0x > 0, with an impenetrable wall at x=0x = 0, so ψ(0)=0\psi(0) = 0. Which states of the full oscillator also solve this problem? What are the allowed energies, and how far apart are they?

Problem 8: Average energies in any level

Write x^2\hat{x}^2 in terms of a^\hat{a} and a^†\hat{a}^\dagger (keep the order of the factors). Use the ladder relations to show that ⟨v∣x^2∣v⟩=(v+12)/α\langle v|\hat{x}^2|v\rangle = (v + \frac{1}{2})/\alpha, and from this that the average potential energy in any level is half the total, ⟨V⟩=12Ev\langle V\rangle = \frac{1}{2}E_v. What is the average kinetic energy?