SlideShare a Scribd company logo

Discrete Mathematics and Combinatorics
 Instructor: Solomon Ketema (PhD)
 Email :solomonktm@gmail.com
 Telegram :0911980245
 A recurrence relation for the sequence 𝑎𝑛 is an equation
that expresses 𝑎𝑛 in terms of one or more of the previous
terms 𝑎0, 𝑎1 , … , 𝑎𝑛−1 for all integers n with n≥𝑛0.
 The general solution of the recurrence relation
𝑎𝑛+1= 𝑑𝑎𝑛 where n≥0, d is a constant, and 𝑎0=A, is unique
and is given by 𝑎𝑛= 𝐴 𝑑𝑛
, n≥0.
Thus the solution 𝑎𝑛= 𝐴 𝑑𝑛
, n≥0 defines a discrete function
whose domain is the set of all nonnegative integers.
Chapter 4: Recurrence Relations
 Example
Solve the recurrence relation
𝑎𝑛+1=5 𝑎𝑛 for n≥0 given that 𝑎0=2.
Solution
Since 𝑎𝑛+1=5 𝑎𝑛, we have
𝑎1= 5 𝑎0
𝑎2= 5(5 𝑎0)= 52 𝑎0
𝑎3= 5𝑎2= 5(52 𝑎0)= 53 𝑎0
Therefore the general solution is 𝑎𝑛= 5𝑛 𝑎0.
2(5𝑛) is the initial condition.
Example
Solve the recurrence relation
4𝑎𝑟 −5 𝑎𝑟−1=0, for r≥1 given that 𝑎0=1.
Solution
We have 4𝑎𝑟 −5 𝑎𝑟−1=0,
4𝑎𝑟 =5 𝑎𝑟−1
𝑎𝑟= (
5
4
)𝑎𝑟−1
The general solution is 𝑎𝑟= (
5
4
)𝑎𝑟−1
𝑎0=1 is the initial condition.
Example
Solve the recurrence relation
𝑎𝑛= 𝑛𝑎𝑛−1 for n≥1 given that 𝑎0=1.
Solution (Ex!)
Example
If 𝑎𝑛 is a solution of 𝑎𝑛+1= 𝑘𝑎𝑛 for n≥0 and 𝑎3=
153
49
and 𝑎5=
1377
2401
, then find the value of 𝑘.
Solution (Ex!)
Example
Solve the recurrence relation
𝑎𝑛= 2𝑎𝑛−1+1 with 𝑎1=7 for n≥1, by substitution method.
Solution
Given 𝑎𝑛= 2𝑎𝑛−1+1; 𝑎1=7
𝑎2= 2 𝑎1 + 1= 2 7 +1
𝑎3= 2𝑎2+1= 2 (2 7 +1 +1= 22
(7)+2+1
and so on.
𝑎𝑛= (7)2𝑛−1
+2𝑛−2
+2𝑛−3
+∙ ∙ ∙ +2+1
𝑎𝑛= (7)2𝑛−1
+1+2∙ ∙ ∙ +2𝑛−2
𝑎𝑛= (7)2𝑛−1
+ (
2𝑛−1−1
2−1
)
𝑎𝑛= (7)2𝑛−1
+ 2𝑛−1
− 1 for r > 1
If 𝑎𝑛, n≥0, 𝐶𝑛≠0 is a discrete function then
𝐶𝑛𝑎𝑛+𝐶𝑛−1𝑎𝑛−1+∙ ∙ ∙ +𝐶𝑛−𝑘 𝑎𝑛−𝑘 = 𝑓(𝑛), n≥k (k positive integer) is a
linear recurrence relation (with constant coefficient) of order k.
when 𝑓(𝑛)=0, for all n ≥0, the relation is called homogeneous,
otherwise it is nonhomogeneous.
𝐶𝑛𝑎𝑛+𝐶𝑛−1𝑎𝑛−1 +𝐶𝑛−2 𝑎𝑛−2=0, n ≥2 is homogeneous relation of
order 2. Substituting 𝑎𝑛= 𝐴 𝑑𝑛
in to the above equation, we obtain,
𝐶𝑛𝐴 𝑑𝑛
+𝐶𝑛−1𝐴 𝑑𝑛−1
+𝐶𝑛−2 𝐴 𝑑𝑛−2
=0 with A,d ≠0 it becomes
𝐶𝑛𝑑𝑛
+𝐶𝑛−1 𝑑𝑛−1
+𝐶𝑛−2 𝑑𝑛−2
=0, a quadratic equation which is called
the characteristic equation.
Method of characteristic roots
Example
Solve the recurrence relation
𝑎𝑟 − 7𝑎𝑟−1+12𝑎𝑟−2=0
Solution
The characteristic equation of the given equation is 𝑘2
−7𝑘 + 12 = 0
(𝑘 − 3)(𝑘 − 7) = 0.
The characteristic roots are 𝑘 = 3 𝑎𝑛𝑑 𝑘 = 7.
The solution of the given recurrence relation is 𝑎𝑟 = 𝐴1 3𝑟
+ 𝐴2 4𝑟
Method of characteristic roots
Example
Solve the recurrence relation
𝑎𝑟 − 7𝑎𝑟−1+10𝑎𝑟−2=0
Solution (Ex!)
Example
Solve the recurrence relation
𝑎𝑛 + 𝑎𝑟−1 − 6𝑎𝑛−2=0
Solution (Ex!)

More Related Content

Similar to Chapter 4 Discrete Mathematics and Combinatorics.pdf (20)

PPTX
Recurrence_Theory.pptx studdents nees free
White44420
 
PDF
Impact of Linear Homogeneous Recurrent Relation Analysis
ijtsrd
 
PDF
Daa linear recurrences
Atul Verma
 
PDF
Mc0063(a) unit4-fi
Sanjeev Malik
 
PDF
Solving recurrences
Waqas Akram
 
PDF
Solving recurrences
Waqas Akram
 
PPTX
LINEAR RECURRENCE RELATIONS WITH CONSTANT COEFFICIENTS
AartiMajumdar1
 
PDF
Solving linear homogeneous recurrence relations
Dr. Maamoun Ahmed
 
PDF
Recurrence relations
IIUM
 
PDF
CPSC 125 Ch 2 Sec 5
David Wood
 
PDF
Lecture no 9(extended master method)
jeetesh036
 
PPTX
Discrete structure sequence, arithmetic progression
harveyspecter1249
 
PDF
Implementation of 1D NN in Signal Processing Application to Get Relevant Recu...
International Journal of Science and Research (IJSR)
 
PPTX
Gen solve recurrence
Hae Morgia
 
PPTX
Generating functions solve recurrence
Hae Morgia
 
DOCX
Recurrence equations
Tarun Gehlot
 
PDF
8.-DAA-LECTURE-8-RECURRENCES-AND-ITERATION-METHOD.pdf
RishikeshJha33
 
PPTX
A project on recurrence relations in BCA
230714100033
 
PPTX
Chapter 10- Recurrence Relations [Autosaved] by BMN.pptx
2021ismadhuprasadrna
 
PPTX
Funciones generadoras (2)
SebastianPea63
 
Recurrence_Theory.pptx studdents nees free
White44420
 
Impact of Linear Homogeneous Recurrent Relation Analysis
ijtsrd
 
Daa linear recurrences
Atul Verma
 
Mc0063(a) unit4-fi
Sanjeev Malik
 
Solving recurrences
Waqas Akram
 
Solving recurrences
Waqas Akram
 
LINEAR RECURRENCE RELATIONS WITH CONSTANT COEFFICIENTS
AartiMajumdar1
 
Solving linear homogeneous recurrence relations
Dr. Maamoun Ahmed
 
Recurrence relations
IIUM
 
CPSC 125 Ch 2 Sec 5
David Wood
 
Lecture no 9(extended master method)
jeetesh036
 
Discrete structure sequence, arithmetic progression
harveyspecter1249
 
Implementation of 1D NN in Signal Processing Application to Get Relevant Recu...
International Journal of Science and Research (IJSR)
 
Gen solve recurrence
Hae Morgia
 
Generating functions solve recurrence
Hae Morgia
 
Recurrence equations
Tarun Gehlot
 
8.-DAA-LECTURE-8-RECURRENCES-AND-ITERATION-METHOD.pdf
RishikeshJha33
 
A project on recurrence relations in BCA
230714100033
 
Chapter 10- Recurrence Relations [Autosaved] by BMN.pptx
2021ismadhuprasadrna
 
Funciones generadoras (2)
SebastianPea63
 

More from afendimohammed288 (8)

PPTX
Chapter 4 data structure and algorithm - Stacks and Queues
afendimohammed288
 
PPT
Chapter 6 - Advanced Sorting Algorithms (1).ppt
afendimohammed288
 
PDF
Advanced database lab oracle structure query language
afendimohammed288
 
PDF
Chapter (Two) The best lecture PowerPoint
afendimohammed288
 
PPTX
Computer organization and architecture chapter 5
afendimohammed288
 
PDF
Advanced database chapter three PowerPoint
afendimohammed288
 
PPTX
Computer organizatin.Chapter Seven.pptxs
afendimohammed288
 
PPT
General Biology.-Chapter one.PowerPoints
afendimohammed288
 
Chapter 4 data structure and algorithm - Stacks and Queues
afendimohammed288
 
Chapter 6 - Advanced Sorting Algorithms (1).ppt
afendimohammed288
 
Advanced database lab oracle structure query language
afendimohammed288
 
Chapter (Two) The best lecture PowerPoint
afendimohammed288
 
Computer organization and architecture chapter 5
afendimohammed288
 
Advanced database chapter three PowerPoint
afendimohammed288
 
Computer organizatin.Chapter Seven.pptxs
afendimohammed288
 
General Biology.-Chapter one.PowerPoints
afendimohammed288
 
Ad

Recently uploaded (20)

PDF
The Different Types of Non-Experimental Research
Thelma Villaflores
 
PDF
LAW OF CONTRACT (5 YEAR LLB & UNITARY LLB )- MODULE - 1.& 2 - LEARN THROUGH P...
APARNA T SHAIL KUMAR
 
PDF
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
PDF
Isharyanti-2025-Cross Language Communication in Indonesian Language
Neny Isharyanti
 
PDF
The Constitution Review Committee (CRC) has released an updated schedule for ...
nservice241
 
PPTX
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
PPTX
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
PDF
SSHS-2025-PKLP_Quarter-1-Dr.-Kerby-Alvarez.pdf
AishahSangcopan1
 
PDF
Lesson 2 - WATER,pH, BUFFERS, AND ACID-BASE.pdf
marvinnbustamante1
 
PPTX
HYDROCEPHALUS: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
PDF
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
PDF
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
PPTX
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
PPTX
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
PPSX
HEALTH ASSESSMENT (Community Health Nursing) - GNM 1st Year
Priyanshu Anand
 
PDF
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
PDF
Generative AI: it's STILL not a robot (CIJ Summer 2025)
Paul Bradshaw
 
PPTX
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
PPTX
Soil and agriculture microbiology .pptx
Keerthana Ramesh
 
PPTX
I AM MALALA The Girl Who Stood Up for Education and was Shot by the Taliban...
Beena E S
 
The Different Types of Non-Experimental Research
Thelma Villaflores
 
LAW OF CONTRACT (5 YEAR LLB & UNITARY LLB )- MODULE - 1.& 2 - LEARN THROUGH P...
APARNA T SHAIL KUMAR
 
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
Isharyanti-2025-Cross Language Communication in Indonesian Language
Neny Isharyanti
 
The Constitution Review Committee (CRC) has released an updated schedule for ...
nservice241
 
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
SSHS-2025-PKLP_Quarter-1-Dr.-Kerby-Alvarez.pdf
AishahSangcopan1
 
Lesson 2 - WATER,pH, BUFFERS, AND ACID-BASE.pdf
marvinnbustamante1
 
HYDROCEPHALUS: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
HEALTH ASSESSMENT (Community Health Nursing) - GNM 1st Year
Priyanshu Anand
 
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
Generative AI: it's STILL not a robot (CIJ Summer 2025)
Paul Bradshaw
 
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
Soil and agriculture microbiology .pptx
Keerthana Ramesh
 
I AM MALALA The Girl Who Stood Up for Education and was Shot by the Taliban...
Beena E S
 
Ad

Chapter 4 Discrete Mathematics and Combinatorics.pdf

  • 1.  Discrete Mathematics and Combinatorics  Instructor: Solomon Ketema (PhD)  Email :[email protected]  Telegram :0911980245
  • 2.  A recurrence relation for the sequence 𝑎𝑛 is an equation that expresses 𝑎𝑛 in terms of one or more of the previous terms 𝑎0, 𝑎1 , … , 𝑎𝑛−1 for all integers n with n≥𝑛0.  The general solution of the recurrence relation 𝑎𝑛+1= 𝑑𝑎𝑛 where n≥0, d is a constant, and 𝑎0=A, is unique and is given by 𝑎𝑛= 𝐴 𝑑𝑛 , n≥0. Thus the solution 𝑎𝑛= 𝐴 𝑑𝑛 , n≥0 defines a discrete function whose domain is the set of all nonnegative integers. Chapter 4: Recurrence Relations
  • 3.  Example Solve the recurrence relation 𝑎𝑛+1=5 𝑎𝑛 for n≥0 given that 𝑎0=2. Solution Since 𝑎𝑛+1=5 𝑎𝑛, we have 𝑎1= 5 𝑎0 𝑎2= 5(5 𝑎0)= 52 𝑎0 𝑎3= 5𝑎2= 5(52 𝑎0)= 53 𝑎0 Therefore the general solution is 𝑎𝑛= 5𝑛 𝑎0. 2(5𝑛) is the initial condition.
  • 4. Example Solve the recurrence relation 4𝑎𝑟 −5 𝑎𝑟−1=0, for r≥1 given that 𝑎0=1. Solution We have 4𝑎𝑟 −5 𝑎𝑟−1=0, 4𝑎𝑟 =5 𝑎𝑟−1 𝑎𝑟= ( 5 4 )𝑎𝑟−1 The general solution is 𝑎𝑟= ( 5 4 )𝑎𝑟−1 𝑎0=1 is the initial condition.
  • 5. Example Solve the recurrence relation 𝑎𝑛= 𝑛𝑎𝑛−1 for n≥1 given that 𝑎0=1. Solution (Ex!) Example If 𝑎𝑛 is a solution of 𝑎𝑛+1= 𝑘𝑎𝑛 for n≥0 and 𝑎3= 153 49 and 𝑎5= 1377 2401 , then find the value of 𝑘. Solution (Ex!)
  • 6. Example Solve the recurrence relation 𝑎𝑛= 2𝑎𝑛−1+1 with 𝑎1=7 for n≥1, by substitution method. Solution Given 𝑎𝑛= 2𝑎𝑛−1+1; 𝑎1=7 𝑎2= 2 𝑎1 + 1= 2 7 +1 𝑎3= 2𝑎2+1= 2 (2 7 +1 +1= 22 (7)+2+1 and so on. 𝑎𝑛= (7)2𝑛−1 +2𝑛−2 +2𝑛−3 +∙ ∙ ∙ +2+1 𝑎𝑛= (7)2𝑛−1 +1+2∙ ∙ ∙ +2𝑛−2 𝑎𝑛= (7)2𝑛−1 + ( 2𝑛−1−1 2−1 ) 𝑎𝑛= (7)2𝑛−1 + 2𝑛−1 − 1 for r > 1
  • 7. If 𝑎𝑛, n≥0, 𝐶𝑛≠0 is a discrete function then 𝐶𝑛𝑎𝑛+𝐶𝑛−1𝑎𝑛−1+∙ ∙ ∙ +𝐶𝑛−𝑘 𝑎𝑛−𝑘 = 𝑓(𝑛), n≥k (k positive integer) is a linear recurrence relation (with constant coefficient) of order k. when 𝑓(𝑛)=0, for all n ≥0, the relation is called homogeneous, otherwise it is nonhomogeneous. 𝐶𝑛𝑎𝑛+𝐶𝑛−1𝑎𝑛−1 +𝐶𝑛−2 𝑎𝑛−2=0, n ≥2 is homogeneous relation of order 2. Substituting 𝑎𝑛= 𝐴 𝑑𝑛 in to the above equation, we obtain, 𝐶𝑛𝐴 𝑑𝑛 +𝐶𝑛−1𝐴 𝑑𝑛−1 +𝐶𝑛−2 𝐴 𝑑𝑛−2 =0 with A,d ≠0 it becomes 𝐶𝑛𝑑𝑛 +𝐶𝑛−1 𝑑𝑛−1 +𝐶𝑛−2 𝑑𝑛−2 =0, a quadratic equation which is called the characteristic equation.
  • 8. Method of characteristic roots Example Solve the recurrence relation 𝑎𝑟 − 7𝑎𝑟−1+12𝑎𝑟−2=0 Solution The characteristic equation of the given equation is 𝑘2 −7𝑘 + 12 = 0 (𝑘 − 3)(𝑘 − 7) = 0. The characteristic roots are 𝑘 = 3 𝑎𝑛𝑑 𝑘 = 7. The solution of the given recurrence relation is 𝑎𝑟 = 𝐴1 3𝑟 + 𝐴2 4𝑟
  • 9. Method of characteristic roots Example Solve the recurrence relation 𝑎𝑟 − 7𝑎𝑟−1+10𝑎𝑟−2=0 Solution (Ex!) Example Solve the recurrence relation 𝑎𝑛 + 𝑎𝑟−1 − 6𝑎𝑛−2=0 Solution (Ex!)