What is the Nyquist theorem? (2024)

What is the Nyquist theorem? (1)

By

  • Gavin Wright

What is the Nyquist theorem?

The Nyquist theorem is also known as the sampling theorem. It is the principle to accurately reproduce a pure sine wave measurement, or sample, rate, which must be at least twice its frequency. The Nyquist theorem underpins all analog-to-digital conversion and is used in digital audio and video to reduce aliasing. The Nyquist theorem is also known as the Nyquist-Shannon theorem or the Whittaker-Nyquist-Shannon sampling theorem.

The Nyquist theorem is an important component of digital communication. Much of the human experience is analog in nature, such as sound and light waves. Digital electronics can only work in discrete numbers. To convert an analog wave to a digital signal, it must be measured at a regular frequency, which is the sample rate. If the sample rate is too low, it will not accurately express the original signal and will be distorted, or show aliasing effects, when reproduced. If the sample rate is too high, it will needlessly take up extra storage and processing resources. The Nyquist theorem helps to find the perfect sweet spot where all the necessary information is recorded but nothing extra.

How the Nyquist theorem works

Analog signals have a frequency, or how many times they go up and down in a second. This frequency is measured in hertz. Claude Shannon's explanation of the theorem is: "If a function x(t) contains no frequencies higher than B hertz, it is completely determined by giving its ordinates at a series of points spaced 1/(2B) seconds apart." To accurately reproduce a signal, the sample rate must be twice the highest frequency.

To help illustrate this, imagine a sensor on the earth with the job of measuring sky brightness. Imagine it only took one measurement every 24 hours. If you read the results back later, you would be led to believe that the sky is the same brightness all day, an inaccurate result. What if it was measured every 18 hours? The results would be very confusing, going between full brightness, complete darkness and somewhat dim, seemingly at random.

Now imagine the sensor took a measurement every 12 hours. The results would show one period of light followed by a period of darkness; this would accurately describe our 24-hour day/night cycle on earth. As shown by the Nyquist theorem, to accurately measure the 24-hour period of the rotation of the earth, you must take a measurement at least twice its rate, or every 12 hours.

The Nyquist theorem defines the minimum sample rate for the highest frequency that you want to measure. The Nyquist rate is 2x the given frequency to be measured accurately. The theorem can be used in reverse. The Nyquist frequency is the highest frequency that equipment of a given sample rate can reliably measure, one-half the given sample rate.

The Nyquist theorem is an important part of information theory. In radio communications, it is used with Shannon's law to help establish system bandwidth with a specific signal-to-noise ratio.

What is the Nyquist theorem? (2)

Nyquist theorem and aliasing

Aliasing is the undesirable imperfections introduced during analog to digital conversion. It may present as unwanted frequencies in an audio recording or strange patterns in an image. Some information is necessarily lost during analog to digital conversion; therefore, two differing analog signals may have the same output when converted to digital.

If the Nyquist theorem is not obeyed, higher frequency information is recorded in too low a sample rate, resulting in aliasing artifacts.

Several techniques can reduce aliasing in a reproduced signal.

Pure sine wave signals do not exist in nature. Most signals have extremely high-frequency components such as harmonics and resonance well outside of the Nyquist frequency of any practical analog-to-digital capture device. To reduce the effects of these components, a low-pass filter is applied to remove any extraneous high frequencies before the signal is sampled.

Analog low-pass circuitry does not have perfect responsiveness. Also, the signal may have some desirable components slightly higher than the target frequency. It is therefore advantageous to choose a sample rate slightly higher than the optimal Nyquist rate.

Nyquist theorem in audio signals

The Nyquist theorem is important for capturing audio through digital methods. The average human ear is only sensitive to frequencies between 20 Hz and 20 kHz. Therefore, according to the Nyquist theorem, the optimal sample rate for the human ear is 40 kHz. This is why standard music and audio recording sample rates are close to this value. Any values greater than 40 kHz would be undetectable to most people.

The standard CD audio rate of 44.1 kHz was chosen to satisfy the Nyquist frequency while being compatible with existing video equipment. The Digital Audio Tape (DAT) format is similarly at 48 kHz.

Telephones are optimized to transmit the human voice. The frequencies required for speech to be intelligible fall between 300 and 3400 Hz. Therefore, the sample rate of 8 kHz is used for narrowband voice-only communication. This lowers the amount of data that needs to be transmitted and is a popular sample rate for telephone and VoIP system codecs such as G.771. Wideband voice, or HD voice, uses 16 kHz to better capture the human voice for more clear calls.

