SlideShare a Scribd company logo
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 Relation
Recurrence RelationRecurrence Relation
Recurrence Relation
Papu Kumar
 
APPLICATION OF HIGHER ORDER DIFFERENTIAL EQUATIONS
APPLICATION OF HIGHER ORDER DIFFERENTIAL EQUATIONSAPPLICATION OF HIGHER ORDER DIFFERENTIAL EQUATIONS
APPLICATION OF HIGHER ORDER DIFFERENTIAL EQUATIONS
AYESHA JAVED
 
Higher order ODE with applications
Higher order ODE with applicationsHigher order ODE with applications
Higher order ODE with applications
Pratik Gadhiya
 
Higher order differential equations
Higher order differential equationsHigher order differential equations
Higher order differential equations
Mateus Nieves Enrique - DIE-UD
 
Generating function
Generating functionGenerating function
Recurrence relationclass 5
Recurrence relationclass 5Recurrence relationclass 5
Recurrence relationclass 5
Kumar
 
SERIES SOLUTION OF ORDINARY DIFFERENTIALL EQUATION
SERIES SOLUTION OF ORDINARY DIFFERENTIALL EQUATIONSERIES SOLUTION OF ORDINARY DIFFERENTIALL EQUATION
SERIES SOLUTION OF ORDINARY DIFFERENTIALL EQUATION
Kavin Raval
 
Ch04 2
Ch04 2Ch04 2
Ch04 2
Rendy Robert
 
Ch05 2
Ch05 2Ch05 2
Ch05 2
Rendy Robert
 
Series solution to ordinary differential equations
Series solution to ordinary differential equations Series solution to ordinary differential equations
Series solution to ordinary differential equations
University of Windsor
 
Higher Differential Equation
Higher Differential EquationHigher Differential Equation
Higher Differential Equation
gtuautonomous
 
Higher Differential Equation
Higher Differential Equation Higher Differential Equation
Higher Differential Equation
Abdul Hannan
 
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 ...
BRNSS Publication Hub
 
ORDINARY DIFFERENTIAL EQUATION
ORDINARY DIFFERENTIAL EQUATION ORDINARY DIFFERENTIAL EQUATION
ORDINARY DIFFERENTIAL EQUATION
LANKESH S S
 
Ordinary Differential Equation
Ordinary Differential EquationOrdinary Differential Equation
Ordinary Differential Equation
nur fara
 
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
 
Ordinary differential equation
Ordinary differential equationOrdinary differential equation
Ordinary differential equation
JUGAL BORAH
 
METHOD OF JACOBI
METHOD OF JACOBIMETHOD OF JACOBI
METHOD OF JACOBI
jorgeduardooo
 

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

Solving recurrences
Solving recurrencesSolving recurrences
Solving recurrences
Waqas Akram
 
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
ijtsrd
 
Recurrence_Theory.pptx studdents nees free
Recurrence_Theory.pptx studdents nees freeRecurrence_Theory.pptx studdents nees free
Recurrence_Theory.pptx studdents nees free
White44420
 
RecurrenceRelations.ppt
RecurrenceRelations.pptRecurrenceRelations.ppt
RecurrenceRelations.ppt
MumitAhmed1
 
Recurrence Relations for Discrete mathematics
Recurrence Relations for Discrete mathematicsRecurrence Relations for Discrete mathematics
Recurrence Relations for Discrete mathematics
meychu1
 
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
pranjaltarte
 
Analysis Of Algorithms Ii
Analysis Of Algorithms IiAnalysis Of Algorithms Ii
Analysis Of Algorithms Ii
Sri Prasanna
 
Ch07 6
Ch07 6Ch07 6
Ch07 6
Rendy Robert
 
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
 
Final
Final Final
Gen solve recurrence
Gen solve recurrenceGen solve recurrence
Gen solve recurrence
Hae Morgia
 
Generating functions solve recurrence
Generating functions solve recurrenceGenerating functions solve recurrence
Generating functions solve recurrence
Hae Morgia
 
TABREZ KHAN.ppt
TABREZ KHAN.pptTABREZ KHAN.ppt
TABREZ KHAN.ppt
TabrezKhan733764
 
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
MiriamKennedys
 
Trig cheat sheet
Trig cheat sheetTrig cheat sheet
Trig cheat sheet
Aneel Ahmad
 
Formular
FormularFormular
Formular
Bunga Noionla
 
