You are on page 1of 1

ECUARENCE AELATIONS AND GENERATING FUNCTIONS .

(a-1)=0o
a=1,1, 1.

Th the solution of given recurrence relation is


a,=(AtAzr+A*)1
-AtAr+Ay
Example 5. Solve the recurrence relation
54,-1+ 84,-2-4a,-3=0.
Solution.The corresponding characteristic equation is
o-5a+8-4 0
(a-1) (a-2 =0
a1,2,2.
given recurrence relation is
Thus, the solution of the
a,Al+A+Ay)2
a,A+A2+A) 2
where A, Az, As are to be determined from the boundary congitions

Example 6. Solve the following recurrence relation


a,-4a,-1t4a,-20 .(1)
=6.
given that ao= 1 and a
Solution. The characteristic equation
of the given r e c u r r e n c e relation is
a-4a+4 =0
(a-2)=0
a 2 , 2.

Since roots a r e real and equal and r.h.s. of (1) is zero, the solution of given
ecurrence relation is
a,= (Ar+ Az) 2 (2)

Using given conditions, we get


Az=1 and 2.(A+A) =6
we 8
Solving these equations,
A 2 and A=1|
Thus, the solution of equation (1) is
4,(2+1).2,r20

2.2 Particular Solutions


22

The procedure for obtaining the particular solution of a recurrence relation


epends on the form of f(r), i.e., the right hand side of the given relation. We
a trial solution according to the
form of f() containing a number of
sider
nknown constant coefficients. The solhutions to be assumed according to the form
f (r)are shown in Table on next page.

You might also like