Chapter 2Adding Waves Together

A single sine wave is simple. But add a couple together and you can already get shapes that don't look sine-like at all. This is the seed of the whole idea: complexity from simple ingredients.

Wave A 1.0 Hz
Wave B 3.0 Hz

Click and drag inside either circle to set that wave's amplitude and phase. Drag its wave (to the right of the circle) to change its frequency.

Wave A Wave B Sum: A + B

The formula

Watch these numbers move as you drag the dials above:

Nothing fancy — at every instant in time, just add the two heights together. That's it. Do this at every point along the timeline and a new curve appears.

Things worth noticing

Looking ahead: Chapter 3 takes this exact idea and pushes it to its limit — building a sharp-edged square wave purely out of smooth sine waves.