Formal power series generalize polynomials to infinite terms. It has the following form:
A polynomial can be viewed as a formal power series in which the higher coefficients are all zeros.
However, there is a crucial difference: by having infinitely many terms, substituting a number into
Formal power series are widely used in combinatorics in the context of generating functions.
Operations
The fact that we won’t substitute a number for
Addition and Multiplication
See also: Cauchy product
If we have two formal power series,
A special case of the multiplication rule above is that multiplying
Another special case of the multiplication is when
This is useful for generating functions with leading zeros. For example,
Quotient
Example
The geometric series is one of the most used formal power series, and its closed form can be derived just by the definitions above: Let
. Then . Thus,
Derivative
The derivative of a formal power series is defined as
This definition is convenient that we can always differentiate both the formal power series and its closed form and get the expected result.
Example
with the geometric series
We can keep going:
And more generally:
From the above example, we have the following theorem:
Theorem
for any
, we have Corollary: For any
, we have Those two formulas are equivalent to each other by substitution. You would normally change the summation so that it started from
, but in this case it makes no difference because for
Normal differentiation rules can also be proven, for example:
Theorem
For any formal power series
and , we have
- sum rule
- product rule
- quotient rule