Mathematics · Advanced Topics

Special Functions in Physics

Special functions — Bessel functions, Legendre polynomials, spherical harmonics, Hermite polynomials, Gamma function — arise as solutions to the differential equations of physics and encode the geometry and symmetry of the problem.

PrerequisitesDifferential equations (Ch. 26) · Complex analysis (Ch. CA) · Fourier analysis (Ch. F) · Linear algebra (Ch. LA)
Learning Goals
  • Use the Gamma function recursion, reflection formula, and Stirling approximation, and evaluate Gaussian integrals via Γ(1/2)=π\Gamma(1/2) = \sqrt\pi.
  • Write Legendre polynomials via their Rodrigues formula and orthogonality relation, and expand a function in a Legendre series.
  • Construct the multipole expansion of an electrostatic potential using spherical harmonics and identify the monopole, dipole, and quadrupole terms.
  • Identify the Bessel equation, state the boundary conditions selecting JnJ_{n} over YnY_{n}, and use the zeros of J0J_{0} to find waveguide cutoff frequencies.
  • Express harmonic-oscillator eigenfunctions in terms of Hermite polynomials and connect them to coherent-state expansions in quantum optics.

SF.1 The Gamma Function

The Gamma function Γ(z) extends the factorial to complex numbers:

Γ(z)=∫0∞tz−1e−t dt(Re⁡z>0)\Gamma(z) = \int_0^\infty t^{z-1} e^{-t}\, dt \qquad (\operatorname{Re} z > 0)(SF.1)

Key properties: Γ(n+1) = n! (for n = 0,1,2,...), Γ(1/2) = √π, Γ(z+1) = zΓ(z) (recursion). The reflection formula: Γ(z)Γ(1−z) = π/sin(πz). Stirling's approximation: ln Γ(n+1) ≈ n ln n − n + ½ ln(2πn) for large n.

The Gamma function appears in: volume of n-ball (Vn=πn/2Rn/Γ(n/2+1)V_n = \pi^{n/2} R^n / \Gamma(n/2+1)), Gaussian integrals (∫0∞x2ne−x2 dx=Γ(n+1/2)/2\int_0^\infty x^{2n} e^{-x^2}\, dx = \Gamma(n+1/2)/2), the Beta function B(m,n) = Γ(m)Γ(n)/Γ(m+n).

SF.2 Legendre Polynomials and Spherical Harmonics

The Legendre equation: (1−x²)P'' − 2xP' + l(l+1)P = 0 arises in any problem with azimuthal symmetry. Solutions regular on [−1, 1]: Pₗ(x) with l = 0,1,2,...

P0=1,P1=x,P2=3x2−12,P3=5x3−3x2P_0 = 1, \quad P_1 = x, \quad P_2 = \frac{3x^2 - 1}{2}, \quad P_3 = \frac{5x^3 - 3x}{2}(SF.2)

Orthogonality: ∫−11Pl(x) Pm(x) dx=2 δlm2l+1\int_{-1}^{1} P_l(x)\, P_m(x)\, dx = \dfrac{2\,\delta_{lm}}{2l+1}. Generating function: 11−2xt+t2=∑lPl(x) tl\dfrac{1}{\sqrt{1 - 2xt + t^2}} = \sum_l P_l(x)\, t^l (useful for multipole expansion).

Spherical harmonics Ylm(θ,ϕ)Y_l^m(\theta, \phi) are joint eigenfunctions of L2L^2 and LzL_z:

Ylm(θ,ϕ)=Nlm Plm(cos⁡θ) eimϕ(−l≤m≤l)Y_l^m(\theta, \phi) = N_{lm}\, P_l^m(\cos\theta)\, e^{im\phi} \qquad (-l \le m \le l)(SF.3)

where PlmP_l^m are associated Legendre polynomials. Orthonormality:∫Ylm∗ Yl′m′ dΩ=δll′ δmm′\int Y_l^{m*}\, Y_{l'}^{m'}\, d\Omega = \delta_{ll'}\, \delta_{mm'}. Addition theorem:Pl(cos⁡γ)=4π2l+1∑mYlm∗(Ω1) Ylm(Ω2)P_l(\cos\gamma) = \dfrac{4\pi}{2l+1} \sum_m Y_l^{m*}(\Omega_1)\, Y_l^m(\Omega_2) where γ is the angle between directions Ω₁ and Ω₂.

Example SF.1 — Multipole Expansion of a Charge Distribution

A charge distribution ρ(r)\rho(r) has total charge Q=qQ = q, dipole p=qdz^p = qd \hat{z}, and quadrupole Q20Q_{20}. Write the far-field potential.

Multipole expansion:φ(r)=14πε0∑l4π2l+11rl+1∑mqlmYlm(θ,ϕ)\varphi(\mathbf{r}) = \dfrac{1}{4\pi\varepsilon_0} \sum_l \dfrac{4\pi}{2l+1} \dfrac{1}{r^{l+1}} \sum_m q_{lm} Y_l^m(\theta, \phi). Multipole moments: qlm=∫ρ(r′) r′ l Ylm∗(θ′,ϕ′) d3r′q_{lm} = \int \rho(\mathbf{r}')\, r'^{\,l}\, Y_l^{m*}(\theta', \phi')\, d^3r'.
l=0l=0 (monopole):q00=Q/4π.ϕmonopole=Q/(4πε0r)q_{00} = Q/\sqrt{4\pi}. \phi_{\text{monopole}} = Q/(4\pi\varepsilon_{0}r).
l=1l=1 (dipole):q10=pz/4π/3(zq_{10} = p_{z}/\sqrt{4\pi/3} (z-component of p).ϕdipole=pcos⁡θ/(4πε0r2)=p⋅r^/(4πε0r2p). \phi_{\text{dipole}} = p \cos\theta/(4\pi\varepsilon_{0}r^{2}) = p\cdot \hat{r}/(4\pi\varepsilon_{0}r^{2}).
l=2l=2 (quadrupole):Q20=12∫ρ(3z2−r2)d3rQ_{20} = \frac{1}{2}\int\rho(3z^{2}-r^{2})d^{3}r (traceless quadrupole moment). ϕquad=Q20(3cos⁡2θ−1)/(8πε0r3)\phi_{\text{quad}} = Q_{20}(3\cos^{2}\theta-1)/(8\pi\varepsilon_{0}r^{3}).
Physical:A neutral atom (Q=0Q=0) in external field: the dipole p=αEp = \alpha E (polarizability). The quadrupole Q20Q_{20} determines the electric field gradient interaction (used in NQR — nuclear quadrupole resonance — to study crystal field environments).

SF.3 Bessel Functions

Bessel's equation: x²y'' + xy' + (x² − n²)y = 0 arises in problems with cylindrical symmetry (waveguide modes, drumhead vibrations). Solutions: Jn(x)J_n(x) (Bessel of 1st kind, regular at x=0), Yn(x)Y_n(x) (2nd kind, singular).

Important properties: J₀(0) = 1, Jn(0)=0J_n(0) = 0 (n ≠ 0). Zeros: J₀ vanishes at x = 2.405, 5.520, 8.654, ... (used for waveguide cutoffs). Asymptotic: Jn(x)≈2πx cos⁡ ⁣(x−nπ2−π4)J_n(x) \approx \sqrt{\dfrac{2}{\pi x}}\, \cos\!\left(x - \dfrac{n\pi}{2} - \dfrac{\pi}{4}\right) for x ≫ 1. Recursion: Jn+1(x)+Jn−1(x)=2nxJn(x)J_{n+1}(x) + J_{n-1}(x) = \dfrac{2n}{x} J_n(x).

Spherical Bessel functions jl(r)=π2r Jl+1/2(r)j_l(r) = \sqrt{\dfrac{\pi}{2r}}\, J_{l+1/2}(r) arise in quantum mechanics (radial equation in free space): j₀(x) = sin(x)/x, j₁(x) = sin(x)/x² − cos(x)/x.

SF.4 Hermite Polynomials — Quantum Harmonic Oscillator

The Schrödinger equation for the harmonic oscillator leads to theHermite equation: y'' − 2xy' + 2ny = 0. Solutions: Hn(x)H_n(x) (Hermite polynomials):

Hn(x)=(−1)nex2dndxne−x2(Rodrigues formula)H_n(x) = (-1)^n e^{x^2} \frac{d^n}{dx^n} e^{-x^2} \qquad \text{(Rodrigues formula)}(SF.4)

H₀ = 1, H₁ = 2x, H₂ = 4x²−2, H₃ = 8x³−12x. Orthogonality: ∫−∞∞Hm(x) Hn(x) e−x2 dx=2n n! π δmn\int_{-\infty}^{\infty} H_m(x)\, H_n(x)\, e^{-x^2}\, dx = 2^n\, n!\, \sqrt{\pi}\, \delta_{mn}. Generating function: e2xt−t2=∑nHn(x) tn/n!e^{2xt - t^2} = \sum_n H_n(x)\, t^n / n!.

The harmonic oscillator eigenfunctions:ψn(x)=12n n!(mωπℏ)1/4Hn ⁣(mωℏ x)e−mωx2/(2ℏ)\psi_n(x) = \dfrac{1}{\sqrt{2^n\, n!}} \left(\dfrac{m\omega}{\pi\hbar}\right)^{1/4} H_n\!\left(\sqrt{\dfrac{m\omega}{\hbar}}\, x\right) e^{-m\omega x^2/(2\hbar)}. These appear in quantum optics (Fock states), molecular spectroscopy, and as basis for coherent states: ∣α⟩=e−∣α∣2/2∑nαnn!∣n⟩|\alpha\rangle = e^{-|\alpha|^2/2} \sum_n \dfrac{\alpha^n}{\sqrt{n!}} |n\rangle (eigenstates of â).

SF.5 Confluent Hypergeometric and Whittaker Functions

The hypergeometric equation is the master ODE — most special functions are special cases:

z(1−z) w′′+[c−(a+b+1)z] w′−ab w=0(hypergeometric equation)z(1-z)\,w'' + \bigl[c - (a+b+1)z\bigr]\,w' - ab\,w = 0 \qquad \text{(hypergeometric equation)}(SF.5)

Solution: F(a,b;c;z)=∑n(a)n(b)n(c)nznn!F(a,b;c;z) = \sum_n \dfrac{(a)_n (b)_n}{(c)_n} \dfrac{z^n}{n!} (Gauss hypergeometric series). Special cases: Pl(x)=F(−l,l+1;1;(1−x)/2)P_l(x) = F(-l, l+1; 1; (1-x)/2), (1−x)−α=F(α,1;1;x)(1-x)^{-\alpha} = F(\alpha, 1; 1; x), complete elliptic K(k) = (π/2) F(1/2, 1/2; 1; k²).

The hydrogen radial wavefunctions are confluent hypergeometric functions:Rnl∝Ln−l−12l+1(2r/na0)R_{nl} \propto L_{n-l-1}^{2l+1}(2r/na_0) — Laguerre polynomials.

Definition SF.1 — Common Traps
  • Special functions usually solve eigenvalue problems: their domains and boundary conditions matter.
  • Normalization conventions vary: check factors for Legendre, Bessel, and spherical harmonics.
  • Orthogonality uses a weight function: the inner product is not always plain integration.
  • Asymptotic forms have limits: large-argument approximations fail near zeros or turning points.
Exercises — SF.1–SF.5 Special Functions
1.
Prove that Γ(1/2)=π\Gamma(1/2) = \sqrt\pi using a 2D Gaussian integral. Use this to evaluate ∫(−∞ to ∞)x4e−x2dx\infty) x^{4} e^{-x^{2}} dx.
Straightforward
2.
Find the cutoff frequency (GHz) for the TM01TM_{01} mode in a circular waveguide of radius a=1cma = 1 cm. Which mode has the lowest cutoff frequency?
GHz
Intermediate
3.Expand 1/∣r−r′∣1/|r-r'| in spherical harmonics using the addition theorem. How is this used in computing Coulomb matrix elements in atomic structure calculations?
Intermediate
4.Define coherent states |α⟩\alpha⟩ and show they are eigenstates of the annihilation operator. What is the photon number distribution and why does this imply Poisson shot noise? How does squeezing improve measurement beyond shot noise?
Challenging
Key Takeaways
  • Gamma function: Γ(n+1)=n!,Γ(1/2)=π\Gamma(n+1) = n!, \Gamma(1/2) = \sqrt\pi. Appears in Gaussian integrals, n-sphere volumes.
  • Legendre Pl(x)P_{l}(x): eigenfunctions of L2L^{2} in azimuthal symmetry. Generating function → multipole expansion.
  • Spherical harmonics YlmY_{l}^m: eigenfunctions of L2L^{2} and LzL_{z}. Complete basis for functions on a sphere.
  • Bessel Jn(x)J_{n}(x): cylindrical symmetry problems. Zeros determine waveguide modes.
  • Hermite Hn(x)H_{n}(x): harmonic oscillator eigenfunctions. Generating function → coherent states.
  • Hypergeometric F(a,b;c;z): master ODE containing most special functions as special cases.