Electronics and Communication Engineering‹›⌂ 0:00 studied

Module 5 · 13 min read · Free chapter

Fourier series, Fourier transform and the sampling theorem

In short

A periodic signal is a sum of harmonics, and a one-off signal has a continuous Fourier spectrum. Convolution in time becomes multiplication in frequency, and multiplying by a cosine shifts the spectrum. A signal band-limited to f_m can be rebuilt from samples taken faster than 2f_m, the Nyquist rate; slower sampling causes aliasing.

What are you preparing for? We show the practice and previous year questions of your exam.

Start from zero: hearing a chord

When a guitarist plays a chord, your ear does something remarkable. It hears one sound, yet it can pick out the separate notes inside it. The air pressure is a single wiggly curve in time, but it is really a sum of pure tones at different frequencies.

In 1807 Joseph Fourier claimed that this is true of almost any signal: it can be built from sines and cosines. For a repeating signal you need only a set of harmonics, which gives the Fourier series. For a one-off signal you need a continuous spread of frequencies, which gives the Fourier transform.

Why bother? The previous chapter showed that an LTI system treats a complex exponential very simply: it just multiplies it by H(jω)H(j\omega). So if we break an input into exponentials, the system's effect on each is a single multiplication. Hard convolution in time becomes easy multiplication in frequency.

The same view explains the sampling theorem, the rule behind every digital audio file, mobile call and digital oscilloscope. It tells us how fast we must sample a signal so that nothing is lost.

Why it matters. Fourier ideas appear in every communication, filter and DSP question, and GATE EC tests Fourier pairs, properties and Nyquist rate nearly every year.

The Fourier series of a periodic signal

Let x(t)x(t) repeat with period T0T_0, so its fundamental frequency is ω0=2πT0\omega_0 = \dfrac{2\pi}{T_0}. The exponential Fourier series writes it as a sum of harmonics:

x(t)=∑k=−∞∞ck ejkω0t,ck=1T0∫T0x(t) e−jkω0t dtx(t) = \sum_{k=-\infty}^{\infty} c_k\, e^{jk\omega_0 t}, \qquad c_k = \frac{1}{T_0}\int_{T_0} x(t)\,e^{-jk\omega_0 t}\, dt

Each ckc_k is a complex number giving the size and phase of the kk-th harmonic. The term c0c_0 is just the average value of xx, its DC level. For a real signal, c−kc_{-k} is the complex conjugate of ckc_k, so the spectrum's magnitude is even and its phase is odd.

The same series can be written with real sines and cosines, the trigonometric form x(t)=a0+∑(akcos⁡kω0t+bksin⁡kω0t)x(t) = a_0 + \sum (a_k \cos k\omega_0 t + b_k \sin k\omega_0 t). The two forms are linked by ak=2 Re(ck)a_k = 2\,\mathrm{Re}(c_k) and bk=−2 Im(ck)b_k = -2\,\mathrm{Im}(c_k). Use whichever makes the integral easier.

Symmetry saves work. An even signal has only cosine terms, so all bk=0b_k = 0. An odd signal has only sine terms and no DC. A signal with half-wave symmetry, x(t+T02)=−x(t)x(t + \dfrac{T_0}{2}) = -x(t), has only odd harmonics.

Parseval's relation says the average power equals the sum of the powers in the harmonics:

P=1T0∫T0∣x(t)∣2 dt=∑k=−∞∞∣ck∣2P = \frac{1}{T_0}\int_{T_0} \lvert x(t) \rvert^2\, dt = \sum_{k=-\infty}^{\infty} \lvert c_k \rvert^2

Worked example. A square wave switching between +A+A and −A-A is odd and half-wave symmetric. Its series is x(t)=4Aπ(sin⁡ω0t+13sin⁡3ω0t+15sin⁡5ω0t+⋯ )x(t) = \dfrac{4A}{\pi}\left(\sin \omega_0 t + \dfrac{1}{3}\sin 3\omega_0 t + \dfrac{1}{5}\sin 5\omega_0 t + \cdots\right). The harmonics fall as 1k\dfrac{1}{k}, slowly, because the wave has sharp jumps.

