Analysis of LTI Systems using
Difference Equations
Dr. Pooja Sahni
Need of Difference Equations
• The most important concepts of DSP is to be able to
properly represent the input/output relationship to a
given LTI system.
• A linear constant-coefficient difference
equation (LCCDE) serves as a way to represent the
characteristics of the LTI system, as a difference
equation help in understanding and manipulating a
system.
Difference Equation
• Definition
An equation that shows the relationship between
consecutive values of a sequence and the differences
among them. They are often rearranged as a
recursive formula so that a systems output can be
computed from the input signal and past outputs.
Example : y[n]+7y[n−1]+2y[n−2]=x[n]
−4x[n−1]
A discrete time system takes discrete time input signal
{ x[ n ] },& produces an output signal { y[ n ] }.
•Implemented by general purpose computer,
microcomputer or dedicated digital hardware capable
of carrying out arithmetic operations on samples of
{x[n]} and {y[n]}.
SYSTEM
input
{x[n]}
output
{y[n]}
Concepts
• {x[n]} is sequence whose value at t=nT is x[n]. T is sampling
interval in seconds.
• 1/T is sampling frequency in Hz.
• {x[n-N]} is sequence whose value at t=nT is x[n-N].
{x[n-N]} is {x[n]} with every sample delayed
by N sampling intervals.
(i) Discrete time "amplifier" with output: y[n] depending on
present input only
y[n] = A . x[n]. Described by“ difference equation"
• Represented in diagram form by a "signal flow graph” .
x[n] y[n]
A
(ii) Processing system whose output at t=nT is obtained by
weighting & summing present & previous input samples:
y[n] = A0 x[n] + A1 x[n-1] + A2 x[n-2] + A3 x[n-3] + A4x[n-4]
‘Non-recursive difference equatn’ with signal flow graph below.
Boxes marked " z-1
" produce a delay of one sampling interval.
z-1
z-1
z-1 z-1
x[n]
A0 A1
A2 A3 A4
y[n]
(iii) System whose output y[n] at t = nT is calculated according to
the following recursive difference equation:
y[n] = A0 x[n] - B1 y[n-1]
whose signal flow graph is given below.
• Recursive means that previous values of y[n] as well as
present & previous values of x[n] are used to calculate y[n].
z-1
x[n] A0
B1
y[n]
(iv) A system whose output at t=nT is:
y[n] = (x[n])2
as represented below.
x[n] y[n]
• The General form can be given as:
• We can also write it as below in recursive form:
The value of N represents the order of the difference equation and
corresponds to the memory of the system being represented.
• Taking z transform of above equation, we get
transfer function:-
Solving a LCCDE
• Two common methods exist for solving a
LCCDE:
• The direct method
• The indirect method
Direct Method
• The final solution to the output based on the
direct method is the sum of two parts, expressed
in the following equation:
Y(n)=Yh(n)+Yp(n)
first part, Yh(n), is the homogeneous solution
second part, Yp(n) , is the particular solution
Homogenous Solution
• We begin by assuming that the input is zero, x(n)=0. Now we simply
need to solve the homogeneous difference equation:
• Then We will use lambda, λ, to represent our exponential terms
and to solve the following equation:
• We can expand this equation out and factor out all of the lambda
terms. This will give us a large polynomial in parenthesis, which is
referred to as the characteristic polynomial
Particular Solution
• The particular solution, Yp(n), will be any solution that will solve
the general difference equation:
• Then the particular solution will be in form:
• for x(n) = Cδ(n) the particular solution is zero.
Because x(n) = 0 for n > 0
Particular Solutions for different inputs
Examples
Difference equation for btech ece engeneering
Difference equation for btech ece engeneering

More Related Content

PDF
Lectures in signals and systems
PPTX
Chap 3 - LTI systems introduction & Coverage.pptx
PDF
Digital Signal Processing : Topic 1: Discrete Time Systems (std).pdf
PDF
2.time domain analysis of lti systems
PPTX
Digital Signal Processing
PPTX
Chapter-3.pptx
PDF
L8. LTI systems described via difference equations.pdf
PPT
UNIT-I Frequeny Responce of DTSs (1).ppt
Lectures in signals and systems
Chap 3 - LTI systems introduction & Coverage.pptx
Digital Signal Processing : Topic 1: Discrete Time Systems (std).pdf
2.time domain analysis of lti systems
Digital Signal Processing
Chapter-3.pptx
L8. LTI systems described via difference equations.pdf
UNIT-I Frequeny Responce of DTSs (1).ppt

