In digital signal processing, aliasing occurs when the signal is not sampled with a high enough sampling rate and consequently high frequencies are confused with low frequencies.
According to the Nyquist-Shannon sampling theorem, the sampling rate f_{s} can properly represent frequencies of only up to f_{s} / 2. Since
the frequencies f and f_{s} – f, if sampled with the frequency f_{s}, would have the same values at all samples. Thus, even though we may be sampling the higher of those two frequencies, any equipment or software would confuse this higher frequency for the lower one.
The following figure shows the waves f = 500 Hz and f_{s} – f = 1500 Hz sampled at f_{s} = 2000 Hz. Both waves have the same values at each sample.