ordinary generating function for linear recursive relations
Let be a linear recursive sequence with values in a (commutative) ring , i.e. there exist constants such that for any we have
Now consider the ordinary generating function for this sequence
which is a formal power series in the ring of formal power series . We will try to find the closed form of .
First write down first elements of this power series:
and note that for we can use our recursive relation:
which gives us
(1) |
Now focus on those sums on the right. For any we have
Inserting this into (1) gives us
which can be simplified as follows:
Taking the components with to the left side gives us
which finally gives us the closed formula for (note that all sums are finite):
Note that in the denominator we have a power series with the constant term , thus (by general properties of formal power series) it is invertible in . Thus we proved the following theorem:
Theorem. If is a recursive sequnce given by
for all then the ordinary generating function
has its closed form given by
Remark. Note that if we replace with (for example) the reals then the theorem is still valid if we treat those power series as functions. Of course such equalites hold only there where those functions are defined.
Title | ordinary generating function for linear recursive relations |
---|---|
Canonical name | OrdinaryGeneratingFunctionForLinearRecursiveRelations |
Date of creation | 2013-03-22 19:20:07 |
Last modified on | 2013-03-22 19:20:07 |
Owner | joking (16130) |
Last modified by | joking (16130) |
Numerical id | 7 |
Author | joking (16130) |
Entry type | Theorem |
Classification | msc 13H05 |
Classification | msc 13B35 |
Classification | msc 13F25 |
Classification | msc 13J05 |