
- Signals & Systems Home
- Signals & Systems Overview
- Introduction
- Signals Basic Types
- Signals Classification
- Signals Basic Operations
- Systems Classification
- Types of Signals
- Representation of a Discrete Time Signal
- Continuous-Time Vs Discrete-Time Sinusoidal Signal
- Even and Odd Signals
- Properties of Even and Odd Signals
- Periodic and Aperiodic Signals
- Unit Step Signal
- Unit Ramp Signal
- Unit Parabolic Signal
- Energy Spectral Density
- Unit Impulse Signal
- Power Spectral Density
- Properties of Discrete Time Unit Impulse Signal
- Real and Complex Exponential Signals
- Addition and Subtraction of Signals
- Amplitude Scaling of Signals
- Multiplication of Signals
- Time Scaling of Signals
- Time Shifting Operation on Signals
- Time Reversal Operation on Signals
- Even and Odd Components of a Signal
- Energy and Power Signals
- Power of an Energy Signal over Infinite Time
- Energy of a Power Signal over Infinite Time
- Causal, Non-Causal, and Anti-Causal Signals
- Rectangular, Triangular, Signum, Sinc, and Gaussian Functions
- Signals Analysis
- Types of Systems
- What is a Linear System?
- Time Variant and Time-Invariant Systems
- Linear and Non-Linear Systems
- Static and Dynamic System
- Causal and Non-Causal System
- Stable and Unstable System
- Invertible and Non-Invertible Systems
- Linear Time-Invariant Systems
- Transfer Function of LTI System
- Properties of LTI Systems
- Response of LTI System
- Fourier Series
- Fourier Series
- Fourier Series Representation of Periodic Signals
- Fourier Series Types
- Trigonometric Fourier Series Coefficients
- Exponential Fourier Series Coefficients
- Complex Exponential Fourier Series
- Relation between Trigonometric & Exponential Fourier Series
- Fourier Series Properties
- Properties of Continuous-Time Fourier Series
- Time Differentiation and Integration Properties of Continuous-Time Fourier Series
- Time Shifting, Time Reversal, and Time Scaling Properties of Continuous-Time Fourier Series
- Linearity and Conjugation Property of Continuous-Time Fourier Series
- Multiplication or Modulation Property of Continuous-Time Fourier Series
- Convolution Property of Continuous-Time Fourier Series
- Convolution Property of Fourier Transform
- Parseval’s Theorem in Continuous Time Fourier Series
- Average Power Calculations of Periodic Functions Using Fourier Series
- GIBBS Phenomenon for Fourier Series
- Fourier Cosine Series
- Trigonometric Fourier Series
- Derivation of Fourier Transform from Fourier Series
- Difference between Fourier Series and Fourier Transform
- Wave Symmetry
- Even Symmetry
- Odd Symmetry
- Half Wave Symmetry
- Quarter Wave Symmetry
- Wave Symmetry
- Fourier Transforms
- Fourier Transforms Properties
- Fourier Transform – Representation and Condition for Existence
- Properties of Continuous-Time Fourier Transform
- Table of Fourier Transform Pairs
- Linearity and Frequency Shifting Property of Fourier Transform
- Modulation Property of Fourier Transform
- Time-Shifting Property of Fourier Transform
- Time-Reversal Property of Fourier Transform
- Time Scaling Property of Fourier Transform
- Time Differentiation Property of Fourier Transform
- Time Integration Property of Fourier Transform
- Frequency Derivative Property of Fourier Transform
- Parseval’s Theorem & Parseval’s Identity of Fourier Transform
- Fourier Transform of Complex and Real Functions
- Fourier Transform of a Gaussian Signal
- Fourier Transform of a Triangular Pulse
- Fourier Transform of Rectangular Function
- Fourier Transform of Signum Function
- Fourier Transform of Unit Impulse Function
- Fourier Transform of Unit Step Function
- Fourier Transform of Single-Sided Real Exponential Functions
- Fourier Transform of Two-Sided Real Exponential Functions
- Fourier Transform of the Sine and Cosine Functions
- Fourier Transform of Periodic Signals
- Conjugation and Autocorrelation Property of Fourier Transform
- Duality Property of Fourier Transform
- Analysis of LTI System with Fourier Transform
- Relation between Discrete-Time Fourier Transform and Z Transform
- Convolution and Correlation
- Convolution in Signals and Systems
- Convolution and Correlation
- Correlation in Signals and Systems
- System Bandwidth vs Signal Bandwidth
- Time Convolution Theorem
- Frequency Convolution Theorem
- Energy Spectral Density and Autocorrelation Function
- Autocorrelation Function of a Signal
- Cross Correlation Function and its Properties
- Detection of Periodic Signals in the Presence of Noise (by Autocorrelation)
- Detection of Periodic Signals in the Presence of Noise (by Cross-Correlation)
- Autocorrelation Function and its Properties
- PSD and Autocorrelation Function
- Sampling
- Signals Sampling Theorem
- Nyquist Rate and Nyquist Interval
- Signals Sampling Techniques
- Effects of Undersampling (Aliasing) and Anti Aliasing Filter
- Different Types of Sampling Techniques
- Laplace Transform
- Laplace Transforms
- Common Laplace Transform Pairs
- Laplace Transform of Unit Impulse Function and Unit Step Function
- Laplace Transform of Sine and Cosine Functions
- Laplace Transform of Real Exponential and Complex Exponential Functions
- Laplace Transform of Ramp Function and Parabolic Function
- Laplace Transform of Damped Sine and Cosine Functions
- Laplace Transform of Damped Hyperbolic Sine and Cosine Functions
- Laplace Transform of Periodic Functions
- Laplace Transform of Rectifier Function
- Laplace Transforms Properties
- Linearity Property of Laplace Transform
- Time Shifting Property of Laplace Transform
- Time Scaling and Frequency Shifting Properties of Laplace Transform
- Time Differentiation Property of Laplace Transform
- Time Integration Property of Laplace Transform
- Time Convolution and Multiplication Properties of Laplace Transform
- Initial Value Theorem of Laplace Transform
- Final Value Theorem of Laplace Transform
- Parseval's Theorem for Laplace Transform
- Laplace Transform and Region of Convergence for right sided and left sided signals
- Laplace Transform and Region of Convergence of Two Sided and Finite Duration Signals
- Circuit Analysis with Laplace Transform
- Step Response and Impulse Response of Series RL Circuit using Laplace Transform
- Step Response and Impulse Response of Series RC Circuit using Laplace Transform
- Step Response of Series RLC Circuit using Laplace Transform
- Solving Differential Equations with Laplace Transform
- Difference between Laplace Transform and Fourier Transform
- Difference between Z Transform and Laplace Transform
- Relation between Laplace Transform and Z-Transform
- Relation between Laplace Transform and Fourier Transform
- Laplace Transform – Time Reversal, Conjugation, and Conjugate Symmetry Properties
- Laplace Transform – Differentiation in s Domain
- Laplace Transform – Conditions for Existence, Region of Convergence, Merits & Demerits
- Z Transform
- Z-Transforms (ZT)
- Common Z-Transform Pairs
- Z-Transform of Unit Impulse, Unit Step, and Unit Ramp Functions
- Z-Transform of Sine and Cosine Signals
- Z-Transform of Exponential Functions
- Z-Transforms Properties
- Properties of ROC of the Z-Transform
- Z-Transform and ROC of Finite Duration Sequences
- Conjugation and Accumulation Properties of Z-Transform
- Time Shifting Property of Z Transform
- Time Reversal Property of Z Transform
- Time Expansion Property of Z Transform
- Differentiation in z Domain Property of Z Transform
- Initial Value Theorem of Z-Transform
- Final Value Theorem of Z Transform
- Solution of Difference Equations Using Z Transform
- Long Division Method to Find Inverse Z Transform
- Partial Fraction Expansion Method for Inverse Z-Transform
- What is Inverse Z Transform?
- Inverse Z-Transform by Convolution Method
- Transform Analysis of LTI Systems using Z-Transform
- Convolution Property of Z Transform
- Correlation Property of Z Transform
- Multiplication by Exponential Sequence Property of Z Transform
- Multiplication Property of Z Transform
- Residue Method to Calculate Inverse Z Transform
- System Realization
- Cascade Form Realization of Continuous-Time Systems
- Direct Form-I Realization of Continuous-Time Systems
- Direct Form-II Realization of Continuous-Time Systems
- Parallel Form Realization of Continuous-Time Systems
- Causality and Paley Wiener Criterion for Physical Realization
- Discrete Fourier Transform
- Discrete-Time Fourier Transform
- Properties of Discrete Time Fourier Transform
- Linearity, Periodicity, and Symmetry Properties of Discrete-Time Fourier Transform
- Time Shifting and Frequency Shifting Properties of Discrete Time Fourier Transform
- Inverse Discrete-Time Fourier Transform
- Time Convolution and Frequency Convolution Properties of Discrete-Time Fourier Transform
- Differentiation in Frequency Domain Property of Discrete Time Fourier Transform
- Parseval’s Power Theorem
- Miscellaneous Concepts
- What is Mean Square Error?
- What is Fourier Spectrum?
- Region of Convergence
- Hilbert Transform
- Properties of Hilbert Transform
- Symmetric Impulse Response of Linear-Phase System
- Filter Characteristics of Linear Systems
- Characteristics of an Ideal Filter (LPF, HPF, BPF, and BRF)
- Zero Order Hold and its Transfer Function
- What is Ideal Reconstruction Filter?
- What is the Frequency Response of Discrete Time Systems?
- Basic Elements to Construct the Block Diagram of Continuous Time Systems
- BIBO Stability Criterion
- BIBO Stability of Discrete-Time Systems
- Distortion Less Transmission
- Distortionless Transmission through a System
- Rayleigh’s Energy Theorem
Solution of Difference Equations Using Z-Transform
Z-Transform
The Z-transform is a mathematical tool used to convert difference equations in the discrete-time domain into algebraic equations in the z-domain. Mathematically, if x(n) is a discrete-time function, its Z-transform is defined as −
$$\mathrm{Z[x(n)] \:=\: X(z) \:=\: \sum_{n=-\infty}^{\infty} \:x(n) z^{-n}}$$
Solving Difference Equations by Z-Transform
In order to solve the difference equation, first it is converted into the algebraic equation by taking its Z-transform. Then, the solution of the equation is calculated in z-domain and finally, the time-domain solution of the equation is obtained by taking its inverse Z-transform.
Note â The various responses of a system are â
- Forced Response: When the initial conditions are neglected, the response of the system due to input alone is called the forced response of the system.
- Natural Response: When the input is neglected, the response of the system due to initial conditions alone is called the natural response of the system.
- Total Response: The response of the system due to initial conditions and input considered simultaneously is called the total response of the system.
- Impulse Response: When the input to the system is a unit impulse signal, the response of the system is called the impulse response of the system.
- Step Response: When the input to the system is a unit step signal, the response of the system is called the step response of the system.
Numerical Example
A discrete-time LTI system is described by the following difference equation −
$$\mathrm{y(n) \:-\: \frac{3}{4}y(n\:-\:1) \:+\: \frac{1}{8}y(n\:-\:2) \:=\: x(n) \:+\: x(n\:-\:1)}$$
Also, it is given that y(-1) = 0 and x(-2) = -1. Then, find −
- The natural response of the system
- The forced response of the system
Solution 1: Natural Response of The System
As the natural response of the system is the response due to the initial conditions only, for the natural response, x(n) = 0. Therefore, the difference equation of the given system becomes −
$$\mathrm{y(n) \:-\: \frac{3}{4}y(n\:-\:1) \:+\: \frac{1}{8}y(n\:-\:2) \:=\: 0}$$
Now, taking the Z-transform of the above equation, we get −
$$\mathrm{Z\left[y(n) \:-\: \frac{3}{4}y(n\:-\:1) \:+\: \frac{1}{8}y(n\:-\:2)\right] \:=\: 0}$$
$$\mathrm{\Rightarrow\:Y(z) \:-\: \frac{3}{4}[z^{-1}Y(z) \:+\: y(-1)] \:+\: \frac{1}{8}[z^{-2}Y(z) \:+\: z^{-1}y(-1) \:+\: y(-2)] \:=\: 0}$$
Given that y(-1) = 0 and y(-2) = -1, we have −
$$\mathrm{\therefore\:-Y(z)\left(1 \:-\: \frac{3}{4}z^{-1} \:+\: \frac{1}{8}z^{-2}\right) \:-\: \frac{1}{8} \:=\: 0}$$
$$\mathrm{\therefore\:Y(z) = \frac{\frac{1}{8}}{\left(1 \:-\: \frac{3}{4}z^{-1} \:+\: \frac{1}{8}z^{-2}\right)} \:=\: \frac{\left(\frac{1}{8}\right)z^2}{z^2 \:-\: \frac{3}{4}z \:+\: \frac{1}{8}}}$$
$$\mathrm{\Rightarrow\:Y(z) = \frac{\left(\frac{1}{8}\right)z^2}{\left(z \:-\: \frac{1}{2}\right)\left(z \:-\: \frac{1}{4}\right)}}$$
By taking the partial fraction, we get −
$$\mathrm{\frac{Y(z)}{z}\:=\:\frac{\left(\frac{1}{8}\right)z}{\left(z \:-\: \frac{1}{2}\right)\left(z \:-\: \frac{1}{4}\right)} \:=\: \frac{A}{\left(z \:-\: \frac{1}{2}\right)} \:+\: \frac{B}{\left(z \:-\: \frac{1}{4}\right)}}$$
$$\mathrm{\Rightarrow\:\frac{Y(z)}{z} \:=\: \frac{\frac{1}{4}}{\left(z \:-\: \frac{1}{2}\right)} \:-\: \frac{\frac{1}{8}}{\left(z \:-\: \frac{1}{4}\right)}}$$
$$\mathrm{\therefore\:Y(z)\:=\:\frac{z}{4\left(z\:-\:\frac{1}{2}\right)}\:-\:\frac{z}{8\left(z\:-\:\frac{1}{4}\right)}}$$
Now, to obtain the natural response of the system, we take the inverse Z-transform on both sides −
$$\mathrm{Z^{-1}[Y(z)] \:=\: Z^{-1}\left[\frac{z}{4\left(z \:-\: \frac{1}{2}\right)}\right] \:-\: Z^{-1}\left[\frac{z}{8\left(z \:-\: \frac{1}{4}\right)}\right]}$$
$$\mathrm{\therefore\:y(n) \:=\: \frac{1}{4}\left(\frac{1}{2}\right)^n u(n) \:-\: \frac{1}{8}\left(\frac{1}{4}\right)^n u(n)}$$
This is the natural response (i.e., response due to initial conditions) of the given system.
Solution 2: Forced Response of The System
Consider a unit step sequence is applied to the system. Then, the forced response of the system is the step response. For step response, x(n) = u(n).
Hence, the difference equation of the system becomes −
$$\mathrm{y(n) \:-\: \frac{3}{4}y(n\:-\:1) \:+\: \frac{1}{8}y(n\:-\:2) \:=\: u(n) \:+\: u(n\:-\:1)}$$
As the forced response of the system is due to input alone (i.e., the initial conditions are neglected), we take the Z-transform on both sides −
$$\mathrm{Z\left[y(n) \:-\: \frac{3}{4}y(n\:-\:1) \:+\: \frac{1}{8}y(n\:-\:2)\right] \:=\: Z[u(n) \:+\: u(n\:-\:1)]}$$
$$\mathrm{\Rightarrow\:Y(z) \:-\: \frac{3}{4}z^{-1}Y(z) \:+\: \frac{1}{8}z^{-2}Y(z) \:=\: \frac{z}{z \:-\: 1}\:+\:\frac{1}{z\:-\:1}}$$
$$\mathrm{\Rightarrow\:Y(z)\left(1 \:-\: \frac{3}{4}z^{-1} \:+\: \frac{1}{8}z^{-2}\right) \:=\: \frac{z \:+\: 1}{z \:-\: 1}}$$
$$\mathrm{\therefore\:Y(z) \:=\: \frac{z\:+\:1}{(z\:-\:1)\left(1\:-\:\frac{3}{4}z^{-1}\:+\:\frac{1}{8}z^{-2}\right)}\:=\:\frac{Z^2(z\:+\:1)}{(z\:-\:1)\left(z^2\:-\:\frac{3}{4}z\:+\:\frac{1}{8}\right)}}$$
$$\mathrm{\Rightarrow\: Y(z)\:=\: \frac{z^2(z\:+\:1)}{(z\:-\:1)\left(z\:-\:\frac{1}{2}\right)\left(z\:-\:\frac{1}{4}\right)}}$$
Now, taking partial fractions, we get,
$$\mathrm{\frac{Y(z)}{z}\:=\:\frac{z(z\:+\:1)}{(z\:-\:1)\left(z\:-\:\frac{1}{2}\right)\left(z\:-\:\frac{1}{4}\right)}\:=\:\frac{A}{(z \:-\: 1)}\: + \:\frac{B}{\left(z \:-\: \frac{1}{2}\right)} \:+\: \frac{C}{\left(z \:-\: \frac{1}{4}\right)}}$$
$$\mathrm{\Rightarrow\:\frac{Y(z)}{z} \:=\: \frac{\left(\frac{16}{3}\right)}{(z \:-\: 1)} \:-\: \frac{6}{\left(z\:-\: \frac{1}{2}\right)} \:+\: \frac{\frac{5}{3}}{\left(z \:-\: \frac{1}{4}\right)}}$$
$$\mathrm{\therefore\:\frac{16}{3}\left(\frac{z}{z\:-\:1}\right)\:-\:6\left(\frac{z}{\left(z\:-\:\frac{1}{2}\right)}\right)\:+\:\frac{5}{3}\left(\frac{z}{\left(z\:-\:\frac{1}{4}\right)}\right)}$$
Now, taking the inverse Z-transform on both sides of the above equation, we get,
$$\mathrm{Z^{-1}[Y(z)]\:=\:\frac{16}{3}Z^{-1}\left[\frac{z}{z \:-\: 1}\right] \:-\: 6Z^{-1}\left[\frac{z}{z \:-\: \frac{1}{2}}\right] \:+\: \frac{5}{3}Z^{-1}\left[\frac{z}{z\:- \:\frac{1}{4}}\right]}$$
$$\mathrm{\therefore\:y(n) \:=\: \frac{16}{3}u(n) \:-\: 6\left(\frac{1}{2}\right)^n u(n) \:+\: \frac{5}{3}\left(\frac{1}{4}\right)^n u(n)}$$
This is the forced response (step response) of the given system.