Solving a set of recurrence relations
A
n
</msub>
=
B
n
Despiniosnt
Answered question
2022-05-21
Solving a set of recurrence relations
which I would like to solve, with the goal of eventually finding an explicit form of . I started out by looking at only , and , and found a formula for .
but I cant seem to find the right trick this time.
Answer & Explanation
Amelie Douglas
Beginner2022-05-22Added 8 answers
Substitute and eliminate. You already know how to solve a recurrence on one function; eliminate functions from the system until you get to only one, by substituting one function for another. For example, substitute into the definition of to get
has been eliminated, and we're one step closer to having an equation involving just . By inspection, , , and are mutually defining, and separately , , , are mutually defining except for . So solve for first, using and , then continue on with just , , , . This is very similar to Gaussian elimination, but you have the extra subscripts to deal with in , , etc.
Brooke Ayala
Beginner2022-05-23Added 4 answers
Write without subtractions in indices:
Define a slew of generating functions like , multiply each recurrence by and sum over , then recognize e.g.
This sets up a beautiful linear system of equations for the generating functions, which your tame computer algebra system solves for you:
Split into partial fractions (this gets ugly, zeros of the denominator are ) and use the generalized binomial theorem to read off the coefficients.