Lecture 11
Lecture 11
Lecture 11
Important Terminologies
Quiz
Linear Non-Homogeneous Recurrence Relation
(p)
Theorem :If {an } is a particular solution of the nonhomogeneous linear
recurrence relation with constant coefficients
Ean = an+1
.
Important Terminology
Ean = an+1
4an = an+1 − an
.
Relation between Shift Operator and Difference Operator
We have
4an = an+1 − an
⇒ 4an = Ean − an
⇒ 4an = (E − 1)an
⇒ 4 = E − 1.
Use of sift operator
an+2 = an+1 + an .
1 n 1 n
Case 1:If f (n) = an , then P.S. = a = a , F (a) 6= 0.
F (E ) F (a)
Method of inverse operator to solve non-homogeneous recurrence relation
1 n 1 n
Case 1:If f (n) = an , then P.S. = a = a , F (a) 6= 0.
F (E ) F (a)
Example 1: Solve an = 5an−1 − 6an−2 + 7n
Method of inverse operator to solve non-homogeneous recurrence relation
1 n 1 n
Case 1:If f (n) = an , then P.S. = a = a , F (a) 6= 0.
F (E ) F (a)
Example 1: Solve an = 5an−1 − 6an−2 + 7n
m2 − 5m + 6 = 0
⇒ (m − 3)(m − 2) = 0
⇒ m = 3, 2.
cont . . .
So, the general solution of the associated homogeneous recurrence
relation is given by
an(h) = b1 3n + b2 2n
where, b1 , b2 are constants.
cont . . .
So, the general solution of the associated homogeneous recurrence
relation is given by
an(h) = b1 3n + b2 2n
where, b1 , b2 are constants.
And, particular solution is given by
1
P.S. = an(p) = 7n+2
E2
− 5E + 6
1
= 49. 2 7n
E − 5E + 6
49
= 2 7n
7 −5×7+6
49 n
= 7
20
Thus, required solution is
49 n
an = an(p) + an(h) = b1 3n + b2 2n + 7 .
20
Case 2:Failure Case : If F (a) = 0, then
1 n(n − 1)(n − 2) n−3
P.S. = 3
an = a
(E − a) 3!
Case 2:Failure Case : If F (a) = 0, then
1 n(n − 1)(n − 2) n−3
P.S. = 3
an = a
(E − a) 3!
Example 2: Solve an = 12an−1 − 48an−2 + 64an−3 = 5.4n−3 .
Case 2:Failure Case : If F (a) = 0, then
1 n(n − 1)(n − 2) n−3
P.S. = 3
an = a
(E − a) 3!
Example 2: Solve an = 12an−1 − 48an−2 + 64an−3 = 5.4n−3 .
m3 − 12m2 + 48m − 64 = 0
⇒ (m − 4)3 = 0
⇒ m = 4, 4, 4.
cont . . .
So, the general solution of the associated homogeneous recurrence
relation is given by
an(h) = b1 4n + b2 n4n + b3 n2 4n
an(h) = b1 4n + b2 n4n + b3 n2 4n
A. b1 + b2 (2)n + 2n
B. b1 + b2 n + 2n
C. b1 + b2 n + 4.2n
D. b1 + b2 (2)n + n2n
Quiz 1
A. b1 + b2 (2)n + 2n
B. b1 + b2 n + 2n
C. b1 + b2 n + 4.2n
D. b1 + b2 (2)n + n2n
Answer : C
Quiz 2