The idea: weigh each sample by z⁻ⁿ and add
A discrete signal is a list of numbers x[n], one per sample. The z-transform packs the whole list into one function of a complex number z:
X(z) = Σ x[n]·z⁻ⁿ (sum over every n)
Pick a z, multiply each sample by z⁻ⁿ, and add. For x[n] = 0.8ⁿ for n ≥ 0 (written 0.8ⁿ·u[n], where u[n] is the unit step: 1 for n ≥ 0, else 0) the sum is 1 + 0.8z⁻¹ + 0.64z⁻² + … At z = 1 the partial sums are 1, 1.8, 2.44, 2.952, … and they settle at 5. At z = 0.5 they are 1, 2.6, 5.16, 9.256, … and never settle. (Demo 1)
The region of convergence
The sum 1 + 0.8z⁻¹ + (0.8z⁻¹)² + … is a geometric series with ratio 0.8z⁻¹. It adds up to 1/(1 − 0.8z⁻¹) = z/(z − 0.8) only when the ratio is smaller than 1 in size, so only for |z| > 0.8. That set is the region of convergence (ROC). Its edge passes through the pole z = 0.8, where the formula blows up.
Now flip the sequence: x[n] = −0.8ⁿ for n ≤ −1 and 0 for n ≥ 0. Its sum, −1.25z − 1.5625z² − …, has ratio z/0.8. It gives the same formula z/(z − 0.8), but only for |z| < 0.8. At z = 0.5 it settles at −1.667 = 0.5/(0.5 − 0.8); at z = 1 it grows without end. (Demo 2)
| sequence | X(z) | ROC | holds |z| = 1? |
|---|---|---|---|
| 0.8ⁿ·u[n] (right-sided) | z/(z − 0.8) | |z| > 0.8, outside a circle | yes |
| −0.8ⁿ·u[−n−1] (left-sided) | z/(z − 0.8) | |z| < 0.8, inside a circle | no |
| aⁿ·u[n] | z/(z − a) | |z| > |a| | if |a| < 1 |
A right-sided sequence always has an ROC outside a circle, a left-sided one inside a circle. An ROC never holds a pole.
From a difference equation to H(z)
The key rule: a delay of one sample, x[n − 1], becomes z⁻¹·X(z). So a difference equation turns into algebra. For y[n] = 0.9·y[n−1] + x[n]:
Y(z) = 0.9·z⁻¹·Y(z) + X(z)
H(z) = Y(z)/X(z) = 1/(1 − 0.9z⁻¹) = z/(z − 0.9)
H(z) is the transfer function: a pole at 0.9 (where the bottom is 0) and a zero at 0 (where the top is 0). It is also the z-transform of the impulse response h[n], the output when the input is a single 1 at n = 0 (x = δ). Here h[n] = 0.9ⁿ: 1, 0.9, 0.81, …, h[10] = 0.3487, h[15] = 0.2059. (Demo 3) For any input, the output is the convolution y = h * x, and the z-transform turns it into a product: Y(z) = H(z)·X(z).
Poles and stability
For a causal system (h[n] = 0 for n < 0) each pole p gives a term like pⁿ in h[n]. So the size of the pole says everything:
| pole p | h[n] = pⁿ | behaviour |
|---|---|---|
| 0.5 | 1, 0.5, 0.25, … | dies fast |
| 0.9 | 1, 0.9, 0.81, … 0.2059 at n = 15 | dies slowly |
| −0.9 | 1, −0.9, 0.81, … | dies, flipping sign |
| 1.0 | 1, 1, 1, … | never dies (on the circle) |
| 1.1 | 1, 1.1, 1.21, … 4.177 at n = 15 | grows: unstable |
A causal system is stable (every bounded input gives a bounded output) exactly when all its poles are inside the unit circle |z| < 1. That is the same as saying the ROC |z| > |p| holds the unit circle. Move the pole from 0.9 to 1.1 and the stems grow off the plot: h[15] = 4.177. (Demo 4)
Back to h[n]: partial fractions
To invert a H(z) with several poles, split it into pieces you already know. For y[n] = 0.25·y[n−1] + 0.125·y[n−2] + x[n], H(z) = z²/((z − 0.5)(z + 0.25)). Divide by z first, so each piece comes back as z/(z − a):
H(z)/z = z/((z − 0.5)(z + 0.25)) = A/(z − 0.5) + B/(z + 0.25)
A = 0.5/(0.5 + 0.25) = 2/3 B = −0.25/(−0.25 − 0.5) = 1/3 (cover-up rule)
H(z) = (2/3)·z/(z − 0.5) + (1/3)·z/(z + 0.25), ROC |z| > 0.5
h[n] = (2/3)·0.5ⁿ + (1/3)·(−0.25)ⁿ → 1, 0.25, 0.1875, 0.0781, …
Each pole gives one geometric term. Check with the equation: h[1] = 0.25·h[0] = 0.25, and h[2] = 0.25·0.25 + 0.125·1 = 0.1875. (Demo 6) The same cover-up rule is used for the Laplace transform in The Laplace Transform.
Frequency response from distances
On the unit circle z = ejω, and H(ejω) is the frequency response: how much the system scales a sampled sinusoid of frequency ω (ω = 0 is a constant, ω = π flips sign every sample). It exists only when the unit circle is in the ROC. Factor H(z) into (z − zeros)/(z − poles) and take sizes:
|H(e^jω)| = (product of distances from e^jω to the zeros) / (product of distances to the poles)
For the pole at 0.9 and zero at 0 the zero is always 1 away, so |H| = 1/(distance to 0.9): 10 at ω = 0, 2.608 at π/8, 0.743 at π/2, 0.526 at π. A low-pass. (Demo 5) Put a zero on the circle at −1, H(z) = (z + 1)/(z − 0.9), and |H| goes from 20 at ω = 0 to exactly 0 at ω = π: that frequency is removed. (Demo 7) Choosing poles and zeros to shape this curve on purpose is digital filter design.
Where it sits next to Laplace and Fourier
Sampling a signal every T seconds turns est into (esT)ⁿ, so z = esT: the left half of the s-plane of the Laplace transform maps to the inside of the unit circle, and the imaginary axis maps onto the circle. That is why "poles in the left half" becomes "poles inside the circle". ω on the circle is the frequency per sample; why only 0 … π is unique is in Sampling and Aliasing. Points on the circle are ejω from Complex Numbers, and the response at N equally spaced points is what the FFT in Fourier Series and the FFT computes.
See also the DFT in practice: leakage, windows, zero padding and fast convolution.
See also discrete-time LTI systems and the convolution sum for the impulse response h[n] = 0.5ⁿ of y[n] = 0.5·y[n−1] + x[n], computed sample by sample.
See also FIR and IIR filters, where a one-pole filter with its pole at 0.8 smooths a noisy sine and is compared with FIR designs.
See also a discrete PID loop on a motor, where the overshoot and ringing come from closed-loop poles like the ones here.
What the page leaves out
Complex-conjugate pole pairs (they give damped cosines and resonant peaks at ω ≠ 0), repeated poles (n·aⁿ terms), two-sided sequences whose ROC is a ring, the phase of H(ejω), the inverse by contour integral or by long division, the unilateral transform with initial conditions, the convolution sum itself and how to design FIR and IIR filters are not shown.