Definition of the Z-Transform
Introduction
Overview
The Z-transform converts a discrete-time signal into a function of the complex variable $z$. It plays the same role for discrete-time signals that the Laplace transform plays for continuous-time signals: it converts difference equations into algebraic equations, making it fundamental to a wide range of fields including digital filter design, time-series analysis, and control theory.
In most practical applications one deals with causal signals (such as impulse responses) defined for $n \geq 0$, so this chapter defines the unilateral Z-transform and aims to develop familiarity through concrete examples. The region of convergence and the bilateral Z-transform are treated in the Basic Level.
Definition of the Unilateral Z-Transform
Definition: Unilateral Z-Transform
The unilateral Z-transform of a discrete-time signal $x[n]$ defined for $n \geq 0$ is
The unilateral Z-transform assumes a causal signal ($x[n] = 0$ for $n < 0$) and is the most commonly used form in practice, including impulse responses of digital filters and solutions of difference equations.
Although $z$ is a complex number, at the introductory level it is sufficient to understand that "$z^{-1}$ represents a one-sample delay." The polar form of $z$ and its relationship to the Fourier transform are covered in Basic Level, Chapter 1.
Basic Z-Transform Pairs
We derive the Z-transforms of basic signals from the definition of the unilateral Z-transform.
Unit Impulse
The Z-transform of the unit impulse $\delta[n] = \begin{cases} 1 & n = 0 \\ 0 & n \neq 0 \end{cases}$ is $$\mathcal{Z}\{\delta[n]\} = \sum_{n=0}^{\infty} \delta[n] z^{-n} = z^0 = 1$$ which converges for all $z$.
Unit Step Function
The Z-transform of the unit step $u[n] = \begin{cases} 1 & n \geq 0 \\ 0 & n < 0 \end{cases}$ is $$\mathcal{Z}\{u[n]\} = \sum_{n=0}^{\infty} 1 \cdot z^{-n} = 1 + z^{-1} + z^{-2} + \cdots$$ This is a geometric series with first term $1$ and common ratio $z^{-1}$, converging to $$= \frac{1}{1-z^{-1}} = \frac{z}{z-1}$$ when $|z^{-1}| < 1$, i.e., $|z| > 1$.
Exponential Sequence
The Z-transform of the exponential sequence $x[n] = a^n u[n]$ (where $a$ is a constant) is $$\mathcal{Z}\{a^n u[n]\} = \sum_{n=0}^{\infty} a^n z^{-n} = 1 + \frac{a}{z} + \left(\frac{a}{z}\right)^2 + \cdots$$ This is a geometric series with first term $1$ and common ratio $a/z$, converging to $$= \frac{1}{1-az^{-1}} = \frac{z}{z-a}$$ when $|a/z| < 1$, i.e., $|z| > |a|$. The unit step is the special case where $a = 1$.
Sinusoidal Sequence
We derive the Z-transform of $x[n] = \sin(\omega_0 n)\, u[n]$. By Euler's formula, $$\sin(\omega_0 n) = \dfrac{e^{j\omega_0 n} - e^{-j\omega_0 n}}{2j}$$ Applying the linearity of the Z-transform and the exponential sequence result $\mathcal{Z}\{a^n u[n]\} = \dfrac{z}{z-a}$ with $a = e^{j\omega_0}$ and $a = e^{-j\omega_0}$, $$\mathcal{Z}\{\sin(\omega_0 n)\, u[n]\} = \dfrac{1}{2j}\left(\dfrac{z}{z - e^{j\omega_0}} - \dfrac{z}{z - e^{-j\omega_0}}\right)$$ Combining the fractions, the denominator is $$(z - e^{j\omega_0})(z - e^{-j\omega_0}) = z^2 - (e^{j\omega_0} + e^{-j\omega_0})z + 1 = z^2 - 2z\cos\omega_0 + 1$$ and the numerator is $$z(z - e^{-j\omega_0}) - z(z - e^{j\omega_0}) = z(e^{j\omega_0} - e^{-j\omega_0}) = 2jz\sin\omega_0$$ Therefore, $$\mathcal{Z}\{\sin(\omega_0 n)\, u[n]\} = \dfrac{1}{2j} \cdot \dfrac{2jz\sin\omega_0}{z^2 - 2z\cos\omega_0 + 1} = \dfrac{z\sin\omega_0}{z^2 - 2z\cos\omega_0 + 1}$$ converging for $|z| > 1$ (since $|e^{\pm j\omega_0}| = 1$).
Z-Transform Table (Basic)
| Signal $x[n]$ ($n \geq 0$) | Z-Transform $X(z)$ | Convergence |
|---|---|---|
| $\delta[n]$ | $1$ | all $z$ |
| $u[n]$ | $\dfrac{z}{z-1}$ | $|z| > 1$ |
| $a^n u[n]$ | $\dfrac{z}{z-a}$ | $|z| > |a|$ |
| $n\, u[n]$ | $\dfrac{z}{(z-1)^2}$ | $|z| > 1$ |
| $n\, a^n u[n]$ | $\dfrac{az}{(z-a)^2}$ | $|z| > |a|$ |
| $\cos(\omega_0 n)\, u[n]$ | $\dfrac{z(z - \cos\omega_0)}{z^2 - 2z\cos\omega_0 + 1}$ | $|z| > 1$ |
| $\sin(\omega_0 n)\, u[n]$ | $\dfrac{z \sin\omega_0}{z^2 - 2z\cos\omega_0 + 1}$ | $|z| > 1$ |
Application Example: Digital Filter
The most important application of the Z-transform is the algebraic analysis of digital filters described by difference equations.
Example: First-Order IIR Filter
Suppose the relationship between input $x[n]$ and output $y[n]$ is given by $$y[n] = 0.5\, y[n-1] + x[n]$$ To apply the Z-transform to this difference equation, we use the time-shift property. Assuming zero initial conditions ($y[-1] = 0$), the unilateral Z-transform gives $$\mathcal{Z}\{x[n-1]\} = z^{-1} X(z)$$ In other words, a one-sample delay corresponds to multiplication by $z^{-1}$ (the proof is given in Chapter 2). Applying this to the difference equation above yields $$Y(z) = 0.5\, z^{-1} Y(z) + X(z)$$ Solving for $Y(z)$, $$H(z) = \frac{Y(z)}{X(z)} = \frac{1}{1 - 0.5z^{-1}} = \frac{z}{z - 0.5}$$ This $H(z)$ (the ratio of the Z-transforms of output and input) is called the transfer function. The transfer function expresses the input-output relationship of a system as a rational function in $z$ and completely characterizes the system.
The values of $z$ that make the denominator of $H(z)$ zero are called poles. In this example, the pole is at $z = 0.5$, which lies inside the unit circle ($|z| = 1$). A discrete-time system is stable (its output does not diverge) when all poles lie inside the unit circle.
In this way, the Z-transform allows us to read off properties of a difference equation (stability, frequency response, etc.) from the arrangement of poles and zeros in the $z$-plane.
The Region of Convergence (ROC) and the bilateral Z-transform are covered in detail in Basic Level, Chapter 2. The relationship with the Laplace transform is treated in Intermediate Level.
References
- Oppenheim, A. V., & Schafer, R. W. (2009). Discrete-Time Signal Processing (3rd ed.). Pearson.
- Proakis, J. G., & Manolakis, D. G. (2006). Digital Signal Processing (4th ed.). Pearson.
- Z-transform — Wikipedia