Why We Need the Inverse Z-Transform
The Z-transform converts a discrete-time sequence x[n] into a function X(z) in the complex plane, making analysis and filter design algebraically tractable. But the real payoff comes when we need to go the other direction: given a transfer function H(z) or an output spectrum Y(z), recover the time-domain sequence y[n]. This is the inverse Z-transform problem, and it arises constantly — whenever you design a filter from a pole-zero specification, when you solve difference equations, or when you implement a system in hardware.
Three practical methods dominate: partial fraction expansion (the most systematic), power-series / long division (the most direct), and for completeness the formal contour integral (seldom computed by hand but important for theory). Each method illuminates a different facet of the Z-transform relationship.
Method 1 — Partial Fraction Expansion
Partial fractions work whenever X(z) is a ratio of polynomials with simple poles. The strategy is to decompose X(z)/z (or X(z) itself) into a sum of first-order terms whose inverse transforms are individually recognizable from the Z-transform table.
The key Z-transform pair to remember is: a causal exponential anu[n] transforms to z/(z−a) with ROC |z| > |a|. So once X(z) is in partial fraction form, each term Ak z/(z−pk) maps directly to Ak pknu[n] in the causal case.
The same algebraic form of X(z) can correspond to different time sequences depending on the ROC. Always specify the ROC alongside X(z) — the inverse transform is not unique without it.
ROC: |z| > |p| → causal sequence | ROC: |z| < |p| → anti-causal sequenceFor repeated poles of order r, the decomposition requires higher-order terms and corresponding table entries. In practice, most DSP filter designs use simple poles (no repeated roots), so the basic partial fraction recipe handles the vast majority of real-world cases.
Method 2 — Power Series / Long Division
If you only need the first few samples of x[n] — or if X(z) does not factor nicely — long division of the numerator polynomial by the denominator polynomial yields a power series in z−1. The coefficients of this series are directly the samples x[0], x[1], x[2], …
Long division is especially useful for causal sequences (power series in z−1) and for verifying partial-fraction results. It is also the computational basis for converting a transfer function into a direct-form difference equation — the recipe a processor follows sample by sample.
Method 3 — The Contour Integral (Formal Definition)
The formal definition of the inverse Z-transform is a contour integral in the complex plane. While rarely computed by hand, it underpins the theory and explains why the ROC matters so fundamentally.
In practice, engineers evaluate this integral by residues rather than numerical integration. The contour integral perspective clarifies two things: (1) the ROC determines which poles are enclosed and therefore which partial-fraction terms contribute, and (2) closed-form evaluation is possible precisely because rational X(z) has isolated poles with computable residues.
Worked Example — Second-Order Filter
Consider the transfer function H(z) = z2 / (z2 − 0.9z + 0.81) with ROC |z| > 0.9. The denominator has roots at z = 0.9e±j60°, giving a conjugate pole pair at radius 0.9 and angle ±π/3. We want the impulse response h[n].
This example illustrates the general pattern: conjugate pole pairs at radius r and angle θ always produce impulse responses of the form rncos(nθ + φ)u[n] — damped sinusoids. The radius controls the decay rate, and the angle sets the oscillation frequency. This is the prototype response of every resonant IIR section.
Choosing the Right Method
- The inverse Z-transform recovers the time-domain sequence x[n] from its Z-domain representation X(z); the ROC is essential — the same X(z) can correspond to different sequences for different ROCs.
- Partial fraction expansion decomposes X(z)/z into first-order terms whose inverses are recognizable table entries (exponentials, sinusoids, ramps).
- Long division generates x[n] sample by sample as the power-series coefficients of X(z) in z⁻¹; useful when only a finite number of samples are needed.
- The contour integral is the formal definition; in practice it reduces to summing residues, which equals the partial-fraction result.
- Conjugate pole pairs at radius r and angle θ produce damped sinusoidal responses rncos(nθ + φ)u[n] — the signature of every resonant IIR section.
- Always specify the ROC: ROC |z| > |p| selects the causal sequence; ROC |z| < |p| selects the anti-causal sequence for the same pole.
- When in doubt, use long division to verify the first few values produced by partial fractions.