S7 · Lesson 1 · Sequences, LTI systems and the DTFT
Discrete-time systems and their properties, stability as absolute summability, complex exponentials as eigenfunctions, and the DTFT's symmetry, convergence and energy theorems
C9 introduced discrete-time signals and the DTFT as tools. This course treats them as the foundation of a discipline, at the depth of Oppenheim and Schafer: every filter design method, every spectrum analyzer and every sample-rate converter later in the course rests on a handful of exact statements about sequences and linear time-invariant systems. Which systems are stable, why complex exponentials pass through them unchanged in shape, what the DTFT of a sequence really converges to, and how energy is shared between time and frequency. This lesson states them carefully and shows where the edge cases bite.
- The DTFT magnitude of a rectangular pulse of length L, , against frequency from −π to π.
- The peak at ω = 0 is L (the sum of the samples); nulls fall at multiples of 2π/L, so a longer pulse has a narrower spectrum.
- The sidelobes don't shrink as L grows: the first stays about 13 dB below the peak. That fixed ratio returns when windows are chosen for filter design and spectrum analysis.
Predict
A system has impulse response h[n] = 1/n for n ≥ 1 and zero otherwise. Is it BIBO stable?
No. A discrete-time LTI system is BIBO stable exactly when , and the harmonic series diverges, so some bounded input (a constant 1, for instance) makes the output grow without limit, like ln n. Decaying to zero isn't enough; the decay has to be fast enough to sum, as with |a| < 1 is.
Name it
LTI systems
A system is linear if it obeys superposition and time-invariant if shifting the input shifts the output. Then , and
- causal ⇔ h[n] = 0 for n < 0;
- BIBO stable ⇔ .
Eigenfunctions and frequency response
For , with . A real sinusoid through a real system becomes .
The DTFT
- Periodic in ω with period 2π.
- Convergence: absolutely summable sequences have continuous DTFTs (uniform convergence). Square-summable ones, like the ideal lowpass filter's , converge only in mean square, and their truncated sums overshoot at discontinuities (the Gibbs phenomenon, about 9% of the jump).
- Symmetry: for real x[n], : even magnitude, odd phase.
- Parseval: .
Useful pairs: (|a| < 1); a length-L rectangle ↔ .
Worked example
h[n] = 0.8ⁿu[n]. Is it stable, and what's its frequency response at 0, π/2 and π?
Show the solution
- Stability. Sum the impulse response: That's finite, so the system is stable.
- Frequency response.
- At ω = 0 and π.
- At ω = π/2. That makes it a lowpass filter.
- Energy. Parseval says this must equal the average of over a period.
Answer it's stable, and its response is 5 at ω = 0, 0.781 at −38.7° at π/2 and 0.556 at π: a lowpass filter, with energy 2.78.
Worked example
A rectangular pulse has 8 samples of value 1. What's its DTFT magnitude at 0, at π/8 and at π/4?
Show the solution
- At ω = 0. The DTFT at zero is the sum of the samples, 8.
- At π/8.
- At π/4. π/4 = 2π/8 is the first null, so the magnitude is 0.
- Main lobe width. The spectrum's main lobe spans ±π/4, so doubling the pulse to 16 samples would halve that width.
Answer the magnitude is 8 at ω = 0, 5.13 at π/8 and 0 at π/4.
Worked example
A four-point moving average has h[n] = ¼ for n = 0 to 3. What is its response at ω = π/4 and π/2, its group delay and the energy of h?
Show the solution
- Magnitude response.
- At π/4.
- At π/2. The numerator is sin π = 0, an exact null.
- Group delay. The phase is , a constant group delay of 1.5 samples.
- Energy. Averaging four samples cuts white noise's power to a quarter.
Answer the response is 0.653 at π/4 and an exact null at π/2; the group delay is 1.5 samples and the energy of h is 0.25.
Check
A system has h[n] = (−0.8)ⁿu[n]. What's ?
Check
What's for h[n] = (0.8)ⁿu[n] at ω = 0.5 rad?
Check
What's the energy of h[n] = (0.7)ⁿu[n]?
Check
A length-10 rectangular pulse of ones: what's at ω = 0.3π/10?
Check
The input drives h[n] = (0.5)ⁿu[n]. What's the amplitude of the steady-state output?
Check
What's the group delay of h[n] = (0.8)ⁿu[n] at ω = 0.2 rad, in samples?
Check
A system has h[n] = (0.8)ⁿu[n]; consider ω = 0.3 rad.
(a)
What is ?
(b)
What is its phase?
Check
A system has h[n] = aⁿu[n].
Step 1
What is its DC gain H(1)?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
What is its gain at ω = π?
Step 3
What is at frequency w?
Explain why
Why does the ideal lowpass filter's DTFT sum converge only in a mean-square sense?
The ideal lowpass impulse response is , which falls off only as 1/n. Its squares sum to a finite energy, so the sequence has a well-defined DTFT in the mean-square sense, but its absolute values form a series like the harmonic one, which diverges. Without absolute summability the partial sums can't converge uniformly, and they don't: at the band edge, where the target response jumps from 1 to 0, every truncated sum overshoots by about 9% of the jump, and adding more terms only squeezes the ripple closer to the edge without shrinking it. The error's energy goes to zero, which is mean-square convergence, while its peak stays put, the Gibbs phenomenon that later makes windowed filter design necessary.
Practice
Keep practicing
10 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.