Professional Documents
Culture Documents
Notes UNIT2 Recurrence Relations MTH401
Notes UNIT2 Recurrence Relations MTH401
that expresses ‘an’ in terms of one or more of the previous terms of the
sequence, namely, a0,a1,...,an−1, for all integers n with n ≥ n0, where n0 is a
non-negative integer.
Or more generally, a recurrence relation is a relation between the terms
of a sequence.
A sequence is called a solution of a recurrence relation if its terms satisfy
the recurrence relation.
Example:
Recurrence Relations and
Applications of Recurrence Relations (Modelling with Recurrence
Relations)
We say a recurrence relation is linear if all the sequence terms aj’s exist in
degree exactly one and are not multiplied together except possibly with
some other function of ‘n’ or with some non-zero constant.
Rule-2: If the roots of the characteristic Equation are real numbers but
repeated (same) say r , r , r , r , r …………… then the solution of the given
1 1 2 2 2
Example: Solve the recurrence relation: a =6 a n n−1 −9 an−2 along with the
initial conditions a =1 , a =5.0 1
Example: Solve the recurrence relation: 9 a −15 a n n−1 −32 a n−2−12 an−3=0.
https://www.symbolab.com/solver/roots-calculator/roots%20x%5E
%7B3%7D%2B8
and so on
Example: Solve the recurrence relation: y k +2−2 y k+1 +2 y k =0 along with the
initial conditions y =0 , y =−1. 0 1
Example: Solve the recurrence relation: y k +2+2 y k +1+ 2 y k =0 along with the
initial conditions y =0 , y =−1. 0 1
b d
where r = √ a + b and tan θ = a ∧¿ r = √ c +d and tan θ = c and so on
1
2 2
1 2
2 2
2
{
βn i . e . f ( n ) is an exponetial function of n
cosβn∨sinβn i. e . f ( n ) is trigonometric function of n
f (n)= α 1 n + α 2 n +α 3 n k−2+ … … … … … .+ α k+1
k k−1
i. e . f ( n ) is an algebraic function of n
β n F (n) F ( n )=
{ k k−1
cosαn∨sinαn
k −2
α 1 n +α 2 n + α 3 n +… … … … … .+ α k +1
In this case the general solution is given by a =a +a where a is the n
(h)
n
( p)
n
(h)
n
1 n 1
Case: 1 If f ( n )=β then a β provided ϕ ( β ) ≠ 0.
( p) n
n
n = β=
ϕ ( E) ϕ( β)
And so on.
1 n 1
Case: 1 If f ( n )=β then a ϕ ( β ) provided
( p) n
n
n = β= β ϕ ( β ) ≠ 0.
ϕ ( E)
5k 5k+1 5k−1
(a) 8
(b) 8
(c) 8
(d) None of these.
Example: Solve the recurrence relation:
n
un +2+ 4 u n−3 un+1=5
Q. Which of the following is the particular solution of the recurrence
relation?
n
a n=−3 a n−1 −3 an−2−an−3+ 3 (−1 ) .
(a) c 1 4
n
(b) c 1
−n
4 (c) c (−4)
1
n
(d) None of these.
Case-II: If f ( n ) is a polynomial function of ‘n ’ then we expressϕ ( E ) as F ( Δ )
1
using E ≡1+ Δand expand F ( Δ ) in ascending powers of Δ using Binomial
Theorem.
Example: Solve the recurrence relation:
2
4 an −an−1=3 n −4 n+5
Case-IV: If f ( n )=β n
F (n) where F ( n ) = { k
α 1 n +α 2 n
k−1
cosαn∨sinαn
k−2
+ α 3 n +… … … … … .+ α k+ 1 then
1 1
a (np) =
ϕ ( E)
n
β F ( n ) =β
n
ϕ ( βE )
F (n) And proceed as per the Case-II or Case-III.
Or G ( x ) =∑ a k x
k
k=0
Q. What is the generating function of the sequence: {1,1, 2!1 , 31! , 41! , … … .}
Or
{ }
∞
1
Q. What is the generating function of the sequence: n! n=0
Or
{ }
∞
1
Q. What is the generating function of the sequence: k! k=0
∞
{ 1k } k=0 1 −1
=( 1−x )
(1−x )
{ }
∞
1 ex
k! k=0
∞ −1
{ α k }k=0 1
=( 1−αx )
( 1−αx )
∞ m
{ C (m , k) } k=0 { 1+ x }
{ k +1 }k=0
∞
1
2
= (1−x )−2
( 1−x )
G ( x )−a0−a1 x G ( x )−a0
Shortcut: a n+2 →
x
2
, a n+1 →
x
, an →G( x)
a k =2(3¿¿ k) . ¿
1 n
a n= (8 ¿ ¿ n+10 ). ¿
2
discrete.openmathbooks.org/dmoi2/section-27.html
Generating Functions (openmathbooks.org)
−1−k
y k =1+ 2