Nyquist–Shannon sampling theorem
The Nyquist–Shannon sampling theorem gives a condition for reconstructing a band-limited, continuous-time signal from regularly spaced samples. For a baseband signal with no components above frequency B, sampling faster than 2B permits exact reconstruction in the ideal mathematical model. The theorem explains the sampling-rate requirements behind digital audio, image acquisition, communications, and measurement, as well as why undersampling can cause aliasing.
Statement and assumptions
Sampling converts a continuous-time signal into a sequence of measurements taken at discrete, usually uniform, time intervals. Suppose a baseband signal contains no frequency components at or above B hertz, and let its sampling frequency be f_s samples per second. The Nyquist–Shannon sampling theorem states that the original signal can be reconstructed exactly from its samples in the ideal model when f_s > 2B. Equivalently, the sampling interval must be shorter than 1/(2B). The result depends on the signal being band-limited and on uniform sampling; it is not a guarantee of exact recovery for arbitrary signals or noisy measurements.
Reconstruction and aliasing
In theory, an appropriately band-limited signal can be recovered by interpolation from its samples; ideal reconstruction can be expressed as a sum of shifted sinc functions weighted by the sample values. The theorem's frequency limit matters because sampling makes frequency components separated by whole multiples of the sampling frequency indistinguishable in the sampled sequence. If the rate is too low, distinct high-frequency signals can therefore produce the same samples, and high-frequency content can appear as lower-frequency content. This effect is called aliasing. Once different components have overlapped in the sampled data, the original signal generally cannot be uniquely recovered from those samples alone.
Nyquist rate and Nyquist frequency
For a baseband signal limited to B hertz, 2B is commonly called its Nyquist rate: the theoretical lower sampling-rate bound associated with that bandwidth. For a system sampling at f_s, the Nyquist frequency is f_s/2, half the sampling frequency. These terms are related but are not interchangeable. Technical writing has sometimes used “Nyquist rate” inconsistently for the half-sampling-frequency limit, so stating the actual frequency or sampling rate avoids ambiguity. Because the ideal theorem assumes no signal energy at or above the limiting frequency, practical systems place a margin between the signal band edge and half the sampling rate rather than relying on a component exactly at that boundary.
Practical sampling and filters
Real signals and measuring equipment do not meet the theorem's ideal assumptions perfectly. An analog low-pass anti-aliasing filter is commonly placed before an analogue-to-digital converter to attenuate frequencies that would exceed the intended band. Since physical filters cannot change from passing to rejecting frequencies instantaneously, designers typically allow a transition band and choose a sampling rate with practical margin. Digital reconstruction and filtering also approximate ideal operations. These measures reduce aliasing; simply increasing a sampling rate after aliasing has occurred cannot restore information that the original sampling discarded.
Applications and scope
The theorem underpins the conversion of sound, radio, sensor measurements, and other time-varying physical signals into digital data. Related sampling principles also apply to spatial signals, including images, where inadequate sampling can produce visible patterns or detail that was not present in the scene. It specifies when samples contain enough information for ideal reconstruction, not how accurate or useful a complete recording or measurement will be: noise, quantization, finite recording duration, imperfect filters, and other engineering constraints still matter.
Historical context
The theorem's familiar name reflects work by more than one researcher and builds on earlier mathematical results. In 1928, Harold Nyquist published an analysis of the frequency range needed to transmit telegraph signals at a given signaling speed. Claude Shannon's later work helped bring the sampling theorem into modern communication theory. Historical accounts therefore treat Nyquist's paper as an important precursor rather than reducing the theorem's development to a single publication or person.
Key facts
- Core condition
- For a baseband signal with highest frequency B, exact ideal reconstruction requires a sampling frequency greater than 2B.
- Nyquist rate
- 2B is the conventional theoretical sampling-rate bound for a baseband signal limited to B hertz.
- Nyquist frequency
- For a sampling frequency f_s, the Nyquist frequency is f_s/2.
- Main failure below the limit
- Undersampling can cause aliasing, making distinct frequency components indistinguishable in the sampled data.
- Practical prevention
- Anti-aliasing filters attenuate out-of-band frequencies before sampling; real systems also allow practical margin.
Timeline
1928
Harold Nyquist published Certain Topics in Telegraph Transmission Theory, which discussed the frequency range required for signaling at a given speed and became a historical precursor to sampling theory.
1949
Claude Shannon published Communication in the Presence of Noise, a landmark communication-theory paper associated with the modern development and wider recognition of the sampling theorem.
Ask about this article
Answers use only “Nyquist–Shannon sampling theorem” and its references, with citations.
References
- 1.Sampling Theorem
Stanford University Center for Computer Research in Music and Acoustics (CCRMA) · other · reliability: high · retrieved 20 October 2026
Supports: States the exact-reconstruction condition for a band-limited continuous-time signal and derives sinc-function interpolation from uniformly spaced samples.
- 2.Sampling Theory
Stanford University Center for Computer Research in Music and Acoustics (CCRMA) · other · reliability: high · retrieved 20 October 2026
Supports: Discusses the history and attribution of the sampling theorem and notes inconsistent uses of the term Nyquist rate.
- 3.Lecture 21: Sampling
MIT OpenCourseWare, Massachusetts Institute of Technology · other · reliability: high · retrieved 20 October 2026
Supports: Describes sampling as conversion from a continuous physical signal to a discrete-time digital signal and identifies anti-aliasing and reconstruction filters as relevant tools.
- 4.What Is the Nyquist Theorem
MathWorks · other · reliability: high · retrieved 20 October 2026
Supports: Explains the greater-than-twice-the-highest-frequency condition, aliasing, and the use of low-pass anti-aliasing filters before sampling.
- 5.20 Image Sampling and Aliasing
Foundations of Computer Vision, Massachusetts Institute of Technology · other · reliability: high · retrieved 20 October 2026
Supports: Explains sampling and aliasing in continuous and discrete signals and shows how aliasing can affect images.
- 6.Certain Topics in Telegraph Transmission Theory
IEEE · other · reliability: high · retrieved 20 October 2026
Supports: Harold Nyquist's 1928 paper on telegraph transmission; its abstract discusses the minimum frequency range required for transmission at a given signaling speed.
- 7.Communication in the Presence of Noise
Proceedings of the IRE (IEEE) · other · reliability: high · retrieved 20 October 2026
Supports: Claude Shannon's 1949 communication-theory paper, a key primary source associated with the modern development of sampling theory.
References are suggested by the research engine and may be incomplete. Unverified URLs are omitted rather than guessed.
Article history
- Version 220 October 2026 · EditorUpdated by Zapia
- Version 120 October 2026 · EditorCreated by Zapia