Morales_21min_Talk
Morales_21min_TalkMorales_21min_Talk
Morales_21min_Talk
Roman Morales
 
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 versionLilyana 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
 
Recurrence Relations for Discrete mathematics
Recurrence Relations for Discrete mathematicsRecurrence Relations for Discrete mathematics
Recurrence Relations for Discrete mathematics
 
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
 

More from renukarenuka9

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

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

EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...
EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...
EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...
Sérgio Sacani
 
Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.
Nistarini College, Purulia (W.B) India
 
Equivariant neural networks and representation theory
Equivariant neural networks and representation theoryEquivariant neural networks and representation theory
Equivariant neural networks and representation theory
Daniel Tubbenhauer
 
20240520 Planning a Circuit Simulator in JavaScript.pptx
20240520 Planning a Circuit Simulator in JavaScript.pptx20240520 Planning a Circuit Simulator in JavaScript.pptx
20240520 Planning a Circuit Simulator in JavaScript.pptx
Sharon Liu
 
molar-distalization in orthodontics-seminar.pptx
molar-distalization in orthodontics-seminar.pptxmolar-distalization in orthodontics-seminar.pptx
molar-distalization in orthodontics-seminar.pptx
Anagha Prasad
 
Nucleophilic Addition of carbonyl compounds.pptx
Nucleophilic Addition of carbonyl  compounds.pptxNucleophilic Addition of carbonyl  compounds.pptx
Nucleophilic Addition of carbonyl compounds.pptx
SSR02
 
Micronuclei test.M.sc.zoology.fisheries.
Micronuclei test.M.sc.zoology.fisheries.Micronuclei test.M.sc.zoology.fisheries.
Micronuclei test.M.sc.zoology.fisheries.
Aditi Bajpai
 
THEMATIC APPERCEPTION TEST(TAT) cognitive abilities, creativity, and critic...
THEMATIC  APPERCEPTION  TEST(TAT) cognitive abilities, creativity, and critic...THEMATIC  APPERCEPTION  TEST(TAT) cognitive abilities, creativity, and critic...
THEMATIC APPERCEPTION TEST(TAT) cognitive abilities, creativity, and critic...
Abdul Wali Khan University Mardan,kP,Pakistan
 
Bob Reedy - Nitrate in Texas Groundwater.pdf
Bob Reedy - Nitrate in Texas Groundwater.pdfBob Reedy - Nitrate in Texas Groundwater.pdf
Bob Reedy - Nitrate in Texas Groundwater.pdf
Texas Alliance of Groundwater Districts
 
Sharlene Leurig - Enabling Onsite Water Use with Net Zero Water
Sharlene Leurig - Enabling Onsite Water Use with Net Zero WaterSharlene Leurig - Enabling Onsite Water Use with Net Zero Water
Sharlene Leurig - Enabling Onsite Water Use with Net Zero Water
Texas Alliance of Groundwater Districts
 
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
University of Maribor
 
ANAMOLOUS SECONDARY GROWTH IN DICOT ROOTS.pptx
ANAMOLOUS SECONDARY GROWTH IN DICOT ROOTS.pptxANAMOLOUS SECONDARY GROWTH IN DICOT ROOTS.pptx
ANAMOLOUS SECONDARY GROWTH IN DICOT ROOTS.pptx
RASHMI M G
 
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
David Osipyan
 
Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...
Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...
Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...
University of Maribor
 
Thornton ESPP slides UK WW Network 4_6_24.pdf
Thornton ESPP slides UK WW Network 4_6_24.pdfThornton ESPP slides UK WW Network 4_6_24.pdf
Thornton ESPP slides UK WW Network 4_6_24.pdf
European Sustainable Phosphorus Platform
 
8.Isolation of pure cultures and preservation of cultures.pdf
8.Isolation of pure cultures and preservation of cultures.pdf8.Isolation of pure cultures and preservation of cultures.pdf
8.Isolation of pure cultures and preservation of cultures.pdf
by6843629
 
Unlocking the mysteries of reproduction: Exploring fecundity and gonadosomati...
Unlocking the mysteries of reproduction: Exploring fecundity and gonadosomati...Unlocking the mysteries of reproduction: Exploring fecundity and gonadosomati...
Unlocking the mysteries of reproduction: Exploring fecundity and gonadosomati...
AbdullaAlAsif1
 