Near each jump, a truncated series overshoots by about 9% of the jump height. Adding more terms makes the overshoot narrower but not smaller; this is the Gibbs phenomenon.

Why it matters. Questions ask for a particular coefficient, the DC value, the power in some harmonics, or which harmonics are missing; symmetry rules answer many in one line.

The Fourier transform and key pairs

Now let the period grow without limit, so the signal happens only once. The harmonics crowd together into a continuous spectrum, and the sum becomes an integral. This gives the Fourier transform pair:

X(ω)=∫−∞∞x(t) e−jωt dt,x(t)=12π∫−∞∞X(ω) ejωt dωX(\omega) = \int_{-\infty}^{\infty} x(t)\,e^{-j\omega t}\, dt, \qquad x(t) = \frac{1}{2\pi}\int_{-\infty}^{\infty} X(\omega)\,e^{j\omega t}\, d\omega

X(ω)X(\omega) tells how much of each frequency the signal contains. Some books use ff in hertz instead, with X(f)=∫x(t)e−j2πftdtX(f) = \int x(t)e^{-j2\pi f t}dt and no 12π\dfrac{1}{2\pi} in the inverse. Check which convention a question uses.

A handful of pairs answer most questions. For a>0a > 0, the decaying exponential gives

e−atu(t)  ⟷  1a+jωe^{-at}u(t) \;\longleftrightarrow\; \frac{1}{a + j\omega}

A rectangular pulse of height 1 and width τ\tau, centred at zero, gives a sinc-shaped spectrum 2sin⁡(ωτ/2)ω\dfrac{2\sin(\omega\tau/2)}{\omega}. Its first zeros are at ω=±2πτ\omega = \pm\dfrac{2\pi}{\tau}, so a shorter pulse has a wider spectrum.

The impulse is perfectly short, so its spectrum is perfectly flat: δ(t)↔1\delta(t) \leftrightarrow 1. By the same logic a constant has all its energy at zero frequency: 1↔2πδ(ω)1 \leftrightarrow 2\pi\delta(\omega). A cosine puts two impulses at ±ω0\pm\omega_0: cos⁡ω0t↔π[δ(ω−ω0)+δ(ω+ω0)]\cos\omega_0 t \leftrightarrow \pi[\delta(\omega - \omega_0) + \delta(\omega + \omega_0)].

Two more pairs are useful. The signum function gives sgn(t)↔2jω\mathrm{sgn}(t) \leftrightarrow \dfrac{2}{j\omega}, and the unit step gives u(t)↔πδ(ω)+1jωu(t) \leftrightarrow \pi\delta(\omega) + \dfrac{1}{j\omega}. The impulse at zero carries the step's DC value of one half.

Worked example. Find the spectrum magnitude of x(t)=e−2tu(t)x(t) = e^{-2t}u(t) at ω=2\omega = 2 rad/s. ∣X∣=122+22=122≈0.354\lvert X \rvert = \dfrac{1}{\sqrt{2^2 + 2^2}} = \dfrac{1}{2\sqrt{2}} \approx 0.354, which is 12\dfrac{1}{\sqrt{2}} of its value at ω=0\omega = 0.

Why it matters. The time-bandwidth trade-off seen in the rectangle-sinc pair is the reason short pulses need wide channels, a fact used throughout digital communication.

Properties that do the heavy lifting

Very few transforms are worked out from the integral. Most come from a known pair plus a property. Here are the ones that matter.

Time shift. Delaying a signal changes only the phase: x(t−t0)↔e−jωt0X(ω)x(t - t_0) \leftrightarrow e^{-j\omega t_0}X(\omega). The magnitude spectrum is unchanged.

Frequency shift and modulation. Multiplying by ejω0te^{j\omega_0 t} slides the spectrum: ejω0tx(t)↔X(ω−ω0)e^{j\omega_0 t}x(t) \leftrightarrow X(\omega - \omega_0). With a cosine this gives the modulation property, the basis of AM radio:

x(t)cos⁡(ω0t)  ⟷  12[X(ω−ω0)+X(ω+ω0)]x(t)\cos(\omega_0 t) \;\longleftrightarrow\; \frac{1}{2}\left[X(\omega - \omega_0) + X(\omega + \omega_0)\right]

