We use math to catch sounds. 
Imagine a smooth, wavy line. 

Imagine a smooth, wavy line. We can turn this line into a set of dots. This is called sampling. 
To rebuild the line perfectly, we must take dots fast enough. We need a certain sample rate. This rate must be at least twice the signal's bandwidth. The bandwidth is the range of frequencies in the signal. 

Two people helped explain this idea. Harry Nyquist and Claude Shannon are both honored in its name. A man named E. T. Whittaker also found this before them. This math is a bridge. It connects smooth signals to the digital world.
Imagine a smooth, wavy line moving through time. This line might represent a beautiful song or a bright color. Computers cannot see this smooth line directly. Instead, they must turn it into a list of dots. This process is called sampling. 
To rebuild the smooth line perfectly, we must follow a specific rule. We need to take our dots at a certain speed. This speed is called the sample rate. For the reconstruction to be perfect, the sample rate must be at least twice the signal's bandwidth.
If we do not sample fast enough, something goes wrong. This mistake is called aliasing. 

Many important thinkers helped us understand this math. The theorem is named after Harry Nyquist and Claude Shannon. However, a man named E. T. Whittaker discovered these ideas even earlier in 1915. Because of this, the rule is often called the Whittaker–Shannon sampling theorem.
This math works for many different things in our lives. It is not just for sounds moving through time. It also works for things like digital images in space. 
The Nyquist–Shannon sampling theorem is a fundamental principle in signal processing. It acts as a bridge between continuous-time signals and discrete-time signals. A continuous signal is a smooth, unbroken flow of information, like a sound wave in the air. A discrete signal is a sequence of individual numbers, like the data stored on a computer. This theorem tells us exactly how to turn a smooth signal into numbers without losing any information. It establishes the conditions needed to perfectly reconstruct the original signal from its digital samples. 
Sampling is the process of converting a continuous signal into a sequence of values. To do this, we measure the signal at specific intervals. The time between these measurements is called the sample period or sampling interval. If we want to turn the numbers back into a smooth signal, we must use a process called interpolation. A mathematically ideal way to interpolate involves using sinc functions. Each sample is replaced by a sinc function centered at its location. These functions are then summed together to recreate the original continuous wave.
For this reconstruction to work perfectly, we must respect the signal's bandwidth. The bandwidth is the range of frequencies present in the signal. The theorem applies to band-limited functions, which are signals that have zero frequency components outside a specific range. The theorem states that a sufficient sample rate is anything larger than twice the signal's bandwidth. This threshold is known as the Nyquist rate. If the sample rate is higher than this rate, the process is called oversampling. Oversampling is helpful because it leaves room for error in the reconstruction process.
There are two important terms to distinguish: the Nyquist rate and the Nyquist frequency. The Nyquist rate is an attribute of the continuous-time input signal itself. It is defined by the signal's bandwidth. The Nyquist frequency is an attribute of the sampling equipment. It is exactly one-half of the sampling rate. For a signal to be reconstructed without errors, all meaningful frequency components must stay below the Nyquist frequency. This requirement is known as the Nyquist criterion.
The history of this discovery involves several brilliant mathematicians. While the theorem is named after Harry Nyquist and Claude Shannon, it was discovered earlier. E. T. Whittaker published his findings on this topic in 1915. Because of this, the principle is often called the Whittaker–Shannon sampling theorem. It is also referred to as the Whittaker–Nyquist–Shannon theorem or the cardinal theorem of interpolation. These scientists provided the mathematical proof that digital samples can fully represent a continuous world. 
If the sampling rate is too low, a problem called aliasing occurs. Aliasing happens when the Nyquist criterion is not satisfied. In this state, high-frequency components become indistinguishable from lower-frequency components. The samples create an "alias," which is a false signal that was not in the original. This makes perfect reconstruction impossible because the original information is lost. To prevent this, engineers use an anti-aliasing filter. This is a lowpass filter that removes high frequencies before the signal is sampled. 
Aliasing does not just affect sound; it also affects visual information. In digital images, insufficient sampling can create strange, wavy patterns called Moiré patterns. These patterns appear when the sampling rate is too low to capture the fine details of a scene. For example, a pattern of bricks might look distorted in a digital photo. 

The significance of this theorem cannot be overstated in the modern age. It allows us to digitize audio, video, and images with high fidelity. Without it, we would not have digital music, streaming video, or digital photography. It provides the mathematical certainty needed to move information from the physical world into the digital realm. By understanding the relationship between bandwidth and sampling, we can capture the world with incredible precision.
🖼️ Images & Media (9)
More to explore
✨ What else?
Related topics you might enjoy
🔬 Go deeper
More advanced topics to explore
🪜 Step back
Simpler topics to build understanding
What is Nepedia?
A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.