Vijay_Wiki
/ Maths for engineers / Fourier series

Fourier Series and the Fourier Transform: Building Signals from Sine Waves

K Vijay Anand · Vijay_Wiki quick-reference article · 24 November 2026
FourierSignal processingHarmonicsMaths

Joseph Fourier showed that any reasonable periodic signal can be written as a sum of sine and cosine waves at multiples of its fundamental frequency. That idea underlies every spectrum analyser: a vibration spectrum is the list of those sine-wave amplitudes. Seeing how square or triangle waves are built from harmonics explains why impacts and clipping produce long rows of harmonics.

Key takeaways

  • Periodic x(t) = a₀ + Σ [aₙcos(nω₀t) + bₙsin(nω₀t)], with coefficients from integrals over one period.
  • Square wave: only odd harmonics, amplitude 4/(πn); triangle wave: odd harmonics falling as 1/n²; sawtooth: all harmonics as 1/n.
  • Sharp edges need many harmonics; near a jump the partial sum overshoots by about 9 % (Gibbs phenomenon).
  • Parseval: mean square of the signal = sum of squared harmonic RMS values, the basis of overall RMS from a spectrum.
  • The Fourier transform extends this to non-periodic signals; the DFT/FFT computes it for sampled data.

1. Fourier series

x(t) = a0 + Σ [an·cos(nω0t) + bn·sin(nω0t)] an = (2/T)·∫ x(t)·cos(nω0t) dt bn = (2/T)·∫ x(t)·sin(nω0t) dt (over one period) Square (±1): x = (4/π)·Σ sin(nω0t)/n, n odd Triangle: x = (8/π²)·Σ (−1)^k·sin((2k+1)ω0t)/(2k+1)² Sawtooth: x = (2/π)·Σ (−1)^(n+1)·sin(nω0t)/n
-1-0.500.5100.250.50.7511.251.51.752time (periods)amplitude1 terms3 terms15 terms
Figure 1. Partial sums of the square-wave series with 1, 3 and 15 terms: edges sharpen, but an overshoot of about 9 % remains near each jump.

2. Parseval and RMS

RMS² = a0² + ½·Σ (an² + bn²) = Σ (harmonic RMS)² Overall RMS from a spectrum = √(Σ line RMS²)

3. Transform and DFT

X(f) = ∫ x(t)·e^(−j2πft) dt DFT: X_k = Σ_{n=0}^{N−1} x_n·e^(−j2πkn/N), frequency of bin k = k·Fs/N

Engineering consequences: impacts and clipping (sharp edges) create many harmonics; a pure sine creates one line; amplitude modulation creates sidebands; a periodic train of impulses creates a comb of lines at the repetition rate.

4. Calculators

Waveform synthesiser

5. Self-test: check your understanding

Pick an answer to see the explanation. Numerical answers are accepted within the stated tolerance (±3 % unless noted).

Score

6. References and further reading

  1. Kreyszig, E., Advanced Engineering Mathematics, 10th ed., Wiley, Ch. 11.
  2. Bracewell, R. N., The Fourier Transform and Its Applications, 3rd ed., McGraw-Hill, 2000.
  3. Oppenheim, A. V. and Willsky, A. S., Signals and Systems, 2nd ed., Prentice Hall, 1997.

Web pages

Disclaimer

This article is for education and quick reference. Formulas are simplified first estimates and examples use typical data. For design, safety and maintenance decisions use manufacturers' data and the applicable standards.

Related Vijay_Wiki articles