Evaluating the Inverse \(z\) Transform#
Given a square-summable sequence \(\{c_j\}\), the \(z\)-transform is
well-defined at least on the unit circle \(z = e^{i\omega}\), \(\omega \in [0, 2\pi]\). The sequence \(\{c_k\}\) can be recovered by the inversion formula
where \(\Gamma\) denotes the unit circle and the integral is a contour integral.[1] In this section we give simple formulas for evaluating (175) using residues. Virtually no knowledge of complex analysis is required to use these formulas.
Poles and Residues#
A pole of \(g(z)\) is a point \(z_0\) in the complex plane where \(g(z) \to \infty\) as \(z \to z_0\). In this book, \(g(z)\) is almost always a rational function—a ratio of finite-order polynomials in \(z\)—so the poles are simply the zeros of the denominator.
Test for poles of order \(m\): If for some positive integer \(m\) the function
can be defined[2] with \(\phi(z_0) \neq 0\), then \(g(z)\) has a pole of order \(m\) at \(z_0\).
For example, if \(g(z) = 1/(1-\lambda z)^r\), then \(g(z)\) has a pole of order \(r\) at \(z = \lambda^{-1}\).
Definition of residue: Suppose \(g(z)\) has a pole of order \(m\) at \(z = z_0\), and define \(\phi(z) = (z-z_0)^m g(z)\). The residue at \(z_0\) is
where \(\phi^{(m-1)}\) denotes the \((m-1)\)th derivative. When \(m = 1\) (a simple pole), this reduces to
The Residue Formulas#
The inversion integral (175) can be evaluated by either of two equivalent formulas:[3]
Choose whichever branch avoids poles of order greater than one at \(z = 0\).
Example 1: \(g(z) = 1/(1-\lambda z)\), \(|\lambda| < 1\)#
Using the first branch of (179), the function \(g(z^{-1})z^{-j-1} = z^{j-1}/(1-\lambda z^{-1})\) has:
For \(j > 0\): a single simple pole at \(z = \lambda\) (inside the unit circle), with residue \(\lambda^j\). So \(c_j = \lambda^j\).
For \(j < 0\): using the second branch, \(z^{-j-1}/(1-\lambda z)\) has no poles inside the unit circle, so \(c_j = 0\).
For \(j = 0\): using the second branch, \(z^{-1}/(1-\lambda z)\) has a simple pole at \(z = 0\) with residue \(1\), so \(c_0 = 1\).
Thus,
(These results are more easily obtained by expanding \(1/(1-\lambda z)\) as a geometric series, but residue calculations are faster for more complex examples.)
Example 2: The \(n\)th-Order AR Covariance Generating Function#
Consider the covariance generating function
where \(|\lambda_j| < 1\) for \(j = 1, \ldots, n\). Applying (179),
Use the first line for \(\tau \leq 0\) and the second for \(\tau \geq 0\) to avoid higher-order poles at \(z = 0\). In each case, the only poles inside the unit circle are the simple poles at \(\lambda_1, \ldots, \lambda_n\). For \(\tau \geq 0\) the residue at \(\lambda_j\) is
Summing over \(j\) and using the symmetry \(c_y(\tau) = c_y(-\tau)\):