In
mathematics and
signal processing, the 'Z-transform' converts a discrete
time-domain signal, which is a
sequence of
real numbers, into a
complex frequency-domain representation.
The Z-transform and
advanced Z-transform were introduced (under the Z-transform name) by
E. I. Jury in
1958 in ''Sampled-Data Control Systems'' (John Wiley & Sons). The idea contained within the Z-transform was previously known as the "generating function method".
The (unilateral) Z-transform is to discrete-time signals what the one-sided
Laplace transform is to continuous-time signals.
Definition
The Z-transform, like many other integral transforms, can be defined as either a ''one-sided'' or ''two-sided'' transform.
Bilateral Z-transform
The ''bilateral'' or ''two-sided'' Z-transform of a discrete-time signal ''x[n]'' is the function ''X(z)'' defined as
:
where ''n'' is an integer and ''z'' is, in general, a
complex number:
:
:where ''A'' is the magnitude of ''z'', and φ is the
angular frequency (in
radians per
sample).
Unilateral Z-transform
Alternatively, in cases where ''x''[''n''] is defined only for ''n'' ≥ 0, the ''single-sided'' or ''unilateral'' Z-transform is defined as
:
In
signal processing, this definition is used when the signal is
causal.
An important example of the unilateral Z-transform is the
probability-generating function, where the component
is the probability that a discrete random variable takes the value
, and the function
is usually written as
, in terms of
. The properties of Z-transforms (below) have useful interpretations in the context of probability theory.
Inverse Z-transform
The ''inverse'' Z-transform is
:
where
is a counterclockwise closed path encircling the origin and entirely in the
region of convergence (ROC). The contour or path,
, must encircle all of the poles of
.
A special case of this
contour integral occurs when
is the unit circle (and can be used when the ROC includes the unit circle). The inverse Z-transform simplifies to the
inverse discrete-time Fourier transform:
:
.
The Z-transform with a finite range of ''n'' and a finite number of uniformly-spaced ''z'' values can be computed efficiently via
Bluestein's FFT algorithm. The
discrete-time Fourier transform (DTFT) (not to confuse with the
discrete Fourier transform (DFT)) is a special case of such a Z-transform obtained by restricting ''z'' to lie on the unit circle.
Region of convergence
The
region of convergence (ROC) is the set of points in the complex plane for which the Z-transform summation converges.
:
Example 1 (No ROC)
Let
. Expanding
on the interval
it becomes
:
Looking at the sum
:
There are no such values of
that satisfy this condition.
===Example 2 (
causal ROC)===

= 0.5 is shown as a dashed black circle
Let
(where
is the
Heaviside step function). Expanding
on the interval
it becomes
:
Looking at the sum
:
The last equality arises from the infinite
geometric series and the equality only holds if
which can be rewritten in terms of
as
. Thus, the ROC is
. In this case the ROC is the complex plane with a disc of radius 0.5 at the origin "punched out".
===Example 3 (
anticausal ROC)===

= 0.5 is shown as a dashed black circle
Let
(where
is the
Heaviside step function). Expanding
on the interval
it becomes
:
Looking at the sum
:
:
Using the infinite
geometric series, again, the equality only holds if
which can be rewritten in terms of
as
.
Thus, the ROC is
. In this case the ROC is a disc centered at the origin and of radius 0.5.
What differentiates this example from the previous example is ''only'' the ROC. This is intentional to demonstrate that the transform result alone is insufficient.
Examples conclusion
Examples 2 & 3 clearly show that the Z-transform
of
is unique when and only when specifying the ROC. Creating the
pole-zero plot for the causal and anticausal case show that the ROC for either case does not include the pole that is at 0.5. This extends to cases with multiple poles: the ROC will ''never'' contain poles.
In example 2, the causal system yields an ROC that includes
while the anticausal system in example 3 yields an ROC that includes
.

< 0.75
In systems with multiple poles it is possible to have an ROC that includes neither
nor
. The ROC creates a circular band. For example,
has poles at 0.5 and 0.75. The ROC will be
, which includes neither the origin nor infinity. Such a system is called a
mixed-causality system as it contains a causal term
and an anticausal term
.
The stability of a system can also be determined by knowing the ROC alone. If the ROC contains the unit circle (i.e.,
) then the system is stable. In the above systems the causal system (Example 2) is stable because
contains the unit circle.
If you are provided a Z-transform of a system without an ROC (i.e., an ambiguous
) you can determine a unique
provided you desire the following:
★ Stability
★ Causality
If you need stability then the ROC must contain the unit circle.
If you need a causal system then the ROC must contain infinity.
If you need an anticausal system then the ROC must contain the origin.
The unique
can then be found.
Properties
{| class="wikitable"
|+ 'Properties of the z-transform'
!
! Time domain
! Z-domain
! ROC
|-
! Notation
|
|
| ROC: