Module 1: Mathematical methods · Lesson 1.10 · about 45 min
Fourier series
How any periodic signal is built from sines and cosines: the coefficient formulas and where they come from, even and odd shortcuts, half-range series, what happens at jumps (and the Gibbs overshoot), Parseval's theorem and power, the complex form, and summing famous series.
Module 1 · about 45 minutes. By the end you will be able to find the Fourier series of the standard waves quickly, use symmetry to skip most of the integrals, say what the series does at a jump, explain the Gibbs overshoot, use Parseval’s theorem for power and RMS values, switch to the complex form, and evaluate sums like from a series.
1. Building a wave from sines
A function with period can be written as
Each term repeats every (and also at shorter intervals), so the sum does too. The term is the fundamental; are the harmonics. A guitar note, the voltage out of a rectifier, a square clock pulse: all of them are sums like this. Choose a wave below and add harmonics one at a time.
2. The coefficients and why they work
The whole method rests on orthogonality: over one period, the product of two different members of the set integrates to zero, while a square gives :
So to pick out one coefficient, multiply the series by that function and integrate: every other term dies.
Start from the series. f(x) = a₀/2 + Σ(an cos nx + bn sin nx).
Multiply by cos mx. Integrate both sides from −π to π.
Orthogonality kills the rest. Every sine term and every cosine with n ≠ m integrates to zero. Only am cos² mx survives, giving π am.
Read off the coefficient. am = (1/π)∫ f(x) cos mx dx. The same with sin mx gives bm.
The constant. With m = 0, cos 0 = 1 integrates to 2π, which is why the series is written with a₀/2: the formula for an then works for n = 0 too, and a₀/2 is the average of f.
For period replace by and by .
Symmetry does half the work. If is even, every and . If is odd, every and . Check symmetry before integrating anything.
Worked example: the square wave. on , on . It is odd, so
and . Only odd harmonics: a symmetric square wave has no even ones.
Worked example: . Odd again. , so on . Likewise .
Finite series. A product of sines and cosines is already a finite Fourier series; use identities, not integrals. and .
3. What happens at a jump
Dirichlet’s theorem. If is piecewise smooth, its Fourier series converges to wherever is continuous, and to the average at a jump. The ends of the interval count: for on the periodic copy jumps from to at , so the series gives there.
Smoothness and decay. The smoother the periodic function, the faster its coefficients fall: jumps give (square wave, sawtooth), corners give (triangle wave, ), a jump only in the second derivative gives . Fast decay means few terms are enough.
“With enough terms the Fourier series of a square wave matches it perfectly everywhere.” Not quite. At every fixed point it does converge, but right next to each jump the partial sums always overshoot by about 9% of the jump (the Gibbs phenomenon). Adding terms only squeezes the overshoot closer to the jump. For a jump from to the peak stays near . Continuous waves such as the triangle wave have no overshoot at all.
Half-range series. A function given only on can be extended either evenly (giving a pure cosine series) or oddly (a pure sine series). Both match inside , but they behave differently at the ends: the sine series of gives at , the average of the jump from to in the odd extension. Half-range sine series are exactly the standing-wave modes of a string fixed at both ends.
4. Power: Parseval’s theorem
The mean square of a periodic function is shared among its harmonics:
Each harmonic carries half its amplitude squared (the average of is ), and cross terms average to zero by orthogonality.
- a₀/2
- the average (DC) level of the signal
- √(an² + bn²)
- the amplitude of the n-th harmonic
- (an² + bn²)/2
- the share of mean-square power the n-th harmonic carries
- Physical meaning
- The spectrum of a sound is its list of harmonic amplitudes: a clarinet and a flute playing the same note differ only in these numbers. Power and RMS values simply add over harmonics.
Worked example. volts. Mean square , so V. For the square wave, the fundamental alone carries of the power.
Summing series. Evaluating a series at a clever point, or applying Parseval, gives famous sums. The square wave at gives . Parseval for the square wave gives . The series of at gives , and Parseval on it gives .
5. The complex form and driven systems
With Euler’s formula (lesson 1.9) the series becomes tidier:
For real , and is the average. This is the form that grows into the Fourier transform when the period becomes infinite.
Why physicists love it: linear systems. A linear system (a spring, an LCR circuit) responds to each harmonic separately, so you can solve for one sine at a time and add. An oscillator driven by a periodic force responds to harmonic with amplitude : it resonates if matches any harmonic present. A symmetric square wave at 1 Hz drives a 3 Hz oscillator to resonance but not a 2 Hz one. See damped and forced oscillations.
- , , ; orthogonality makes it work; is the average.
- Even : cosines only. Odd : sines only. Period : use and .
- Square wave ; ; .
- At a jump the series gives the average; next to it the Gibbs overshoot stays near 9% of the jump. Jumps give coefficients, corners .
- Parseval: mean square ; RMS values add in quadrature over harmonics.
- Complex form , . Linear systems respond harmonic by harmonic.
Practise: exam questions on this lesson
They start easy and climb to top-rank level. Check each answer, then read the full solution. More on the Fourier series practice page.
Before this: lesson 1.9, complex numbers and Euler’s formula. Next: module 2 begins with Newton’s laws, inertial and non-inertial frames. Fourier ideas return in diffraction, where a far-field pattern is the Fourier transform of the aperture, and in the Schrödinger equation, where box states are a half-range sine series. Draw any wave as a sum of turning arrows in fibub’s Fourier visualiser. Going on to GATE? The GATE Physics course continues with Fourier and Laplace transforms.
Check yourself
Sources
- M. L. Boas, Mathematical Methods in the Physical Sciences, 3rd ed. (2006), chapter 7: Fourier series and transforms
- G. B. Arfken, H. J. Weber and F. E. Harris, Mathematical Methods for Physicists, 7th ed. (2013), chapter 19
- A. P. French, Vibrations and Waves, MIT Introductory Physics Series (1971), chapter 2 (Fourier analysis of periodic motion)
- IIT JAM Physics syllabus (Mathematical Methods section), published by the organising IIT each year
Your ticks stay in this browser. Save them as a file on the course home.
Updated 2026-11-22. Not affiliated with IIT or the JAM organising institute. Exam pattern as published for recent years: always check the official JAM website before the exam. All questions are original.