Scaling. x(at)↔1∣a∣X(ωa)x(at) \leftrightarrow \dfrac{1}{\lvert a \rvert}X\left(\dfrac{\omega}{a}\right). Compress a signal in time and its spectrum spreads out; playing a recording at double speed raises every pitch by an octave.

Duality. If x(t)↔X(ω)x(t) \leftrightarrow X(\omega), then X(t)↔2πx(−ω)X(t) \leftrightarrow 2\pi x(-\omega). So a sinc in time gives a rectangle in frequency, which is the ideal low-pass filter.

Convolution and multiplication. Convolution in time is multiplication in frequency, x∗h↔X(ω)H(ω)x * h \leftrightarrow X(\omega)H(\omega). The reverse also holds: x(t)y(t)↔12πX(ω)∗Y(ω)x(t)y(t) \leftrightarrow \dfrac{1}{2\pi}X(\omega) * Y(\omega).

Differentiation and integration. dxdt↔jωX(ω)\dfrac{dx}{dt} \leftrightarrow j\omega X(\omega), so differentiating boosts high frequencies. Integration divides by jωj\omega, plus a DC term πX(0)δ(ω)\pi X(0)\delta(\omega).

Parseval's theorem. Energy is the same in both domains:

E=∫−∞∞∣x(t)∣2 dt=12π∫−∞∞∣X(ω)∣2 dωE = \int_{-\infty}^{\infty} \lvert x(t) \rvert^2\, dt = \frac{1}{2\pi}\int_{-\infty}^{\infty} \lvert X(\omega) \rvert^2\, d\omega

Worked example. Find the transform of x(t)=e−(t−3)u(t−3)x(t) = e^{-(t-3)}u(t - 3). It is e−tu(t)e^{-t}u(t) delayed by 3, so X(ω)=e−j3ω1+jωX(\omega) = \dfrac{e^{-j3\omega}}{1 + j\omega}.

Why it matters. Property-based questions are fast if you spot the known pair inside the signal; modulation and convolution properties are also the language of the communication modules.

Filtering and distortionless transmission

Because Y(ω)=H(ω)X(ω)Y(\omega) = H(\omega)X(\omega), an LTI system acts as a frequency-by-frequency gain. It can pass some frequencies, block others and shift their phases. This is what a filter does.

When we want a signal to arrive unchanged, only scaled and delayed, we need y(t)=Kx(t−t0)y(t) = Kx(t - t_0). Taking transforms gives the condition for distortionless transmission:

H(ω)=K e−jωt0H(\omega) = K\,e^{-j\omega t_0}

So the magnitude must be flat and the phase must be a straight line through the origin, over the band the signal occupies. A non-flat magnitude causes amplitude distortion, and a non-linear phase causes phase distortion, because different frequencies are delayed by different amounts.

An ideal low-pass filter passes everything below a cut-off ωc\omega_c with gain 1 and blocks everything above. By duality, its impulse response is a sinc, h(t)=sin⁡ωctπth(t) = \dfrac{\sin \omega_c t}{\pi t}. This sinc extends to negative time, so the ideal filter is non-causal and cannot be built exactly; real filters approximate it with a transition band.

Ideal high-pass and band-pass filters have the same problem. Practical designs such as Butterworth and Chebyshev trade sharpness of cut-off against ripple and phase linearity.

Worked example. A channel has H(ω)=2e−j0.001ωH(\omega) = 2e^{-j0.001\omega} for ∣ω∣<104\lvert \omega \rvert < 10^4 rad/s. A signal band-limited to 5,000 rad/s comes out doubled and delayed by 1 ms, with no distortion.

Why it matters. The distortionless condition and the non-causality of ideal filters are favourite one-line conceptual questions in GATE and ESE.

The sampling theorem

To process a signal on a computer, we keep only its values at regular instants t=nTst = nT_s, at a sampling rate fs=1Tsf_s = \dfrac{1}{T_s}. The question is whether those samples hold all the information.

Model ideal sampling as multiplying x(t)x(t) by a train of impulses spaced TsT_s apart. By the multiplication property, the spectrum of the sampled signal is the original spectrum repeated at every multiple of fsf_s:

