Advanced Physics‹›⌂ 0:00 studied

Module 22 · 8 min read · Free chapter

Fourier series, Fourier transforms and Laplace transforms: Dirichlet conditions, Parseval's theorem, convolution, Dirac delta, solving circuits and ODEs

What are you preparing for? We show the practice and previous year questions of your exam.

Start from zero: every sound is a sum of pure tones

Pluck a guitar string and you hear one note, but a sound analyser shows the fundamental plus a ladder of harmonics. The shape of the wave, and so the character of the instrument, comes from how strong each harmonic is. Joseph Fourier claimed in 1807 that any reasonable function can be built from sines and cosines.

That idea now runs through physics and engineering. It splits signals into frequencies, solves the heat and wave equations, explains diffraction, and lies behind MRI scans and mobile networks. Laplace transforms extend the trick to circuits and systems that start at a definite moment.

Fourier series

For f(x) with period 2L:

f(x)=a02+∑n=1∞(ancos⁡nπxL+bnsin⁡nπxL)f(x) = \frac{a_0}{2} + \sum_{n=1}^{\infty}\left(a_n\cos\frac{n\pi x}{L} + b_n\sin\frac{n\pi x}{L}\right)
an=1L∫−LLf(x)cos⁡nπxL dx,bn=1L∫−LLf(x)sin⁡nπxL dxa_n = \frac{1}{L}\int_{-L}^{L}f(x)\cos\frac{n\pi x}{L}\,dx, \qquad b_n = \frac{1}{L}\int_{-L}^{L}f(x)\sin\frac{n\pi x}{L}\,dx

These follow from the orthogonality of sines and cosines over a period, for example ∫−LLsin⁡mπxLsin⁡nπxL dx=L δmn\int_{-L}^{L}\sin\dfrac{m\pi x}{L}\sin\dfrac{n\pi x}{L}\,dx = L\,\delta_{mn}.

Dirichlet conditions. If f is single-valued, has a finite number of finite jumps and of maxima and minima in a period, and ∫∣f∣dx\int\lvert f\rvert dx is finite, the series converges to f(x) where f is continuous. At a jump it converges to 12[f(x+)+f(x−)]\dfrac{1}{2}\left[f(x^+) + f(x^-)\right].

Symmetry shortcuts. An even function has only cosines (bnb_n = 0); an odd function has only sines (ana_n = 0). A half-range series on (0, L) can be written as a pure sine or pure cosine series by extending f as odd or even.

Worked example: square wave. f = −1 for −π < x < 0 and +1 for 0 < x < π. The function is odd, so only bnb_n:

bn=2π∫0πsin⁡nx dx=2nπ(1−cos⁡nπ)={4nπ,n odd0,n evenb_n = \frac{2}{\pi}\int_0^\pi\sin nx\,dx = \frac{2}{n\pi}(1 - \cos n\pi) = \begin{cases}\frac{4}{n\pi}, & n \text{ odd}\\ 0, & n \text{ even}\end{cases}
f(x)=4π(sin⁡x+sin⁡3x3+sin⁡5x5+⋯ )f(x) = \frac{4}{\pi}\left(\sin x + \frac{\sin 3x}{3} + \frac{\sin 5x}{5} + \cdots\right)

Putting x=π2x = \dfrac{\pi}{2} gives Leibniz's series 1−13+15−⋯=π41 - \dfrac{1}{3} + \dfrac{1}{5} - \cdots = \dfrac{\pi}{4}.

Gibbs phenomenon. Near a jump the partial sums overshoot by about 9% of the jump, and the overshoot does not shrink as more terms are added; it only gets narrower.

Complex form. f(x)=∑n=−∞∞cneinπx/Lf(x) = \sum_{n=-\infty}^{\infty}c_ne^{in\pi x/L} with cn=12L∫−LLf(x)e−inπx/L dxc_n = \dfrac{1}{2L}\int_{-L}^{L}f(x)e^{-in\pi x/L}\,dx.

Parseval for series. 1L∫−LLf2 dx=a022+∑(an2+bn2)\dfrac{1}{L}\int_{-L}^{L}f^2\,dx = \dfrac{a_0^2}{2} + \sum\left(a_n^2 + b_n^2\right): the mean power is the sum of the powers in each harmonic.

Fourier transforms

Letting the period 2L→∞2L \to \infty, the discrete harmonics merge into a continuum:

F(k)=12π∫−∞∞f(x) e−ikx dx,f(x)=12π∫−∞∞F(k) eikx dkF(k) = \frac{1}{\sqrt{2\pi}}\int_{-\infty}^{\infty}f(x)\,e^{-ikx}\,dx, \qquad f(x) = \frac{1}{\sqrt{2\pi}}\int_{-\infty}^{\infty}F(k)\,e^{ikx}\,dk

The same pair links time and angular frequency (t and ω).

Worked example 1: square pulse. f = 1 for ∣x∣<a\lvert x\rvert < a, else 0. Then F(k)=2πsin⁡kakF(k) = \sqrt{\frac{2}{\pi}}\dfrac{\sin ka}{k}, a sinc function whose first zeros are at k=±πak = \pm\dfrac{\pi}{a}. A narrower pulse gives a wider spectrum. In optics this is single-slit diffraction: the far-field amplitude is the Fourier transform of the aperture (Fraunhofer diffraction).

Worked example 2: Gaussian. f(x)=e−x2/2σ2f(x) = e^{-x^2/2\sigma^2} gives F(k)=σ e−σ2k2/2F(k) = \sigma\,e^{-\sigma^2k^2/2}, again a Gaussian, of width 1σ\dfrac{1}{\sigma}. So Δx Δk=12\Delta x\,\Delta k = \dfrac{1}{2} (using standard deviations of ∣f∣2\lvert f\rvert^2), the minimum possible. With p=ℏkp = \hbar k this is exactly the Heisenberg relation Δx Δp≥ℏ2\Delta x\,\Delta p \ge \dfrac{\hbar}{2} (Gaussian wave packet).

Properties:

  • Shift: f(x−a)→e−ikaF(k)f(x - a) \to e^{-ika}F(k).
  • Scaling: f(ax)→1∣a∣F(ka)f(ax) \to \dfrac{1}{\lvert a\rvert}F\left(\dfrac{k}{a}\right).
  • Derivative: f′(x)→ik F(k)f'(x) \to ik\,F(k), so differential equations become algebraic.
  • Parseval (Plancherel): ∫∣f(x)∣2dx=∫∣F(k)∣2dk\int\lvert f(x)\rvert^2dx = \int\lvert F(k)\rvert^2dk.
  • Convolution: (f∗g)(x)=∫f(x′)g(x−x′) dx′(f * g)(x) = \int f(x')g(x - x')\,dx' transforms to 2π F(k)G(k)\sqrt{2\pi}\,F(k)G(k).

Dirac delta. Defined by ∫δ(x−a)f(x) dx=f(a)\int\delta(x - a)f(x)\,dx = f(a), with δ(ax)=δ(x)∣a∣\delta(ax) = \dfrac{\delta(x)}{\lvert a\rvert}. Its transform is a constant 12π\dfrac{1}{\sqrt{2\pi}}, giving δ(x)=12π∫eikx dk\delta(x) = \dfrac{1}{2\pi}\int e^{ikx}\,dk. A sharp impulse contains all frequencies equally, which is why a hammer blow excites every mode of a bell.

Uses. The fast Fourier transform (FFT) computes spectra of sampled data in Nlog⁡NN\log N steps. Seismologists filter noise from seismograms, X-ray crystallographers recover electron density from diffraction (the Fourier transform of the lattice), and spectrometers measure light by Fourier-transform interferometry. The sampling theorem says a signal with no frequency above fmaxf_{max} is fully captured by sampling at more than 2fmax2f_{max} (the Nyquist rate).

Laplace transforms

For a function defined for t ≥ 0:

F(s)=L{f(t)}=∫0∞f(t) e−st dtF(s) = \mathcal{L}\{f(t)\} = \int_0^\infty f(t)\,e^{-st}\,dt
f(t) F(s)
1 1s\dfrac{1}{s}
tnt^n n!sn+1\dfrac{n!}{s^{n+1}}
eate^{at} 1s−a\dfrac{1}{s - a}
sin⁡ωt\sin\omega t ωs2+ω2\dfrac{\omega}{s^2 + \omega^2}
cos⁡ωt\cos\omega t ss2+ω2\dfrac{s}{s^2 + \omega^2}
eatf(t)e^{at}f(t) F(s−a)F(s - a)
δ(t−a)\delta(t - a) e−ase^{-as}
unit step u(t−a)u(t - a) e−ass\dfrac{e^{-as}}{s}

Derivatives: L{f′}=sF(s)−f(0)\mathcal{L}\{f'\} = sF(s) - f(0) and L{f′′}=s2F(s)−sf(0)−f′(0)\mathcal{L}\{f''\} = s^2F(s) - sf(0) - f'(0). Initial conditions enter automatically, which is the main advantage over the D-operator method.

Worked example: ODE. Solve y′′+y=0y'' + y = 0 with y(0) = 0, y′(0) = 1. Transforming: s2Y−1+Y=0s^2Y - 1 + Y = 0, so Y=1s2+1Y = \dfrac{1}{s^2 + 1} and y=sin⁡ty = \sin t.

Worked example: RL circuit. A battery V is switched on at t = 0 in series with R and L: Ldidt+Ri=VL\dfrac{di}{dt} + Ri = V, i(0) = 0. Transform: LsI+RI=VsLsI + RI = \dfrac{V}{s}, so

I(s)=Vs(Ls+R)=VR(1s−1s+RL)I(s) = \frac{V}{s(Ls + R)} = \frac{V}{R}\left(\frac{1}{s} - \frac{1}{s + \frac{R}{L}}\right)
i(t)=VR(1−e−Rt/L)i(t) = \frac{V}{R}\left(1 - e^{-Rt/L}\right)

The time constant is LR\dfrac{L}{R}. An LCR circuit gives a quadratic in s whose roots decide whether the transient is oscillatory or overdamped, the same three regimes as the damped oscillator (ODEs).

Convolution theorem: L{(f∗g)(t)}=F(s)G(s)\mathcal{L}\{(f * g)(t)\} = F(s)G(s) with (f∗g)(t)=∫0tf(τ)g(t−τ) dτ(f * g)(t) = \int_0^t f(\tau)g(t - \tau)\,d\tau. In control and circuit theory, outputinput=H(s)\dfrac{\text{output}}{\text{input}} = H(s) is the transfer function; its poles in the right half of the s-plane mean instability.

Inverse transforms use partial fractions and the table; formally the Bromwich integral in the complex plane (complex analysis).

Mains lens: how UPSC asks this

Fourier analysis is examined in the CSE and IFoS papers through waves, optics (Fraunhofer diffraction as a transform) and wave packets, and directly in Geo-Scientist B1, where seismic signal processing also leans on it.

Expect:

  • Find the Fourier series of a square, triangular or sawtooth wave; deduce a numerical series (10 to 15 marks).
  • State Dirichlet conditions and explain the Gibbs phenomenon.
  • Find the Fourier transform of a Gaussian or a rectangular pulse and relate widths to the uncertainty principle.
  • Solve an LCR or RL transient, or an initial-value ODE, by Laplace transform.
  • Prove Parseval's theorem or the convolution theorem.

Model answer plan: "Obtain the Fourier series of the square wave f(x) = −1 for −π < x < 0, +1 for 0 < x < π, and deduce 1−13+15−⋯=π41 - \dfrac{1}{3} + \dfrac{1}{5} - \cdots = \dfrac{\pi}{4}." (15 marks).

  1. Sketch; note f is odd, so a0=an=0a_0 = a_n = 0.
  2. Compute bn=2nπ(1−cos⁡nπ)b_n = \dfrac{2}{n\pi}(1 - \cos n\pi); odd n only.
  3. Write the series with coefficients 4nπ\dfrac{4}{n\pi}.
  4. Put x=π2x = \dfrac{\pi}{2} to get the Leibniz series.
  5. Comment on convergence to 0 at x = 0 and the Gibbs overshoot.

Quick revision

  • Series: ana_n, bnb_n by orthogonality; even → cosines, odd → sines; jump → mid-value; Gibbs ≈ 9%.
  • Square wave: 4π∑odd nsin⁡nxn\dfrac{4}{\pi}\sum_{\text{odd }n}\dfrac{\sin nx}{n}.
  • Transform: Gaussian ↔ Gaussian; Δx Δk≥12\Delta x\,\Delta k \ge \dfrac{1}{2}; slit ↔ sinc.
  • Parseval: energy same in both domains; convolution ↔ product.
  • δ(x)=12π∫eikxdk\delta(x) = \dfrac{1}{2\pi}\int e^{ikx}dk; Nyquist: sample above 2fmax2f_{max}.
  • Laplace: L{f′}=sF−f(0)\mathcal{L}\{f'\} = sF - f(0); RL: i=VR(1−e−Rt/L)i = \dfrac{V}{R}\left(1 - e^{-Rt/L}\right); transfer function poles.

Mains answer practice

Write your answer first, then open the points a good answer should cover.

  1. Obtain the Fourier series of the square wave f(x) = −1 for −π < x < 0 and +1 for 0 < x < π. Deduce that 1 − 1/3 + 1/5 − ... = π/4 and comment on the series at x = 0.

    Show answer points
    • f is odd, so a0 = an = 0
    • bn = (2/π)∫ from 0 to π of sin nx dx = 2(1 − cos nπ)/(nπ)
    • bn = 4/(nπ) for odd n, 0 for even n; f = (4/π)(sin x + sin 3x/3 + ...)
    • x = π/2 gives Leibniz series π/4
    • At x = 0 series gives 0, the mean of −1 and +1; Gibbs overshoot about 9% near jumps
  2. State the Dirichlet conditions for the convergence of a Fourier series. What does the series converge to at a point of discontinuity?

    Show answer points
    • f periodic and single-valued
    • Finite number of finite discontinuities in a period
    • Finite number of maxima and minima in a period
    • Integral of |f| over a period finite
    • At a jump the series converges to [f(x+) + f(x−)]/2
  3. Find the Fourier transform of the Gaussian f(x) = exp(−x²/2σ²). Show that the product of widths in x and k is the minimum possible and relate this to the uncertainty principle.

    Show answer points
    • F(k) = (1/√2π)∫ exp(−x²/2σ²) exp(−ikx) dx
    • Complete the square: F(k) = σ exp(−σ²k²/2), again Gaussian
    • Width of |f|² is σ/√2, of |F|² is 1/(σ√2)
    • Δx Δk = 1/2, the minimum
    • With p = ħk: Δx Δp = ħ/2, the minimum-uncertainty wave packet
  4. State and prove Parseval's theorem for Fourier transforms. State the convolution theorem and give one application in optics or geophysics.

    Show answer points
    • Statement: ∫|f(x)|² dx = ∫|F(k)|² dk
    • Write f* as inverse transform of F*, swap integrals
    • Use ∫ exp(i(k − k′)x) dx = 2π δ(k − k′)
    • Convolution (f * g) transforms to √(2π) F G
    • Application: diffraction of a slit array = product of single-slit and grating factors; seismogram = source wavelet convolved with Earth response
  5. Using the Laplace transform, find the current in a series RL circuit when a battery of emf V is switched on at t = 0. Define the time constant.

    Show answer points
    • L di/dt + Ri = V, i(0) = 0
    • Transform: (Ls + R) I(s) = V/s
    • Partial fractions: I(s) = (V/R)[1/s − 1/(s + R/L)]
    • Inverse: i(t) = (V/R)(1 − exp(−Rt/L))
    • Time constant L/R: current reaches 63% of V/R

Previous year questions

Previous year questions for UPSC CSE will appear here once each one is checked word for word against the official question paper.

Learn with AI

A tutor that asks instead of telling, a partner that argues the other side, and this chapter told through your own district.

Tell the tutor what you are stuck on. It will guide you with questions and give the answer after a few tries.

🙋 Raise a doubt or feedback

Stuck somewhere, or spotted a mistake? Write to the ExamHike team. We usually reply within a day, and you will see the reply on My progress.

Log in to ask a doubt or send feedback →

More in this module: Mathematical physics

Official sources

Facts in this chapter were checked against these official sources.

  1. IGNOU PHE-05 Mathematical Methods in Physics II: Fourier series and integral transforms
  2. MIT OpenCourseWare 18.03 Differential Equations: Fourier series and Laplace transform