Neither of these is sufficient to cover the whole range of hearing, so most music played over telephone or conferencing systems sounds distorted. Many video conferencing applications offer an option for high-quality sound or music playback to use the higher sample rates.

Note that the sample rate, measured in hertz is, is different from the bit depth measured in bits and the bit rate measured in bits per second.

What is the Nyquist theorem? (3)

Nyquist theorem in pictures and video

The principles of the Nyquist theorem also apply to digital photography and videography. Digital imaging sensors capture light in discrete pixel sites. A sampling artifact occurs when the camera lens reduces the scene detail to a smaller level than the pixel sites. This is called a moiré pattern. You can see this effect as a strange overall pattern in finely detailed areas, such as a picture of a finely striped shirt or of a screen door. It can also become present in downscaled images.

Various methods can fight this effect. In high-end digital cameras, a physical optical low-pass filter may be used to reduce the fine detail and break up aliasing. In consumer cameras and cellphones, digital methods are employed in post-processing steps to remove them.

See also: radio access network, wireless, cognitive radio, base station and multiplexing

This was last updated in May 2022

Continue Reading About Nyquist theorem

  • How to check for high network utilization
  • Managing VPN bandwidth requirements, speed and overhead
  • 5G frequency spectrum forces new look at coverage strategies
  • Telecommunications book highlights spectrum, fiber cabling
  • Enterprise RF spectrum management best practices

Related Terms

CMOS sensor
A CMOS sensor is an electronic chip that converts photons to electrons for digital processing.Seecompletedefinition
G-code
G-code (also known as geometric code or RS-274) is the most prevalent programming language for computer numerical control (CNC) ...Seecompletedefinition
lithium polymer battery (LiPo)
A lithium polymer battery is a rechargeable battery with a polymer electrolyte instead of a liquid electrolyte.Seecompletedefinition
What is the Nyquist theorem? (2024)

FAQs

What is the Nyquist theorem? ›

The Nyquist theorem states that an analog signal can be digitized without aliasing error if and only if the sampling rate is greater than or equal to twice the highest frequency component in a given signal.

What is the formula for Nyquist? ›

C(bps) = 2B * log2M (Nyquist)

C is the capacity in bits per second, B is the frequency bandwidth in Hertz, and M is the number of levels a single symbol can take on. This "idealized" capacity equation shows us that data rate is proportional to twice the bandwidth and logarithmically proportional to M.

Why is the Nyquist sampling theorem important? ›

The Nyquist–Shannon sampling theorem is an essential principle for digital signal processing linking the frequency range of a signal and the sample rate required to avoid a type of distortion called aliasing.

What is the formula for the Nyquist limit? ›

Physics. The Nyquist limit always equals Pulse Repetition Frequency (PRF)/2 3.

What is the meaning of Nyquist? ›

(ˈnaɪkwɪst ) noun. (in sampling) a frequency used to eliminate aliasing when a continuous electrical signal is converted into a series of discrete values at a rate above a minimum number of samples per second (Nyquist rate)

How do you find Nyquist? ›

The Nyquist frequency refers to the maximum signal frequency that can be represented without aliasing in a discrete signal. It is equal to half the sampling frequency and is always the frequency of a signal represented by a pole on the negative real axis.

What is the Nyquist requirement? ›

Simply stated, the Nyquist criterion requires that the sampling frequency be at least twice the highest frequency contained in the signal, or information about the signal will be lost.

What is the formula for the sampling theorem? ›

Sampling Theorem Formula: f s > 2 f m This is a vital representation of the Sampling Theorem, dictating the minimum required sampling frequency to fully recover the signals from their samples. Nyquist Theorem Sampling Rate (Sampling rate): The frequency at which a signal is sampled per unit of time.

What does the Nyquist criterion tell us? ›

The Nyquist criterion states that a repetitive waveform can be correctly reconstructed provided that the sampling frequency is greater than double the highest frequency to be sampled.

How to calculate sample frequency? ›

The sampling frequency or sampling rate, fs, is the average number of samples obtained in one second, thus fs = 1/T. Its units are samples per second or hertz e.g. 48 kHz is 48,000 samples per second.

What is Nyquist resolution? ›

Nyquist Sampling dictates that to optimally represent an analogue signal in digital space, the analogue signal needs to be sampled at least 2.3 times. In microscopy terms this means that the pixel size of an image needs to be at least 2.3 times smaller than the object that is being resolved.

