← thecodex.expert
Waves, Acoustics & Oscillations Hub Physicist Biographies
Definition Curious Exploring Deep Dive Sources
Mathematics of Waves · Concept

Fourier Series

Reading time: 9 minConfidence: HighLast verified: November 2026

For a function of period T and ω0 = 2π/T, f(t) = a0/2 + ∑n≥1 [ancos nω0t + bnsin nω0t], with an = (2/T)∫f cos nω0t dt and bn = (2/T)∫f sin nω0t dt over one period. The complex form is f = ∑ cneinω0t. At a jump discontinuity the series converges to the mean of the two sides, and near the jump the partial sums overshoot by about 9% of the jump (Gibbs phenomenon). The mean square equals a02/4 + ½∑(an2 + bn2).

Curious

One sentence that captures itA repeating wave of any shape is a stack of simple sine waves at one, two, three times the base pitch, each with its own strength.

Pluck a guitar string and it vibrates in many patterns at once, with frequencies in whole-number ratios. Their blend is the tone colour. The same is true for any repeating signal: a square wave, a sawtooth, or a heartbeat trace.

Sharp corners need many high harmonics; smooth curves need only a few.

Exploring

Worked examples(1) A unit square wave (±1) has bn = 4/(πn) for odd n and zero otherwise; the first terms are 1.273, 0.424, 0.255, 0.182. (2) A sawtooth rising from −1 to 1 has bn = 2(−1)n+1/(πn) and contains all harmonics. (3) With many terms the first overshoot beside the jump of the square wave peaks at 1.179 (about 9% of the jump of 2), and does not shrink as terms are added, only narrows. (4) Parseval for the square wave: the mean square is 1; the first three harmonics already hold 0.5(1.2732 + 0.4242 + 0.2552) = 0.93 of it. (Computed in Python.)
WaveformHarmonics presentCoefficient decay
SquareOdd only1/n
SawtoothAll1/n
TriangleOdd only1/n2
Smooth (analytic)ManyExponentially fast
Common mistake — Commonly ConfusedThe Gibbs overshoot is not a numerical error and does not vanish with more terms: its height stays near 9% of the jump while its width shrinks. The series converges pointwise to the function at points of continuity but to the average at jumps. And the coefficients depend on the choice of period: a non-periodic function can be given a series only on an interval, with the periodic extension outside it.

Deep Dive

Primary sourceFourier, J. (1822). Théorie analytique de la chaleur. Paris: Firmin Didot; Gibbs, J.W. (1899). “Fourier’s series.” Nature, 59, 606.

Use for the vibrating string. By d’Alembert and Bernoulli, the motion of a string with fixed ends is a sum of normal modes (see Standing Waves); the Fourier series of the initial shape gives the modal amplitudes. A string plucked at one-fifth of its length lacks the fifth harmonic, because that mode has a node at the plucking point. Plucking near the bridge excites more high harmonics and gives a brighter tone.

Convergence. For a square-integrable function the series converges in the mean (L2). Pointwise convergence holds for piecewise smooth functions (Dirichlet conditions); Carleson (1966) proved almost-everywhere convergence for all L2 functions, while du Bois-Reymond showed continuous functions whose series diverge at a point. Smoothness controls decay: each derivative that exists adds roughly a factor of 1/n. Fejér sums (averages of partial sums) avoid the Gibbs overshoot.

Applications. Solving linear ordinary and partial differential equations by separation of variables, with periodic or fixed boundary conditions (the heat equation, which Fourier set out to solve; see Conduction); analysis of driven oscillators with periodic forces (see Forced Oscillations), where each harmonic of the force is responded to separately; harmonic distortion in electronics; and additive synthesis in music.

Sources

  • Körner, T.W. (1988). Fourier Analysis. Cambridge University Press.
  • Bracewell, R.N. (2000). The Fourier Transform and Its Applications (3rd ed.). McGraw-Hill.
  • Fourier, J. (1822). Théorie analytique de la chaleur. Paris.
  • Gibbs, J.W. (1899). Nature, 59, 606.
  • French, A.P. (1971). Vibrations and Waves. MIT Introductory Physics Series. Norton.
Last verified: November 2026 · Source: Fourier (1822); Gibbs (1899); Körner (1988) · Confidence: high