Z-Transform Calculator
Compute Z-transform expressions, ROC, poles/zeros, and inverse forms for canonical discrete sequences.
Scratchpad (not saved)
Save to create a persistent, shareable workspace.
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
Notation used in the formulas: = X(z); = Sequence Type; = a (for a\^{}n); = ω (rad/sample); = N terms; = z real part; = 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) | 1 | All 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 BookInputs 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
- Laplace Transform Calculator - Compute forward and inverse Laplace transforms for common canonical signal families.
- Fourier Transform Calculator - Compute continuous Fourier transform formulas and magnitude/phase at a selected angular frequency.
- Discrete Fourier Transform (DFT) Calculator - Compute DFT, magnitude/phase spectrum, and inverse reconstruction for sequences up to 8 samples.
- Percentage Calculator - Perform common percentage operations: find a percentage of a value, calculate what percentage one number is of another, and find percentage change.
- Fraction Calculator - Add, subtract, multiply, or divide two fractions and simplify the result.
- Ratio Calculator - Simplify a ratio and compute equivalent forms.
- Proportion Calculator - Solve proportions of the form a / b = c / x.
- Average Calculator - Compute mean, median, and mode from up to five values.