Redirected from Generating function
We start with a commutative ring R. We want to define the ring of formal power series over R in the variable X, denoted by R[[X]]; each element of this ring can be written in a unique way as an infinite sum of the form ∑_{n≥0} a_{n} X^{n} where the coefficients a_{n} are elements of R; any choice of coefficients a_{n} is allowed. R[[X]] is actually a topological ring so that these infinite sums are welldefined and convergent. The addition and multiplication of such sums follow the usual laws of power series.

Start with the set R^{N} of all infinite sequences in R. Define addition of two such sequences by
and multiplication by
(compare convolution). This turns R^{N} into a commutative ring with multiplicative identity (1,0,0,...). We identify the element a of R with the sequence (a,0,0,...) and define X := (0,1,0,0,...). Then every element of R^{N} of the form (a_{0}, a_{1}, a_{2},...,a_{N},0,0,...) can be written as the finite sum
In order to extend this expansion to infinite series, we need a metric on R^{N}. We define d((a_{n}), (b_{n})) = 2^{k}, where k is the smallest natural number such that a_{k} ≠ b_{k} (if there is no such k, then the two sequences are the same and we define their distance to be zero). This is a metric which turns R^{N} into a topological ring, and the equation
can now be rigorously proven using the notion of convergence arising from d; in fact, any rearrangement of the series converges to the same limit.
This topological ring is the ring of formal power series over R and is denoted by R[[X]].
R[[X]] is an associative algebra over R which contains the ring R[X] of polynomials over R; the polynomials correspond to the sequences which end in zeros.
The geometric series formula is valid in R[[X]]:
An element ∑ a_{n} X^{n} of R[[X]] is invertible in R[[X]] if and only if its constant coefficient a_{0} is invertible in R. This implies that the Jacobson radical of R[[X]] is the ideal generated by X and the Jacobson radical of R.
The maximal ideals of R[[X]] all arise from those in R in the following manner: an ideal M of R[[X]] is maximal if and only if M ∩ R is a maximal ideal of R and M is generated as an ideal by X and M ∩ R.
Several algebraic properties of R are inherited by R[[X]]:
The metric space (R[[X]], d) is complete. The topology on R[[X]] is equal to the product topology on R^{N} where R is equipped with the discrete topology. It follows from Tychonoff's theorem that R[[X]] is compact if and only if R is finite. The topology on R[[X]] can also be seen as the Iadic topology, where I = (X) is the ideal generated by X (which consists of all formal power series whose zeroth coefficient is zero).
If K=R is a field, we can consider the quotient field of the integral domain K[[X]]; it is denoted by K((X)). Its elements are formal Laurent series of the form
where M is an integer which depends on the Laurent series f. K((X)) is a topological field.
In mathematical analysis, every convergent power series defines a function with values in the real or complex numbers. Formal power series can also be interpreted as functions, but one has to be careful with the domain and codomain. If f=∑a_{n} X^{n} is an element of R[[X]], S is a commutative associative algebra over R, I is an ideal in S such that the Iadic topology on S is complete, and x is an element of I, then we can define
This latter series is guaranteed to converge in S given the above assumptions on x. Furthermore, we have
and
Unlike in the case of bona fide functions, these formulas are not definitions but have to be proved.
Since the topology on R[[X]] is the (X)adic topology and R[[X]] is complete, we can in particular apply power series to other power series, provided that the arguments don't have constant coefficients: f(0), f(X^{2}X) and f( (1X)^{1}  1) are all well defined for any formal power series f∈R[[X]].
With this formalism, we can give an explicit formula for the multiplicative inverse of a power series f whose constant coefficient a=f(0) is invertible in R:
If the formal power series g with g(0) = 0 is given implicitly by the equation
where f is a known power series with f(0) = 0, then the coefficients of g can be explicitly computed using the Lagrange inversion theorem.
If f = ∑ a_{n} X_{n} is an element of R[[X]], we define its formal derivative using the operator D as
This operation is Rlinear:
for a, b in R and f, g in R[[X]].
The formal derivative has many of the properties of the continuous derivative of calculus. For example, the product rule is valid:
and the chain rule works as well:
In a sense, all formal power series are Taylor series, because if f=∑a_{n} X^{n}, then, writing D_{k} as the kth formal derivative, we find that
(here k! is the element 1×(1+1)×(1+1+1)×... of R).
One can also define differentiation for formal Laurent series in a natural way, and then the quotient rule, in addition to the rules listed above, will also be valid.
The fastest way to define the ring R[[X_{1},...,X_{r}]] of formal power series over R in r variables starts with the ring S = R[X_{1},...,X_{r}] of polynomials over R. Let I be the ideal in S generated by X_{1},...,X_{r}, consider the Iadic topology on S, and form its completion. This results in a complete topological ring containing S which is denoted by R[[X_{1},...,X_{r}]].
For n=(n_{1},...,n_{r})∈N^{r}, we write X^{n} = X_{1}^{n1}...X_{r}^{nr}. Then every element of R[[X_{1},...,X_{r}]] can be written in a unique way as a sum
These sums converge for any choice of the coefficients a_{n}∈R and the order in which the elements are added doesn't matter.
If J is the ideal in R[[X_{1},...,X_{r}]] generated by X_{1},...,X_{r} (i.e. J consists of those power series with zero constant coefficients), then the topology on R[[X_{1},...,X_{r}]] is the Jadic topology.
Since R[[X_{1}]] is a commutative ring, we can define its power series ring, say R[[X_{1}]][[X_{2}]]. This ring is naturall y isomorphic[?] to the ring R[[X_{1},X_{2}]] just defined, but as topological rings the two are different.
If K = R is a field, then K[[X_{1},...,X_{r}]] is a unique factorization domain.
Similar to the situation described above, we can "apply" power series in several variables to other power series with zero constant coefficients. It is also possible to define partial derivatives for formal power series in a straightforward way. Partial derivatives commute, as they do for continuously differentiable functions.
One can use formal power series to prove several relations familiar from analysis in a purely algebraic setting. Consider for instance the following elements of Q[[X]]:
Then one can show that
and
as well as
(the latter being valid in the ring Q[[X,Y]]).
As an example of the method of generating functions which arises frequently in combinatorics, consider the problem of finding a closed formula for the Fibonacci numbers f_{n} defined by f_{0} = 0, f_{1} = 1, and f_{n} = f_{n1} + f_{n2} for n≥2. We work in the ring R[[X]] and define the power series
f is called the generating function for the sequence (f_{n}). The generating function for the sequence (f_{n1}) is Xf and that of (f_{n2}) is X^{2}f. From the recurrence relation, we therefore see that the power series Xf + X^{2}f agrees with f except for the first two coefficients. Taking these into account, we find that
(this is the crucial step; recurrence relations can almost always be translated into equations for the generating functions). Solving this equation for f, we get
The denominator can be factored using the golden ratio φ_{1} = (1+√5)/2 and φ_{2} = (1√5)/2, and the technique of partial fraction decomposition[?] yields
These two formal power series are known explicitly because they are geometric series; comparing coefficients, we find the explicit formula
In algebra, the ring K[[X_{1},...,X_{r}]] (where K is a field) is often used as the "standard, most general" complete local ring over K.
The power series ring R[[X_{1},...,X_{r}]] can be characterized by the following universal property: if S is a commutative associative algebra over R, if I is an ideal in S such that the Iadic topology on S is complete, and if x_{1},...,x_{r} are elements of I, then there is a unique Φ : R[[X_{1},...,X_{n}]] > S with the following properties:
Search Encyclopedia

Featured Article