What is the formula for the Nyquist theorem? ›

Maximum Data Rate

The Nyquist theorem states that a signal with the bandwidth B can be completely reconstructed if 2B samples per second are used. The theorem further states that: (5.1) R max = 2 B log 2 M , where Rmax is the maximum data rate and M is the discrete levels of signal.

What is minimum Nyquist rate? ›

Very plainly, the Nyquist-Shannon sampling theorem (often referred to shorthand as the Nyquist sampling theorem) lays out the minimum sampling rate to reconstruct analog signals as digital without introducing distortion: 1/(2B) seconds, where B is the bandwidth of the signal.

What happens when you exceed the Nyquist limit? ›

If the signal contains components beyond Nyquist, they are folded back, or aliased. This is represented by the dashed lines which form a mirror-image spectrum centered at fs.

How do you explain a Nyquist plot? ›

Nyquist plot is defined as the “representation of the vector response of a feedback system (especially an amplifier) as a complex graphical plot showing the relationship between feedback and gain.”

What is the Nyquist criteria for sampling? ›

Simply stated, the Nyquist criterion requires that the sampling frequency be at least twice the highest frequency contained in the signal, or information about the signal will be lost. If the sampling frequency is less than twice the maximum analog signal frequency, a phenomenon known as aliasing will occur.

What is the sampling theorem theory? ›

The Sampling Theorem states that a signal can be exactly reproduced if it is sampled at a frequency F, where F is greater than twice the maximum frequency in the signal. What happens if we sample the signal at a frequency that is lower that the Nyquist rate?

References

Top Articles
Cm to Feet+Inches Converter (cm to ft)
Houses For Rent in Bristol, TN
Hometown Pizza Sheridan Menu
Netronline Taxes
Satyaprem Ki Katha review: Kartik Aaryan, Kiara Advani shine in this pure love story on a sensitive subject
Phcs Medishare Provider Portal
Dew Acuity
Craigslist Cars And Trucks For Sale By Owner Indianapolis
Rabbits Foot Osrs
Words From Cactusi
Crime Scene Photos West Memphis Three
123 Movies Black Adam
Infinite Campus Parent Portal Hall County
How To Delete Bravodate Account
Craigslist Heavy Equipment Knoxville Tennessee
Scholarships | New Mexico State University
Bowie Tx Craigslist
Craigslist Farm And Garden Tallahassee Florida
Operation Cleanup Schedule Fresno Ca
Hanger Clinic/Billpay
The Menu Showtimes Near Regal Edwards Ontario Mountain Village
Azpeople View Paycheck/W2
Wkow Weather Radar
Ecampus Scps Login
Defending The Broken Isles
Airline Reception Meaning
Netwerk van %naam%, analyse van %nb_relaties% relaties
Walmart Pharmacy Near Me Open
Restored Republic June 16 2023
Kabob-House-Spokane Photos
Craig Woolard Net Worth
Was heißt AMK? » Bedeutung und Herkunft des Ausdrucks
Puerto Rico Pictures and Facts
Vitals, jeden Tag besser | Vitals Nahrungsergänzungsmittel
Craigslist In Myrtle Beach
Truckers Report Forums
Craigslist Lakeside Az
Viewfinder Mangabuddy
Stanford Medicine scientists pinpoint COVID-19 virus’s entry and exit ports inside our noses
Casamba Mobile Login
California Craigslist Cars For Sale By Owner
Wilson Tire And Auto Service Gambrills Photos
Perc H965I With Rear Load Bracket
Market Place Tulsa Ok
855-539-4712
Scott Surratt Salary
Cryptoquote Solver For Today
Service Changes and Self-Service Options
Bones And All Showtimes Near Emagine Canton
Pulpo Yonke Houston Tx
Overstock Comenity Login
Morgan State University Receives $20.9 Million NIH/NIMHD Grant to Expand Groundbreaking Research on Urban Health Disparities
Latest Posts
Article information

Author: Carlyn Walter

Last Updated:

Views: 5663

Rating: 5 / 5 (50 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Carlyn Walter

Birthday: 1996-01-03

Address: Suite 452 40815 Denyse Extensions, Sengermouth, OR 42374

Phone: +8501809515404

Job: Manufacturing Technician

Hobby: Table tennis, Archery, Vacation, Metal detecting, Yo-yoing, Crocheting, Creative writing

Introduction: My name is Carlyn Walter, I am a lively, glamorous, healthy, clean, powerful, calm, combative person who loves writing and wants to share my knowledge and understanding with you.