Skip to content
GATEiit

GATE EC · Networks, Signals and Systems

DTFT

The discrete-time Fourier transform: definition, inverse and existence, standard pairs, properties, Parseval's relation, evaluation shortcuts and the frequency response of discrete-time LTI systems.

Before you start

This topic comes before: DFT, FIR and IIR filter design, z-transform

Concept notes

1. Definition, inverse and existence

The DTFT of a sequence x[n] is X(ejω)=∑n=−∞∞x[n] e−jωn and the inverse DTFT is x[n]=12π∫−ππX(ejω) ejωn dω

Key facts:

  • X(ejω) is a function of the continuous variable ω (radians per sample) and is periodic with period 2π, because e−j(ω+2π)n=e−jωn for integer n. So only −π≤ω≤π matters.
  • Low frequencies are near ω=0 (and multiples of 2π); the highest frequency is ω=π, the sequence (−1)n.
  • The DTFT exists (the sum converges uniformly) if x[n] is absolutely summable, ∑∣x[n]∣<∞. Square-summable sequences such as sin⁡ωcnπn have a DTFT in the mean-square sense. Periodic sequences and constants get impulses in ω.
  • Link to the z-transform: X(ejω)=X(z)∣z=ejω, valid when the ROC contains the unit circle ∣z∣=1.
  • Link to sampling: if x[n]=xa(nT), then ω=ΩT, and ω=π corresponds to half the sampling frequency.
ω|X(e^jω)|−2π−π0π2π22/3Same shape repeats every 2π; peak at ω = 0 (low-pass), minimum at ω = ±π
Magnitude of the DTFT of x[n] = (0.5)^n u[n]. It is periodic with period 2π, equal to 2 at ω = 0 and 2/3 at ω = ±π.

2. Standard DTFT pairs

x[n] X(ejω)
δ[n] 1
δ[n−n0] e−jωn0
anu[n], ∣a∣<1 11−ae−jω
n anu[n], ∣a∣<1 ae−jω(1−ae−jω)2
a∣n∣, ∣a∣<1 1−a21−2acos⁡ω+a2
1 for ∣n∣≤M, else 0 sin⁡(ω(2M+1)/2)sin⁡(ω/2)
1 for 0≤n≤N−1, else 0 e−jω(N−1)/2sin⁡(ωN/2)sin⁡(ω/2)
sin⁡ωcnπn 1 for ∣ω∣≤ωc, 0 for ωc<∣ω∣≤π
1 (all n) 2π∑kδ(ω−2πk)
ejω0n 2π∑kδ(ω−ω0−2πk)
cos⁡ω0n π∑k[δ(ω−ω0−2πk)+δ(ω+ω0−2πk)]

The rectangular pulse gives the Dirichlet kernel sin⁡(Nω/2)sin⁡(ω/2): peak N at ω=0 and zeros at ω=2πk/N (k≠0). The ideal low-pass filter's impulse response sin⁡ωcnπn is non-causal and infinitely long, which is why practical filters only approximate it.

-3-2-10123nx[n] = 1, |n| ≤ 2ωX(e^jω)5−ππ2π/54π/5Peak = 5 = sum of samples; zeros at ω = ±2πk/5; value 1 at ω = ±π
The 5-point pulse x[n] = 1 for |n| ≤ 2 (left) and its real DTFT sin(5ω/2)/sin(ω/2) over one period (right).

3. Properties of the DTFT

With x[n]↔X(ejω) and y[n]↔Y(ejω):

Property Sequence DTFT
Linearity ax[n]+by[n] aX+bY
Time shift x[n−n0] e−jωn0X(ejω)
Frequency shift ejω0nx[n] X(ej(ω−ω0))
Time reversal x[−n] X(e−jω)
Conjugation x∗[n] X∗(e−jω)
Differentiation in ω n x[n] j dX(ejω)dω
Convolution x[n]∗y[n] X(ejω) Y(ejω)
Multiplication x[n] y[n] 12π∫−ππX(ejθ)Y(ej(ω−θ)) dθ
Expansion by L x[n/L] if L divides n, else 0 X(ejωL)

Special cases: (−1)nx[n]=ejπnx[n]↔X(ej(ω−π)), which turns a low-pass spectrum into a high-pass one. Multiplication in time gives periodic convolution in frequency.

Symmetry for real x[n]: X(e−jω)=X∗(ejω), so ∣X∣ and Re⁡X are even in ω, while ∠X and Im⁡X are odd. If x[n] is real and even, X is real and even; if real and odd, X is purely imaginary and odd. The even part of x[n] maps to Re⁡X and the odd part to jIm⁡X.

Downsampling x[Mn] has no simple product rule: its DTFT is the average of M shifted, stretched copies, 1M∑k=0M−1X(ej(ω−2πk)/M), and copies overlap (alias) unless X is band-limited to π/M.

4. Parseval's relation and evaluation shortcuts

