Abstract
Bousquet-Mélou and Petkovšek investigated the generating functions of multivariate linear recurrences with constant coefficients. We will give a reinterpretation of their results by means of division theorems for formal power series, which clarifies the structural background and provides short, conceptual proofs. In addition, extending the division to the context of differential operators, the case of recurrences with polynomial coefficients can be treated in an analogous way.
Keywords: Formal power series, Power series division, Linear recurrence equation, Multivariate sequence, -finite recurrence, -finite recurrence, Perfect operator
We study multivariate linear recurrences in variables which define a -dimensional sequence with values in (we assume it to be a field of characteristic zero). Given such a sequence we would like to obtain information about the nature of its generating function, a -variate power series. In the simplest case where and the recurrence has constant coefficients it is well known that the generating function is always a rational function. But already in two variables, still restricting the coefficients of the recurrence to be constants, the generating function can be rational, algebraic, -finite and even non--finite, as it is shown in the remarkable work by Bousquet-Mélou and Petkovšek [3]. We will reinterpret the functional equation for the generating function as a division with remainder. This allows us to formulate the proofs in a uniform and elegant way using division theorems, and thus to shed a new light on Bousquet-Mélou and Petkovšek’s results.
In the second part we will turn to multivariate linear recurrences with polynomial coefficients (-finite recurrences). The framework introduced in the first two sections will be extended by considering the division by a differential operator. We will demonstrate that -finite recurrences are closely related to the concept of perfect operators which enables us to state a result about the convergence of the generating function. However, the situation now is much more involved and therefore we do not believe that similarly nice results as for recurrences with constant coefficients can be stated. Nevertheless we believe that our work gives new insight and a better understanding of such multivariate generating functions.
We use bold letters to denote vectors where power products (monomials) are written as . The scalar product is denoted by and by we refer to the sum of the entries . The support of a formal power series is the set of all monomials whose coefficients are nonzero. By we denote the set of all power series with support in . When we speak of a weight vector, we refer to an element of with positive components. A weight vector with -linearly independent components induces a total order on as well as on the set of monomials in : and if . The initial monomial of a power series with respect to a weight vector is defined to be the -minimal element of .
1. Recurrences with constant coefficients
We study the sequence , which is a -dimensional sequence in and which is defined by the recurrence
| (1) |
where is the starting point of the recurrence and is a finite set of shifts that occur in the recurrence; we require that . In other words, the values of the sequence in the shifted positive quadrant are computed via the recurrence relation, whereas all other values are given as initial conditions specified by the function . For this section we restrict the coefficients to be constants in . To ensure that this way of defining a sequence makes sense we have to pose an additional condition formulated in the following theorem.
Theorem 1
If there exists a weight vector with positive components such that for all , then the recurrence (1) has a unique solution.
Proof
The proof can be found in [3]. □
Next we define the apex of the recurrence (1) to be the vector with . A small example might serve to illustrate the above definitions.
Example 1
Fig. 1 illustrates the 2-dimensional situation for the shifts with starting point and apex . The area is shaded; in the L-shaped area outside of it the values of the sequence must be given as initial conditions. The weight vector matches the conditions of Theorem 1 since all points lie below the line that is perpendicular to going through the point .
Fig. 1.

