Skip to main content
Proceedings of the National Academy of Sciences of the United States of America logoLink to Proceedings of the National Academy of Sciences of the United States of America
. 2003 Jan 6;100(2):426–433. doi: 10.1073/pnas.0237168100

The Euler–Maclaurin formula for simple integral polytopes

Yael Karshon †,‡, Shlomo Sternberg §,, Jonathan Weitsman
PMCID: PMC141011  PMID: 12515861

Abstract

We give a Euler–Maclaurin formula with remainder for the sum of a smooth function on the integral points in a simple integral lattice polytope. Our proof uses elementary methods.

The Classical Formulas in Modern Garb

Let f be a function of class C2k+1 on the real line. The classical Euler–Maclaurin formula computes the sum of the values of f over the integer points in an interval with integer end points in terms of the integral of f over variations of that interval and a remainder term that involves the integral of f(2k+1) times a periodic function over the interval. Explicitly, let Td be the formal power series

graphic file with name M1.gif 1

so that Td(−S) is the exponential generating function for the Bernoulli numbers bk,

graphic file with name M2.gif

(We follow the notation of ref. 1.) Let

graphic file with name M3.gif

so that

graphic file with name M4.gif

Because b2k+1 = 0 for k > 0, the only difference between Td(S) and L(S) is the absence of the linear term in L(S). We also have

graphic file with name M5.gif

because this last power series can be written as

graphic file with name M6.gif

We will denote the truncation of the power series L(S) (which involves only even powers of S) at the even integer 2k by L2k(S). Then, setting D = ∂/∂x,

graphic file with name M7.gif

is a differential operator with constant coefficients involving only even-order derivatives. In particular, if g is a function with 2k continuous derivatives, then

graphic file with name M8.gif 2

If f is any function on the real line and a < b are integers, we set

graphic file with name M9.gif

If f is a function of compact support, we extend this notation to the half ray [a, ∞) by writing

graphic file with name M10.gif

The classical Euler–Maclaurin summation formula with remainder for a function f of class C2k+1 can be written as

graphic file with name M11.gif 3

where

graphic file with name M12.gif

and

graphic file with name M13.gif

with

graphic file with name M14.gif

where B2k+1 is the (2k + 1)th Bernoulli polynomial. Indeed, other than minor changes in notation, this is formula 298 in ref. 2. If f is a polynomial, this becomes an exact formula when 2k + 1 is greater than the degree of f. Notice that Eq. 3, when applied to a C2k+1 function of compact support, says that

graphic file with name M15.gif 4

for either choice of +/−, where

graphic file with name M16.gif

and

graphic file with name M17.gif

Indeed, we need only choose b so large that the support of f is contained in [a, b − 1] and then apply Eqs. 3 and 2. Conversely, if we know Eq. 4 for functions of compact support, then we can deduce Eq. 3. Indeed, multiply f by a smooth function of compact support, which is one in a neighborhood of [a, b], and observe that

graphic file with name M18.gif 5

when applied to a function of compact support.

A slight variant on Eq. 3 is

graphic file with name M19.gif 6

which can be derived from Eq. 3 by adding (1/2)(f(a) + f(b)) to both sides. This formula also obviously becomes exact when applied to a polynomial and k is sufficiently large.

The early references to the Euler–Maclaurin formula are Euler (3, 4) and Maclaurin (5), although apparently Poisson (6) was the first to consider the remainder.

Some Recent Results

A polytope in ℝn is called integral if its vertices are in the lattice ℤn; it is called simple if exactly n edges emanate from each vertex; and it is called regular if, additionally, the edges emanating from each vertex lie along lines that are generated by a ℤ basis of the lattice ℤn.

Kantor and Khovanskii (79) generalized the classical exact Euler–Maclaurin formula for polynomials to higher dimensional convex polytopes Δ, which are integral and regular. In fact, their formula is a generalization of the exact version of Eq. 6: Let d denote the number of facets (faces of codimension one) of the polytope Δ, and let Δ(h1, … , hd) denote the polytope obtained from Δ by expanding outward a distance hi in the direction of the ith facet. More precisely, if the polytope is described by the inequalities

graphic file with name M20.gif 7

where the ui are primitive elements of the dual lattice, then Δ(h) is defined as the polytope given by

graphic file with name M21.gif 8

Their formula then asserts that for any polynomial p

graphic file with name M22.gif 9

