SlideShare a Scribd company logo
1 of 17
A recursive definition of a sequence specifies
◘ Initial conditions
◘ Recurrence relation
 a0=0 and a1=3 Initial conditions
 an = 2an-1 - an-2 Recurrence relation
 an = 3n Solution
 Each term of a sequence is a linear function of earlier
 terms in the sequence.
 a0 = 1 a1 = 6 a2 = 10
 an = an-1 + 2an-2 + 3an-3
 a3 = a0 + 2a1 + 3a2
= 1 + 2(6) + 3(10) = 43
 1. Linear homogeneous recurrences
 2. Linear non-homogeneous recurrences
 A linear homogenous recurrence relation of
degree k with
constant coefficients is a recurrence
relation of the form
an = c1an-1 + c2an-2 + … + ckan-k,
 where c1, c2, …, ck are real numbers, and ck≠0
 an is expressed in terms of the previous k terms of
the sequences its degree is k.
 This recurrence includes k initial conditions.
a0 = C0 a1 = C1 … ak = Ck
Determine if the following recurrence relations are linear homogeneous
recurrence relations with constant coefficients.
 Pn = (1.11)Pn-1
a linear homogeneous recurrence relation of degree one
 an = an-1 + a2 n-2
not linear
 fn = fn-1 + fn-2
a linear homogeneous recurrence relation of degree two
 Hn = 2Hn-1+1
not homogeneous
 an = an-6
a linear homogeneous recurrence relation of degree six
 Bn = nBn-1
does not have constant coefficient
 Let an = c1an-1 + c2an-2 + … + ckan-k be a linear homogeneous
recurrence.
 Assume the sequence an satisfies the recurrence.
 Assume the sequence a’n also satisfies the recurrence.
 So, bn = an + a’n and dn=􀀁an are also sequences that satisfy the
recurrence.
(α is any constant)
bn = an + a’n
= (c1an-1 + c2an-2 + … + ckan-k) + (c1a’n-1 + c2a’n-2 + … + cka’n-k)
= c1 (an-1+ a’n-1) + c2 (an-2+ a’n-2) + … + ck (an-k + a’n-k)
= c1bn-1 + c2bn-2 + … + ckbn-k
So, bn is a solution of the recurrence.
 Let an = c1an-1 + c2an-2 + … + ckan-k be a linear
homogeneous
recurrence.
 Assume the sequence an satisfies the recurrence.
 Assume the sequence a’n also satisfies the
recurrence.
 So, bn = an + a’n and dn=􀀁an are also sequences
that satisfy the recurrence.
(α is any constant)
dn = α an
= α (c1an-1 + c2an-2 + … + ckan-k)
= c1 (α an-1) + c2 (α an-2) + … + ck (α an-k)
= c1dn-1 + c2dn-2 + … + ckdn-k
So, dn is a solution of the recurrence.
It follows from the previous proposition, if we
find some solutions to a linear
homogeneous recurrence, then any linear
combination of them will also be a solution
To the linear homogeneous recurrence.
Geometric sequences come up a lot when
solving linear homogeneous recurrences.
So, try to find any solution of the form an = rn
that satisfies the recurrence relation.
 Recurrence relation:
an = c1an-1 + c2an-2 + … + ckan-k
 Try to find a solution of form rn
rn = c1rn-1 + c2rn-2 + … + ckrn-k
rn - c1rn-1 - c2rn-2 - … - ckrn-k = 0
rk - c1rk-1 - c2rk-2 - … - ck = 0 (dividing both sides by rn-k)
 This equation is called the characteristic equation
What is the solution of the recurrence relation
an = an-1 + 2an-2
with a0=2 and a1=7?
 Since it is linear homogeneous recurrence, first find its
characteristic equation
r2 - r - 2 = 0
(r+1)(r-2) = 0 r1 = 2 and r2 = -1
 So, by theorem an = α 12n + α 2(-1)n is a solution.
 Now we should find α 1 and α 2 using initial conditions.
