A growing signal, , divided by a faster growth, . Before you press play, decide: which is the border?
Divide by a faster growth
x[n] = 1.25ⁿu[n], divided by rⁿ. The readout adds up every divided sample.
r = 1: nothing is divided. Each sample is 1.25 times the last, and the sum has no limit. This x has no DTFT.
Describe this picture
divided by . A panel of stems shows for sample from 0 to 15, and a short strip panel shows the test radius from 1 to 3. The strip marks 1.25 with a line labelled “growth of x: 1.25”, hatches the part from 1 to 1.25 as “no value”, and labels the rest “adds up”. The readouts are the test radius and the sum of .
At (readouts 1.00 and “no limit”) the caption reads “r = 1: nothing is divided. Each sample is 1.25 times the last, and the sum has no limit. This x has no DTFT.”; stems taller than the panel run off the top, and the first one is labelled “off the top”. At : “r = 1.25: dividing by 1.25ⁿ exactly cancels the growth. Every stem is 1, and the sum still has no limit.” At : “r = 1.5: each divided sample is 5/6 of the last, and the sum settles at 6.00.” At the end, : “r = 2.5: each is half the last, and the sum is 2.00. Every r above 1.25 gives a number: the border is x’s own growth, 1.25.” Between the holds the caption is blank. When the clip ends, dragging the marker on the strip, or the arrow keys, choose from 1 to 3.
Divide by a faster growth
Some sampled signals grow, such as , which grows by a quarter each sample. The sum of The DTFT (12.2) has no value for it, because has no limit. The Laplace transform (9.1) met the same problem in continuous time and divided by a faster exponential first.
I do the same here with a sequence, as the picture at the top of this page does: divide by , a test sequence that grows when is above 1. Look at . This is a geometric sequence with ratio . It dies out once is past 1.25, and then the divided samples add to a number.
At nothing is divided. Each sample is 1.25 times the last, the sum has no limit, and this has no DTFT. At dividing by exactly cancels the growth: every stem is 1, so each added sample raises the sum by 1, and the sum still has no limit. At each divided sample is of the last, and the sum settles at 6.00. At each is half the last, and the sum is 2.00. Every above 1.25 gives a number: the border is ‘s own growth, 1.25. When the clip ends, drag the marker on the strip to choose yourself.
The definition
The numbers agree with a geometric sum. For , the divided samples add to
At this is 6, at it is 2.667, and at it is 2. For the ratio is 1 or more and the sum has no limit.
Now let the test sequence spin as well. Write a point of the plane as : its length is and its angle is in rad/sample, as in Frequency in discrete time (12.1). Dividing by is multiplying by , and the z-transform adds up the result:
Because , at a fixed the sum is the DTFT of . So the new transform is the old one, applied after dividing by , the same relation that 9.1 found between its two transforms.
For the geometric sum, run to infinity, gives
So for , which gives 6 at and 2 at , the sums the first picture reads. The set of where the sum has a value is the region of convergence, written ROC. Where the formula blows up, here at , is a pole, the word of 9.1, and I draw it as a cross. Only decides whether the sum settles, so the ROC is made of whole circles: a ring.
One note on notation. From here on a delay box in a block diagram is labelled . The next lesson, Properties and the inverse z-transform (16.2), shows why.
Walk round the unit circle
The plane of is the plane of positions of First- and second-order systems (6.3), not the plane of rates. A point is what each sample is multiplied by, and its axes are “real part” and “imaginary part”. The points with form the unit circle, which is the frequency circle of 12.1: the point at angle is . On that circle is the DTFT.
I use the signal of 12.2, , so that with ROC . The picture below shades the plane by , as 9.1 did, and walks a dot round the unit circle. Before you press play, decide: where on the circle will the profile be tallest?
Walk round the unit circle
X(z) = 1/(1 − 0.8z⁻¹) for x[n] = 0.8ⁿu[n]. The plane is shaded by |X(z)| only where the sum has a value.
Ω = 0: z = 1, the point of the circle nearest the pole. |X| = 5.00, the sum 1 + 0.8 + 0.64 + …, as in 12.2.
Describe this picture
The plane of , real part against imaginary part, shaded by for : more colour means bigger, and the colour bar is titled “|X(z)|: more colour is bigger”. The disc has no value, so it is grey and labelled “no value here”. A dashed circle, the edge of the region, is labelled “edge |z| = 0.8”, and the pole sits on the real axis at 0.8, labelled “pole 0.8”; a key row names the pole, the unit circle and the edge of the region. A dot walks round the unit circle, and a second panel traces the height of the shading under the dot, size against in rad/sample. The readouts are and .
At the caption reads “Ω = 0: z = 1, the point of the circle nearest the pole. |X| = 5.00, the sum 1 + 0.8 + 0.64 + …, as in 12.2.” At : “Ω = 0.5π: z = j. Farther from the pole, |X| = 0.78.” At : “Ω = π: z = −1, the far side, and |X| = 0.56. This is 12.2’s size curve, read off the plane.” During the moves it reads “The point walks round the unit circle, z = e^{jΩ}. The profile is the shading’s height under it.” The clip ends at with “Ω = 2π: back at z = 1 after one turn, so the curve repeats every 2π. On the unit circle, X(z) is the DTFT.” After it, dragging the dot round the circle, or the arrow keys, read at any from 0 to .
The profile is tallest at , where is the point of the circle nearest the pole: , the sum , as in 12.2. At , is farther from the pole and . At , is the far side and . This is 12.2’s size curve, read off the plane. Back at after one turn, the curve repeats every . When the clip ends, drag the dot round the circle to read at any .
The off-circle values read from the same formula. Away from the circle at it is 9, at it is 3, at it is 0.652, and at it is 0.882.
On the unit circle , so is at . The DTFT exists exactly when the unit circle lies in the ROC, which is 12.2’s condition that is finite. For a real signal the lower half of the walk mirrors the upper half. The signal has ROC , which misses the circle: it has no DTFT, as the first picture found at .
One formula, two signals
Is the formula enough to name the signal? Take the left-sided signal , which is nonzero only for . Its samples at are , , and , so it grows going back in time. Its sum is , which has a value only for , and there it equals again. At the sum is , and the formula gives too.
The picture below puts the two on one page: both have , and only the region of convergence tells them apart. Before you tap, decide: will the unit circle be in the second region?
One formula, two signals
Both have X(z) = 1/(1 − 0.8z⁻¹). Only the region of convergence tells them apart.
0.8ⁿu[n] lives at n ≥ 0 and dies away. Its sum has a value outside the circle |z| = 0.8, and the unit circle is in that region.
Describe this picture
Both signals have . The signal panel draws as stems with dot heads and as stems with square heads, for from −8 to 8. The plane has the pole, the dashed edge and the unit circle, and it shades the region where the sum has a value. The readouts say which region applies and whether the unit circle is in it. Under them a two-option switch named “Signal”, with the choices “0.8ⁿu[n]” and “−0.8ⁿu[−n−1]”, replays either one once the clip, which opens on the right-sided signal and plays itself, has finished.
The first caption reads “0.8ⁿu[n] lives at n ≥ 0 and dies away. Its sum has a value outside the circle |z| = 0.8, and the unit circle is in that region.” (readouts “|z| > 0.8” and “inside the ROC”). The shading then moves from outside the dashed edge to inside it, while the dot stems fade out and the square stems fade in, and the caption reads “−0.8ⁿu[−n−1] lives at n ≤ −1 and grows going back. Its sum has a value only inside |z| = 0.8, yet the formula is the same.” (readouts “|z| < 0.8” and “outside the ROC”). The unit circle thickens and gains the label “unit circle: no value here”. The last caption reads “The formula alone does not say which signal you have; the region does. The unit circle lies outside the second region, so −0.8ⁿu[−n−1] has no DTFT.”
The right-sided dies away, and its sum has a value outside the circle , a region that holds the unit circle. The left-sided grows going back, and its sum has a value only inside , yet the formula is the same. The formula alone does not say which signal you have; the region does. The unit circle lies outside the second region, so has no DTFT.
What a region looks like
The same few rules hold for every signal in this lesson. I state them for sums of exponentials like these, and the next lessons use them again.
- The ROC is a ring centred on 0, since only matters.
- It contains no pole.
- A right-sided signal, one that is zero before some sample, has an ROC outside its outermost pole. If it is also causal (zero before , as in 5.4), the ROC runs out to infinity.
- A left-sided signal has an ROC inside its innermost pole.
- A two-sided signal has a ring between poles, or no ROC at all.
- A signal of finite length has the whole plane as its ROC, except perhaps or infinity.
A two-sided example is . Its right half needs , and its left half needs , so
The ring contains the unit circle, so there is a DTFT. Its size is 3 at , 0.6 at and 0.333 at .
The table of pairs is in the reference card. Three rows need more than the geometric sum. The step is the case . The ramp times an exponential, , is derived in 16.2. The damped cosine and sine come from writing each as two spinning exponentials with . I checked those two rows against a direct sum at , with and , and the two sides agree to about . At the step gives 2 and gives 0.444.
From the s-plane to the z-plane
Sampling every seconds gives . So a rate becomes the multiplier . The of Differential equations and analog systems (6.2) is one case of it, with .
The figure uses s, so Hz. The first panel is the plane of rates of Poles, zeros and the s-plane (9.3), and the second is the plane of . Five marks are matched. The rate becomes (a filled dot). The rate becomes (a filled square). The pair becomes at angles (crosses). The rate , which is 1 Hz, becomes (a filled diamond).
The left half of the s-plane lands inside the unit circle, because is below 1 when is negative. The spin-rate axis wraps round the circle. A spin rate of , 2 Hz and so , lands at . A positive rate such as lands outside the circle, at . Spin rates rad/s apart land on the same , which is aliasing seen from the plane.
The maths behind it · the shift matrix
Multiply a polynomial in by and its list of coefficients moves down one place. As a matrix that is the shift matrix, with ones just below the diagonal. A filter is a polynomial in the shift matrix, which is why the matrix of Discrete convolution (5.2) has the same number all along each diagonal.
The maths behind it · probability generating functions
For a whole-number random variable with probabilities , the probability generating function is a z-transform of the probabilities, with in place of . Its region of convergence always includes , because the add to 1.
Worked example
- Growing. , ROC . The value is 6 at , 2.667 at , 2 at and 1.714 at . The first 16 divided samples at add to 5.675, and the rest add 0.325. At the 16th stem is .
- On the circle. For , at , , , and is 5, 1.402, 0.781, 0.601 and 0.556. The angles are , , , and , as in 12.2. Off the circle, , , and .
- Left-sided. at is , , and . At its sum is , which is .
- Two-sided. with ROC . On the circle it is 3 at , 0.6 at and 0.333 at .
- s to z with s. gives . The pair gives at . A rate of 1 Hz gives , and 2 Hz gives . The rate gives , outside the circle.
Where you’ll meet this
Every transfer function of a digital filter is a ratio of polynomials in , and its poles and zeros are points of this plane. Transfer functions, poles and zeros (16.3) reads a filter’s behaviour from their positions, just as 9.3 did for analog systems. Stability and causality (16.4) turns this lesson’s rules about the ROC into a test: a causal system is stable when its ROC contains the unit circle.
Starting values come from the one-sided sum of The unilateral z-transform (16.5), and the map returns in filter design, where it turns analog designs into digital ones.
Reference card
| Quantity | Formula | Notes |
|---|---|---|
| z-transform | , | the DTFT of |
| On the unit circle | at | exists when the circle is in the ROC |
| Impulse, delay | ; | ROC all (except 0 for ) |
| Step | ||
| Right-sided exponential | ||
| Left-sided exponential | ||
| Ramp times exponential | (16.2 derives it) | |
| Damped cosine | ||
| Damped sine | ||
| ROC | a ring about 0, no poles inside | right-sided: outside; left-sided: inside |
| From the s-plane | left half goes inside the circle; spin-rate axis goes onto the unit circle |