When applied to the constant polynomial p ≡ 1, this formula computes the number of lattice points in Δ in terms of the volumes of “dilations” of Δ. Pommersheim (10) proved a similar formula for tetrahedra that are not necessarily regular. The Kantor–Khovanskii formula was generalized to polytopes that are integral and simple by Cappell and Shaneson (refs. 1113 and S. E. Cappell and J. L. Shaneson, personal communication), and subsequently by Guillemin (14) and by Brion and Vergne (15). Cappell and Shaneson used their theory of characteristic classes of singular varieties and had the key idea of using the operator L as we do here; Guillemin used the Kawasaki–Riemann–Roch formula on symplectic toric orbifolds; and Brion and Vergne used Fourier analysis. All these generalizations involve “corrections” when the simple polytope is not regular. They are all exact formulas. Cappell and Shaneson (personal communication) have also investigated the problem of deriving a formula with remainder. The approach we suggest here is elementary.

The Weighted Lawrence Decomposition of a Simple Polytope

If Δ is a polytope, we let 1Inline graphic denote the function which is zero on the exterior of Δ, is one on the interior of Δ, and on the boundary of Δ takes the values

graphic file with name M24.gif

where c(x) is the codimension of the smallest dimensional face containing x. Thus, for example, for an interval [a, b] on the line, the function 1Inline graphic assigns the value one to points a < x < b, zero to points outside the interval, and 1/2 to the points a and b. We use a similar definition for a polyhedral cone.

Let Δ be a polytope in a vector space V and F a face of Δ. The tangent cone to Δ at F is

graphic file with name M26.gif

The polytope is the intersection of half-spaces,

graphic file with name M27.gif

where the Hi are given by the inequalities (Eq. 7), where d is the number of facets. The facets are then

graphic file with name M28.gif

For each face F, we let IF ⊆ {1, … , d} encode the set of facets that contain F so that

graphic file with name M29.gif

We assume that Δ is simple, so the number of elements in IF is equal to the codimension of F. The relation

graphic file with name M30.gif

is order (inclusion)-reversing. The tangent cone at a face F is then

graphic file with name M31.gif

For a vertex v, let αi,v for iIv be an edge vector at v, which does not belong to the facet labeled by i. (At the moment, these vectors are only determined up to a positive scalar. Later, when discussing integral polytopes, we will make a more specific choice of the edge vectors.) In terms of the edge vectors, the tangent cone at the vertex is

graphic file with name M32.gif

Let

graphic file with name M33.gif

be all the different codimension-one subspaces of ℝn that are perpendicular to edge vectors αj,v for Δ. (For instance, if no two edges of Δ are parallel, then the number N of such hyperplanes is equal to the number of edges of Δ.) The connected components of the complement

graphic file with name M34.gif 10

are called chambers. A vector ξ is in a chamber if and only if the pairings 〈αi,v, ξ〉 are all nonzero. The signs of these pairings only depend on the chamber containing ξ. We choose such an element ξ, call it a “polarizing vector,” and think of it as defining the “upward” direction in ℝn. We polarize the edge vectors so that they all point “down”: For each vertex v of Δ and each edge vector αi,v emanating from v, we define the polarized edge vector to be

graphic file with name M35.gif 11

Consider the cone

graphic file with name M36.gif

By a weighted version of the Lawrence theorem (16), for any choice of polarizing vector we have

graphic file with name M37.gif 12

where #v denotes the number of edge vectors whose signs were changed by the polarizing process (Eq. 11). This theorem can be proved by elementary geometry and is illustrated for the case of a triangle in Fig. 1.

Figure 1.

Figure 1

The Lawrence theorem.

For any function f on ℝn we define

graphic file with name M38.gif

We make a similar definition for polyhedral cones if f is a function of compact support (or a function that vanishes sufficiently rapidly at infinity along the cone). For such a function we have, as a consequence of Eq. 12,

graphic file with name M39.gif 13

The Euler–Maclaurin Formula for Regular Integral Polytopes

Let O denote the standard closed orthant in ℝn, so O = ∏Inline graphic≥0. For any function f of compact support we have

graphic file with name M41.gif

Thus, if we iterate Eq. 4 we obtain a Euler–Maclaurin formula with remainder for the standard orthant and a C2k+1 function of compact support: For any choice of the +/− signs we have

graphic file with name M42.gif 14

where Di = (∂/∂hi), where O(h1, … , hn) = {x|xi ≥ −hi} denotes the shifted orthant, and in the remainder RInline graphic(f) is given by

graphic file with name M44.gif 15

