Signal Processing Concepts and Engineering Insights. 


Explore signal processing concepts, algorithm comparisons, and practical engineering insights.
Topics include FFT vs STFT, FRF analysis, filtering techniques, and other signal processing methods used in real engineering workflows.

Digital Sampling & ConversionUnderstanding the Nyquist Theorem in Digital Signal Processing

Understanding the Nyquist Theorem in Digital Signal Processing

Digital(Discrete-time) signal processing relies on one fundamental principle that governs how continuous signals can be represented in digital form: the Nyquist Theorem.

Whenever an analog signal is converted into a digital signal through sampling, the sampling rate determines whether the original information can be reconstructed accurately. If the sampling rate is chosen incorrectly, distortions known as aliasing appear, permanently altering the signal's frequency content.

In this article, we will explore

  • What the Nyquist theorem is

  • Why it is essential for digital(discrete-time) signal processing

  • What happens when the sampling rule is violated

  • How engineers apply the theorem in practical systems


What Is the Nyquist Theorem?

The Nyquist TheoremNyquist–Shannon Sampling Theorem, states that a continuous signal can be perfectly reconstructed from its samples if the sampling frequency is greater than twice the highest frequency component of the signal.


Mathematically

Fs ≥ 2Fmax

  • Fs: Sampling frequency
  • Fmax: Maximum frequency of signal


Commonly used concept is the Nyquist frequency, which is defined as

Nyquist frequency


 This represents the highest frequency that can be represented without aliasing.


Why Sampling Is Necessary

Real-world signals are often continuous in time, meaning they exist at every moment. However, digital systems cannot process continuous signals directly. Instead, signals must be converted into a sequence of discrete samples.

Sampling is the process of measuring the signal amplitude at regular time intervals.

For example

Signal TypeRepresentation
Analog signalContinuous waveform
Digital signalDiscrete samples

The goal is to choose a sampling rate high enough to preserve the original signal content. 


Continuous sine wave vs sampled signal

Continuous signal(assumed) and its sampled representation


The Nyquist Frequency

The Nyquist frequency represents the maximum frequency that can be captured without distortion.

If a signal contains frequencies higher than the Nyquist frequency, those components will fold back into the spectrum, producing incorrect frequency components.

For example

Sampling FrequencyNyquist frequency
1000Hz500 Hz
2000Hz1000 Hz
8000Hz4000 Hz

This means that if the signal contains frequencies above the Nyquist frequency, aliasing will occur.


FFT spectrum showing Nyquist limit

Frequency spectrum showing components below the Nyquist limit


MALMIJAL example

  • Signal: 100 Hz + 700 Hz

  • Sampling rate: 2000 Hz → Nyquist frequency: 1000Hz

  • FFT display

 

What Is Aliasing?

Aliasing occurs when a signal contains frequency components that exceed the Nyquist frequency.

Instead of appearing at their true frequency, these components appear at a different frequency within the measurable range.

This phenomenon happens because the sampling process cannot distinguish between certain high-frequency components.

The aliasing frequency can be calculated as
alias frequency


  • fsignal is actual signal frequency
  • Fs is sampling frequency
  • n is integer

Aliasing demonstration

Example of frequency folding caused by insufficient sampling rate


MALMIJAL example

  • Original signal: 700 Hz

  • Sampling rate: 1000 Hz → Nyquist frequency: 500Hz 

  • FFT result showing alias around 300 Hz


Visualizing Aliasing

A useful way to understand aliasing is to compare two sampling scenarios.

CaseSampling FrequencyResult
Proper samplingAbove Nyquist frequencyAccurate frequency
UndersamplingBelow Nyquist frequencyFrequency-folding

When the sampling frequency is too low, the waveform still appears periodic, but it actually represents the wrong signal.


Same signal sampled at different rates

Same signal sampled at different rates demonstrating aliasing


MALMIJAL example

  • Signal: 400 Hz sine wave

  • Case 1: Fs = 2000 Hz

  • Case 2: Fs = 600 Hz


In this example, the signal frequency is 400 Hz, the Nyquist condition (400 < Fs/2 = 1000) is satisfied and the waveform is represented correctly. However, when the same signal is sampled at 600 Hz, the Nyquist frequency becomes 300 Hz, which is lower than the signal frequency.

As a result, aliasing occurs.

The aliasing frequency can be calculated as:

alias frequency

 

For this example:  

474a6931776a6.png


This means that a 400 Hz signal sampled at 600 Hz will appear as a 200 Hz signal in the sampled data.


frequency domain. When the FFT is computed for the properly sampled signal, the spectrum shows a peak at 400 Hz. However, when the signal is sampled at 600 Hz, the FFT instead shows a peak at 200 Hz, which corresponds to the alias frequency predicted by the equation.

Proper Sampling FFT and Aliasing FFT

FFT comparison showing the original 400 Hz signal and its 200 Hz alias caused by undersampling


Nyquist Theorem in Real Engineering Systems

In real systems, engineers rarely use the Nyquist rate exactly.

Instead, the sampling rate is usually chosen higher than the theoretical limit

Common examples include

ApplicationSampling Rate
Audio CD44.1 kHz
Speech processing16 kHz
Vibration analysisseveral kHz
RF systemsMHz or higher


Anti-aliasing filter

Before sampling, analog signals are typically passed through a low-pass filter that removes frequencies above the Nyquist frequency.

This prevents aliasing from occurring during the sampling process.

Anti-aliasing filter before sampling

Digital anti-aliasing filtering ensures that the signal satisfies the Nyquist condition before downsampling

(refer to Samples/anti-aliasing.mmj)


MALMIJAL example

  • Original signal

  • LPF applied

  • Downsampling result


Practical Rule Used by Engineers

In practice, engineers rarely place the cutoff frequency exactly at the Nyquist frequency.

Instead, the cutoff is usually set slightly below the Nyquist frequency

For example

Sampling Frequency (Fs )Nyquist FrequencyTypical LPF cutoff
2000Hz1000Hz800 ~ 900 Hz (0.4Fs ~ 0.45Fs)

This margin ensures that unwanted high-frequency components are sufficiently attenuated. 


Summary

The Nyquist theorem is one of the most fundamental principles in digital signal processing.

It defines the minimum sampling rate required to preserve the frequency content of a signal.

Key takeaways

  • A signal must be sampled at at least twice its highest frequency

  • The Nyquist frequency is half of the sampling rate

  • Frequencies above the Nyquist limit cause aliasing

  • Anti-aliasing filters are used to prevent this problem

  • Practical systems use a margin below the Nyquist frequency

Understanding the Nyquist theorem is essential for designing reliable digital signal processing systems, from audio recording to advanced engineering measurements.


Suggested Further Reading

#You may also find these topics helpful:

 

Nyquist theorem illustration showing sampling, Nyquist limit, and aliasing in DSP.


 

 




Terms and conditions     Privacy policy


PANAX SYSTEM Co., Ltd.  |  #103, 20, Yuseong-daero 1184beon-gil, Yuseong-gu, Daejeon 34109, Republic of Korea

Tel: +82-42-864-1325  |  E-mali: malmijal@panaxsyste.com  |  CEO : WonSeok Yun

Business Registration No. : 318-81-06618  |  Mail-Order License No. : 2015-Daejeon Yuseong-0060  |  Hosting Provider: IMWEB Co., Ltd. 

Copyright ⓒ 2026 PANAX SYSTEM Co., Ltd. All rights reserved.