Mathematical Physics II

A continuous, derivation-rich journey through the core mathematical methods of modern physics. Emphasis is placed on the method of Frobenius and the classical special functions (Legendre, Hermite, Laguerre, Bessel).

60
Theory Hours
6
Major Units
Problems

Learning Philosophy

Theory is interleaved with full derivations, worked examples, and typical examination-style problems. The Frobenius method is developed carefully so that the classical orthogonal polynomials and Bessel functions appear as natural consequences of regular singular points.

Syllabus Roadmap

12h

Fourier Series

Periodic functions, orthogonality, Dirichlet conditions, complex form, Parseval, applications.

14h

Frobenius & Special Functions

Full derivations of Legendre, Hermite, Laguerre, Bessel · Rodrigues, generating functions, orthogonality.

2h

Dirac Delta Function

Definition, representations, properties, distributions.

4h

Special Integrals

Beta & Gamma functions, Error function, Stirling.

2h

Theory of Errors

Systematic vs random, propagation, normal law.

~26h

Partial Differential Equations

Laplace & Wave equations · separation of variables · special-function solutions.

Unit 1 · 12 Hours

Fourier Series

1.1 Periodic Functions & Orthogonality

A function \( f(x) \) is periodic with period \( T \) if \( f(x+T) = f(x) \) for all \( x \) in the domain. The fundamental period is the smallest positive such \( T \). The trigonometric system \(\{1,\cos nx,\sin nx\}\) is orthogonal on \([-\pi,\pi]\).

Orthogonality Relations

\[ \int_{-\pi}^{\pi} \sin(mx)\sin(nx)\,dx = \pi \delta_{mn}\ (m,n\geq 1),\qquad \int_{-\pi}^{\pi} \cos(mx)\cos(nx)\,dx = \pi \delta_{mn}\ (m,n\geq 1),\ 2\pi\ \text{if }m=n=0, \] \[ \int_{-\pi}^{\pi} \sin(mx)\cos(nx)\,dx = 0. \]

1.2 Dirichlet Conditions

If \( f \) is \( 2\pi \)-periodic, absolutely integrable on one period, and possesses only finitely many maxima, minima and jump discontinuities, then the Fourier series converges to \( f(x) \) at every point of continuity and to the average of the left- and right-hand limits at a jump discontinuity.

1.3 Real Fourier Series

\[ f(x)\sim\frac{a_0}{2}+\sum_{n=1}^\infty\bigl(a_n\cos nx+b_n\sin nx\bigr), \] \[ a_n=\frac1\pi\int_{-\pi}^\pi f(x)\cos nx\,dx,\qquad b_n=\frac1\pi\int_{-\pi}^\pi f(x)\sin nx\,dx. \]

1.4 Complex Form

\[ f(x)\sim\sum_{n=-\infty}^\infty c_n e^{inx},\qquad c_n=\frac1{2\pi}\int_{-\pi}^\pi f(x)e^{-inx}\,dx. \]

The relations \( c_0=a_0/2 \), \( c_n=(a_n-ib_n)/2 \), \( c_{-n}=(a_n+ib_n)/2 \) connect the two forms.

1.5 Even & Odd Extensions

Even: \( f(-x)=f(x) \)

Only cosine terms remain (\( b_n=0 \)). On \([0,L]\) one obtains a Fourier cosine series.

Odd: \( f(-x)=-f(x) \)

Only sine terms remain (\( a_n=0 \)). On \([0,L]\) one obtains a Fourier sine series.

1.6 Parseval’s Identity

\[ \frac1\pi\int_{-\pi}^\pi [f(x)]^2\,dx = \frac{a_0^2}{2}+\sum_{n=1}^\infty(a_n^2+b_n^2). \]

A powerful tool for summing numerical series (e.g. \( \sum 1/n^2=\pi^2/6 \)).

1.7 Typical Worked Problems

Example 1 – Square wave