a0= α 1 + α 2 = 2
a1= α 12 + α 2(-1) = 7
 So, α 1= 3 and α 2 = -1.
 an = 3 . 2n - (-1)n is a solution.
 If the characteristic equation has k distinct solutions
r1, r2, …, rk, it can be written as
(r - r1)(r - r2)…(r - rk) = 0.
If, after factoring, the equation has m+1 factors of (r -
r1), for example, r1 is called a solution of the
characteristic equation with multiplicity m+1.
 When this happens, not only r1 n is a solution, but also
Nr1n n, n2r1 n, … and nmr1n are solutions of the
recurrence.
When a characteristic equation has fewer than k
distinct solutions:
 We obtain sequences of the form described in
Proposition 3.
 By Proposition 1, we know any combination of
these solutions is also a solution to the recurrence.
 We can find those that satisfies the initial
conditions.
 Consider the characteristic equation rk - c1rk-1 - c2rk-2 -
… -ck = 0 and the recurrence an = c1an-1 + c2an-2 + … +
ckan-k.
 Assume the characteristic equation has t ≤ k distinct
solutions.
 Let Ɐi (1≤ i≤ t) ri with multiplicity mi be a solution of the
equation.
 Let Ɐ i,j (1 ≤ I ≤ t and 0≤j≤mi-1) ɑij be a constant.
So, an = (ɑ 10 + ɑ 11 n+ … + ɑ 1,m1-1 nm1-1 ) r1n
+ (ɑ 20 + ɑ 21 n+ … + ɑ 2,m2-1 nm2-1 ) r2n
+ …
+ (ɑ t0 + ɑ t1 n+ … + ɑ t,mt-1 nmt-1 ) rtn
satisfies the recurrence
What is the solution of the recurrence relation
an = 6an-1 - 9an-2
with a0=1 and a1=6?
 First find its characteristic equation
r2 - 6r + 9 = 0
(r - 3)2 = 0 r1 = 3 (Its multiplicity is 2.)
 So, by theorem an = ( ɑ 10 + ɑ 11n)(3)n is a solution.
 Now we should find constants using initial conditions.
a0= ɑ 10 = 1
a1= 3 ɑ 10 + 3ɑ 11 = 6
 So, ɑ 11= 1 and ɑ 10 = 1.
 an = 3n + n3n is a solution
Maths

More Related Content

What's hot

Recurrence relationclass 5
Recurrence relationclass 5Recurrence relationclass 5
Recurrence relationclass 5
Kumar
 
First order linear differential equation
First order linear differential equationFirst order linear differential equation
First order linear differential equation
Nofal Umair
 
formulation of first order linear and nonlinear 2nd order differential equation
formulation of first order linear and nonlinear 2nd order differential equationformulation of first order linear and nonlinear 2nd order differential equation
formulation of first order linear and nonlinear 2nd order differential equation
Mahaswari Jogia
 
Differential equations
Differential equationsDifferential equations
Differential equations
Charan Kumar
 

What's hot (20)

Recurrence Relation
Recurrence RelationRecurrence Relation
Recurrence Relation
 
APPLICATION OF HIGHER ORDER DIFFERENTIAL EQUATIONS
APPLICATION OF HIGHER ORDER DIFFERENTIAL EQUATIONSAPPLICATION OF HIGHER ORDER DIFFERENTIAL EQUATIONS
APPLICATION OF HIGHER ORDER DIFFERENTIAL EQUATIONS
 
Higher order ODE with applications
Higher order ODE with applicationsHigher order ODE with applications
Higher order ODE with applications
 
Higher order differential equations
Higher order differential equationsHigher order differential equations
Higher order differential equations
 
Generating function
Generating functionGenerating function
Generating function
 
Recurrence relationclass 5
Recurrence relationclass 5Recurrence relationclass 5
Recurrence relationclass 5
 
SERIES SOLUTION OF ORDINARY DIFFERENTIALL EQUATION
SERIES SOLUTION OF ORDINARY DIFFERENTIALL EQUATIONSERIES SOLUTION OF ORDINARY DIFFERENTIALL EQUATION
SERIES SOLUTION OF ORDINARY DIFFERENTIALL EQUATION
 
