C9 · Lesson 36 · The z-transform
The Laplace transform's discrete-time partner
The DTFT evaluates a sequence's spectrum on the unit circle. The z-transform frees z to be any complex number, and does for discrete time what the Laplace transform does for continuous time: it turns difference equations into algebra, convolution into multiplication, and a filter into a ratio of polynomials whose poles and zeros you can see. The unit circle takes over the role of the jω axis. A causal digital filter is stable exactly when its poles lie inside the circle, and the closer a pole sits to the circle, the longer the filter rings.
- A resonator : its poles (crosses) sit at radius r and angles ±θ; the circle is the unit circle.
- r sets how long the filter rings: inside the circle it's stable, on it the ringing never ends, outside (shaded) it grows. θ sets the frequency it rings at.
- This is lesson 9's two-line recursion. Its impulse response is drawn below: compare how fast it dies with how close the poles are to the circle.
Predict
has . For which z does the sum defining X(z) converge?
|z| > 0.5. The sum is , a geometric series that converges when . The left-sided sequence has the same formula with |z| < 0.5: as with Laplace, the ROC tells them apart.
Name it
The transform
converges in a region of convergence, a ring bounded by poles. On the unit circle, , it's the DTFT, if the ROC includes the circle.
| x[n] | X(z) | ROC |
|---|---|---|
| all z (except 0 for k > 0) | ||
Properties
A delay by k multiplies by ; convolution multiplies transforms. So the difference equation gives
a ratio of polynomials in . Multiplying top and bottom by the highest power of z gives polynomials in z, whose roots are the zeros and poles.
Causality and stability
A causal system's ROC is outside its outermost pole, . A stable one's ROC contains the unit circle. So a causal, stable filter has every pole strictly inside the unit circle. A pole at radius r gives a mode , which halves every samples.
is the DC gain, and is the gain at ω = π.
Worked example
Find the z-transform of x = [1, 2, 3] (n = 0 to 2) and its value at z = 1.
Show the solution
- Transform. It converges everywhere except z = 0:
- At z = 1. the sum of the samples, which is the DTFT at ω = 0.
Answer , and its value at z = 1 is 6.
Worked example
Find H(z) for and decide whether it's stable.
Show the solution
- Transfer function.
- Poles. They solve : radius 0.9, inside the unit circle.
- Behavior. Causal and stable, ringing every 6 samples and halving every 6.6.
Answer , with poles at inside the unit circle, so it's stable.
Worked example
Find X(z) and its region of convergence for .
Show the solution
- Right-sided part. For |z| > 0.5 it gives
- Left-sided part. For |z| < 2 it gives
- ROC. Both converge only in the ring 0.5 < |z| < 2, so that's the ROC.
- DTFT. It includes the unit circle, so the DTFT exists: the signal decays in both directions.
Answer , with ROC 0.5 < |z| < 2.
Check
x = [1, 3, 4], starting at n = 0. What is X(z) at z = 0.5?
Check
What is the z-transform of at z = 2?
Check
A causal filter has poles at radius 0.5 and 0.3. Its ROC is |z| > ρ. What is ρ?
Check
A filter computes .
(a)
Where is its pole?
(b)
What is its DC gain, H(1)?
Check
A filter computes , and its poles are a complex pair.
(a)
What is their radius?
(b)
What is the DC gain?
Check
. What is its gain at ω = π?
Check
A causal filter's poles are at 0.5, 0.95e^{±j0.3} and 1.02. Is it stable?
Check
x = [1, −2, 5] for n = 0 to 2.
(a)
What is X(z) at z = 1?
(b)
And at z = −1?
Check
with a = 0.8.
(a)
What is X(z) at z = 2?
(b)
Outside what radius does it converge?
Explain why
Why is the unit circle the boundary between stable and unstable for causal digital filters?
Each pole p of a causal filter contributes a term to the impulse response. Its size is , which shrinks to zero if |p| < 1, stays constant if |p| = 1, and grows without limit if |p| > 1. The impulse response is absolutely summable, the condition for stability, exactly when every such term shrinks geometrically, so every pole must be strictly inside the circle of radius 1. It's the discrete-time image of the jω axis: maps the left half of the s-plane to the inside of the unit circle.
Practice
Keep practicing
11 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.