Professional Documents
Culture Documents
Ayele B
23/02/11
an = 5an−1 − 4an−2 + n2
an = 2an−1 an−2 + n
an = an−1 + 2(an−2 )2
an = nan−1
an = 2an−1 + 5an−2 − 6an−3
Ayele B Recurrence relation
2.2 Elementary solution techniques
A sequence: is the solution of the recurrence relation if its terms
satisfy the recurrence relation
Example:Determine whether the sequence {an } is a solution of the
recurrence relation an = 2an−1 − an−2 for n = 2, 3, 4, ...∀n ∈ Z +
a an = 3n
b an = 2n
c an = 5
1. Using Characterstics equation
A. Solutions of Linear homogeneous recurrence relation with
constant coefficient
we are looking solution of the form an = r n
Linear homogeneous recurrence relation with constant coefficient is
given by
an = c1 an−1 + c2 an−2 + ... + ck an−k .......(1)
= r n = C1 r n−1 + C2 r n−2 + ... + Ck r n−k (divide both sides by r n−k )
r k − C1 r k−1 − C2 r k−2 − ... − Ck−1 r − Ck = 0.......(2)
Ayele B Recurrence relation
5
(p)
Theorem 6: If {an } is a particular solution of the
non-homogeneous linear recurrence relation with constant
coefficients
an = C1 an−1 + C2 an−2 + ... + Ck an−k + f (n) then the solution of
(h) (p) (p) (h)
the form {an + an } where an -the particular solution and an -
solutions of the associated homogeneous recurrence relation.
9
2x 2 − x + 1 + x−2