Ch04 2
Ch04 2Ch04 2
Ch04 2
 
Ch05 2
Ch05 2Ch05 2
Ch05 2
 
Series solution to ordinary differential equations
Series solution to ordinary differential equations Series solution to ordinary differential equations
Series solution to ordinary differential equations
 
Higher Differential Equation
Higher Differential EquationHigher Differential Equation
Higher Differential Equation
 
Higher Differential Equation
Higher Differential Equation Higher Differential Equation
Higher Differential Equation
 
On the Fixed Point Extension Results in the Differential Systems of Ordinary ...
On the Fixed Point Extension Results in the Differential Systems of Ordinary ...On the Fixed Point Extension Results in the Differential Systems of Ordinary ...
On the Fixed Point Extension Results in the Differential Systems of Ordinary ...
 
ORDINARY DIFFERENTIAL EQUATION
ORDINARY DIFFERENTIAL EQUATION ORDINARY DIFFERENTIAL EQUATION
ORDINARY DIFFERENTIAL EQUATION
 
Ordinary Differential Equation
Ordinary Differential EquationOrdinary Differential Equation
Ordinary Differential Equation
 
First order linear differential equation
First order linear differential equationFirst order linear differential equation
First order linear differential equation
 
formulation of first order linear and nonlinear 2nd order differential equation
formulation of first order linear and nonlinear 2nd order differential equationformulation of first order linear and nonlinear 2nd order differential equation
formulation of first order linear and nonlinear 2nd order differential equation
 
Differential equations
Differential equationsDifferential equations
Differential equations
 
Ordinary differential equation
Ordinary differential equationOrdinary differential equation
Ordinary differential equation
 
METHOD OF JACOBI
METHOD OF JACOBIMETHOD OF JACOBI
METHOD OF JACOBI
 

Similar to Maths

Analysis Of Algorithms Ii
Analysis Of Algorithms IiAnalysis Of Algorithms Ii
Analysis Of Algorithms Ii
Sri Prasanna
 
8.-DAA-LECTURE-8-RECURRENCES-AND-ITERATION-METHOD.pdf
8.-DAA-LECTURE-8-RECURRENCES-AND-ITERATION-METHOD.pdf8.-DAA-LECTURE-8-RECURRENCES-AND-ITERATION-METHOD.pdf
8.-DAA-LECTURE-8-RECURRENCES-AND-ITERATION-METHOD.pdf
RishikeshJha33
 
Recurrence equations
Recurrence equationsRecurrence equations
Recurrence equations
Tarun Gehlot
 
Kittel c. introduction to solid state physics 8 th edition - solution manual
Kittel c.  introduction to solid state physics 8 th edition - solution manualKittel c.  introduction to solid state physics 8 th edition - solution manual
Kittel c. introduction to solid state physics 8 th edition - solution manual
amnahnura
 
SMB_2012_HR_VAN_ST-last version
SMB_2012_HR_VAN_ST-last versionSMB_2012_HR_VAN_ST-last version
SMB_2012_HR_VAN_ST-last version
Lilyana Vankova
 

Similar to Maths (20)

Solving recurrences
Solving recurrencesSolving recurrences
Solving recurrences
 
Impact of Linear Homogeneous Recurrent Relation Analysis
Impact of Linear Homogeneous Recurrent Relation AnalysisImpact of Linear Homogeneous Recurrent Relation Analysis
Impact of Linear Homogeneous Recurrent Relation Analysis
 
Recurrence_Theory.pptx studdents nees free
Recurrence_Theory.pptx studdents nees freeRecurrence_Theory.pptx studdents nees free
Recurrence_Theory.pptx studdents nees free
 
RecurrenceRelations.ppt
RecurrenceRelations.pptRecurrenceRelations.ppt
RecurrenceRelations.ppt
 
pdf of recurrence relation which is used in statistics
pdf of recurrence relation which is used in statisticspdf of recurrence relation which is used in statistics
pdf of recurrence relation which is used in statistics
 