Example of a bivariate recurrence.
The objective now is to determine properties of the generating function in terms of the given initial conditions and the recurrence relation. We will concentrate on the “most interesting part” of the generating function, namely on . We can easily relate these two functions by . A functional equation for can be deduced in a rather straightforward manner (for details see [3]):
| (2) |
where
Having a closer look at these quantities we observe:
-
•
is a polynomial that is given by the recurrence relation (the characteristic polynomial of the recurrence).
-
•
is known since it contains only coefficients which are given by the initial value function . Note that is in fact a formal power series, i.e., no negative exponents occur: The exponents of have the form with , hence . Recall that has only nonnegative components.
-
•
is also a formal power series but is unknown. Its exponents have the form with . Hence but also has only nonnegative entries. Thus no negative exponents occur. Furthermore, from we can conclude that and therefore the support of fulfills .
The Eq. (2) involves two unknown series, namely and , and two given ones, and . It is now immediate to write (2) in a slightly different way:
| (3) |
This is nothing else but a Euclidean division of power series with remainder: The formal power series is divided by the polynomial yielding the quotient and the remainder . Since we are dealing with multivariate power series we have to fix a monomial order. We choose that one induced by the weight vector from Theorem 1 in order to make the initial monomial of : From it follows that for all , and therefore is -minimal in . Note that the division works as soon as the initial monomial is fixed, no matter whether has -linear independent entries or not. We have observed that , and this matches exactly the necessary support condition that is imposed on the remainder of the Euclidean division. In the next section we will demonstrate in detail how the power series division works and how it applies to reproduce the results of Bousquet-Mélou and Petkovšek.
2. Division of formal power series
The division (3) can be carried out explicitly by generalizing the usual Euclidean division with remainder in to the ring of multivariate power series (Weierstraß division). We interpret the division by a power series as a perturbation of the division by its initial monomial. Let us have a short look on a special case:
Example 2
The division of a power series by a monomial , , is equivalent to the direct sum decomposition (viewed as vector spaces). For the division we get where the remainder has to fulfill the condition . Note that is isomorphic to , again when viewed as vector spaces.
In a straightforward manner this example can be extended to the division by a power series with initial monomial (w.r.t. some monomial order on ), and one gets . This can be seen as follows: We consider the map and show that it is a -linear isomorphism. We split this map into such that and . Clearly is a -linear isomorphism due to the definition of (see Example 2). Thus is an isomorphism if and only if is an isomorphism. This is the case if and only if the geometric series “converges”, in other words if the limit exists in the formal power series sense. This is indeed the case because the orders of the summands tend to infinity: let with ; then the initial monomial of is strictly -larger than the initial monomial of . Therefore the initial monomials of the sequence grow larger and larger, too.
In our setting where the division (3) arises from a recurrence, we are in fact not interested in performing the division explicitly, because we can obtain its result (i.e., a power series representation of the generating function) by just applying the recurrence relation. Instead we are interested in deducing properties of the generating function. The first result of this flavor (Theorem 12 in [3]) is straightforward.
Theorem 2
Assume that the recurrence (1) has apex . The generating function is rational if and only if the initial condition function is a rational function.
Proof
From the support condition it follows immediately that and Eq. (3) simplifies to . □
Assume that is a complete valued field, e.g. or . We call a power series over convergent if it defines an analytic function in a neighborhood of the origin , i.e., if it converges for all points of such a neighborhood. The ring of convergent power series is denoted by . The Weierstrass division theorem and its extension by Grauert–Hironaka–Galligo to ideals of convergent power series [13,10,11,4,5] then provides sufficient conditions for the generating function to be convergent. We only formulate the theorem in the case of the division by one series:
Theorem 3
Let be any complete valued field, and let be a convergent power series. Let be the initial monomial of with respect to some monomial order on . Then
Proof
For a power series and a real number , we define . It is clear that if and only if there exists an such that . The space of with forms a Banach space.
As before we consider the map . For sufficiently small , this map restricts to the respective Banach spaces and . Then the convergence of the geometric series follows if we show that the restrictions of have operator norm for sufficiently small . This can be shown in a few lines using the fact that the norm of the initial monomial of a series is the largest one among the monomials of its expansion [11]. □
We conclude that the solution of (3) is a convergent power series if the initial conditions constitute a convergent series . This has been proven in Theorem 7 of [3].
A power series is called algebraic, if there exists a polynomial such that , or, more explicitly, if there are polynomials such that
Let denote the subalgebra of algebraic power series. In order to deal with this case one can employ the Lafon–Hironaka division theorem:
Theorem 4
Let and let be the initial monomial of with respect to some monomial order where . Then
Proof
This is somewhat more delicate to show, see [16,12] for details. The condition on cannot be omitted as shows an example of Gabber and Kashiwara: dividing by with initial monomial yields a transcendent remainder series. This example reappears in a different disguise in the article of [3]. □
A constructive version of the algebraic division theorem using polynomial codes of algebraic power series has been developed in [1].
In particular, the theorem implies that in the division (3) the quotient and the remainder are algebraic, provided that is algebraic and the initial monomial of involves only one variable. Hence, if the apex of (1) has exactly one nonzero component and if the initial conditions constitute an algebraic power series , then the generating function is algebraic. This has been proven in Theorem 13 of [3].
Example 3
Recently [15,2] the study of Gessel walks has drawn a lot of interest. In short, these are walks in starting at the origin and using only steps from the step set . One defines to be the number of walks that end at point after steps. The step set immediately gives rise to the recurrence
Its characteristic polynomial is . Note that the recurrence–as it is given above–cannot be used to define the sequence properly since the required initial values and are not known a priori (this issue, however, can be easily avoided by shifting the whole array, i.e., by considering a new sequence that equals for and that is defined to be 0 otherwise). On the other hand, this recurrence has apex , and therefore Theorem 4 is not applicable. For these reasons the recurrence is rewritten as follows:
Now the set of shifts is , the apex is , and the characteristic polynomial has changed sign. The starting point is canonically chosen to be and a weight vector fitting the conditions of Theorem 1 is . An easy calculation yields
If we succeeded to prove that the initial condition function is algebraic, we could conclude by Theorem 4 that the full generating function for the Gessel walks is algebraic. After it was shown in [15] that the generating function of is holonomic, Bostan and Kauers [2] have proven this remarkable algebraicity result.
3. Recurrences with polynomial coefficients
We are now turning to -finite recurrences, i.e., recurrences with polynomial coefficients , that can be written in the following form:
| (4) |
The existence of a unique solution for -finite recurrences can be stated in a similar way as in Theorem 1 for constant coefficient recurrences:
Corollary 5
If there exists a weight vector with positive components such that for all , and if additionally the polynomial has no integer root in , then the -finite recurrence (4) has a unique solution.
In contrast to Theorem 1, we additionally require that the polynomial does not have integer roots in the region where the recurrence relation is applied (this condition is trivially fulfilled for constant coefficients). If it happens that does have an integer root there, the whole recursion would break down. This situation can often be avoided by an adequate choice of the starting point . In the case this is always possible, whereas for there are instances for which there is no such . In the following we will always assume that the recurrence fulfills the conditions of the corollary. It is a well-known fact that a -finite recurrence translates to a differential equation for the generating function. We want to recall briefly how this can be performed.
Let denote the falling factorial where is defined to be 1. The falling factorials constitute a basis for the polynomial ring via the formula where denote the Stirling numbers of the second kind. For several variables the falling factorial is defined by , and obviously also any multivariate polynomial can be written in terms of falling factorials . We first rewrite the polynomial coefficients using (shifted) falling factorials:
with certain constants and a finite index set .
Let again denote the generating function and let denote the set . Then the recurrence (4) rewrites as follows:
The partial differential operator now plays the rôle of the polynomial from before. The power series
is known since it is determined by the given initial conditions. The series
is unknown and satisfies the support condition as before. Analogously to Eq. (2) we get
| (5) |
A closer inspection of the differential operator will reveal an important property: perfectness. Before doing so, we want to review briefly the theory of perfect differential operators and their division (cf. [7]).
4. Perfect differential operators
We consider linear partial differential operators with polynomial coefficients of the form where denotes the -th Weyl algebra, i.e., the noncommutative polynomial algebra in and respect to the commutation rule . Such an operator defines a -linear map . The differences with are called the shifts of . A differential operator is called a monomial operator if all its summands have the same shift ; this is equivalent to saying that the operator maps monomials to monomials. A monomial operator can be represented in the form where is called the coefficient function. For example, the monomial operator has the coefficient function and the shift :
A monomial subspace is a vector subspace of for which there is a set such that is formed by all power series with support in . The canonical monomial direct complement of is the vector subspace of power series with support in the complement .
The initial form of with respect to a weight vector , denoted by , is defined by , where is the minimal shift of (i.e., is minimal). Clearly is a monomial operator; we denote its coefficient function with . Let denote the tail of the operator, i.e., . We say that the initial form dominates if there exists a constant such that for all with for some , and all with , we have .
A differential operator is called perfect if for any there exists an such that . In other words, if for all power series the initial monomial of lies in the image of . The image is spanned by the monomials where is the shift of .
Example 4
Let . The involved shifts are and . We choose a weight vector such that and get the initial form with coefficient function . We see that for , hence the image is spanned (as a vector space) by the monomials . This operator is not perfect since, e.g., applied to gives .
The example also illustrates that in general it can be impossible to decide whether an operator is perfect or not: The computation of requires to solve a diophantine equation.
Example 5
Consider now the operator with being the same as in Example 4, but now . Clearly we have which implies that in this case is perfect.
Note that the concept of perfect operators is more subtle than these two examples suggest. For more details we refer to [6,7] from where we cite a division theorem for differential operators (in fact a specialized version that is sufficient for our setting):
Theorem 6
Let be either or . Let be a perfect differential operator and let be its initial form with respect to some weight vector . Choose the canonical direct monomial complements of and of in . In the case of convergent power series, assume in addition that is dominated by . Then we have the direct sum decompositions
5. Back to -finite recurrences
From Theorem 6 we learned that for a perfect differential operator the division exists and is unique; furthermore we have that , the direct monomial complement of . The next proposition relates this fact to the statement of Corollary 5.
Proposition 7
A differential operator
that arises from a recurrence which is of type (4) and satisfies the conditions of Corollary 5 is perfect.
Proof
All summands in any of the operators have the only shift . It does not change when is converted to the standard form by means of the commutation rule . Thus all the ’s are monomial operators. Let be a weight vector such that for all . Then is the monomial operator with the minimal shift, hence we have and . The coefficient function of the initial form turns out to be . Since the polynomial does not have any zeros in by assumption, we see that for all . Consequently which matches the support condition for . The kernel of is 0, hence
and this proves that is perfect. □
We conclude that the division (5) has always a unique solution. This corresponds exactly to the statement of Corollary 5 which asserts that the recurrence has a unique solution.
Using Theorem 6 we can state a result concerning the convergence in the -finite case:
Corollary 8
The generating function is a convergent power series if the operator corresponding to its recurrence relation is dominated by its initial form. This is the case when the polynomial dominates all the polynomials , i.e., there is a constant such that for all we have
Proof
Recall that is dominated by its initial form if for all and some , and occurs as an exponent of in . The correspondence has been established in the proof of Proposition 7, and the translation of the coefficients into falling factorials has been demonstrated in Section 3. □
Note that the condition in Corollary 8 is only sufficient but not necessary for the convergence of the generating function.
6. Examples and outlook
In order to illustrate the statements of the previous sections we choose the Eulerian numbers (see, e.g., [9, Chapter 6.2]):
Example 6
The recurrence
(6) defines the Eulerian numbers, together with the initial conditions for and for . Since we have it is natural to choose the starting point . The generating function in question is . The known part, the initial condition function, is . From the apex being it follows that . The differential operator corresponding to recurrence (6) is
By plugging in a truncated power series expansion of we convince ourselves that indeed holds.
Gnedin and Olshanski [8] studied nonnegative solutions of the dual recurrence; the dual (or backwards) recurrence is obtained by changing the signs of all shifts. The problem is now to describe initial conditions for the dual recurrence such that its solution does not involve negative values.
Example 7
By inverting the shifts of (6) we produce the dual recurrence . Gnedin and Olshanski are interested in the solutions for and with respect to the normalization . The remaining initial conditions for have to be determined in a way such that the solution consists of nonnegative entries only.
Applying our method to the dual recurrence , with and apex , delivers the differential operator
from which we must not expect that it is perfect because the dual recurrence does not match the conditions of Corollary 5. Indeed, is not perfect! We choose the weight vector ; the initial form of is and its image . But with initial monomial being .
Instead, we perform the linear transformation such that the solution lies in the whole first quadrant and obtain the recurrence
(7) together with the normalization condition . The natural starting point is , the apex is and we observe that the leading coefficient does not become 0 for any point in , so all conditions of Corollary 5 are fulfilled. Hence the corresponding differential operator for (7)
is perfect. The power series that encodes the initial conditions is
The task is now to determine all possible for which the division (5) yields a power series solution with nonnegative coefficients. This seems to be an interesting research problem.
It would be nice if we could also state some results about the algebraicity of the generating function. But here even the univariate case is still open: The famous Grothendieck–Katz -curvature conjecture [14,17] asserts that a linear differential equation in the variable with coefficients in admits a complete system of algebraic solutions if and only if the differential equation reduced modulo also has a complete system of algebraic solutions over for almost all .
Acknowledgments
The authors would like to thank Marko Petkovšek and the anonymous referees for their valuable suggestions and corrections. The first author was supported by the Austrian Science Fund (FWF): P21461. The second author was supported by the Austrian Science Fund (FWF): P20162-N18.
Contributor Information
Herwig Hauser, Email: herwig.hauser@uibk.ac.at.
Christoph Koutschan, Email: Koutschan@risc.jku.at.
References
- 1.M.E. Alonso, F.C. Jimenez, H. Hauser, Effective algebraic power series, 2005, Preprint. http://www.hh.hauser.cc.
- 2.Bostan A., Kauers M. The complete generating function for Gessel walks is algebraic. Proceedings of the American Mathematical Society. 2010;138(9):3063–3078. [Google Scholar]
- 3.Bousquet-Mélou M., Petkovšek M. Linear recurrences with constant coefficients: the multivariate case. Discrete Mathematics. 2000;225(1):51–75. [Google Scholar]
- 4.Galligo A. À propos du théorème de préparation de Weierstrass. Lecture Notes in Mathematics. 1974;409:543–579. Séminaire François Norguet, à la mémoire d’André Martineau. [Google Scholar]
- 5.Galligo A. Théorème de division et stabilité en géométrie analytique locale. Annales de l’Institut Fourier. 1979;29(2):107–184. [Google Scholar]
- 6.S. Gann, Polynomiale und formale Lösungen linearer partieller Differentialgleichungen, Ph.D. Thesis, Universität Innsbruck, 2006.
- 7.Gann S., Hauser H. Perfect bases for differential equations. Journal of Symbolic Computation. 2005;40:979–997. [Google Scholar]
- 8.Gnedin A., Olshanski G. The boundary of the Eulerian number triangle. Moscow Mathematical Journal. 2006;6(3):461–475. [Google Scholar]
- 9.Graham R.L., Knuth D.E., Patashnik O. Addison-Wesley; Reading, Massachusetts: 1989. Concrete Mathematics. [Google Scholar]
- 10.Grauert H. Über die Deformation isolierter Singularitäten analytischer Mengen. Inventiones Mathematicae. 1972;15:171–198. [Google Scholar]
- 11.Hauser H., Müller G. A rank theorem for analytic maps between power series spaces. Institut des Hautes Études Scientifiques. Publications Mathématiques. 1994;80:95–115. [Google Scholar]
- 12.Hironaka H. Algebraic Geometry, The Johns Hopkins Centennial Lectures. 1977. Idealistic exponents of singularity; pp. 52–125. [Google Scholar]
- 13.Hironaka H. Stratification and flatness. Real and Complex Singularities; Proc. Ninth Nordic Summer School/NAVF Sympos. Math., Oslo, 1976; Alphen aan den Rijn: Sijthoff and Noordhoff; 1977. pp. 199–265. [Google Scholar]
- 14.Katz N. A conjecture in the arithmetic theory of differential equations. Bulletin de la Société Mathématique de France. 1982;110:203–239. [Google Scholar]
- 15.Kauers M., Koutschan C., Zeilberger D. Proof of Ira Gessel’s lattice path conjecture. Proceedings of the National Academy of Sciences USA. 2009;106(28):11502–11505. [Google Scholar]
- 16.Lafon J.-P. Séries formelles algébriques. Comptes Rendus de l’Académie des Sciences Paris. 1965;260:3238–3241. [Google Scholar]
- 17.Vizio L.D., Ramis J.-P., Sauloy J., Zhang C. Équations aux -différences. Gazette des mathématiciens. 2003;96:20–49. [Google Scholar]
