Skip to content
Chapter 16 · Lesson 1 of 5

First, the picture

A growing signal, 1.25nu[n]1.25^nu[n], divided by a faster growth, rnr^n. Before you press play, decide: which rr 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.

test radius r
1.00
sum of x[n] r⁻ⁿ
no limit
0.00 / 14.00 s
Describe this picture

x[n]=1.25nu[n]x[n]=1.25^nu[n] divided by rnr^n. A panel of stems shows x[n]r−nx[n]r^{-n} for sample nn from 0 to 15, and a short strip panel shows the test radius rr 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 rr and the sum of x[n]r−nx[n]r^{-n}.

At r=1r=1 (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.25r=1.25: “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.5r=1.5: “r = 1.5: each divided sample is 5/6 of the last, and the sum settles at 6.00.” At the end, r=2.5r=2.5: “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 rr from 1 to 3.

Divide by a faster growth

Some sampled signals grow, such as x[n]=1.25nu[n]x[n]=1.25^nu[n], which grows by a quarter each sample. The sum of The DTFT (12.2) has no value for it, because ∑∣x[n]∣\sum\lvert x[n]\rvert 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 rnr^n, a test sequence that grows when rr is above 1. Look at x[n]r−n=(1.25/r)nx[n]r^{-n}=(1.25/r)^n. This is a geometric sequence with ratio 1.25/r1.25/r. It dies out once rr is past 1.25, and then the divided samples add to a number.

At r=1r=1 nothing is divided. Each sample is 1.25 times the last, the sum has no limit, and this xx has no DTFT. At r=1.25r=1.25 dividing by 1.25n1.25^n 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 r=1.5r=1.5 each divided sample is 1.25/1.5=5/61.25/1.5=5/6 of the last, and the sum settles at 6.00. At r=2.5r=2.5 each is half the last, and the sum is 2.00. Every rr above 1.25 gives a number: the border is xx‘s own growth, 1.25. When the clip ends, drag the marker on the strip to choose rr yourself.

The definition

The numbers agree with a geometric sum. For r>1.25r>1.25, the divided samples add to

∑n=0∞(1.25r)n=11−1.25/r.\sum_{n=0}^{\infty}\left(\frac{1.25}{r}\right)^n=\frac{1}{1-1.25/r}.

At r=1.5r=1.5 this is 6, at r=2r=2 it is 2.667, and at r=2.5r=2.5 it is 2. For r≤1.25r\le1.25 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 z=rejΩz=re^{j\Omega}: its length is rr and its angle is Ω\Omega in rad/sample, as in Frequency in discrete time (12.1). Dividing by znz^n is multiplying by z−nz^{-n}, and the z-transform adds up the result:

X(z)=∑n=−∞∞x[n] z−n,z=rejΩ.X(z)=\sum_{n=-\infty}^{\infty}x[n]\,z^{-n},\qquad z=re^{j\Omega}.

Because z−n=r−ne−jΩnz^{-n}=r^{-n}e^{-j\Omega n}, at a fixed rr the sum is the DTFT of x[n]r−nx[n]r^{-n}. So the new transform is the old one, applied after dividing by rnr^n, the same relation that 9.1 found between its two transforms.

For anu[n]a^nu[n] the geometric sum, run to infinity, gives

anu[n] ↔ 11−az−1,∣z∣>∣a∣.a^nu[n]\ \leftrightarrow\ \frac{1}{1-az^{-1}},\qquad \lvert z\rvert > \lvert a\rvert .

So 1.25nu[n]↔1/(1−1.25z−1)1.25^nu[n]\leftrightarrow1/(1-1.25z^{-1}) for ∣z∣>1.25\lvert z\rvert > 1.25, which gives 6 at z=1.5z=1.5 and 2 at z=2.5z=2.5, the sums the first picture reads. The set of zz where the sum has a value is the region of convergence, written ROC. Where the formula blows up, here at z=1.25z=1.25, is a pole, the word of 9.1, and I draw it as a cross. Only ∣z∣\lvert z\rvert 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 z−1z^{-1}. The next lesson, Properties and the inverse z-transform (16.2), shows why.

Walk round the unit circle

The plane of zz is the plane of positions of First- and second-order systems (6.3), not the plane of rates. A point zz is what each sample is multiplied by, and its axes are “real part” and “imaginary part”. The points with r=1r=1 form the unit circle, which is the frequency circle of 12.1: the point at angle Ω\Omega is ejΩe^{j\Omega}. On that circle X(z)X(z) is the DTFT.

I use the signal of 12.2, x[n]=0.8nu[n]x[n]=0.8^nu[n], so that X(z)=1/(1−0.8z−1)X(z)=1/(1-0.8z^{-1}) with ROC ∣z∣>0.8\lvert z\rvert > 0.8. The picture below shades the plane by ∣X(z)∣\lvert X(z)\rvert, 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.

Ω
0 rad/sample
|X(e^{jΩ})|
5.00
0.00 / 15.00 s
Describe this picture

The plane of zz, real part against imaginary part, shaded by ∣X(z)∣\lvert X(z)\rvert for X(z)=1/(1−0.8z−1)X(z)=1/(1-0.8z^{-1}): more colour means bigger, and the colour bar is titled “|X(z)|: more colour is bigger”. The disc ∣z∣≤0.8\lvert z\rvert\le0.8 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 ∣X(ejΩ)∣\lvert X(e^{j\Omega})\rvert against Ω\Omega in rad/sample. The readouts are Ω\Omega and ∣X(ejΩ)∣\lvert X(e^{j\Omega})\rvert.

At Ω=0\Omega=0 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π\Omega=0.5\pi: “Ω = 0.5π: z = j. Farther from the pole, |X| = 0.78.” At Ω=π\Omega=\pi: “Ω = π: 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 Ω=2π\Omega=2\pi 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 ∣X∣\lvert X\rvert at any Ω\Omega from 0 to 2π2\pi.

The profile is tallest at Ω=0\Omega=0, where z=1z=1 is the point of the circle nearest the pole: ∣X∣=5.00\lvert X\rvert=5.00, the sum 1+0.8+0.64+⋯1+0.8+0.64+\cdots, as in 12.2. At Ω=0.5π\Omega=0.5\pi, z=jz=j is farther from the pole and ∣X∣=0.78\lvert X\rvert=0.78. At Ω=π\Omega=\pi, z=−1z=-1 is the far side and ∣X∣=0.56\lvert X\rvert=0.56. This is 12.2’s size curve, read off the plane. Back at z=1z=1 after one turn, the curve repeats every 2π2\pi. When the clip ends, drag the dot round the circle to read ∣X∣\lvert X\rvert at any Ω\Omega.

The off-circle values read from the same formula. Away from the circle at z=0.9z=0.9 it is 9, at z=1.2z=1.2 it is 3, at z=−1.5z=-1.5 it is 0.652, and at z=1.5jz=1.5j it is 0.882.

On the unit circle r=1r=1, so X(ejΩ)X(e^{j\Omega}) is X(z)X(z) at z=ejΩz=e^{j\Omega}. The DTFT exists exactly when the unit circle lies in the ROC, which is 12.2’s condition that ∑∣x[n]∣\sum\lvert x[n]\rvert is finite. For a real signal the lower half of the walk mirrors the upper half. The signal 1.25nu[n]1.25^nu[n] has ROC ∣z∣>1.25\lvert z\rvert > 1.25, which misses the circle: it has no DTFT, as the first picture found at r=1r=1.

One formula, two signals

Is the formula enough to name the signal? Take the left-sided signal −0.8nu[−n−1]-0.8^nu[-n-1], which is nonzero only for n≤−1n\le-1. Its samples at n=−1,−2,−3,−4n=-1,-2,-3,-4 are −1.25-1.25, −1.5625-1.5625, −1.953-1.953 and −2.441-2.441, so it grows going back in time. Its sum is −∑m≥1(z/0.8)m-\sum_{m\ge1}(z/0.8)^m, which has a value only for ∣z∣<0.8\lvert z\rvert < 0.8, and there it equals 1/(1−0.8z−1)1/(1-0.8z^{-1}) again. At z=0.5z=0.5 the sum is −1.667-1.667, and the formula gives 1/(1−0.8/0.5)=−1.6671/(1-0.8/0.5)=-1.667 too.

The picture below puts the two on one page: both have X(z)=1/(1−0.8z−1)X(z)=1/(1-0.8z^{-1}), 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.

ROC
|z| > 0.8
unit circle
inside the ROC
0.00 / 13.00 s
Describe this picture

Both signals have X(z)=1/(1−0.8z−1)X(z) = 1/(1 - 0.8z^{-1}). The signal panel draws 0.8nu[n]0.8^nu[n] as stems with dot heads and −0.8nu[−n−1]-0.8^nu[-n-1] as stems with square heads, for nn 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 0.8nu[n]0.8^nu[n] dies away, and its sum has a value outside the circle ∣z∣=0.8\lvert z\rvert=0.8, a region that holds the unit circle. The left-sided −0.8nu[−n−1]-0.8^nu[-n-1] grows going back, and its sum has a value only inside ∣z∣=0.8\lvert z\rvert=0.8, 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 −0.8nu[−n−1]-0.8^nu[-n-1] 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.

  1. The ROC is a ring centred on 0, since only ∣z∣\lvert z\rvert matters.
  2. It contains no pole.
  3. 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 n=0n=0, as in 5.4), the ROC runs out to infinity.
  4. A left-sided signal has an ROC inside its innermost pole.
  5. A two-sided signal has a ring between poles, or no ROC at all.
  6. A signal of finite length has the whole plane as its ROC, except perhaps z=0z=0 or infinity.

