Chem Math· Math-for-Chemists Hub
Atlas Chapter 6: Differential Equations Interactive lesson

Second-Order Differential Equations

Oscillators and the Schrödinger equation

QuantumThermo / Kinetics
Detail level

Oscillations and the birth of quantization

Where quantum chemistry begins

A second-order ODE involves the second derivative . The most important example in chemistry sets the second derivative proportional to the negative of the function:

Its solutions are sine and cosine — they oscillate. When the wave is confined and must vanish at the boundaries (the box walls), only special wavelengths survive: the boundary conditions forces , and requires for integer . Only these standing waves fit — and energy becomes quantized.

The same equation, with the physical constants re-inserted, is the time-independent Schrödinger equation for a free particle in a box:

Comparing with shows that , and the boundary conditions give , so the allowed energies are .

For a diatomic vibrating bond, the restoring force is (Hooke's law), giving the simple harmonic oscillator ODE with . The IR vibrational frequency is , so measuring the frequency tells us the bond force constant.

Key second-order ODE results

General solution of y″ = −k²y
Particle-in-a-box energies
SHO frequency (IR)
Boundary conditions
A 2nd-order ODE needs 2 conditions to fix and — e.g. and for the box.
Quantum + vibrations
The time-independent Schrödinger equation is a second-order ODE; so is the equation for a vibrating bond (IR spectroscopy). Boundary conditions are what turn continuous physics into discrete energy levels. Open the quantization lab — drag the quantum number away from an integer and watch the wave fail to vanish at the wall.

Quantised harmonic oscillator energy. The quantum version of the SHO (solved by ladder operators, not the classical separation) gives equally spaced levels: where and . The zero-point energy is a purely quantum effect: even at 0 K the oscillator retains this residual energy, confirmed experimentally by the fact that bonds do not break at absolute zero.

Damped oscillations arise when a frictional force proportional to velocity is added: , giving solutions of the form with damped frequency . NMR relaxation and overdamped chemical oscillators (like the Belousov–Zhabotinsky reaction near a bifurcation) are described by this family of solutions.

Quantised SHO levels
Damped oscillator
,
Frequency vs wavenumber
Box model for conjugated π systems
Fill electrons in pairs; the HOMO–LUMO gap gives the absorption wavelength.
Common pitfalls
  • Dropping one independent solution. The general solution of a second-order ODE requires two linearly independent terms (). Taking only one term gives an incomplete family that cannot satisfy arbitrary boundary conditions.
  • Misapplying boundary conditions. forces (it eliminates the cosine term, not the sine). Always substitute the boundary value into the full general solution before concluding which constants vanish.
  • Confusing ω, ν and . Angular frequency (rad s⁻¹), ordinary frequency (Hz), wavenumber (cm⁻¹). Using ω in place of ν in gives an answer wrong by a factor of .
  • Forgetting the zero-point energy. does not give ; it gives . Adding the v = 0 energy to vibration problems requires including this term.

Quantization lab

Drag the quantum number — whole integers give standing waves that vanish at both walls; non-integers fail the boundary condition and are forbidden.

Snap to a level:
00.200.400.600.801-1-0.5000.501x / Lψ
quantum number n (try non-integers)2.00
ψ at the wall (x = L)-0.000
allowed?yes — fits!
energy ∝ n²4
The wave must be zero at both walls. Only whole-number n manage it (green dot) — drag to a non-integer and the wave misses the wall (red). That single requirement is the origin of quantized energy levels.
Worked example 1Verifying the sine wavefunction satisfies the ODE

Show that satisfies with , and identify the resulting energy .

Worked example 2Energy level spacing for π-electrons in butadiene

Model the four π-electrons in 1,3-butadiene as a particle in a box of length . Calculate the energy gap and convert to a wavelength (in nm) using . (, )

Worked examples

From SHO vibrational frequencies to Schrödinger boundary conditions — try each before revealing the solution.

Worked example 3IR vibrational frequency of H–Cl

The force constant of the H–Cl bond is . The reduced mass of is . Calculate the fundamental IR frequency and wavenumber .

Worked example 4Simple harmonic oscillator — verifying the solution

Show that satisfies and state the physical meanings of and .

Worked example 5Zero-point energy of H–Cl from the quantised SHO

Using the result from the worked example above, calculate the zero-point energy of the H–Cl oscillator (the level of the quantised SHO, energy ).

Worked example 6Applying boundary conditions to fix A and B — particle in a box

The general solution of the Schrödinger equation inside a box of length (where the potential is zero) is . Apply the two boundary conditions and to determine and (up to normalisation) and hence the allowed values of .

Worked example 7v = 1 → v = 0 vibrational energy and the C=O stretching frequency

The C=O bond in acetone has a force constant . The reduced mass (C and O atoms) is . Calculate (a) the fundamental frequency , (b) the wavenumber , and (c) the transition energy in kJ mol⁻¹.

ChallengeChallenge — butadiene π→π* transition wavelength from the particle-in-a-box

1,3-Butadiene has 4 π-electrons. Model the π system as a particle in a box of length . Place the 4 electrons in the two lowest levels (2 per level). Calculate the wavelength of the (HOMO→LUMO) transition and compare with the experimental value of 217 nm. (, , )

Check yourself

Four questions from ODE structure to quantized energy levels.

Question 1 of 4 · Score 0

A second-order differential equation contains a:

Choose an answer.