C9 · Lesson 37 · Inverse z-transforms and system functions
From poles back to the impulse response
A filter designed in the z-plane has to come back to the time domain sooner or later: as an impulse response to check, as a difference equation to code, or as an output to predict. Going back is mostly partial fractions, the same technique A10 used for Laplace, with one simplification: each simple pole p turns into a geometric sequence . Every causal filter's impulse response is a sum of such terms, so its poles tell you, nearly at a glance, which modes it has, how fast each fades and which one lingers.
- A filter with poles at and , , has impulse response .
- The stems are h[n] and the dashed curves the two modes. The readouts give and from partial fractions.
- Make one pole small: its mode vanishes in a few samples and the other dominates. Make a pole negative: its mode alternates in sign. Move them close together and watch and grow large with opposite signs.
Predict
. What is h[0]?
- As every vanishes and H → 1, and for a causal system that limit is h[0] (the initial value theorem). Partial fractions agree: .
Name it
Partial fractions
Write H(z) in powers of . If the denominator has distinct poles and the numerator is of lower degree,
and for a causal system each term inverts to :
For two poles and a numerator of 1: , . A complex pair combines into a real decaying sinusoid .
Power series
Dividing the numerator by the denominator as polynomials in gives h[0], h[1], h[2], … one at a time, useful for the first few samples or for checking. For : 1, a + b, a(a + b), , ….
Initial and final values
For a causal sequence, . The step response of a stable filter settles at H(1).
Poles and zeros together
A zero on top of a pole cancels it: the mode disappears from the output. Filters that rely on exact cancellation are fragile, because coefficient rounding moves the zero slightly and the mode comes back.
Worked example
Find h[n] for .
Show the solution
- Partial-fraction coefficients.
- Impulse response. which runs 1, 0.75, 0.4375, 0.234, …
- Which mode matters. The 0.25 mode is gone after a few samples; the 0.5 mode sets how long the filter remembers.
Answer for n ≥ 0.
Worked example
Find the first three samples of h for .
Show the solution
- Long division. Each later sample is half the one before.
- Closed form. For n ≥ 0:
Answer h[0] = 1, h[1] = 0.8 and h[2] = 0.4.
Worked example
Find h[n] for .
Show the solution
- Factor the denominator.
- Partial fractions.
- Impulse response. For even n that's , and for odd n it's 0: 1, 0, 0.25, 0, 0.0625, …
- Check. That's what the recursion gives directly.
Answer , which is for even n and 0 for odd n.
Check
is causal.
(a)
What is , the coefficient of the 0.6 mode?
(b)
What is ?
Check
For the same kind of filter with poles 0.8 and 0.4, what is h[5]?
Check
is causal.
(a)
What is h[1]?
(b)
What is h[2]?
Check
. What does its step response settle to?
Check
A causal filter has . What is h[0]?
Check
A causal filter's slowest mode comes from a pole at radius 0.9. How big is that mode after 10 samples, relative to its start?
Check
. Which modes appear in h[n]?
Check
.
(a)
What is the partial-fraction coefficient of the 0.8 term?
(b)
What is h[3]?
Check
.
(a)
What is h[1]?
(b)
And h[2]?
Explain why
Why does each pole of a causal filter contribute a geometric sequence to the impulse response?
A pole at p comes from a factor , which is the transform of the first-order recursion . An impulse into that recursion comes out as 1, p, p², …, a geometric sequence. Partial fractions split a higher-order filter into a sum of such first-order pieces running side by side, so its impulse response is a weighted sum of their geometric sequences, one per pole. The pole's size sets how fast its term fades, and its angle sets how fast it oscillates.
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.