The N-point discrete Fourier transform: definition and inverse, link to the DTFT, its properties, circular versus linear convolution, frequency resolution and zero padding, and the operation count of the radix-2 FFT.
Circular convolution questions ask when it equals linear convolution and how the two differ.
Complex numbers and roots of unity
Every DFT sum is a sum of powers of .
Concept notes
1. Definition and link to the DTFT
For a sequence of length (), the N-point DFT is
The inverse DFT is .
Link to the DTFT: . The DFT is equally spaced samples of the DTFT over one period .
Useful values of : , , . For , , so takes only the values .
Quick checks:
(the sum of the samples).
For even , .
.
Implicit periodicity: both and are treated as one period of sequences with period . This is why shifts and convolutions in the DFT world are circular (indices taken modulo ).
Matrix form: with . For the rows are , , , .
The 8-point DFT of a 4-sample rectangle: the dots are the DTFT magnitude sampled at ω = 2πk/8.
2. Properties of the DFT
All indices are modulo ; means .
Property
Linearity
Circular time shift
Modulation
Circular time reversal
Conjugation
Circular convolution
Multiplication
Duality
Real sequences: . So is even and is odd about ; and (for even ) are real. Only about half the DFT values are independent.
Real and even (that is, ) gives a real, even ; real and odd gives purely imaginary .
Parseval: .
Basic pairs: for all ; for all ; .
IDFT using a DFT routine: .
3. Circular convolution and linear convolution
The N-point circular convolution is
Multiplying two -point DFTs gives this, not the linear convolution.
How to compute by hand: write circularly reversed, and rotate it one step for each ; or form the circulant matrix of and multiply by .
Relation to linear convolution: if is the linear convolution, the -point circular convolution is the linear one folded (aliased) in time:
When are they equal? If has length and has length , the linear convolution has length . Zero-pad both to ; then circular convolution equals linear convolution. With a smaller , the last samples wrap around and add onto the first ones.
Long filtering (block convolution): overlap-add and overlap-save use this idea to filter a long input with an FFT block by block. For a filter of length and FFT size , overlap-save discards the first outputs of each block (they are aliased).
4. Frequency resolution and zero padding
If comes from sampling at , DFT bin sits at analog frequency
For a real signal, bins stand for negative frequencies: bin is at .
Zero padding (appending zeros to make larger) samples the same DTFT more finely. It makes the plot smoother and can locate a peak better, but it does not improve the true resolution. The ability to separate two close tones depends on the length of the actual data record, , roughly .
Spectral leakage: a tone that does not fall exactly on a bin (a non-integer number of cycles in the record) spreads energy into all bins. A tone of frequency with integer gives exactly two non-zero bins ( and ) for a real cosine. Windowing (Hann, Hamming) reduces leakage at the cost of a wider main lobe.
Picket fence effect: you see the spectrum only at the bins; peaks between bins are missed or reduced. Zero padding helps here.
5. The FFT and its operation count
The fast Fourier transform computes the same DFT with far fewer operations. Radix-2 decimation in time (DIT) splits into even and odd samples (needs ):
where and are the -point DFTs of the even and odd samples. Repeating gives stages of butterflies each.
Method
Complex multiplications
Complex additions
Direct DFT
Radix-2 FFT
(Multiplications by are usually counted anyway in GATE answers unless the question says otherwise.)
Facts often asked:
DIT needs the input in bit-reversed order and gives output in natural order; decimation in frequency (DIF) is the reverse.
The computation can be done in place: each butterfly overwrites its two inputs.
For , input order for DIT is .
A radix-2 decimation-in-time butterfly: two outputs from one complex multiplication.
Formulas to remember
N-point DFT
Inverse DFT
DFT as DTFT samples
Circular shift
Conjugate symmetry (real x)
Parseval
Circular equals linear convolutionLengths and of the two sequences
9 questions: up to 1 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.