Fourier series

A synthesiser with 11 sliders: each slider is one sine wave, a harmonic. Add them up to build a square, sawtooth or triangle wave and hear it through the speaker.

The oscilloscope shows each harmonic and their sum, the spectrum analyser shows the frequencies. See for yourself that any periodic signal is a sum of sine waves.

In this lab

  • adding harmonics
  • square, sawtooth and triangle waves
  • the spectrum analyser
  • a sound synthesiser

What you learn

We see that any repeating wave can be built by adding simple sine waves.

Laws and formulas

y(t) = A₁ sin ωt + A₂ sin 2ωt + A₃ sin 3ωt + … — Add “harmonics” 2, 3, 4… times faster to the basic wave.

  • Aₙ — amplitude of the n-th harmonic
  • N — number of harmonics added

Square: 1, 1/3, 1/5, 1/7 … — A square wave is made only of odd harmonics.

Equipment

  • Mixer — sets each harmonic’s amplitude.
  • Oscilloscope — draws the summed wave.
  • Spectrum — shows which harmonics are present and how strong.

Common mistakes

  • Thinking the “horns” at the corners vanish with many harmonics: about 9% always remains (Gibbs effect).

In real life

  • Instruments sound different because each has its own mix of harmonics.
  • MP3 and JPEG compression are built on Fourier’s idea.

Virtual Lab › Oscillations and waves

Related labs

  • Simple pendulum
  • Spring pendulum
  • Resonance: Pohl's pendulum
  • Kinetic rings
  • Mechanical clock
  • Standing waves