Skip to content
GATEiit

GATE EC · Networks, Signals and Systems

Nyquist sampling theorem

The sampling theorem for band-limited signals: Nyquist rate and Nyquist interval, finding the highest frequency of sums, products, powers, convolutions, scaled and modulated signals, and the exact-Nyquist-rate and aliasing traps that GATE tests.

Before you start

  • Fourier transform →

    The theorem is about the spectrum: bandwidth, convolution in frequency and the sinc–rect pair.

  • Convolution →

    Multiplying signals convolves their spectra, which is how products widen the bandwidth.

  • Trigonometric identities

    Products and powers of sinusoids must be expanded into sums to read off the highest frequency.

This topic comes before: Inter-symbol interference, PCM, DPCM, Sampling and reconstruction

Concept notes

1. The sampling theorem

A signal x(t) is band-limited to W Hz if X(f)=0 for ∣f∣>W.

Sampling theorem. A signal band-limited to W Hz is completely determined by its samples x(nTs) taken uniformly at a rate

fs=1Ts>2W

and can be recovered exactly by an ideal low-pass filter.

  • Nyquist rate: 2W, the minimum sampling rate.
  • Nyquist interval: 12W, the maximum sampling interval.
  • Nyquist (folding) frequency: fs/2, the highest frequency a given sampling rate can represent. Do not confuse it with the Nyquist rate.

Why. Ideal sampling multiplies x(t) by an impulse train, so the spectrum becomes a sum of copies:

Xs(f)=fs∑k=−∞∞X(f−kfs)

Copies are centred at 0,±fs,±2fs,… The copy at fs starts at fs−W. They do not overlap if fs−W>W, that is fs>2W. The gap fs−2W is the guard band, which lets a practical filter separate them.

Reconstruction (ideal low-pass filter of cutoff W≤fc≤fs−W, gain Ts):

x(t)=∑nx(nTs) sinc ⁣(t−nTsTs),sinc(u)=sin⁡πuπu

A time-limited signal (a pulse of finite duration) is never strictly band-limited, so it cannot be sampled without some aliasing.

f−fs0Wfs−Wfsfs > 2W: the copies do not overlap……gapf−fs0fsfs < 2W: the copies overlap (aliasing)……fs−WWoverlap: high frequencies fold down
Spectrum of an ideally sampled signal band-limited to W: copies at multiples of fs stay apart when fs > 2W and overlap (alias) when fs < 2W.

2. Finding the highest frequency of a derived signal

Most GATE questions ask for the Nyquist rate of a signal built from others. Find the highest frequency fmax, then the rate is 2fmax.

If x1 is band-limited to W1 and x2 to W2:

Signal Highest frequency Reason
x1(t)+x2(t) max⁡(W1,W2) spectra add
x1(t) x2(t) W1+W2 spectra convolve
x12(t) 2W1 self-convolution
x1n(t) nW1
x1(t)∗x2(t) min⁡(W1,W2) spectra multiply
x1(at) aW1 time compression widens the spectrum
ddtx1(t) W1 j2πfX(f) keeps the band
x1(t)cos⁡(2πfct) fc+W1 spectrum shifts to ±fc
x1(t−t0) W1 delay changes only the phase

Sinc-type signals. sin⁡(at)πt has a rectangular spectrum up to ω=a, so W=a2π Hz. For example, sin⁡(1000πt)πt is band-limited to 500 Hz.

Sinusoids. Expand products and powers into sums first: cos⁡2(ωt)=12+12cos⁡2ωt and sin⁡Acos⁡B=12[sin⁡(A+B)+sin⁡(A−B)]. Watch for terms that cancel.

3. Sampling exactly at the Nyquist rate

For a band-limited signal whose spectrum has no impulse at f=W, sampling at exactly fs=2W works in theory with an ideal filter. A sinusoid of frequency f0 has impulses at ±f0, and fs=2f0 fails:

  • sin⁡(2πf0t) sampled at 2f0 gives sin⁡(πn)=0 for every n: all samples are zero.
  • cos⁡(2πf0t+θ) gives cos⁡θ (−1)n: the amplitude and phase cannot be separated.

So for sinusoids the condition is strictly fs>2f0. GATE answers for "minimum sampling rate" of a sum of sinusoids are still quoted as 2fmax (the Nyquist rate), but if asked whether samples at that rate recover the signal, the answer for a sinusoid is no.

