Signals & series

Waves as Building Blocks

A first look at Fourier series

Building intuition10 min readSample lesson

Video preview placeholder

No completed video is available for this sample lesson yet.

Video coming later
The idea

What you’ll explore

Sine and cosine waves are useful building blocks. Fourier series express many periodic functions as a weighted combination of these familiar shapes.

A Fourier series

f(x)∼a02+∑n=1∞(ancos⁡(nx)+bnsin⁡(nx))f(x) \sim \frac{a_0}{2} + \sum_{n=1}^{\infty} \left(a_n\cos(nx)+b_n\sin(nx)\right)

Step by step

  1. 01

    Each term contributes a wave with its own frequency and amplitude.

  2. 02

    Adding more terms can capture finer changes in the original periodic function.

  3. 03

    The approximation and its convergence depend on the function and how its coefficients are chosen.

A small code example

Python
approximation = a0 / 2
for n in range(1, terms + 1):
    approximation += (
        a[n] * cos(n * x)
        + b[n] * sin(n * x)
    )
Keep exploring

Related lessons