Analysis Of Algorithms Ii
Analysis Of Algorithms IiAnalysis Of Algorithms Ii
Analysis Of Algorithms Ii
 
Ch07 6
Ch07 6Ch07 6
Ch07 6
 
8.-DAA-LECTURE-8-RECURRENCES-AND-ITERATION-METHOD.pdf
8.-DAA-LECTURE-8-RECURRENCES-AND-ITERATION-METHOD.pdf8.-DAA-LECTURE-8-RECURRENCES-AND-ITERATION-METHOD.pdf
8.-DAA-LECTURE-8-RECURRENCES-AND-ITERATION-METHOD.pdf
 
Recurrence equations
Recurrence equationsRecurrence equations
Recurrence equations
 
Kittel c. introduction to solid state physics 8 th edition - solution manual
Kittel c.  introduction to solid state physics 8 th edition - solution manualKittel c.  introduction to solid state physics 8 th edition - solution manual
Kittel c. introduction to solid state physics 8 th edition - solution manual
 
Final
Final Final
Final
 
Gen solve recurrence
Gen solve recurrenceGen solve recurrence
Gen solve recurrence
 
Generating functions solve recurrence
Generating functions solve recurrenceGenerating functions solve recurrence
Generating functions solve recurrence
 
TABREZ KHAN.ppt
TABREZ KHAN.pptTABREZ KHAN.ppt
TABREZ KHAN.ppt
 
Elementary Differential Equations 11th Edition Boyce Solutions Manual
Elementary Differential Equations 11th Edition Boyce Solutions ManualElementary Differential Equations 11th Edition Boyce Solutions Manual
Elementary Differential Equations 11th Edition Boyce Solutions Manual
 
Trig cheat sheet
Trig cheat sheetTrig cheat sheet
Trig cheat sheet
 
Formular
FormularFormular
Formular
 
Morales_21min_Talk
Morales_21min_TalkMorales_21min_Talk
Morales_21min_Talk
 
SMB_2012_HR_VAN_ST-last version
SMB_2012_HR_VAN_ST-last versionSMB_2012_HR_VAN_ST-last version
SMB_2012_HR_VAN_ST-last version
 
Solution manual for introduction to nonlinear finite element analysis nam-h...
Solution manual for introduction to nonlinear finite element analysis   nam-h...Solution manual for introduction to nonlinear finite element analysis   nam-h...
Solution manual for introduction to nonlinear finite element analysis nam-h...
 

More from renukarenuka9 (20)

mobile computing
mobile computingmobile computing
mobile computing
 
Dip
DipDip
Dip
 
Compiler design
Compiler designCompiler design
Compiler design
 
Web programming
Web programmingWeb programming
Web programming
 
Software engineering
Software engineeringSoftware engineering
Software engineering
 
Software engineering
Software engineeringSoftware engineering
Software engineering
 
Software engineering
Software engineeringSoftware engineering
Software engineering
 
Bigdata
BigdataBigdata
Bigdata
 
Bigdata ppt
Bigdata pptBigdata ppt
Bigdata ppt
 
Rdbms
RdbmsRdbms
Rdbms
 
Rdbms
RdbmsRdbms
Rdbms
 
operating system
operating systemoperating system
operating system
 
Rdbms
RdbmsRdbms
Rdbms
 
OPERATING SYSTEM
OPERATING SYSTEMOPERATING SYSTEM
OPERATING SYSTEM
 
Data mining
Data miningData mining
Data mining
 
Computer network
Computer networkComputer network
Computer network
 
computer network
computer networkcomputer network
computer network
 
operating system
operating systemoperating system
operating system
 
data mining
data miningdata mining
data mining
 
COMPUTER NETWORK
COMPUTER NETWORKCOMPUTER NETWORK
COMPUTER NETWORK
 

Recently uploaded

Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsBiogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Sérgio Sacani
 