A two-sided example is 0.5∣n∣0.5^{\lvert n\rvert}. Its right half 0.5nu[n]0.5^nu[n] needs ∣z∣>0.5\lvert z\rvert > 0.5, and its left half needs ∣z∣<2\lvert z\rvert < 2, so

X(z)=11−0.5z−1−11−2z−1=−1.5z−11−2.5z−1+z−2,0.5<∣z∣<2.X(z)=\frac{1}{1-0.5z^{-1}}-\frac{1}{1-2z^{-1}}=\frac{-1.5z^{-1}}{1-2.5z^{-1}+z^{-2}},\qquad 0.5 < \lvert z\rvert < 2 .

The ring contains the unit circle, so there is a DTFT. Its size is 3 at Ω=0\Omega=0, 0.6 at 0.5π0.5\pi and 0.333 at π\pi.

The table of pairs is in the reference card. Three rows need more than the geometric sum. The step u[n]u[n] is the case a=1a=1. The ramp times an exponential, n anu[n]n\,a^nu[n], is derived in 16.2. The damped cosine and sine come from writing each as two spinning exponentials with a=re±jθa=re^{\pm j\theta}. I checked those two rows against a direct sum at z=1.3ej0.4z=1.3e^{j0.4}, with r=0.9r=0.9 and θ=π/4\theta=\pi/4, and the two sides agree to about 10−1510^{-15}. At z=2z=2 the step gives 2 and n 0.5nu[n]n\,0.5^nu[n] gives 0.444.