Xs(f)=1Ts∑k=−∞∞X(f−kfs)X_s(f) = \frac{1}{T_s}\sum_{k=-\infty}^{\infty} X(f - kf_s)

Suppose xx is band-limited to fmf_m, with nothing above fmf_m. If fs>2fmf_s > 2f_m, the copies do not overlap, and a low-pass filter with cut-off between fmf_m and fs−fmf_s - f_m recovers the original exactly. This is the sampling theorem, and 2fm2f_m is the Nyquist rate.

If fs<2fmf_s < 2f_m, neighbouring copies overlap, and high frequencies fold back and pose as low ones. This is aliasing, and once it happens no filter can undo it. A tone at ff shows up at ∣f−kfs∣\lvert f - kf_s \rvert, for whichever integer kk brings it into the range 0 to fs2\dfrac{f_s}{2}.

Real systems add three practical steps. An anti-aliasing filter before the sampler removes content above fs2\dfrac{f_s}{2}. Sampling a bit above the Nyquist rate leaves a guard band so a realistic reconstruction filter can work. Flat-top sampling, where each sample is held for a short time, shapes the spectrum by a sinc; this aperture effect is corrected with an equaliser.

The bandwidth of a signal can change before sampling. A product x1(t)x2(t)x_1(t)x_2(t) has a bandwidth equal to the sum of the two bandwidths, so x2(t)x^2(t) has twice the bandwidth of x(t)x(t).

Worked example. Find the Nyquist rate of x(t)=cos⁡(200πt)+sin⁡(600πt)x(t) = \cos(200\pi t) + \sin(600\pi t). The highest frequency is 300 Hz, so the Nyquist rate is 600 Hz. If xx is sampled at 400 Hz, the 300 Hz tone aliases to ∣300−400∣=100\lvert 300 - 400 \rvert = 100 Hz.

Why it matters. Nyquist-rate and aliased-frequency questions appear in almost every GATE EC paper and again in the PCM chapter; the reasoning is the replicated spectrum shown here.

Descriptive lens

Written papers ask about this topic in four ways:

  1. Derive the Fourier series of a given waveform, using symmetry, and comment on how fast the harmonics fall.
  2. State and prove Fourier transform properties such as time shift, modulation, convolution and Parseval's theorem.
  3. Explain the sampling theorem with spectra, including aliasing, anti-aliasing filters and the aperture effect.
  4. Compute Nyquist rates and aliased frequencies, or the output spectrum of a filter for a given input.

Practice questions (our own, not previous-year questions).

  1. Find the exponential Fourier series of a periodic train of rectangular pulses of height AA, width τ\tau and period T0T_0. Sketch the line spectrum for τT0=14\dfrac{\tau}{T_0} = \dfrac{1}{4}. (15 marks)
  2. State and prove the modulation property of the Fourier transform. Use it to sketch the spectrum of x(t)cos⁡(ωct)x(t)\cos(\omega_c t) for a band-limited x(t)x(t). (10 marks)
  3. State the sampling theorem. With spectral sketches, explain aliasing and the role of the anti-aliasing filter, and find the minimum sampling rate for x(t)=sinc2(100t)x(t) = \mathrm{sinc}^2(100t), taking sinc(x)=sin⁡πxπx\mathrm{sinc}(x) = \dfrac{\sin \pi x}{\pi x}. (15 marks)

Answer plan for question 3.

  • State the theorem: a signal band-limited to fmf_m is recovered from samples at fs>2fmf_s > 2f_m.
  • Sketch the replicated spectrum for fs>2fmf_s > 2f_m and the overlapping one for fs<2fmf_s < 2f_m, marking the folded region.
  • Explain that aliasing is irreversible and that an analog low-pass filter before the sampler limits the band to fs2\dfrac{f_s}{2}.
  • Note that sinc(100t)\mathrm{sinc}(100t) has a rectangular spectrum up to 50 Hz, so its square has a triangular spectrum up to 100 Hz.
  • Conclude that the Nyquist rate is 200 Hz.