Similar to Difference equation for btech ece engeneering (20)

PDF
Digital Signal Processing[ECEG-3171]-Ch1_L03
PPTX
Lecture-2.pptx
PDF
Brief summary of signals
PPTX
Structures for discrete time systems
PPTX
discrete-timesignalsandsystems1-150402120032-conversion-gate01.pptx
PPTX
discrete time signals and systems
PPTX
discrete time signals and systems
PPT
Discrete-time singnal system lecture.ppt
PPTX
Discrete Time Systems & its classifications
PPT
Chap 2 discrete_time_signal_and_systems
PDF
Fourier and Laplace transforms in analysis of CT systems PDf.pdf
PDF
Lecture 4 Signals & Systems.pdf
PDF
ELEC 310-7-8 DT convolution and LTI systems.pdf
DOCX
Continuous Time Convolution1. Solve the following for y(t.docx
PDF
DSP Lab Manual (10ECL57) - VTU Syllabus (KSSEM)
PDF
PDF Solutions Manual to accompany Signals & Systems 2nd edition 9780138147570...
PDF
Lect3-signal-processing.pdf
PPTX
DSP Implementation of Discrete Time System
PDF
Solutions Manual to accompany Signals & Systems 2nd edition 9780138147570
Digital Signal Processing[ECEG-3171]-Ch1_L03
Lecture-2.pptx
Brief summary of signals
Structures for discrete time systems
discrete-timesignalsandsystems1-150402120032-conversion-gate01.pptx
discrete time signals and systems
discrete time signals and systems
Discrete-time singnal system lecture.ppt
Discrete Time Systems & its classifications
Chap 2 discrete_time_signal_and_systems
Fourier and Laplace transforms in analysis of CT systems PDf.pdf
Lecture 4 Signals & Systems.pdf
ELEC 310-7-8 DT convolution and LTI systems.pdf
Continuous Time Convolution1. Solve the following for y(t.docx
DSP Lab Manual (10ECL57) - VTU Syllabus (KSSEM)
PDF Solutions Manual to accompany Signals & Systems 2nd edition 9780138147570...
Lect3-signal-processing.pdf
DSP Implementation of Discrete Time System
Solutions Manual to accompany Signals & Systems 2nd edition 9780138147570
Ad

Recently uploaded (20)

PDF
BIO-INSPIRED ARCHITECTURE FOR PARSIMONIOUS CONVERSATIONAL INTELLIGENCE : THE ...
PDF
August 2025 - Top 10 Read Articles in Network Security & Its Applications
PPTX
CURRICULAM DESIGN engineering FOR CSE 2025.pptx
PPTX
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
PPTX
"Array and Linked List in Data Structures with Types, Operations, Implementat...
PPTX
tack Data Structure with Array and Linked List Implementation, Push and Pop O...
PPTX
CyberSecurity Mobile and Wireless Devices
PDF
distributed database system" (DDBS) is often used to refer to both the distri...
PDF
Design Guidelines and solutions for Plastics parts
PPTX
Amdahl’s law is explained in the above power point presentations
PDF
Accra-Kumasi Expressway - Prefeasibility Report Volume 1 of 7.11.2018.pdf
PPTX
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
PPTX
Information Storage and Retrieval Techniques Unit III
PDF
August -2025_Top10 Read_Articles_ijait.pdf
PDF
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
PDF
Soil Improvement Techniques Note - Rabbi
PPTX
Current and future trends in Computer Vision.pptx
PDF
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
PDF
Visual Aids for Exploratory Data Analysis.pdf
PDF
UNIT no 1 INTRODUCTION TO DBMS NOTES.pdf
BIO-INSPIRED ARCHITECTURE FOR PARSIMONIOUS CONVERSATIONAL INTELLIGENCE : THE ...
August 2025 - Top 10 Read Articles in Network Security & Its Applications
CURRICULAM DESIGN engineering FOR CSE 2025.pptx
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
"Array and Linked List in Data Structures with Types, Operations, Implementat...
tack Data Structure with Array and Linked List Implementation, Push and Pop O...
CyberSecurity Mobile and Wireless Devices
distributed database system" (DDBS) is often used to refer to both the distri...
Design Guidelines and solutions for Plastics parts
Amdahl’s law is explained in the above power point presentations
Accra-Kumasi Expressway - Prefeasibility Report Volume 1 of 7.11.2018.pdf
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
Information Storage and Retrieval Techniques Unit III
August -2025_Top10 Read_Articles_ijait.pdf
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
Soil Improvement Techniques Note - Rabbi
Current and future trends in Computer Vision.pptx
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
Visual Aids for Exploratory Data Analysis.pdf
UNIT no 1 INTRODUCTION TO DBMS NOTES.pdf
Ad

Difference equation for btech ece engeneering

  • 1. Analysis of LTI Systems using Difference Equations Dr. Pooja Sahni
  • 2. Need of Difference Equations • The most important concepts of DSP is to be able to properly represent the input/output relationship to a given LTI system. • A linear constant-coefficient difference equation (LCCDE) serves as a way to represent the characteristics of the LTI system, as a difference equation help in understanding and manipulating a system.
  • 3. Difference Equation • Definition An equation that shows the relationship between consecutive values of a sequence and the differences among them. They are often rearranged as a recursive formula so that a systems output can be computed from the input signal and past outputs. Example : y[n]+7y[n−1]+2y[n−2]=x[n] −4x[n−1]
  • 4. A discrete time system takes discrete time input signal { x[ n ] },& produces an output signal { y[ n ] }. •Implemented by general purpose computer, microcomputer or dedicated digital hardware capable of carrying out arithmetic operations on samples of {x[n]} and {y[n]}. SYSTEM input {x[n]} output {y[n]} Concepts
  • 5. • {x[n]} is sequence whose value at t=nT is x[n]. T is sampling interval in seconds. • 1/T is sampling frequency in Hz. • {x[n-N]} is sequence whose value at t=nT is x[n-N]. {x[n-N]} is {x[n]} with every sample delayed by N sampling intervals. (i) Discrete time "amplifier" with output: y[n] depending on present input only y[n] = A . x[n]. Described by“ difference equation" • Represented in diagram form by a "signal flow graph” . x[n] y[n] A
  • 6. (ii) Processing system whose output at t=nT is obtained by weighting & summing present & previous input samples: y[n] = A0 x[n] + A1 x[n-1] + A2 x[n-2] + A3 x[n-3] + A4x[n-4] ‘Non-recursive difference equatn’ with signal flow graph below. Boxes marked " z-1 " produce a delay of one sampling interval. z-1 z-1 z-1 z-1 x[n] A0 A1 A2 A3 A4 y[n]
  • 7. (iii) System whose output y[n] at t = nT is calculated according to the following recursive difference equation: y[n] = A0 x[n] - B1 y[n-1] whose signal flow graph is given below. • Recursive means that previous values of y[n] as well as present & previous values of x[n] are used to calculate y[n]. z-1 x[n] A0 B1 y[n]
  • 8. (iv) A system whose output at t=nT is: y[n] = (x[n])2 as represented below. x[n] y[n]
  • 9. • The General form can be given as: • We can also write it as below in recursive form: The value of N represents the order of the difference equation and corresponds to the memory of the system being represented.
  • 10. • Taking z transform of above equation, we get transfer function:-
  • 11. Solving a LCCDE • Two common methods exist for solving a LCCDE: • The direct method • The indirect method
  • 12. Direct Method • The final solution to the output based on the direct method is the sum of two parts, expressed in the following equation: Y(n)=Yh(n)+Yp(n) first part, Yh(n), is the homogeneous solution second part, Yp(n) , is the particular solution
  • 13. Homogenous Solution • We begin by assuming that the input is zero, x(n)=0. Now we simply need to solve the homogeneous difference equation: • Then We will use lambda, λ, to represent our exponential terms and to solve the following equation: • We can expand this equation out and factor out all of the lambda terms. This will give us a large polynomial in parenthesis, which is referred to as the characteristic polynomial
  • 14. Particular Solution • The particular solution, Yp(n), will be any solution that will solve the general difference equation: • Then the particular solution will be in form: • for x(n) = Cδ(n) the particular solution is zero. Because x(n) = 0 for n > 0
  • 15. Particular Solutions for different inputs