From the s-plane to the z-plane

Sampling este^{st} every TsT_s seconds gives esnTs=(esTs)ne^{snT_s}=(e^{sT_s})^n. So a rate ss becomes the multiplier z=esTsz=e^{sT_s}. The a=e−Ts/RCa=e^{-T_s/RC} of Differential equations and analog systems (6.2) is one case of it, with s=−1/RCs=-1/RC.

The figure uses Ts=0.25T_s=0.25 s, so fs=4f_s=4 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 zz. Five marks are matched. The rate s=0s=0 becomes z=1z=1 (a filled dot). The rate s=−1s=-1 becomes z=0.779z=0.779 (a filled square). The pair s=−1±2js=-1\pm2j becomes 0.7790.779 at angles ±28.6°\pm28.6° (crosses). The rate s=j2πs=j2\pi, which is 1 Hz, becomes z=jz=j (a filled diamond).

−2−101−8−4048spin-rate axisleft halfs = 0s = −1−1 + 2j−1 − 2js = j2πdecay rate σspin rate ωs-plane: rates−101−101unit circlez = 1z = 0.7790.779∠28.6°0.779∠−28.6°z = jreal partimaginary partz-plane: multipliers
Fig. Sampling every T_s = 0.25 s turns a rate s into the multiplier z = e^{sT_s}. The left half of the s-plane lands inside the unit circle, and the spin-rate axis wraps round the circle: 1 Hz, a quarter of f_s, lands at z = j.

The left half of the s-plane lands inside the unit circle, because ∣esTs∣=eσTs\lvert e^{sT_s}\rvert=e^{\sigma T_s} is below 1 when σ\sigma is negative. The spin-rate axis wraps round the circle. A spin rate of j4πj4\pi, 2 Hz and so fs/2f_s/2, lands at z=−1z=-1. A positive rate such as s=0.5s=0.5 lands outside the circle, at 1.1331.133. Spin rates 2π/Ts=25.132\pi/T_s=25.13 rad/s apart land on the same zz, which is aliasing seen from the plane.

The maths behind it · the shift matrix

Multiply a polynomial in z−1z^{-1} by z−1z^{-1} 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 H\mathbf{H} 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 XX with probabilities p[k]p[k], the probability generating function E{uX}=∑kp[k]uk\mathbb{E}\{u^X\}=\sum_kp[k]u^k is a z-transform of the probabilities, with uu in place of z−1z^{-1}. Its region of convergence always includes ∣u∣≤1\lvert u\rvert\le1, because the p[k]p[k] add to 1.

