In mathematics and signal processing, the Ztransform converts a discrete time domain signal, which is a sequence of real numbers, into a complex frequency domain representation. The Ztransform and advanced Ztransform were introduced (under the Ztransform name) by E. I. Jury in 1958 in SampledData Control Systems (John Wiley & Sons). The idea contained within the Ztransform was previously known as the "generating function method". Ztransform is a placeholder name, akin to calling the Laplace transform the "stransform". More accurate would be "Laurent transform", because it is based on the Laurent series. Definition
The Ztransform of a discretetime signal x[n] is the function X(z) defined by where n is an integer and z is a complex circular number of the form .
Sometimes we are only interested in the values of the signal x[n] for nonnegative values of n. If such is the case, the Ztransform is defined as The former, with limits from negative to positive infinity, is known as the bilateral or doubly infinite Ztransform. The latter, with limits from 0 to , is sometimes called the unilateral Ztransform. In signal processing, the latter definition is used when the signal is causal in nature. An important example of the unilateral Ztransform is the probability generating function, where the component x[n] is the probability that a discrete random variable takes the value n, and the function X(z) is usually written as X(s), in terms of s = z^{−1}. The properties of Ztransforms (below) have useful interpretations in the context of probability theory.
Region of convergence The region of convergence (ROC) is where the Ztransform of a signal has a finite sum for a region in the complex plane. Example 1 (No ROC) Let . Expanding on it becomes 
Looking at the sum There are no such values of that satisfy this condition.
Example 2 (causal ROC) Let . Expanding on 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".
Let (where u is the Heaviside function). Expanding on 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.
Examples conclusion Examples 2 & 3 clearly show that the Ztransform of is unique only when specifying the ROC. Creating the polezero 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 . 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 mixedcausality 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 is stable because contains the unit circle. If you are provided a Ztransform of a system without an ROC (i.e., an ambiguous ) you can determine a unique provided you desire the following: 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  Linearity. The Ztransform of the linear combination of two signals is the linear combination of the individual Ztransforms.

 Shift. Timeshifting the signal by a distance of k to the right results in multiplying the Ztransform by z^{−k}.

 Convolution. The Ztransform of the convolution of two sequences is the product of the individual Ztransforms.


The inverse Ztransform can be computed as follows: where is any closed curve around the origin and lying in the region of convergence of . The (unilateral) Ztransform is to discrete time domain signals what the Laplace transform is to continuous time domain signals. Ztransform with a finite range of n and a finite number of uniformlyspaced z values can be computed efficiently via Bluestein's FFT algorithm. The discrete Fourier transform is a special case of such a Ztransform obtained by restricting z to lie on the unit circle.
Relationship to Laplace The Ztransform is simply the twosided Laplace transform of the ideal sampled function 
where is the continuoustime function being sampled, the n^{th} sample , is the sampling period, and with the substituion: .
Relationship to Fourier The Ztransform is a more generalization of the discrete fourier transform (DFT). The DFT can be found by evaluating the Ztransform at or, in other words, evaluated on the unit circle. In order to determine the frequency response of the system the Ztransform must be evaluated on the unit circle.
LCCD equation Linear constant coefficient difference (LCCD) equation is a representation for a linear system based on the ARMA equation. Both sides of the above equation can be divided by , if it is not zero, normalizing and the LCCD equation can be written This form of the LCCD equation is favorable to make it more explicit that the "current" output is a function of past outputs , current input , and previous inputs .
Transfer function Taking the Ztransform of the equation yields and rearranging results in 
Zeros and poles From the fundamental theorem of algebra the numerator has M roots (called zeros) and the denominator has N roots (called poles). Rewriting the transfer function in terms of poles Where is the zero and is the pole. The zeros and poles are commonly complex and when plotted on the complex plane it is called the polezero plot. By factoring the denominator, partial fraction decomposition can be used, which can then be transformed back to the time domain. Doing so would result in the impulse response of the system.
Output response If such a system is driven by a signal then the output is . By performing partial fraction decomposition on and then taking the inverse Ztransform the output can be found.
See also External links 