Superposition and Fourier Synthesis

The principle of superposition says that waves add linearly. Let's see what happens when we add a large number of waves that have different amplitudes, and wavelengths, but constrain the wavelengths so that each wavelength is an integer times some primary wavelength. So for instance, start with a wavelength of 1m, then add one with 2, 3, 4, 5,... all with different amplitudes. Add them up and you get a final wave that is the linear sum of all of them.

The following will let you build a wave that is the sum of a bunch of other waves with different amplitudes, with each wave having a wavelength that is an integer multiple of the first wave, called the "fundamental". At the top is an up arrow and down arrow that lets you change the total number of waves (initialized to 1). Increase the number and the program adds a new wave to the list on the right, but initially with amplitude zero. Drag the blue line up to increase the amplitude and see how the final wave behaves as you keep adding waves and modifying amplitudes. Hint: try the following coefficients:

Number of waves:


Drew Baden  Last update Jan 21, 2025
All rights reserved. No part of this publication may be reproduced, distributed, or transmitted in any form or by any means, including photocopying, recording, or other electronic or mechanical methods, without the prior written permission of the publisher, except in the case of brief quotations embodied in critical reviews and certain other noncommercial uses permitted by copyright law.