What goes wrong below the Nyquist rate. A tone at f0 sampled at fs appears after ideal reconstruction (cutoff fs/2) at the alias frequency

fa=∣f0−kfs∣,k chosen so that 0≤fa≤fs/2

Example: 700 Hz sampled at 1 kHz comes out as 300 Hz. Two different tones whose frequencies differ by a multiple of fs give identical samples.

4. In practice: anti-aliasing and oversampling

Real signals are not perfectly band-limited, and real filters are not brick walls. So in practice:

  1. An anti-aliasing filter (analog low-pass) removes content above fs/2 before sampling. Aliasing cannot be removed after sampling, because the folded components sit on top of genuine ones.
  2. The sampling rate is set above the Nyquist rate (oversampling) to leave a guard band fs−2W for the reconstruction filter to roll off in. Speech limited to 3.4 kHz is sampled at 8 kHz, giving a 1.2 kHz guard band.
  3. For a reconstruction filter with cutoff fc, recovery needs W≤fc≤fs−W.
Term Meaning
Nyquist rate 2W: property of the signal
Nyquist frequency fs/2: property of the sampler
Guard band fs−2W
Oversampling ratio fs/2W

Bandpass signals (content only between fL and fH) can be sampled below 2fH; the minimum is 2fH/k with k=⌊fH/(fH−fL)⌋. For a low-pass signal k=1 and this reduces to 2W.

Formulas to remember

Sampling theoremW = highest frequency in Hz
fs>2W
Nyquist rate and interval
fN=2W,TN=12W
Spectrum of the sampled signal
Xs(f)=fs∑k=−∞∞X(f−kfs)
Ideal reconstruction
x(t)=∑nx(nTs) sinc ⁣(t−nTsTs)
Bandwidth of a product
Wx1x2=W1+W2,Wxn=nW
Bandwidth of a convolution
Wx1∗x2=min⁡(W1,W2)
Time scaling
x(at)  ⇒  W→aW
Alias frequency
fa=∣f0−kfs∣,0≤fa≤fs2
Reconstruction filter cutoff
W≤fc≤fs−W

Common mistakes

  • Reading the angular frequency as Hz; in cos(400πt) the frequency is 200 Hz, not 400π or 400.
  • Adding bandwidths for a convolution or taking the maximum for a product; a product adds bandwidths, a convolution takes the smaller one.
  • Confusing the Nyquist rate (2W, a property of the signal) with the Nyquist frequency (fs/2, a property of the sampler).
  • Assuming a sinusoid sampled at exactly twice its frequency can be recovered; its samples can all be zero.
  • Thinking aliasing can be filtered out after sampling; the anti-aliasing filter must come before the sampler.
  • Forgetting that time compression x(at) multiplies the bandwidth by a.

Worked examples

Try each step yourself, then reveal the working.

Example 1: Nyquist rate of a sum with a product term

numerical

Find the Nyquist rate of x(t)=3cos⁡(200πt)+5sin⁡(600πt)cos⁡(100πt).

  1. Step 1: Find the frequency of the first term.

    Try it on paper first.

Example 2: A sinc signal, its square and a convolution

numerical

Let x(t)=sin⁡(1000πt)πt. Find the Nyquist rates of (a) x(t), (b) x2(t), (c) x(t)∗x(2t).

  1. Step 1: Find the bandwidth of $x(t)$.

    Try it on paper first.

Example 3: Combining two band-limited signals

numerical

x1(t) is band-limited to 1 kHz and x2(t) to 3 kHz. Find the Nyquist rate of (a) x1(t)x2(t), (b) x1(2t)+x2(t), (c) x1(t)∗x2(t).

  1. Step 1: Product.

    Try it on paper first.

Example 4: Why sampling a sine at exactly twice its frequency fails

conceptual

x(t)=sin⁡(2π⋅50t) is sampled at fs=100 Hz. What are the samples, and what does this say about the condition fs≥2W?

  1. Step 1: Write the samples.

    Try it on paper first.

Previous year questions

2 official GATE EC questions on this topic, newest first.

Topic test

10 questions: up to 2 official PYQs and original practice questions, with GATE marking (MCQ wrong answers lose marks). Score 60% or more to pass. A new set is drawn each time.

Mark as mastered

Loading your progress…

My revision notes

Notes written by the GATEiit team against the official GATE EC syllabus; being checked by a reviewer. Updated 2026-11-28. Spotted a mistake? Use Report an issue on any question, or contact us.