Z-Transform Calculator

Compute Z-transform expressions, ROC, poles/zeros, and inverse forms for canonical discrete sequences.

Scratchpad (not saved)

What This Calculator Does

Compute Z-transform expressions, region of convergence (ROC), poles and zeros, and evaluate the transform at specific complex values of z. Covers unit step, exponential, sinusoidal, and finite geometric sequences.

It combines Sequence Type, a (for a^n), ω (rad/sample), N terms to estimate X(z), Inverse Z-Transform, Region of Convergence.

Formula & Method

Core equation: X(z)=n=x[n]znX(z)=\sum_{n=-\infty}^{\infty}x[n]z^{-n} with one-sided transforms for causal sequences.

Notation used in the formulas: RR = X(z); x1x_{1} = Sequence Type; x2x_{2} = a (for a\^{}n); x3x_{3} = ω (rad/sample); x4x_{4} = N terms; x5x_{5} = z real part; x6x_{6} = z imaginary part.

Method summary: inputs are normalized to consistent units, core equations are evaluated, then secondary values are derived and rounded for display.

Use this for digital signal processing coursework, filter design verification, discrete-time system analysis, and Z-transform homework problems. Particularly useful for checking ROC boundaries and evaluating transforms at specific z values.

Worked Examples

Z-transform of x[n] = (0.5)ⁿ u[n] — step by step

Given: x[n] = (0.5)^n u[n] (right-sided exponential sequence, a = 0.5) Apply the Z-transform definition for a^n u[n]: X(z) = Σ (0.5)^n z^{−n} = Σ (0.5/z)^n [sum from n=0 to ∞] This is a geometric series converging when |0.5/z| < 1, i.e., |z| > 0.5: X(z) = 1 / (1 − 0.5 z^{−1}) = z / (z − 0.5) Pole at z = 0.5, zero at z = 0. ROC: |z| > 0.5 (exterior of a circle of radius 0.5).

Inverse Z-transform via partial fractions

Given: X(z)/z = A/(z−p₁) + B/(z−p₂) Example: X(z) = z² / ((z−0.5)(z−0.8)) Write X(z)/z = z / ((z−0.5)(z−0.8)) Partial fractions: A = [z/(z−0.8)] at z=0.5 = 0.5/(-0.3) = −1.667 B = [z/(z−0.5)] at z=0.8 = 0.8/0.3 = 2.667 X(z) = −1.667 z/(z−0.5) + 2.667 z/(z−0.8) Inverse Z-transform (causal): x[n] = [−1.667(0.5)^n + 2.667(0.8)^n] u[n]

Z-Transform Pairs Reference Table

Sequence x[n]Z-Transform X(z)ROC
δ[n] (unit impulse)1All z
u[n] (unit step)z / (z − 1)|z| > 1
aⁿ u[n]z / (z − a)|z| > |a|
n·u[n]z / (z − 1)²|z| > 1
n·aⁿ u[n]az / (z − a)²|z| > |a|
cos(ω₀n) u[n]z(z − cos ω₀) / (z² − 2z cos ω₀ + 1)|z| > 1
sin(ω₀n) u[n]z sin ω₀ / (z² − 2z cos ω₀ + 1)|z| > 1
aⁿ cos(ω₀n) u[n]z(z − a cos ω₀) / (z² − 2az cos ω₀ + a²)|z| > |a|

Frequently Asked Questions

What is the Z-transform used for?
The Z-transform converts discrete-time signals and difference equations into algebraic expressions in the complex variable z. It is used in digital signal processing to analyze filters (FIR and IIR), design control systems, and solve linear constant-coefficient difference equations — the discrete-time analog of what the Laplace transform does for continuous-time systems.
What is the region of convergence?
The region of convergence (ROC) is the set of complex z values for which the Z-transform series converges absolutely. For a causal (right-sided) signal like aⁿ u[n], the ROC is the exterior of a circle: |z| > |a|. The ROC determines the unique inverse Z-transform and indicates system stability — an LTI system is stable if its ROC includes the unit circle |z| = 1.
How do I find the inverse Z-transform?
The most practical method is partial fraction expansion: factor the denominator of X(z)/z into first-order terms, write out partial fractions, solve for the coefficients, then use the Z-transform table to identify the corresponding time-domain sequences. For rational functions, this always yields a sum of exponential or polynomial-exponential sequences.
What is the difference between the Z-transform and the Laplace transform?
The Laplace transform is defined for continuous-time signals using an integral over all time (or 0 to ∞ for causal signals): X(s) = ∫ x(t) e^{−st} dt. The Z-transform is its discrete-time counterpart: X(z) = Σ x[n] z^{−n}. The relationship is z = e^{sT} where T is the sampling period. The unit circle in the z-plane corresponds to the imaginary axis in the s-plane.

Reference Book

Signals and Systems

Alan V. Oppenheim, Alan S. Willsky, and S. Hamid Nawab · Pearson

A classic reference for convolution, Fourier analysis, Laplace transforms, z-transforms, sampling, and LTI systems.

View Book

Inputs Used

  • Sequence Type: Used directly in the calculation.
  • a (for a^n): Used directly in the calculation.
  • ω (rad/sample): Used directly in the calculation.
  • N terms: Used directly in the calculation.
  • z real part: Used directly in the calculation.
  • z imaginary part: Used directly in the calculation.

Related Calculators