Let \( f(x)=1 \) for \( 0

Example 2 – \( f(x)=x \) on \( (-\pi,\pi) \)

Odd ⇒ only sine terms. Integration by parts yields \( b_n=2(-1)^{n+1}/n \). Thus \[ x=2\sum_{n=1}^\infty\frac{(-1)^{n+1}}{n}\sin nx. \] Parseval immediately gives \( \sum 1/n^2=\pi^2/6 \).

Typical Problems

  1. Expand \( f(x)=|x| \) on \( (-\pi,\pi) \) in a Fourier series and deduce \( \sum_{n=0}^\infty 1/(2n+1)^2=\pi^2/8 \).
  2. Find the Fourier cosine series of \( f(x)=x \) on \( [0,\pi] \) and use Parseval to evaluate \( \sum 1/n^4 \).
  3. Show that the complex coefficients of \( e^{ax} \) (\( a \) real) on \( (-\pi,\pi) \) are \( c_n=\frac{(-1)^n\sinh(a\pi)}{\pi(a-in)} \).
  4. A function equals \( x(\pi-x) \) on \( (0,\pi) \). Write its sine series and its cosine series; compare the rates of convergence.
Unit 2 · 14 Hours

Frobenius Method & Special Functions

Click here to learn in details

2.1 Classification of Singular Points

Consider the second-order linear equation written in standard form \[ y''+P(x)y'+Q(x)y=0. \] A point \( x_0 \) is an ordinary point if both \( P \) and \( Q \) are analytic there. Otherwise it is a singular point. The singularity is regular if \( (x-x_0)P(x) \) and \( (x-x_0)^2 Q(x) \) are analytic; otherwise it is irregular.

Near a regular singular point the method of Frobenius guarantees at least one solution of the form \( x^r\sum a_n x^n \) (with \( a_0\neq0 \)). The possible values of the indicial exponent \( r \) are roots of a quadratic equation.

2.2 The Method of Frobenius – General Procedure

Assume a regular singular point at the origin. Substitute the ansatz \[ y=x^r\sum_{n=0}^\infty a_n x^n,\qquad a_0\neq0 \] into the differential equation. Collect the lowest power of \( x \) to obtain the indicial equation \[ r(r-1)+p_0 r+q_0=0, \] where \( p_0=\lim_{x\to0}xP(x) \) and \( q_0=\lim_{x\to0}x^2 Q(x) \). The two roots \( r_1\geq r_2 \) determine the possible leading behaviours. A recurrence relation then fixes all higher coefficients \( a_n \) in terms of \( a_0 \).

Possible behaviours when \( r_1-r_2 \) is an integer

  • If the difference is not an integer, two independent Frobenius series exist.
  • If the difference is a positive integer, the larger root always yields a solution; the smaller root may or may not (logarithmic term may appear).
  • If the roots are equal, the second independent solution necessarily contains a logarithm.

2.3 Legendre’s Equation – Full Derivation

Legendre’s equation arises in the separation of variables for Laplace’s equation in spherical coordinates: \[ (1-x^2)y''-2xy'+\ell(\ell+1)y=0,\qquad x=\cos\theta\in[-1,1]. \] The points \( x=\pm1 \) are regular singular points; the origin is an ordinary point. We therefore seek a power-series solution about \( x=0 \): \[ y=\sum_{n=0}^\infty a_n x^n. \] Differentiation and substitution produce the two-term recurrence \[ a_{n+2}=\frac{(n+\ell+1)(n-\ell)}{(n+1)(n+2)}a_n. \] Consequently the series splits into an even part (starting from \( a_0 \)) and an odd part (starting from \( a_1 \)). For the series to terminate and remain finite at \( x=\pm1 \), one of the two series must terminate, which forces \( \ell \) to be a non-negative integer. The resulting polynomials, normalised by \( P_\ell(1)=1 \), are the Legendre polynomials.

\[ P_0=1,\quad P_1=x,\quad P_2=\tfrac12(3x^2-1),\quad P_3=\tfrac12(5x^3-3x),\quad P_4=\tfrac18(35x^4-30x^2+3),\ \dots \]

Rodrigues formula

\[ P_\ell(x)=\frac1{2^\ell\ell!}\frac{d^\ell}{dx^\ell}(x^2-1)^\ell. \]

Proof follows by verifying that the right-hand side satisfies Legendre’s equation and the normalisation \( P_\ell(1)=1 \).

Generating function

\[ \frac1{\sqrt{1-2xt+t^2}}=\sum_{\ell=0}^\infty P_\ell(x)t^\ell,\qquad |t|<1. \]

Orthogonality

\[ \int_{-1}^1 P_\ell(x)P_m(x)\,dx=\frac2{2\ell+1}\delta_{\ell m}. \]

Worked example – first few polynomials via recurrence

Start with \( a_0=1 \), \( \ell=2 \). The recurrence gives \( a_2=-3/2\cdot a_0=-3/2 \), \( a_4=0 \). Normalising so that \( P_2(1)=1 \) yields \( P_2(x)=\frac12(3x^2-1) \).

2.4 Hermite’s Equation – Full Derivation

Hermite’s equation appears in the quantum harmonic oscillator: \[ y''-2xy'+2\nu y=0. \] The origin is an ordinary point, so we may use an ordinary power series \[ y=\sum_{n=0}^\infty a_n x^n. \] Substitution produces the recurrence \[ a_{n+2}=\frac{2(n-\nu)}{(n+1)(n+2)}a_n. \] Termination occurs when \( \nu=N \) (a non-negative integer). The resulting polynomials are the Hermite polynomials \( H_N(x) \), conventionally normalised so that the leading coefficient is \( 2^N \).

\[ H_0=1,\quad H_1=2x,\quad H_2=4x^2-2,\quad H_3=8x^3-12x,\quad H_4=16x^4-48x^2+12. \]

Rodrigues formula

\[ H_n(x)=(-1)^n e^{x^2}\frac{d^n}{dx^n}e^{-x^2}. \]

Generating function

\[ e^{2xt-t^2}=\sum_{n=0}^\infty\frac{H_n(x)}{n!}t^n. \]

Orthogonality (with weight \( e^{-x^2} \))

\[ \int_{-\infty}^\infty H_m(x)H_n(x)e^{-x^2}\,dx=\sqrt\pi\,2^n n!\,\delta_{mn}. \]

2.5 Laguerre’s Equation – Full Derivation

Laguerre’s equation arises in the radial hydrogen atom problem: \[ xy''+(1-x)y'+n y=0. \] The origin is a regular singular point. The Frobenius ansatz \( y=x^r\sum a_k x^k \) yields the indicial equation \( r^2=0 \), so a double root \( r=0 \). The recurrence becomes \[ a_{k+1}=\frac{k-n}{(k+1)^2}a_k. \] When \( n \) is a non-negative integer the series terminates and we obtain the Laguerre polynomials \( L_n(x) \).

\[ L_0=1,\quad L_1=1-x,\quad L_2=\tfrac12(x^2-4x+2),\quad L_3=\tfrac16(-x^3+9x^2-18x+6). \]

Rodrigues formula

\[ L_n(x)=\frac{e^x}{n!}\frac{d^n}{dx^n}(x^n e^{-x}). \]

Generating function

\[ \frac{e^{-xt/(1-t)}}{1-t}=\sum_{n=0}^\infty L_n(x)t^n,\qquad |t|<1. \]

Orthogonality (with weight \( e^{-x} \))

\[ \int_0^\infty L_m(x)L_n(x)e^{-x}\,dx=\delta_{mn}. \]

2.6 Bessel’s Equation – Full Derivation

Bessel’s equation of order \( \nu \) is \[ x^2 y''+xy'+(x^2-\nu^2)y=0. \] The origin is a regular singular point. The Frobenius ansatz \( y=x^r\sum_{k=0}^\infty a_k x^k \) produces the indicial equation \[ r^2-\nu^2=0\qquad\Rightarrow\qquad r=\pm\nu. \] For the larger root \( r=\nu \) the recurrence is \[ a_{k}=\frac{-1}{k(k+2\nu)}a_{k-2}\qquad(k\geq2). \] Choosing \( a_0=\frac1{2^\nu\Gamma(\nu+1)} \) yields the standard Bessel function of the first kind \[ J_\nu(x)=\sum_{k=0}^\infty\frac{(-1)^k}{k!\,\Gamma(k+\nu+1)}\Bigl(\frac x2\Bigr)^{2k+\nu}. \] When \( \nu \) is not an integer the second independent solution is \( J_{-\nu}(x) \). When \( \nu=n \) is an integer one must introduce the Bessel function of the second kind \( Y_n(x) \) (which contains a logarithmic singularity).

\[ J_0(x)=\sum_{k=0}^\infty\frac{(-1)^k}{(k!)^2}\Bigl(\frac x2\Bigr)^{2k},\qquad J_1(x)=\sum_{k=0}^\infty\frac{(-1)^k}{k!(k+1)!}\Bigl(\frac x2\Bigr)^{2k+1}. \]

Important recurrence relations

\[ J_{\nu-1}(x)+J_{\nu+1}(x)=\frac{2\nu}{x}J_\nu(x),\qquad J_{\nu-1}(x)-J_{\nu+1}(x)=2J_\nu'(x). \]

Generating function (integer order)

\[ e^{i x\sin\theta}=\sum_{n=-\infty}^\infty J_n(x)e^{in\theta}. \]

Worked example – indicial roots for a general equation

For \( 2x^2 y''+x(2x+1)y'-y=0 \) one finds \( p_0=1/2 \), \( q_0=-1/2 \). The indicial equation is \( 2r(r-1)+r-1=0 \), i.e. \( (2r+1)(r-1)=0 \), so \( r=1 \) and \( r=-1/2 \).

Typical Problems – Frobenius & Special Functions

  1. Apply the method of Frobenius to \( x y''+(1-x)y'+2y=0 \) and obtain the first three non-zero terms of each independent solution.
  2. Derive the recurrence relation for Legendre polynomials from the generating function and verify \( P_3(x) \).
  3. Using Rodrigues’ formula, prove the orthogonality of Hermite polynomials with weight \( e^{-x^2} \).
  4. Show that the series solution of Bessel’s equation of order \( 1/2 \) can be expressed in elementary functions: \[ J_{1/2}(x)=\sqrt{\frac2{\pi x}}\sin x,\qquad J_{-1/2}(x)=\sqrt{\frac2{\pi x}}\cos x. \]
  5. Find the first four Laguerre polynomials by successive differentiation of the Rodrigues formula and verify that they satisfy Laguerre’s equation.
  6. Prove the recurrence \( (n+1)L_{n+1}(x)=(2n+1-x)L_n(x)-n L_{n-1}(x) \).
  7. Locate the regular singular points of the hypergeometric equation and write down its indicial exponents at \( x=0 \).
Unit 3 · 2 Hours

Dirac Delta Function

Click here to view in detail Dirac Note

3.1 Definition as a Distribution

The Dirac delta is not a function in the classical sense; it is a continuous linear functional on a suitable space of test functions: \[ \langle\delta_a,f\rangle=\int_{-\infty}^\infty f(x)\delta(x-a)\,dx=f(a). \]

3.2 Common Representations

Gaussian

\[ \delta(x)=\lim_{\sigma\to0^+}\frac1{\sigma\sqrt{2\pi}}e^{-x^2/(2\sigma^2)} \]

Rectangular / Lorentzian

\[ \delta(x)=\lim_{\varepsilon\to0^+}\frac1\pi\frac{\varepsilon}{x^2+\varepsilon^2} \]

3.3 Fundamental Properties

  • \( \delta(-x)=\delta(x) \) (even)
  • \( x\delta(x)=0 \)
  • \( \delta(ax)=\frac1{|a|}\delta(x) \)
  • \( \delta(g(x))=\sum_i\frac{\delta(x-x_i)}{|g'(x_i)|} \) where \( x_i \) are simple zeros of \( g \)
  • \( \int f(x)\delta'(x)\,dx=-f'(0) \)
  • \( \theta'(x)=\delta(x) \) (Heaviside step function)

Example – composition

\( \delta(x^2-a^2)=\frac1{2|a|}[\delta(x-a)+\delta(x+a)] \) for \( a\neq0 \).

Typical Problems

  1. Evaluate \( \int_{-\infty}^\infty (x^3+2x+1)\delta(x-1)\,dx \) and \( \int_{-\infty}^\infty e^{-x^2}\delta'(x)\,dx \).
  2. Prove that \( \delta(ax+b)=\frac1{|a|}\delta\bigl(x+b/a\bigr) \).
  3. Show that the Fourier transform of 1 is \( 2\pi\delta(k) \).
  4. Express the charge density of a unit point charge at the origin in spherical coordinates using \( \delta(r) \).
Unit 4 · 4 Hours

Some Special Integrals

4.1 The Gamma Function

\[ \Gamma(z)=\int_0^\infty t^{z-1}e^{-t}\,dt,\qquad\Re(z)>0. \] \[ \Gamma(z+1)=z\Gamma(z),\qquad\Gamma(n+1)=n!\ (n\in\mathbb N_0). \]

Analytic continuation yields a meromorphic function with simple poles at the non-positive integers. The reflection formula reads \[ \Gamma(z)\Gamma(1-z)=\frac\pi{\sin(\pi z)}. \] Stirling’s approximation for large \( |z| \) in \( |\arg z|<\pi-\delta \) is \[ \Gamma(z)\sim\sqrt{2\pi/z}\,(z/e)^z. \]

4.2 The Beta Function

\[ B(m,n)=\int_0^1 t^{m-1}(1-t)^{n-1}\,dt=\frac{\Gamma(m)\Gamma(n)}{\Gamma(m+n)},\qquad\Re m>0,\ \Re n>0. \]

The substitution \( t=\sin^2\theta \) converts many definite integrals into Beta functions.

4.3 The Error Function

\[ \operatorname{erf}(x)=\frac2{\sqrt\pi}\int_0^x e^{-t^2}\,dt,\qquad \operatorname{erfc}(x)=1-\operatorname{erf}(x). \]

Asymptotic expansion for large positive \( x \): \[ \operatorname{erfc}(x)\sim\frac{e^{-x^2}}{x\sqrt\pi}\Bigl(1-\frac1{2x^2}+\frac{1\cdot3}{(2x^2)^2}-\cdots\Bigr). \]

Example – Gaussian integral

\( \int_{-\infty}^\infty e^{-ax^2+bx}\,dx=\sqrt{\pi/a}\,e^{b^2/(4a)} \) (\( a>0 \)). This follows by completing the square and using \( \Gamma(1/2)=\sqrt\pi \).

Typical Problems

  1. Evaluate \( \Gamma(1/2) \), \( \Gamma(3/2) \) and \( B(3,2) \) from first principles.
  2. Show that \( \int_0^{\pi/2}\sin^m\theta\cos^n\theta\,d\theta=\frac12 B\bigl(\frac{m+1}2,\frac{n+1}2\bigr) \).
  3. Prove the duplication formula \( \Gamma(z)\Gamma(z+1/2)=2^{1-2z}\sqrt\pi\,\Gamma(2z) \).
  4. Obtain the leading asymptotic term of \( \operatorname{erfc}(x) \) for large positive \( x \) by integration by parts.
Unit 5 · 2 Hours

Theory of Errors

5.1 Systematic versus Random Errors

Systematic

Reproducible biases arising from imperfect calibration, environmental drift, etc. They cannot be reduced by averaging; they must be estimated and corrected.

Random

Unpredictable fluctuations. Their effect is reduced by repeated measurement; the standard error of the mean falls as \( 1/\sqrt N \).

5.2 Propagation of Independent Uncertainties

If \( q=f(x,y,\dots) \) and the measured quantities are independent, the variance of \( q \) is approximately \[ \sigma_q^2\approx\Bigl(\frac{\partial f}{\partial x}\Bigr)^2\sigma_x^2+\Bigl(\frac{\partial f}{\partial y}\Bigr)^2\sigma_y^2+\cdots \] evaluated at the mean values.

5.3 The Normal (Gaussian) Law

\[ P(x)\,dx=\frac1{\sigma\sqrt{2\pi}}e^{-(x-\mu)^2/(2\sigma^2)}\,dx. \]

The probable error (half-width of the central 50 % probability) is approximately \( 0.6745\,\sigma \). The standard error of the mean of \( N \) independent measurements is \( \sigma/\sqrt N \).

Typical Problems

  1. A length is measured as \( L=12.34\pm0.05 \) cm and a time as \( T=3.2\pm0.1 \) s. Estimate the uncertainty in the velocity \( v=L/T \).
  2. Show that for a product \( q=xy \) one has \( (\sigma_q/q)^2=(\sigma_x/x)^2+(\sigma_y/y)^2 \) (relative uncertainties add in quadrature).
  3. Ten measurements of a quantity yield a sample standard deviation \( s=0.12 \). What is the standard error of the mean? How many measurements are needed to reduce it by a factor of three?
Unit 6 · ~26 Hours

Partial Differential Equations

Click here to learn more

6.1 Separation of Variables – General Strategy

Assume a product solution \( u=X(x)Y(y)\dots T(t) \). The PDE splits into ordinary differential equations linked by separation constants. Boundary conditions quantize the allowed values of those constants (eigenvalue problems). The general solution is a linear combination (often an infinite series) of the separated solutions.

6.2 Laplace’s Equation \( \nabla^2 u=0 \)

Cartesian: product of sines/cosines or exponentials; double Fourier series on a rectangle.

Cylindrical: radial equation becomes Bessel’s equation; angular part is trigonometric; axial part exponential or hyperbolic.

Spherical: angular part yields spherical harmonics \( Y_{\ell m}(\theta,\phi) \) (associated Legendre functions); radial part is \( r^\ell \) and \( r^{-(\ell+1)} \).

Example – Dirichlet problem on a disk

Inside the unit disk with boundary data \( u(1,\theta)=f(\theta) \), the solution is the Poisson integral \[ u(r,\theta)=\frac{1-r^2}{2\pi}\int_0^{2\pi}\frac{f(\phi)}{1-2r\cos(\theta-\phi)+r^2}\,d\phi, \] which is equivalent to the Fourier series \( \sum(A_n r^n\cos n\theta+B_n r^n\sin n\theta) \).

6.3 The Wave Equation \( \partial_t^2 u=c^2\nabla^2 u \)

Finite string with fixed ends → ordinary Fourier sine series in space, harmonic time dependence. Rectangular membrane → double Fourier series. Circular membrane → Bessel functions \( J_m(k_{mn}r) \) whose zeros determine the eigenfrequencies.

\[ u(r,\theta,t)=\sum_{m,n}J_m(k_{mn}r)\,(A\cos m\theta+B\sin m\theta)\,(C\cos\omega_{mn}t+D\sin\omega_{mn}t), \] where \( J_m(k_{mn}a)=0 \) and \( \omega_{mn}=c k_{mn} \).

Typical Problems

  1. Solve Laplace’s equation in a unit square with three sides held at zero and the fourth side equal to \( \sin(\pi x) \).
  2. Find the frequencies of a circular membrane of radius \( a \) for the modes \( (0,1) \), \( (1,1) \) and \( (2,1) \). (The first zeros of \( J_0,J_1,J_2 \) are approximately 2.405, 3.832, 5.136.)
  3. Separate variables in spherical coordinates for the Helmholtz equation and show that the radial equation becomes the spherical Bessel equation.
  4. A string of length \( \pi \) is released from rest with initial displacement \( x(\pi-x) \). Write the solution of the wave equation as a Fourier sine series.

🏆 Comprehensive Problems & Challenges

A selection of examination-style problems that integrate the material of the whole course.

Mixed Problems

  1. Expand \( f(x)=x^2 \) on \( (-\pi,\pi) \) in a Fourier series. Use Parseval’s identity to evaluate \( \sum_{n=1}^\infty 1/n^4 \).
  2. Starting from the generating function of the Legendre polynomials, derive the recurrence \( ( \ell+1)P_{\ell+1}=(2\ell+1)x P_\ell-\ell P_{\ell-1} \).
  3. Show that the Hermite polynomials satisfy the differential equation obtained by applying the operator \( D^2-2xD \) to the generating function.
  4. Prove that \( J_{1/2} \) and \( J_{-1/2} \) form a basis of solutions of Bessel’s equation of order \( 1/2 \), and express them in elementary functions.
  5. Using the Rodrigues formula for Laguerre polynomials, evaluate \( \int_0^\infty x L_n(x)L_m(x)e^{-x}\,dx \).
  6. A circular drum of radius 1 is struck so that the initial velocity is zero and the initial displacement is \( (1-r^2) \). Expand the subsequent motion in Bessel modes (axisymmetric case).
  7. Evaluate \( \int_0^\infty x^{a-1}e^{-px}\cos qx\,dx \) in terms of the Gamma function (assume \( \Re a>0 \), \( \Re p>|q| \)).