Difference Equations
Difference Equations
Liang Dong
September 6, 2016
The output y (n) of the system for any given input x(n) is determined by
∞
X
y (n) = h(k)x(n − k)
k=−∞
n
1 X
y (n) = x(k)
n+1
k=0
n−1
X
(n + 1)y (n) = x(k) + x(n)
k=0
= ny (n − 1) + x(n)
n 1
y (n) = y (n − 1) + x(n)
n+1 n+1
where y (n0 − 1) is the initial condition for the system at time n = n0 .
Liang Dong (Baylor University) Difference Equations September 6, 2016 3 / 15
LTI Systems Characterized by Constant-Coefficient
Difference Equations
A recursive system:
y (n) = αy (n − 1) + x(n)
where α is a constant.
n
X
n+1
y (n) = α y (−1) + αk x(n − k), n ≥ 0
k=0
1 The system is initially relaxed at time n = 0, i.e., y (−1) = 0.
Zero-state response or forced response
n
X
yzs (n) = αk x(n − k), n ≥ 0
k=0
n
X
n+1
y (n) = α y (−1) + αk x(n − k), n ≥ 0
k=0
1 The system is initially relaxed at time n = 0, i.e., y (−1) = 0.
Zero-state response or forced response
n
X
yzs (n) = αk x(n − k), n ≥ 0
k=0
2 The input x(n) = 0, ∀n.
Zero-input response or natural response
yzi (n) = αn+1 y (−1), n ≥ 0
n
X
n+1
y (n) = α y (−1) + αk x(n − k), n ≥ 0
k=0
1 The system is initially relaxed at time n = 0, i.e., y (−1) = 0.
Zero-state response or forced response
n
X
yzs (n) = αk x(n − k), n ≥ 0
k=0
2 The input x(n) = 0, ∀n.
Zero-input response or natural response
yzi (n) = αn+1 y (−1), n ≥ 0
3 The total response of the system
y (n) = yzs (n) + yzi (n)
Liang Dong (Baylor University) Difference Equations September 6, 2016 5 / 15
LTI Systems Characterized by Constant-Coefficient
Difference Equations
N
X M
X
ak y (n − k) = bk x(n − k), a0 ≡ 1
k=0 k=0
The integer N is the order of the difference equation or the order of the
system.
A Linear System:
A Linear System:
A Linear System:
These coefficients are determined from the initial conditions of the system.