where the sum is over all subsets I of {1, … , n} with I ≠ {1, … , n}. This remainder can be expressed as a sum of integrals, over various faces of the orthant, of periodic functions times various partial derivatives of f of order no less than 2k + 1.

A regular integral orthant C is the image of the standard orthant O via an affine transformation of the form

graphic file with name M45.gif

If ni is the basis of (ℝn)* dual to the standard basis of ℝn so that O(h1, … , hn) is given by the inequalities 〈x, ni〉 + hi ≥ 0, then the image of O(h1, … , hn) under A is given by the inequalities

graphic file with name M46.gif

We denote this expanded orthant by C(h). If f is a C2k+1 function of compact support and g = A*f = fA, then

graphic file with name M47.gif

and thus

graphic file with name M48.gif

Thus we have a Euler–Maclaurin formula for regular orthants,

graphic file with name M49.gif 16

where

graphic file with name M50.gif

We may multiply the differential operator occurring in the first term in the above expression by any number of operators of the form L2k(D), where the D are differentiations with respect to variables other than the hi, because all that will remain of these operators is the constant term 1, all actual differentiations yielding zero. This remark allows us to write down a Euler–Maclaurin formula for a regular integral polytope by means of the weighted Lawrence theorem: Indeed, if Δ is a regular integral polytope and we choose a polarizing vector, then we have

graphic file with name M51.gif
graphic file with name M52.gif
graphic file with name M53.gif
graphic file with name M54.gif

where

graphic file with name M55.gif 17

Notice that both

graphic file with name M56.gif

and

graphic file with name M57.gif

do not depend on the choice of polarization, and both vanish on any function f with support that is disjoint from the polytope. Thus, the same must be true of the remainder. We have proved:

Theorem 1.

Let Δ be a regular integral polytope and f a C2k+1 function of compact support. Then

graphic file with name M58.gif

where SInline graphic(f) is given by Eq. 17. This remainder is independent of the choice of polarization and is a distribution supported on the polytope Δ.

Simple Polytopes

To give a Euler–Maclaurin formula for simple integral polytopes we need a Euler–Maclaurin formula for simple orthants. Then we can apply the weighted Lawrence theorem, Eq. 12, to go from orthants to polytopes. For a simple polytope, there are n edges emanating from each vertex and n facets meeting at each vertex. If, in addition, all the vertices of the polytope are integral, we can choose the n − 1 vectors emanating from a vertex and spanning a facet to have integer entries, and this, in turn, implies that the vector u defining the hyperplane containing this facet as the solution to 〈x, u〉 + λ = 0 can be chosen to have rational entries with respect to the dual lattice. This follows from Cramer's rule. So we will define a simple orthant to consist of an intersection of n half spaces, as in Eq. 7 with d = n, and such that the ui are rational vectors. By clearing denominators we may assume that the ui are actually integral, and we shall impose the additional normalization condition that the ui are primitive elements of the dual lattice, meaning that no ui can be expressed as a multiple of a lattice element by an integer greater than one. This fixes our choice of the ui. If the lattice spanned by the ui is in fact the entire dual lattice, then the orthant is regular. However, in the simple case, all we know is that the ui span a sublattice of the dual lattice of finite index.

We want to study the Euler–Maclaurin formula for a simple orthant C, and for simplicity in notation, let us temporarily assume that the vertex of C is at the origin and that our vector space is ℝn with its standard basis consisting of column vectors such that the dual space consists of row vectors. We have the basis u1, … , un consisting of integral primitive row vectors. We will now choose the edge vectors αi as the dual basis to that of the ui, i.e., 〈αi, uj〉 = δij and C = ∑ ℝ≥0αi. The lattice ∑ ℤαi is finer than the lattice ℤn; in particular, the αi need not lie in ℤn. The matrix U, the rows of which are the ui, carries the basis αi into the standard basis: Uαi = ei, and thus

graphic file with name M60.gif

the standard orthant. For any f of compact support, we have

graphic file with name M61.gif

where

graphic file with name M62.gif

Let Ξ denote the lattice spanned by the ui, and let Γ denote the finite group

graphic file with name M63.gif

This group is the character group of the group (spanαi)/ℤn, which is isomorphic to ℤn/Un via the map U. In more detail, if γ ∈ Γ, and we choose a representative γ̃ in ℤn of γ, then the function

graphic file with name M64.gif

defines a character on ℤn, which is independent of the choice of representative γ̃ and is identically one on Un and only on Un. Hence, by a theorem of Frobenius on finite groups, we can conclude that the function

graphic file with name M65.gif

vanishes on ℤnUn and is identically one on Un. Also,