Quick revision

  • Fourier series: ck=1T0∫T0x(t)e−jkω0tdtc_k = \dfrac{1}{T_0}\int_{T_0} x(t)e^{-jk\omega_0 t}dt, and c0c_0 is the average value.
  • Even signals give cosines, odd signals give sines, and half-wave symmetry gives only odd harmonics.
  • Parseval: P=∑∣ck∣2P = \sum \lvert c_k \rvert^2 for series and E=12π∫∣X∣2dωE = \dfrac{1}{2\pi}\int \lvert X \rvert^2 d\omega for transforms.
  • e−atu(t)↔1a+jωe^{-at}u(t) \leftrightarrow \dfrac{1}{a + j\omega}, δ↔1\delta \leftrightarrow 1, 1↔2πδ(ω)1 \leftrightarrow 2\pi\delta(\omega), and a rectangle gives a sinc.
  • Time shift multiplies by e−jωt0e^{-j\omega t_0}, and modulation by a cosine shifts half copies to ±ω0\pm\omega_0.
  • Convolution in time is multiplication in frequency.
  • Distortionless transmission needs H=Ke−jωt0H = Ke^{-j\omega t_0}: flat magnitude and linear phase.
  • Ideal filters have sinc impulse responses and are non-causal.
  • Nyquist rate is 2fm2f_m, and an alias appears at ∣f−kfs∣\lvert f - kf_s \rvert.
  • A product of signals adds bandwidths, so x2x^2 doubles the Nyquist rate.

Check yourself

Exam-style questions on this chapter. Pick an answer to see the explanation. 0 of 12 answered

  1. For a real periodic signal, the Fourier series coefficient c0c_0 equals:

  2. A periodic signal satisfies x(t+T02)=−x(t)x(t + \dfrac{T_0}{2}) = -x(t). Its Fourier series contains:

  3. A square wave switching between +A+A and −A-A has a fundamental (first harmonic) of amplitude:

  4. As more terms are added to the Fourier series of a square wave, the Gibbs overshoot near a jump:

  5. The Fourier transform of e−3tu(t)e^{-3t}u(t) is:

  6. A rectangular pulse of unit height and width τ\tau is centred at t=0t = 0. The first zero of its spectrum is at:

  7. If x(t)↔X(ω)x(t) \leftrightarrow X(\omega), the Fourier transform of x(t−2)x(t - 2) has:

  8. x(t)x(t) has spectrum X(ω)X(\omega). The spectrum of x(t)cos⁡(ω0t)x(t)\cos(\omega_0 t) is:

  9. For distortionless transmission through a channel, H(ω)H(\omega) must have:

  10. The Nyquist rate of x(t)=cos⁡(200πt)+sin⁡(600πt)x(t) = \cos(200\pi t) + \sin(600\pi t) is:

  11. A 7 kHz tone is sampled at 10 kHz and passed through an ideal low-pass filter with cut-off 5 kHz. The output frequency is:

  12. x(t)x(t) is band-limited to 4 kHz. The minimum sampling rate for y(t)=x2(t)y(t) = x^2(t) is:

Previous year questions

Previous year questions for UPSC CSE will appear here once each one is checked word for word against the official question paper.

Learn with AI

A tutor that asks instead of telling, a partner that argues the other side, and this chapter told through your own district.

Tell the tutor what you are stuck on. It will guide you with questions and give the answer after a few tries.

🙋 Raise a doubt or feedback

Stuck somewhere, or spotted a mistake? Write to the ExamHike team. We usually reply within a day, and you will see the reply on My progress.

Log in to ask a doubt or send feedback →

Frequently asked questions

What is the Nyquist rate of x²(t)?

Squaring doubles the bandwidth, so if x is limited to f_m, x² needs sampling above 4f_m.

Where does an aliased tone appear?

A tone at f sampled at f_s appears at |f − k·f_s| for the integer k that brings it between 0 and f_s/2.

What is the condition for distortionless transmission?

The channel must have a flat magnitude and a phase that is linear in frequency over the signal band, H = K·e^(−jωt₀).

Does adding more terms remove the Gibbs overshoot?

No. The overshoot stays near 9% of the jump; it only becomes narrower.

More in this module: Signals and systems

Official sources

Facts in this chapter were checked against these official sources.

  1. GATE 2026 Electronics and Communication Engineering (EC) syllabus, IIT Guwahati
  2. NPTEL Signals and Systems (IIT Kanpur, 108104100): Fourier series, Fourier transform and its properties, sampling