Worked example

  1. Growing. 1.25nu[n]↔1/(1−1.25z−1)1.25^nu[n]\leftrightarrow1/(1-1.25z^{-1}), ROC ∣z∣>1.25\lvert z\rvert > 1.25. The value is 6 at z=1.5z=1.5, 2.667 at z=2z=2, 2 at z=2.5z=2.5 and 1.714 at z=3z=3. The first 16 divided samples at r=1.5r=1.5 add to 5.675, and the rest add 0.325. At r=1r=1 the 16th stem is 1.2515=28.41.25^{15}=28.4.
  2. On the circle. For 0.8nu[n]0.8^nu[n], ∣X∣\lvert X\rvert at Ω=0\Omega=0, 0.25π0.25\pi, 0.5π0.5\pi, 0.75π0.75\pi and π\pi is 5, 1.402, 0.781, 0.601 and 0.556. The angles are 0°0°, −52.48°-52.48°, −38.66°-38.66°, −19.86°-19.86° and 0°0°, as in 12.2. Off the circle, ∣X(0.9)∣=9\lvert X(0.9)\rvert=9, ∣X(1.2)∣=3\lvert X(1.2)\rvert=3, ∣X(−1.5)∣=0.652\lvert X(-1.5)\rvert=0.652 and ∣X(1.5j)∣=0.882\lvert X(1.5j)\rvert=0.882.
  3. Left-sided. −0.8nu[−n−1]-0.8^nu[-n-1] at n=−1,−2,−3,−4n=-1,-2,-3,-4 is −1.25-1.25, −1.5625-1.5625, −1.953-1.953 and −2.441-2.441. At z=0.5z=0.5 its sum is −∑m≥10.625m=−1.667-\sum_{m\ge1}0.625^m=-1.667, which is 1/(1−0.8/0.5)1/(1-0.8/0.5).
  4. Two-sided. 0.5∣n∣↔−1.5z−11−2.5z−1+z−20.5^{\lvert n\rvert}\leftrightarrow\dfrac{-1.5z^{-1}}{1-2.5z^{-1}+z^{-2}} with ROC 0.5<∣z∣<20.5 < \lvert z\rvert < 2. On the circle it is 3 at Ω=0\Omega=0, 0.6 at 0.5π0.5\pi and 0.333 at π\pi.
  5. s to z with Ts=0.25T_s=0.25 s. s=−1s=-1 gives 0.77880.7788. The pair s=−1±2js=-1\pm2j gives 0.77880.7788 at ±28.65°\pm28.65°. A rate of 1 Hz gives jj, and 2 Hz gives −1-1. The rate s=0.5s=0.5 gives 1.1331.133, outside the circle.

Where you’ll meet this

Every transfer function of a digital filter is a ratio of polynomials in z−1z^{-1}, 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 z=esTsz=e^{sT_s} returns in filter design, where it turns analog designs into digital ones.

Reference card

QuantityFormulaNotes
z-transformX(z)=∑nx[n]z−nX(z)=\displaystyle\sum_nx[n]z^{-n}, z=rejΩz=re^{j\Omega}the DTFT of x[n]r−nx[n]r^{-n}
On the unit circleX(ejΩ)=X(z)X(e^{j\Omega})=X(z) at z=ejΩz=e^{j\Omega}exists when the circle is in the ROC
Impulse, delayδ[n]↔1\delta[n]\leftrightarrow1; δ[n−n0]↔z−n0\delta[n-n_0]\leftrightarrow z^{-n_0}ROC all zz (except 0 for n0>0n_0 > 0)
Stepu[n]↔11−z−1u[n]\leftrightarrow\dfrac1{1-z^{-1}}∣z∣>1\lvert z\rvert > 1
Right-sided exponentialanu[n]↔11−az−1a^nu[n]\leftrightarrow\dfrac1{1-az^{-1}}∣z∣>∣a∣\lvert z\rvert > \lvert a\rvert
Left-sided exponential−anu[−n−1]↔11−az−1-a^nu[-n-1]\leftrightarrow\dfrac1{1-az^{-1}}∣z∣<∣a∣\lvert z\rvert < \lvert a\rvert
Ramp times exponentialn anu[n]↔az−1(1−az−1)2n\,a^nu[n]\leftrightarrow\dfrac{az^{-1}}{(1-az^{-1})^2}∣z∣>∣a∣\lvert z\rvert > \lvert a\rvert (16.2 derives it)
Damped cosinerncos⁡(θn)u[n]↔1−rcos⁡θ z−11−2rcos⁡θ z−1+r2z−2r^n\cos(\theta n)u[n]\leftrightarrow\dfrac{1-r\cos\theta\,z^{-1}}{1-2r\cos\theta\,z^{-1}+r^2z^{-2}}∣z∣>r\lvert z\rvert > r
Damped sinernsin⁡(θn)u[n]↔rsin⁡θ z−11−2rcos⁡θ z−1+r2z−2r^n\sin(\theta n)u[n]\leftrightarrow\dfrac{r\sin\theta\,z^{-1}}{1-2r\cos\theta\,z^{-1}+r^2z^{-2}}∣z∣>r\lvert z\rvert > r
ROCa ring about 0, no poles insideright-sided: outside; left-sided: inside
From the s-planez=esTsz=e^{sT_s}left half goes inside the circle; spin-rate axis goes onto the unit circle

End of lesson 16.1

Where to go next.

Phasorium
LibraryEvery lesson, in order

Parts

About Phasorium
Look