Professional Documents
Culture Documents
Lecture Notes MTH401 UNIT-2
Lecture Notes MTH401 UNIT-2
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.
𝑑 𝑑
𝑎𝑛𝑑 𝑟2 = √𝑐 2 + 𝑑 2 and 𝑡𝑎𝑛𝜃2 = 𝑜𝑟 𝜃2 = 𝑡𝑎𝑛−1 ( 𝑐 )
𝑐
and so on
𝑏
(Remark: If in 𝑎 ± 𝑖𝑏, “a” is negative then 𝜃1 = 𝜋 − 𝑡𝑎𝑛−1 |𝑎|)
(ℎ) (𝑝)
In this case the general solution is given by 𝑎𝑛 = 𝑎𝑛 + 𝑎𝑛 where
(ℎ)
𝑎𝑛 is the solution of the corresponding Linear Homogeneous
(𝑝)
Recurrence Relation with Constant Coefficients and 𝑎𝑛 is the
particular solution.
And so on.
( ) 1 1
Case: 1 If 𝑓(𝑛) = 𝛽 𝑛 then 𝑎𝑛𝑝 = 𝜙(𝐸) 𝛽 𝑛 = 𝜙(𝛽) 𝛽 𝑛 provided 𝜙(𝛽 ) ≠ 0.
Or 𝐺 (𝑥 ) = ∑∞
𝑘=0 𝑎𝑘 𝑥
𝑘
1 1 1
Q. What is the generating function of the sequence: {1,1, 2! , 3! , 4! , … … . }
Or
1 ∞
Q. What is the generating function of the sequence: {𝑛!}
𝑛=0
Or
1 ∞
Q. What is the generating function of the sequence: {𝑘!}
𝑘=0
Sequence {𝑎𝑘 }∞
𝑘=0 Generating Function G(x)
{1𝑘 }∞ 1
𝑘=0 = (1 − 𝑥 )−1
(1 − 𝑥)
1 ∞ 𝑒𝑥
{ }
𝑘! 𝑘=0
{𝛼 𝑘 }∞ 1
𝑘=0 = (1 − 𝛼𝑥 )−1
(1 − 𝛼𝑥 )
{𝐶(𝑚, 𝑘)}∞
𝑘=0 {1 + 𝑥 }𝑚
{𝑘 + 1}∞
𝑘=0
1
2
= (1 − 𝑥 )−2
(1 − 𝑥 )
5𝑥 2 2𝑥−1
𝐺 (𝑥 ) = −
(1−5𝑥)(3𝑥−1)(𝑥−1) (3𝑥−1)(𝑥−1)
5𝑥 2 5 5 5
Now (1−5𝑥)(3𝑥−1)(𝑥−1)
=
4(3𝑥−1)
−
8(5𝑥−1)
−
8(𝑥−1)
2𝑥−1 1 1
And (3𝑥−1)(𝑥−1)
=
2(3𝑥−1)
+
2(𝑥−1)
5𝑥 2 2𝑥−1
So 𝐺 (𝑥 ) = (1−5𝑥)(3𝑥−1)(𝑥−1) − (3𝑥−1)(𝑥−1)
3 5 9
𝐺 (𝑥 ) = − −
4(3𝑥−1) 8(5𝑥−1) 8(𝑥−1)
−3 5 9
𝐺 (𝑥 ) = + +
4(1−3𝑥) 8(1−5𝑥) 8(1−𝑥)