Formal Laurent series The
formal Laurent series over a ring R are defined in a similar way to a formal power series, except that we also allow finitely many terms of negative degree. That is, they are the series that can be written as :f = \sum_{n = N}^\infty a_n X^n for some integer N, so that there are only finitely many negative n with a_n \neq 0. (This is different from the classical
Laurent series of
complex analysis.) For a non-zero formal Laurent series, the minimal integer n such that a_n\neq 0 is called the
order of f and is denoted \operatorname{ord}(f). (The order ord(0) of the zero series is +\infty.) For instance, X^{-3} + \frac 1 2 X^{-2} + \frac 1 3 X^{-1} + \frac 1 4 + \frac 1 5 X + \frac 1 6 X^2 + \frac 1 7 X^3 + \frac 1 8 X^4 + \dots is a formal Laurent series of order –3. Multiplication of such series can be defined. Indeed, similarly to the definition for formal power series, the coefficient of X^k of two series with respective sequences of coefficients \{a_n\} and \{b_n\} is \sum_{i\in\Z}a_ib_{k-i}. This sum has only finitely many nonzero terms because of the assumed vanishing of coefficients at sufficiently negative indices. The formal Laurent series form the
ring of formal Laurent series over R, denoted by R((X)). It is equal to the
localization of the ring R
X of formal power series with respect to the set of positive powers of X. If R=K is a
field, then K((X)) is in fact a field, which may alternatively be obtained as the
field of fractions of the
integral domain K
X. As with R
X, the ring R((X)) of formal Laurent series may be endowed with the structure of a topological ring by introducing the metric d(f,g)=2^{-\operatorname{ord}(f-g)}. (In particular, \operatorname{ord}(0) = +\infty implies that d(f,f)=2^{-\operatorname{ord}(0)} = 0.) One may define formal differentiation for formal Laurent series in the natural (term-by-term) way. Precisely, the formal derivative of the formal Laurent series f above is f' = Df = \sum_{n\in\Z} na_n X^{n-1}, which is again a formal Laurent series. If f is a non-constant formal Laurent series and with coefficients in a field of characteristic 0, then one has \operatorname{ord}(f')= \operatorname{ord}(f)-1. However, in general this is not the case since the factor n for the lowest order term could be equal to 0 in R.
Formal residue Assume that K is a field of
characteristic 0. Then the map :D\colon K((X))\to K((X)) defined above is a K-
derivation that satisfies :\ker D=K :\operatorname{im} D= \left \{f\in K((X)) : [X^{-1}]f=0 \right \}. The latter shows that the coefficient of X^{-1} in f is of particular interest; it is called
formal residue of f and denoted \operatorname{Res}(f). The map :\operatorname{Res} : K((X))\to K is K-linear, and by the above observation one has an
exact sequence :0 \to K \to K((X)) \overset{D}{\longrightarrow} K((X)) \;\overset{\operatorname{Res}}{\longrightarrow}\; K \to 0.
Some rules of calculus. As a quite direct consequence of the above definition, and of the rules of formal derivation, one has, for any f, g\in K((X)) \operatorname{Res}(f')=0; \operatorname{Res}(fg')=-\operatorname{Res}(f'g); \operatorname{Res}(f'/f)=\operatorname{ord}(f),\qquad \forall f\neq 0; \operatorname{Res}\left(( g\circ f) f'\right) = \operatorname{ord}(f)\operatorname{Res}(g), if \operatorname{ord}(f)>0; [X^n]f(X)=\operatorname{Res}\left(X^{-n-1}f(X)\right). Property (i) is part of the exact sequence above. Property (ii) follows from (i) as applied to (fg)'=f'g+fg'. Property (iii): any f can be written in the form f=X^mg, with m=\operatorname{ord}(f) and \operatorname{ord}(g)=0: then f'/f = mX^{-1}+g'/g. \operatorname{ord}(g)=0 implies g is invertible in K
X\subset \operatorname{im}(D) = \ker(\operatorname{Res}), whence \operatorname{Res}(f'/f)=m. Property (iv): Since \operatorname{im}(D) = \ker(\operatorname{Res}), we can write g=g_{-1}X^{-1}+G', with G \in K((X)). Consequently, (g\circ f)f'= g_{-1}f^{-1}f'+(G'\circ f)f' = g_{-1}f'/f + (G \circ f)' and (iv) follows from (i) and (iii). Property (v) is clear from the definition.
The Lagrange inversion formula As mentioned above, any formal series f \in K
X with
f0 = 0 and
f1 ≠ 0 has a composition inverse g \in K
X. The following relation between the coefficients of
gn and
f−
k holds (""): :k[X^k] g^n=n[X^{-n}]f^{-k}. In particular, for
n = 1 and all
k ≥ 1, :[X^k] g=\frac{1}{k} \operatorname{Res}\left( f^{-k}\right). Since the proof of the Lagrange inversion formula is a very short computation, it is worth reporting one proof here. Noting \operatorname{ord}(f) =1 , we can apply the rules of calculus above, crucially Rule (iv) substituting X \rightsquigarrow f(X), to get: : \begin{align} k[X^k] g^n & \ \stackrel{\mathrm{(v)}}=\ k\operatorname{Res}\left( g^n X^{-k-1} \right) \ \stackrel{\mathrm{(iv)}}=\ k\operatorname{Res}\left(X^n f^{-k-1}f'\right) \ \stackrel{\mathrm{chain}}=\ -\operatorname{Res}\left(X^n (f^{-k})'\right) \\ & \ \stackrel{\mathrm{(ii)}}=\ \operatorname{Res}\left(\left(X^n\right)' f^{-k}\right) \ \stackrel{\mathrm{chain}}=\ n\operatorname{Res}\left(X^{n-1}f^{-k}\right) \ \stackrel{\mathrm{(v)}}=\ n[X^{-n}]f^{-k}. \end{align}
Generalizations. One may observe that the above computation can be repeated plainly in more general settings than
K((
X)): a generalization of the Lagrange inversion formula is already available working in the \Complex((X))-modules X^{\alpha}\Complex((X)), where α is a complex exponent. As a consequence, if
f and
g are as above, with f_1=g_1=1, we can relate the complex powers of
f /
X and
g /
X: precisely, if α and β are non-zero complex numbers with negative integer sum, m=-\alpha-\beta\in\N, then :\frac{1}{\alpha}[X^m]\left( \frac{f}{X} \right)^\alpha=-\frac{1}{\beta}[X^m]\left( \frac{g}{X} \right)^\beta. For instance, this way one finds the power series for
complex powers of the Lambert function.
Power series in several variables Formal power series in any number of indeterminates (even infinitely many) can be defined. If
I is an index set and
XI is the set of indeterminates
Xi for
i∈
I, then a
monomial Xα is any finite product of elements of
XI (repetitions allowed); a formal power series in
XI with coefficients in a ring
R is determined by any mapping from the set of monomials
Xα to a corresponding coefficient
cα, and is denoted \sum_\alpha c_\alpha X^\alpha. The set of all such formal power series is denoted R
X_I, and it is given a ring structure by defining :\left(\sum_\alpha c_\alpha X^\alpha\right)+\left(\sum_\alpha d_\alpha X^\alpha \right)= \sum_\alpha (c_\alpha+d_\alpha) X^\alpha and :\left(\sum_\alpha c_\alpha X^\alpha\right)\times\left(\sum_\beta d_\beta X^\beta\right)=\sum_{\alpha,\beta} c_\alpha d_\beta X^{\alpha+\beta}
Topology The topology on R
X_I is such that a sequence of its elements converges only if for each monomial
Xα the corresponding coefficient stabilizes. If
I is finite, then this the
J-adic topology, where
J is the ideal of R
X_I generated by all the indeterminates in
XI. This does not hold if
I is infinite. For example, if I=\N, then the sequence (f_n)_{n\in \N} with f_n = X_n + X_{n+1} + X_{n+2} + \cdots does not converge with respect to any
J-adic topology on
R, but clearly for each monomial the corresponding coefficient stabilizes. As remarked above, the topology on a repeated formal power series ring like R
XY is usually chosen in such a way that it becomes isomorphic as a
topological ring to R
X,Y.
Operations All of the operations defined for series in one variable may be extended to the several variables case. • A series is invertible if and only if its constant term is invertible in
R. • The composition
f(
g(
X)) of two series
f and
g is defined if
f is a series in a single indeterminate, and the constant term of
g is zero. For a series
f in several indeterminates a form of "composition" can similarly be defined, with as many separate series in the place of
g as there are indeterminates. In the case of the formal derivative, there are now separate
partial derivative operators, which differentiate with respect to each of the indeterminates. They all commute with each other.
Universal property In the several variables case, the universal property characterizing R
X_1, \ldots, X_r becomes the following. If
S is a commutative associative algebra over
R, if
I is an ideal of
S such that the
I-adic topology on
S is complete, and if
x1, ...,
xr are elements of
I, then there is a
unique map \Phi: R
X_1, \ldots, X_r \to S with the following properties: • Φ is an
R-algebra homomorphism • Φ is continuous • Φ(
Xi) =
xi for
i = 1, ...,
r.
Non-commuting variables The several variable case can be further generalised by taking
non-commuting variables Xi for
i ∈
I, where
I is an index set and then a
monomial Xα is any
word in the
XI; a formal power series in
XI with coefficients in a ring
R is determined by any mapping from the set of monomials
Xα to a corresponding coefficient
cα, and is denoted \textstyle\sum_\alpha c_\alpha X^\alpha . The set of all such formal power series is denoted R\langle\!\langle X_I\rangle\!\rangle, and it is given a ring structure by defining addition pointwise :\left(\sum_\alpha c_\alpha X^\alpha\right)+\left(\sum_\alpha d_\alpha X^\alpha\right)=\sum_\alpha(c_\alpha+d_\alpha)X^\alpha and multiplication by :\left(\sum_\alpha c_\alpha X^\alpha\right)\times\left(\sum_\alpha d_\alpha X^\alpha\right)=\sum_{\alpha,\beta} c_\alpha d_\beta X^{\alpha} \cdot X^{\beta} where · denotes concatenation of words. These formal power series over
R form the
Magnus ring over
R.
On a semiring Given an
alphabet \Sigma and a
semiring S. The formal power series over S supported on the language \Sigma^* is denoted by S\langle\langle \Sigma^*\rangle\rangle. It consists of all mappings r:\Sigma^*\to S, where \Sigma^* is the
free monoid generated by the non-empty set \Sigma. The elements of S\langle\langle \Sigma^*\rangle\rangle can be written as formal sums :r = \sum_{w \in \Sigma^*} (r,w)w. where (r,w) denotes the value of r at the word w\in\Sigma^*. The elements (r,w)\in S are called the coefficients of r. For r\in S\langle\langle \Sigma^*\rangle\rangle the support of r is the set :\operatorname{supp}(r)=\{w\in\Sigma^*|\ (r,w)\neq 0\} A series where every coefficient is either 0 or 1 is called the characteristic series of its support. The subset of S\langle\langle \Sigma^*\rangle\rangle consisting of all series with a finite support is denoted by S\langle \Sigma^*\rangle and called polynomials. For r_1, r_2\in S\langle\langle \Sigma^*\rangle\rangle and s\in S, the sum r_1+r_2 is defined by :(r_1+r_2,w)=(r_1,w)+(r_2,w) The (Cauchy) product r_1\cdot r_2 is defined by :(r_1\cdot r_2,w) = \sum_{w_1w_2=w}(r_1,w_1)(r_2,w_2) The Hadamard product r_1\odot r_2 is defined by :(r_1\odot r_2,w)=(r_1,w)(r_2,w) And the products by a scalar sr_1 and r_1s by :(sr_1,w)=s(r_1,w) and (r_1s,w)=(r_1,w)s, respectively. With these operations (S\langle\langle \Sigma^*\rangle\rangle,+,\cdot,0,\varepsilon) and (S\langle \Sigma^*\rangle, +,\cdot,0,\varepsilon) are semirings, where \varepsilon is the empty word in \Sigma^*. These formal power series are used to model the behavior of
weighted automata, in
theoretical computer science, when the coefficients (r,w) of the series are taken to be the weight of a path with label w in the automata.
Replacing the index set by an ordered abelian group Suppose G is an ordered
abelian group, meaning an abelian group with a total ordering respecting the group's addition, so that a if and only if a+c for all c. Let
I be a
well-ordered subset of G, meaning
I contains no infinite descending chain. Consider the set consisting of :\sum_{i \in I} a_i X^i for all such
I, with a_i in a commutative ring R, where we assume that for any index set, if all of the a_i are zero then the sum is zero. Then R((G)) is the ring of formal power series on G; because of the condition that the indexing set be well-ordered the product is well-defined, and we of course assume that two elements which differ by zero are the same. Sometimes the notation
R^G is used to denote R((G)). Various properties of R transfer to R((G)). If R is a field, then so is R((G)). If R is an
ordered field, we can order R((G)) by setting any element to have the same sign as its leading coefficient, defined as the least element of the index set
I associated to a non-zero coefficient. Finally if G is a
divisible group and R is a
real closed field, then R((G)) is a real closed field, and if R is
algebraically closed, then so is R((G)). This theory is due to
Hans Hahn, who also showed that one obtains subfields when the number of (non-zero) terms is bounded by some fixed infinite cardinality. ==Examples and related topics==