If two sound waves have frequencies that are very close, then we
can hear a phenomenon called *beats*. It occurs because the sum
of two sine waves has a frequency that is the difference between the
two frequencies.

The upper part of this figure shows two sine waves with almost identical frequencies. To add them, we use the trigonometric identity:

The result of this addition is shown in the lower part of the figure. The mathematical form of this curve is obtained from the above equation with

This leads to

The frequency in the sine term is the average of the two frequencies. The cosine term is very easy to hear because it is a modification of the amplitude at a very low frequency (like once per second).