graphic file with name M66.gif

Thus

graphic file with name M67.gif

We can interchange the order of summation on the right and apply the Euler–Maclaurin formula (Eq. 14) to each summand (over Γ). The nonremainder piece of each summand will be

graphic file with name M68.gif

Setting x = Uy, so dx = |det U|dy, we obtain (18)

graphic file with name M69.gif

where RInline graphic is the remainder RInline graphic given by (15) applied to the function

graphic file with name M72.gif

In order to convert (Eq. 18) into a form to which the Lawrence theorem applies, we must replace the operators L(Di), which are applied to the integral of f × (an exponential) with operators applied to the integral of f (with a consequent change in the remainder). This involves two steps: (i) a modification of the Euler–Maclaurin formula in one dimension that takes the exponential into account and thus a generalization of the functions P2k+1 and (ii) a careful dissection of the groups Γ occurring at each vertex to prove that the resulting exact terms involve only even powers of the Di. The details will be presented elsewhere.

Finally we remark that our methods give an alternative proof of the exact version of the Euler–Maclaurin formula in the case of a simple polytope as in the work of refs. 11, 14, and 15. If f(z) = ex,z, where z is a vector in the complexified dual space such that Re z is a polarizing vector and we choose the corresponding polarization, and if furthermore ∥z∥ is sufficiently small, then we may apply the exact version of Eq. 18 to each polarized orthant. We may also explicitly compute the integrals. The resultant formula then can be manipulated by some algebra to yield the exact results of Cappell and Shaneson, Guillemin, and Brion and Vergne. Details will also be presented elsewhere. For some related results see refs. 1720.

Acknowledgments

This work was partially supported by United States–Israel Binational Science Foundation Grant 2000352 (to Y.K. and J.W.), National Science Foundation Grant DMS-99/71914 (to J.W.), and a University of California faculty research grant (to J.W.).

References

  • 1.Bourbaki N. Functions d'Une Variable Réele. Paris: Hermann; 1951. pp. 127–142. [Google Scholar]
  • 2.Knopp K. Theory and Application & Infinite Series. New York: Dover; 1928. p. 524. [Google Scholar]
  • 3. Euler, L. (1732) Commentarii Acad. Petrop. 6.
  • 4. Euler, L. (1736) Commentarii Acad. Petrop. 8.
  • 5.Maclaurin C. A Treatise of Fluxions. Edinburgh: Ruddimans; 1742. [Google Scholar]
  • 6. Poisson, S. D. (1823) Memoires Acad. Sci. 6.
  • 7.Kantor J-M, Khovanskii A. Integral Points in Convex Polyhedra, Combinatorial Riemann-Roch Theorem and Generalized Euler–Maclaurin Formula. 1992. , preprint IHES/M/932/37. [Google Scholar]
  • 8.Khovanskii A, Pukhlikov S. Algebra i Analiz. 1992;4:188–216. ; trans. (1993) St. Petersburg Math. J. 4, 789–812 (Russian). [Google Scholar]
  • 9.Kantor J M, Khovanskii A. C R Acad Sci Ser I. 1993;317:501–507. [Google Scholar]
  • 10.Pommersheim J E. Math Ann. 1993;295:1–24. [Google Scholar]
  • 11.Cappell S E, Shaneson J L. Bull Am Math Soc. 1994;30:62–69. [Google Scholar]
  • 12.Cappell S E, Shaneson J L. C R Acad Sci Ser I. 1995;321:885–890. [Google Scholar]
  • 13.Shaneson J. In: Proceedings of the International Congress of Mathematicians, Zurich. Chatterji S D, editor. Basel: Birkhauser; 1994. [Google Scholar]
  • 14.Guillemin V. J Differ Geom. 1997;45:53–73. [Google Scholar]
  • 15.Brion M, Vergne M. J Am Math Soc. 1997;10:371–392. [Google Scholar]
  • 16.Lawrence J. Math Comp. 1991;57:259–271. [Google Scholar]
  • 17.Barvinok A, Pommersheim J E. Math Sci Res Inst Publ. 1999;38:91–147. [Google Scholar]
  • 18.Morelli R. Adv Math. 1993;100:183–231. [Google Scholar]
  • 19.Morelli R. Adv Math. 1993;97:1–73. [Google Scholar]
  • 20.Diaz R, Robins S. Ann Math. 1997;145:503–518. [Google Scholar]

Articles from Proceedings of the National Academy of Sciences of the United States of America are provided here courtesy of National Academy of Sciences

RESOURCES