8.2 Solving Linear Recurrence Relations Flashcards
1
Q
Recurrence Relation
A
The rule in a recursive definition describing how to obtain subsequent terms of a sequence using previous terms
2
Q
First term
A
Depends only on one previous term (degree 1)
3
Q
Meaning of linear
A
The right hand side is a sum of previous terms of the sequence
4
Q
Meaning of homogenous
A
All coefficients are constants rather than functions that depend on n and F(n) = 0
5
Q
What is the goal when finding explicit formulas
A
To write the function an = something not relying on a previous term(an-1)
6
Q
Steps to find solution of homogeneous recurrence relations
A
- Find characteristic equation (r^k - c1r^(k-1) - … -ck=0)
- Solve for roots
- Find an = α1r1^n + α2r2^n + … + αkrk^n =0
- Find α0, α1, αk using initial conditions a0, a0, ak..
- Find solution by substituting into an = α1r1^n + α2r2^n + … + αkrk^n =0
7
Q
Steps to find solutions of nonhomogeneous recurrence relations
A
- Use general form of polynomials to find an(p) for the homogeneous recurrence
- Find the homogeneous recurrence relation an(h) (without F(n)) and solve it normally by finding α
- Find the general solution where an = an(p) + an(h)
- Use the initial condition to find the unique solution