(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...
(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...
(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...
Scintica Instrumentation
 
THE ROLE OF BIOTECHNOLOGY IN THE ECONOMIC UPLIFT.pptx
THE ROLE OF BIOTECHNOLOGY IN THE ECONOMIC UPLIFT.pptxTHE ROLE OF BIOTECHNOLOGY IN THE ECONOMIC UPLIFT.pptx
THE ROLE OF BIOTECHNOLOGY IN THE ECONOMIC UPLIFT.pptx
ANSARKHAN96
 
biology HL practice questions IB BIOLOGY
biology HL practice questions IB BIOLOGYbiology HL practice questions IB BIOLOGY
biology HL practice questions IB BIOLOGY
1301aanya
 
Digital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptxDigital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptx
MohamedFarag457087
 
Reboulia: features, anatomy, morphology etc.
Reboulia: features, anatomy, morphology etc.Reboulia: features, anatomy, morphology etc.
Reboulia: features, anatomy, morphology etc.
Silpa
 
Cyathodium bryophyte: morphology, anatomy, reproduction etc.
Cyathodium bryophyte: morphology, anatomy, reproduction etc.Cyathodium bryophyte: morphology, anatomy, reproduction etc.
Cyathodium bryophyte: morphology, anatomy, reproduction etc.
Silpa
 
POGONATUM : morphology, anatomy, reproduction etc.
POGONATUM : morphology, anatomy, reproduction etc.POGONATUM : morphology, anatomy, reproduction etc.
POGONATUM : morphology, anatomy, reproduction etc.
Silpa
 
Porella : features, morphology, anatomy, reproduction etc.
Porella : features, morphology, anatomy, reproduction etc.Porella : features, morphology, anatomy, reproduction etc.
Porella : features, morphology, anatomy, reproduction etc.
Silpa
 

Recently uploaded (20)

Dr. E. Muralinath_ Blood indices_clinical aspects
Dr. E. Muralinath_ Blood indices_clinical  aspectsDr. E. Muralinath_ Blood indices_clinical  aspects
Dr. E. Muralinath_ Blood indices_clinical aspects
 
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsBiogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
 
Call Girls Ahmedabad +917728919243 call me Independent Escort Service
Call Girls Ahmedabad +917728919243 call me Independent Escort ServiceCall Girls Ahmedabad +917728919243 call me Independent Escort Service
Call Girls Ahmedabad +917728919243 call me Independent Escort Service
 
Role of AI in seed science Predictive modelling and Beyond.pptx
Role of AI in seed science  Predictive modelling and  Beyond.pptxRole of AI in seed science  Predictive modelling and  Beyond.pptx
Role of AI in seed science Predictive modelling and Beyond.pptx
 
(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...
(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...
(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...
 
THE ROLE OF BIOTECHNOLOGY IN THE ECONOMIC UPLIFT.pptx
THE ROLE OF BIOTECHNOLOGY IN THE ECONOMIC UPLIFT.pptxTHE ROLE OF BIOTECHNOLOGY IN THE ECONOMIC UPLIFT.pptx
THE ROLE OF BIOTECHNOLOGY IN THE ECONOMIC UPLIFT.pptx
 
biology HL practice questions IB BIOLOGY
biology HL practice questions IB BIOLOGYbiology HL practice questions IB BIOLOGY
biology HL practice questions IB BIOLOGY
 
Digital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptxDigital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptx
 
Molecular markers- RFLP, RAPD, AFLP, SNP etc.
Molecular markers- RFLP, RAPD, AFLP, SNP etc.Molecular markers- RFLP, RAPD, AFLP, SNP etc.
Molecular markers- RFLP, RAPD, AFLP, SNP etc.
 
Reboulia: features, anatomy, morphology etc.
Reboulia: features, anatomy, morphology etc.Reboulia: features, anatomy, morphology etc.
Reboulia: features, anatomy, morphology etc.
 
Gwalior ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Gwalior ESCORT SERVICE❤CALL GIRL
Gwalior ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Gwalior ESCORT SERVICE❤CALL GIRLGwalior ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Gwalior ESCORT SERVICE❤CALL GIRL
Gwalior ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Gwalior ESCORT SERVICE❤CALL GIRL
 
Factory Acceptance Test( FAT).pptx .
Factory Acceptance Test( FAT).pptx       .Factory Acceptance Test( FAT).pptx       .
Factory Acceptance Test( FAT).pptx .
 
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and SpectrometryFAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
 
Cyathodium bryophyte: morphology, anatomy, reproduction etc.
Cyathodium bryophyte: morphology, anatomy, reproduction etc.Cyathodium bryophyte: morphology, anatomy, reproduction etc.
Cyathodium bryophyte: morphology, anatomy, reproduction etc.
 
Proteomics: types, protein profiling steps etc.
Proteomics: types, protein profiling steps etc.Proteomics: types, protein profiling steps etc.
Proteomics: types, protein profiling steps etc.
 
GBSN - Microbiology (Unit 3)Defense Mechanism of the body
GBSN - Microbiology (Unit 3)Defense Mechanism of the body GBSN - Microbiology (Unit 3)Defense Mechanism of the body
GBSN - Microbiology (Unit 3)Defense Mechanism of the body
 
Genetics and epigenetics of ADHD and comorbid conditions
Genetics and epigenetics of ADHD and comorbid conditionsGenetics and epigenetics of ADHD and comorbid conditions
Genetics and epigenetics of ADHD and comorbid conditions
 
Genome sequencing,shotgun sequencing.pptx
Genome sequencing,shotgun sequencing.pptxGenome sequencing,shotgun sequencing.pptx
Genome sequencing,shotgun sequencing.pptx
 
POGONATUM : morphology, anatomy, reproduction etc.
POGONATUM : morphology, anatomy, reproduction etc.POGONATUM : morphology, anatomy, reproduction etc.
POGONATUM : morphology, anatomy, reproduction etc.
 
Porella : features, morphology, anatomy, reproduction etc.
Porella : features, morphology, anatomy, reproduction etc.Porella : features, morphology, anatomy, reproduction etc.
Porella : features, morphology, anatomy, reproduction etc.
 

Maths

  • 1.
  • 2. A recursive definition of a sequence specifies ◘ Initial conditions ◘ Recurrence relation  a0=0 and a1=3 Initial conditions  an = 2an-1 - an-2 Recurrence relation  an = 3n Solution
  • 3.  Each term of a sequence is a linear function of earlier  terms in the sequence.  a0 = 1 a1 = 6 a2 = 10  an = an-1 + 2an-2 + 3an-3  a3 = a0 + 2a1 + 3a2 = 1 + 2(6) + 3(10) = 43
  • 4.  1. Linear homogeneous recurrences  2. Linear non-homogeneous recurrences
  • 5.  A linear homogenous recurrence relation of degree k with constant coefficients is a recurrence relation of the form an = c1an-1 + c2an-2 + … + ckan-k,  where c1, c2, …, ck are real numbers, and ck≠0  an is expressed in terms of the previous k terms of the sequences its degree is k.  This recurrence includes k initial conditions. a0 = C0 a1 = C1 … ak = Ck
  • 6. Determine if the following recurrence relations are linear homogeneous recurrence relations with constant coefficients.  Pn = (1.11)Pn-1 a linear homogeneous recurrence relation of degree one  an = an-1 + a2 n-2 not linear  fn = fn-1 + fn-2 a linear homogeneous recurrence relation of degree two  Hn = 2Hn-1+1 not homogeneous  an = an-6 a linear homogeneous recurrence relation of degree six  Bn = nBn-1 does not have constant coefficient
  • 7.  Let an = c1an-1 + c2an-2 + … + ckan-k be a linear homogeneous recurrence.  Assume the sequence an satisfies the recurrence.  Assume the sequence a’n also satisfies the recurrence.  So, bn = an + a’n and dn=􀀁an are also sequences that satisfy the recurrence. (α is any constant) bn = an + a’n = (c1an-1 + c2an-2 + … + ckan-k) + (c1a’n-1 + c2a’n-2 + … + cka’n-k) = c1 (an-1+ a’n-1) + c2 (an-2+ a’n-2) + … + ck (an-k + a’n-k) = c1bn-1 + c2bn-2 + … + ckbn-k So, bn is a solution of the recurrence.
  • 8.  Let an = c1an-1 + c2an-2 + … + ckan-k be a linear homogeneous recurrence.  Assume the sequence an satisfies the recurrence.  Assume the sequence a’n also satisfies the recurrence.  So, bn = an + a’n and dn=􀀁an are also sequences that satisfy the recurrence. (α is any constant) dn = α an = α (c1an-1 + c2an-2 + … + ckan-k) = c1 (α an-1) + c2 (α an-2) + … + ck (α an-k) = c1dn-1 + c2dn-2 + … + ckdn-k So, dn is a solution of the recurrence.
  • 9. It follows from the previous proposition, if we find some solutions to a linear homogeneous recurrence, then any linear combination of them will also be a solution To the linear homogeneous recurrence.
  • 10. Geometric sequences come up a lot when solving linear homogeneous recurrences. So, try to find any solution of the form an = rn that satisfies the recurrence relation.
  • 11.  Recurrence relation: an = c1an-1 + c2an-2 + … + ckan-k  Try to find a solution of form rn rn = c1rn-1 + c2rn-2 + … + ckrn-k rn - c1rn-1 - c2rn-2 - … - ckrn-k = 0 rk - c1rk-1 - c2rk-2 - … - ck = 0 (dividing both sides by rn-k)  This equation is called the characteristic equation
  • 12. What is the solution of the recurrence relation an = an-1 + 2an-2 with a0=2 and a1=7?  Since it is linear homogeneous recurrence, first find its characteristic equation r2 - r - 2 = 0 (r+1)(r-2) = 0 r1 = 2 and r2 = -1  So, by theorem an = α 12n + α 2(-1)n is a solution.  Now we should find α 1 and α 2 using initial conditions. a0= α 1 + α 2 = 2 a1= α 12 + α 2(-1) = 7  So, α 1= 3 and α 2 = -1.  an = 3 . 2n - (-1)n is a solution.
  • 13.  If the characteristic equation has k distinct solutions r1, r2, …, rk, it can be written as (r - r1)(r - r2)…(r - rk) = 0. If, after factoring, the equation has m+1 factors of (r - r1), for example, r1 is called a solution of the characteristic equation with multiplicity m+1.  When this happens, not only r1 n is a solution, but also Nr1n n, n2r1 n, … and nmr1n are solutions of the recurrence.
  • 14. When a characteristic equation has fewer than k distinct solutions:  We obtain sequences of the form described in Proposition 3.  By Proposition 1, we know any combination of these solutions is also a solution to the recurrence.  We can find those that satisfies the initial conditions.
  • 15.  Consider the characteristic equation rk - c1rk-1 - c2rk-2 - … -ck = 0 and the recurrence an = c1an-1 + c2an-2 + … + ckan-k.  Assume the characteristic equation has t ≤ k distinct solutions.  Let Ɐi (1≤ i≤ t) ri with multiplicity mi be a solution of the equation.  Let Ɐ i,j (1 ≤ I ≤ t and 0≤j≤mi-1) ɑij be a constant. So, an = (ɑ 10 + ɑ 11 n+ … + ɑ 1,m1-1 nm1-1 ) r1n + (ɑ 20 + ɑ 21 n+ … + ɑ 2,m2-1 nm2-1 ) r2n + … + (ɑ t0 + ɑ t1 n+ … + ɑ t,mt-1 nmt-1 ) rtn satisfies the recurrence
  • 16. What is the solution of the recurrence relation an = 6an-1 - 9an-2 with a0=1 and a1=6?  First find its characteristic equation r2 - 6r + 9 = 0 (r - 3)2 = 0 r1 = 3 (Its multiplicity is 2.)  So, by theorem an = ( ɑ 10 + ɑ 11n)(3)n is a solution.  Now we should find constants using initial conditions. a0= ɑ 10 = 1 a1= 3 ɑ 10 + 3ɑ 11 = 6  So, ɑ 11= 1 and ɑ 10 = 1.  an = 3n + n3n is a solution