Many GATE questions ask for a number, not a full transform. Use these instead of computing X(ejω):

  • Sum of samples: X(ej0)=∑nx[n].
  • Alternating sum: X(ejπ)=∑n(−1)nx[n].
  • One sample from the spectrum: x[0]=12π∫−ππX(ejω) dω (the average of X over one period).
  • Parseval's relation (energy): ∑n=−∞∞∣x[n]∣2=12π∫−ππ∣X(ejω)∣2 dω
  • Generalised Parseval: ∑nx[n]y∗[n]=12π∫−ππX(ejω)Y∗(ejω) dω.
  • Derivative at zero: ∑nn x[n]=j dXdω∣ω=0.

When to use which. If the question gives X(ejω) and asks for an integral of it, turn the integral into a time-domain sum (usually a single sample or an energy). If it gives x[n] and asks for an integral of ∣X∣2, sum ∣x[n]∣2.

Example: for the ideal low-pass x[n]=sin⁡(πn/4)πn, X=1 on ∣ω∣≤π/4. Energy =12π⋅π2=0.25, and x[0]=ωc/π=0.25 as well.

5. Frequency response of discrete-time LTI systems

The DTFT of the impulse response h[n] is the frequency response H(ejω). Since y[n]=x[n]∗h[n], Y(ejω)=H(ejω) X(ejω)

Complex exponentials are eigenfunctions. If x[n]=ejω0n for all n, then y[n]=H(ejω0) ejω0n. For a real system, Acos⁡(ω0n+θ) ⟶ A ∣H(ejω0)∣cos⁡(ω0n+θ+∠H(ejω0)) A constant input A (that is, ω0=0) gives A H(ej0).

From a difference equation. For y[n]+a1y[n−1]=b0x[n]+b1x[n−1], replace each delay by e−jω: H(ejω)=b0+b1e−jω1+a1e−jω

Common FIR examples:

  • h[n]=δ[n]+δ[n−1]: H=2cos⁡(ω/2) e−jω/2, low-pass, null at ω=π.
  • h[n]=δ[n]−δ[n−1]: H=2jsin⁡(ω/2) e−jω/2, high-pass, null at ω=0.
  • N-point moving average: nulls at ω=2πk/N.

Linear phase. A real FIR h[n] of length N that is symmetric, h[n]=h[N−1−n], has phase −ω(N−1)/2 (plus jumps of π where the amplitude changes sign), so its group delay is (N−1)/2 samples.

Formulas to remember

DTFT
X(ejω)=∑n=−∞∞x[n]e−jωn
Inverse DTFT
x[n]=12π∫−ππX(ejω)ejωn dω
Causal exponential
anu[n]↔11−ae−jω,∣a∣<1
Time shift
x[n−n0]↔e−jωn0X(ejω)
Differentiation in frequency
n x[n]↔j dX(ejω)dω
Parseval's relation
∑n∣x[n]∣2=12π∫−ππ∣X(ejω)∣2 dω
Values at 0 and π
X(ej0)=∑nx[n],X(ejπ)=∑n(−1)nx[n]
LTI output
Y(ejω)=H(ejω)X(ejω)

Common mistakes

  • Treating the DTFT as periodic with period π or as aperiodic; it always repeats every 2π, and only −π to π needs to be drawn.
  • Integrating |X|² directly when Parseval turns it into a simple sum of |x[n]|², or forgetting the 1/2π factor in the frequency-domain side.
  • Writing e^{+jωn0} for a delay of n0 samples; a delay gives e^{−jωn0}.
  • Using the a^n u[n] pair when |a| ≥ 1; the sum then diverges and the DTFT does not exist in the ordinary sense.
  • Confusing expansion x[n/L], whose DTFT is X(e^{jωL}), with downsampling x[Mn], which averages M shifted copies and can alias.
  • Taking only |H| for a sinusoidal input and forgetting to add the phase of H at that frequency.

Worked examples

Try each step yourself, then reveal the working.

Example 1: DTFT of a short symmetric sequence

numerical

Let x[n]={1,2,3,2,1} for n=−2,…,2 (zero elsewhere). Find X(ejω), its values at ω=0 and ω=π, and 12π∫−ππ∣X(ejω)∣2dω.

  1. Step 1: Pair the symmetric terms in the definition.

    Try it on paper first.

Example 2: Causal exponential and multiplication by n

numerical

For x[n]=(0.5)nu[n], find ∣X(ejω)∣ at ω=0 and ω=π, and the DTFT of y[n]=n(0.5)nu[n].

  1. Step 1: Write X using the standard pair.

    Try it on paper first.

Example 3: Energy of the ideal low-pass impulse response

numerical

Find ∑n=−∞∞∣sin⁡(πn/4)πn∣2 (the n=0 term is its limit, 1/4).

  1. Step 1: Recognise the sequence and its DTFT.

    Try it on paper first.

Example 4: Output of a two-point FIR filter

numerical

An LTI system has h[n]=δ[n]+δ[n−1]. Find the output for x[n]=4+2cos⁡(πn/2)+cos⁡(πn).

  1. Step 1: Find the frequency response.

    Try it on paper first.

Previous year questions

1 official GATE EC question on this topic, newest first.

Topic test

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-29. Spotted a mistake? Use Report an issue on any question, or contact us.