Biocybernetics and Systems Biology Course

by András Aszódi

Fourier demos

Fourier analysis plays a very important role in mathematics. A very short and basic introduction is provided in my Fourier refresher (PDF) handout.

Sums of sines

Sums of sine functions can be used to generate quite complicated waveforms. You can try adding two sines and vary the frequencies and amplitudes in the CDF demo below. Note, however, that because the sine function is an "odd" function, i.e. sin(-x) = -sin(x), and because sums of odd functions are also odd, one can decompose only odd functions into a (possibly infinite) sum of sines.

Sums of sines

Download CDF

Sums of sines and cosines

Because the cosine function is "even", i.e. cos(-x) = cos(x), a sum of a sine and a cosine function will be neither even nor odd in general. A big sum of sines and cosines with different amplitudes and frequencies will probably be flexible enough to approximate a large variety of periodic functions.

Sums of sines and cosines

Download CDF

Fourier series approximation

Functions can be approximated by their Fourier series. We try this with the "unit box" function

The unit box function

in blue, and its n-th order Fourier series approximation

Fourier series approximation of the unit box function

in orange:

Fourier series approximation

Download CDF