Module 22 · 9 min read · Free chapter
Ordinary differential equations and special functions: first and second order linear ODEs, Frobenius series, Legendre, Bessel, Hermite and Laguerre functions, Beta and Gamma functions, Green's function
Start from zero: laws written as rates
Most laws of physics say how fast something changes. Newton's second law links acceleration to force; Kirchhoff's law links the rate of change of current to voltage. Such laws are differential equations, and solving them predicts what happens next.
Simple cases give sines and exponentials. But when a problem has spherical or cylindrical shape, or a quantum particle sits in a well, the equations have variable coefficients. Their solutions are the special functions named after Legendre, Bessel, Hermite and Laguerre, which appear in nearly every Mains derivation.
First and second order linear ODEs
First order linear: . Multiply by the integrating factor :
Example: an RC circuit charging, , gives .
Second order, constant coefficients: .
- Complementary function from :
- real distinct roots: ;
- equal roots: ;
- complex roots : .
- Particular integral for the forcing (by trial or the D-operator method).
Damped oscillator. has roots :
- , underdamped: with ;
- , critically damped: , the fastest return without overshoot (used in galvanometers and car shock absorbers);
- , overdamped: two decaying exponentials.
With forcing the steady state has amplitude , peaking near resonance.
Wronskian. Two solutions , are independent if . For , Abel's formula gives .
Series solutions and Legendre polynomials
For , a point is ordinary if p and q are analytic there; a power series works. It is a regular singular point if and are analytic; then the Frobenius series is used, and the lowest power gives the indicial equation for s.
Legendre's equation arises from Laplace's equation in spherical coordinates with axial symmetry ():
Substituting gives the recurrence
For general l the series diverges at x = ±1 (θ = 0, π). It terminates only when l is a non-negative integer, giving the Legendre polynomials:
This is why angular momentum is quantised: finiteness forces integer l (orbital angular momentum).
Properties:
- Rodrigues' formula: .
- Generating function: .
- Orthogonality: .
- Recurrence: .
- and .
Multipole expansion. The distance between and satisfies for r > r′, straight from the generating function. So a potential far from any charge distribution is a sum of monopole, dipole and quadrupole terms. The Earth's gravity field is described the same way, with the term from its flattening.
Bessel, Hermite and Laguerre functions
Bessel's equation comes from separating the wave or Laplace equation in cylindrical coordinates:
x = 0 is a regular singular point; Frobenius gives s = ±n and
The second solution (Neumann function) diverges at x = 0, so it is dropped when the axis is inside the region.
- Generating function: .
- Recurrences: and .
- ; oscillates like a decaying cosine, for large x.
- Zeros of : 2.405, 5.520, 8.654.
Drum modes. A circular membrane of radius a clamped at the rim has modes with . The frequencies are set by the Bessel zeros, so overtones are not whole-number multiples, which is why a drum sounds less musical than a string. Bessel functions also describe the Airy disc in diffraction from a circular aperture, waveguides and the radial modes of optical fibres.
Hermite's equation: . Finite behaviour of the oscillator wavefunction requires integer n, giving
with generating function and orthogonality . The harmonic oscillator eigenfunctions are with (harmonic oscillator).
Laguerre polynomials solve : , , . The associated Laguerre polynomials give the radial part of the hydrogen wavefunctions (hydrogen atom).
| Function | Equation arises in | Weight, interval |
|---|---|---|
| Legendre | Laplace equation, spherical, axial symmetry | 1, [−1, 1] |
| Bessel | cylindrical wave and Laplace problems | x, [0, a] |
| Hermite | quantum harmonic oscillator | , (−∞, ∞) |
| Laguerre | hydrogen radial equation | , [0, ∞) |
All four are solutions of Sturm-Liouville problems, which is why they are orthogonal and complete, so any well-behaved function can be expanded in them.
Gamma and Beta functions; Green's function
Gamma function:
Integrating by parts gives , so for integers. A key value is
from the Gaussian integral . Then and .
Beta function:
with the trigonometric form .
Worked example. .
In physics. Gamma functions give the Maxwell-Boltzmann averages (velocity distribution), the volume of an n-dimensional sphere used in density-of-states counting, and Stirling's formula used in statistical mechanics.
Green's function. To solve for a linear operator L with boundary conditions, first solve
the response to a unit impulse at x′. By superposition, .
Worked example. For with y(0) = y(1) = 0, G is linear on each side of x′, continuous at x′, with a unit jump in slope:
The electrostatic potential is exactly this idea, since is the Green's function of .
Mains lens: how UPSC asks this
Special functions turn up inside quantum mechanics (Hermite, Laguerre, spherical harmonics), electrostatics (Legendre expansions) and waves (Bessel). Geo-Scientist B1 and NET Part A ask them directly.
Expect:
- Solve a damped or forced oscillator equation and discuss the regimes (10 marks).
- Show that Legendre's series terminates only for integer l; find or .
- Prove orthogonality of Legendre polynomials or a recurrence from the generating function.
- Evaluate integrals using Beta and Gamma functions.
- Show or a Bessel recurrence.
Model answer plan: "Using the generating function, prove and find ." (15 marks).
- Write .
- Differentiate with respect to t: .
- Substitute the series and compare coefficients of to get the recurrence.
- With , , l = 1 gives .
- Mention use in the multipole expansion of potential.
Quick revision
- Constant coefficients: CF from + PI; damping regimes under, critical, over.
- Frobenius ; indicial equation; termination gives polynomials.
- Legendre: ; norm ; generating .
- Bessel : cylindrical problems; zeros of 2.405, 5.520; drum overtones not harmonic.
- Hermite : oscillator, weight ; Laguerre: hydrogen radial, weight .
- , ; .
- Green's function: , .