Assingmner Exa
Assingmner Exa
Answer all the questions. Please submit the assignment before the class on
18-11-2024 (9AM). Late submission carry no marks. [10 marks]
1
8. Prove the following: Suppose that the roots of the characteristic equation of a linear
homogeneous recurrence relation are 2, 2, 2, 5, 5, and 9. What is the form of the general
solution?
where c1 , c2 , . . . , ck are real numbers, and f (n) = (bt nt + bt−1 nt−1 + · · · + b1 n + b0 )sn ,
where b0 , b1 , . . . , bt and s are real numbers.
Case (i): When s is not a root of the characteristic equation of the associated linear
homogeneous recurrence relation, there is a particular solution of the form (pt nt +
pt−1 nt−1 + · · · + p1 n + p0 )sn .
Case (ii): When s is a root of the characteristic equation of the associated linear
homogeneous recurrence relation with multiplcity m, there is a particular solution of
the form nm (pt nt + pt−1 nt−1 + · · · + p1 n + p0 )sn .
10. Compute the form of the particular solution of the linear nonhomogeneous recurrecne
relation
an = 6an−1 − 9an−2 + f (n)
when
(a) f (n) = 3n ,
(b) f (n) = n3n ,
(c) f (n) = n2 2n ,
(d) f (n) = (n2 + 1)3n .