Randomised Optimisation Algorithms in DAPHNE
Randomised Optimisation Algorithms in DAPHNERandomised Optimisation Algorithms in DAPHNE
Randomised Optimisation Algorithms in DAPHNE
University of Maribor
 
Chapter 12 - climate change and the energy crisis
Chapter 12 - climate change and the energy crisisChapter 12 - climate change and the energy crisis
Chapter 12 - climate change and the energy crisis
tonzsalvador2222
 
Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...
Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...
Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...
Ana Luísa Pinho
 

Recently uploaded (20)

EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...
EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...
EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...
 
Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.
 
Equivariant neural networks and representation theory
Equivariant neural networks and representation theoryEquivariant neural networks and representation theory
Equivariant neural networks and representation theory
 
20240520 Planning a Circuit Simulator in JavaScript.pptx
20240520 Planning a Circuit Simulator in JavaScript.pptx20240520 Planning a Circuit Simulator in JavaScript.pptx
20240520 Planning a Circuit Simulator in JavaScript.pptx
 
molar-distalization in orthodontics-seminar.pptx
molar-distalization in orthodontics-seminar.pptxmolar-distalization in orthodontics-seminar.pptx
molar-distalization in orthodontics-seminar.pptx
 
Nucleophilic Addition of carbonyl compounds.pptx
Nucleophilic Addition of carbonyl  compounds.pptxNucleophilic Addition of carbonyl  compounds.pptx
Nucleophilic Addition of carbonyl compounds.pptx
 
Micronuclei test.M.sc.zoology.fisheries.
Micronuclei test.M.sc.zoology.fisheries.Micronuclei test.M.sc.zoology.fisheries.
Micronuclei test.M.sc.zoology.fisheries.
 
THEMATIC APPERCEPTION TEST(TAT) cognitive abilities, creativity, and critic...
THEMATIC  APPERCEPTION  TEST(TAT) cognitive abilities, creativity, and critic...THEMATIC  APPERCEPTION  TEST(TAT) cognitive abilities, creativity, and critic...
THEMATIC APPERCEPTION TEST(TAT) cognitive abilities, creativity, and critic...
 
Bob Reedy - Nitrate in Texas Groundwater.pdf
Bob Reedy - Nitrate in Texas Groundwater.pdfBob Reedy - Nitrate in Texas Groundwater.pdf
Bob Reedy - Nitrate in Texas Groundwater.pdf
 
Sharlene Leurig - Enabling Onsite Water Use with Net Zero Water
Sharlene Leurig - Enabling Onsite Water Use with Net Zero WaterSharlene Leurig - Enabling Onsite Water Use with Net Zero Water
Sharlene Leurig - Enabling Onsite Water Use with Net Zero Water
 
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
 
ANAMOLOUS SECONDARY GROWTH IN DICOT ROOTS.pptx
ANAMOLOUS SECONDARY GROWTH IN DICOT ROOTS.pptxANAMOLOUS SECONDARY GROWTH IN DICOT ROOTS.pptx
ANAMOLOUS SECONDARY GROWTH IN DICOT ROOTS.pptx
 
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
 
Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...
Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...
Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...
 
Thornton ESPP slides UK WW Network 4_6_24.pdf
Thornton ESPP slides UK WW Network 4_6_24.pdfThornton ESPP slides UK WW Network 4_6_24.pdf
Thornton ESPP slides UK WW Network 4_6_24.pdf
 
8.Isolation of pure cultures and preservation of cultures.pdf
8.Isolation of pure cultures and preservation of cultures.pdf8.Isolation of pure cultures and preservation of cultures.pdf
8.Isolation of pure cultures and preservation of cultures.pdf
 
Unlocking the mysteries of reproduction: Exploring fecundity and gonadosomati...
Unlocking the mysteries of reproduction: Exploring fecundity and gonadosomati...Unlocking the mysteries of reproduction: Exploring fecundity and gonadosomati...
Unlocking the mysteries of reproduction: Exploring fecundity and gonadosomati...
 
Randomised Optimisation Algorithms in DAPHNE
Randomised Optimisation Algorithms in DAPHNERandomised Optimisation Algorithms in DAPHNE
Randomised Optimisation Algorithms in DAPHNE
 
Chapter 12 - climate change and the energy crisis
Chapter 12 - climate change and the energy crisisChapter 12 - climate change and the energy crisis
Chapter 12 - climate change and the energy crisis
 
Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...
Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...
Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...
 

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