Consider a wave made up of two components with independent spatial and temporal frequencies ($k_1,k_2$ and $\omega_1,\omega_2$). For simplicity we can assume they both have equal amplitudes, so the wave $f(z,t)$ can be represented as
We can define the average and difference wave properties
so that the above equation becomes
The sum of the two waves is equivalent to the product of two different waves. The second wave, the average, will have a higher spatial and temporal frequency than the first, prefactor wave. The low-frequency wave is known as the envelope and the high-frequency wave is known as the carrier.
This simulation demonstrates such a combined waveform. The frequency of the envelope is
frequency of the "beat" pattern between the two waves. We can see that the velocity of the envelope,
the group velocity, is
Simulator