In the calculus of finite differences, the indefinite sum (or antidifference operator), denoted by or ,12 is the linear operator that inverts the forward difference operator That is, if , then satisfies the functional equation
so that applying the forward difference recovers the original function:3 The operator thus plays the same role for finite differences that the indefinite integral plays for the derivative.
An indefinite sum is not unique: adding any 1-periodic function (satisfying ), the function is also a solution. Therefore, an indefinite sum is unique up to a 1-periodic function instead of up to a constant as the indefinite integral is.
To obtain the unique solution up to a constant , one must impose additional analytic constraints. The Nørlund principal solution is the unique analytic solution that has the minimal possible exponential type (that is, its growth in the imaginary direction on the complex plane is the minimal possible), filtering out any non-constant periodic component.4 Other methods include higher-order convexity or concavity conditions in real analysis, or using axioms and complex analysis to step back the function's behavior from a neighborhood of infinity in which it behaves polynomially.
For integer arguments, the indefinite sum naturally extends ordinary summation, turning a discrete sum into a continuous function. Many such extensions are well-known special functions.
Forward and backward difference conventions

The inverse forward difference operator, (), extends the summation up to , typically starting with the iterator at :
Some authors analytically extend summation for which the upper limit is the argument without a shift, typically starting the iterator at :567
In this case, the analytic continuation, , for the sum is a solution of . Stated explicitly, that is:
Which follows from the discrete counterpart:
Some authors use the equivalent form called the telescoping equation:8
The lower bounds of the discrete analog for both inverse forward difference and inverse backward difference can be an arbitrary constant other than those listed here, as it is absorbed into the height of the 1-periodic or constant term .
Fundamental theorem of the calculus of finite differences
Indefinite sums can be used to calculate definite sums with the formula:9
Alternatively, using the inverse backward difference operator, the relation is:
Examples
The following basic indefinite sums follow from the fundamental properties of the difference operator, where represents an arbitrary 1-periodic function (or a constant if the Nørlund principal solution is assumed):10
- Constant:
- Exponential:
- Logarithm:
- Powers:11
where are the Bernoulli polynomials (via Abel-Plana, Hurwitz zeta, or as defined by their recurrence; not the definition by generating functions), is the Hurwitz zeta function, and is the digamma function. This is related to the generalized harmonic numbers. Combined with series expansions (such as Taylor series) or partial fraction decomposition, the power formula allows the indefinite summation of many analytic functions and rational functions (term-wise, through the linearity of the operator).
Falling factorials
Falling factorials provide the discrete analog of the power rule from differential calculus. In infinitesimal calculus, . In the calculus of finite differences, the falling factorial
plays the role of , and the forward difference operator satisfies
The indefinite sum of a falling factorial is given by the discrete analog of the power rule for integration:
Equivalently, using the Gamma function:
For the case where , the solution is the digamma function with a shift, , which naturally extends the harmonic numbers.
Example: Sum of the first squares. Using and the indefinite sum formula above,
Applying the fundamental theorem of the calculus of finite differences,
Expanding the falling factorials,
and simplifying yields the formula
Summation by parts
Indefinite summation by parts is the discrete analog of integration by parts. It is derived from the product rule for the forward difference operator.
Product rule. For two functions and , the product rule for the forward difference is:
Introducing the shift operator , defined by , this can be written more compactly as:
Summation by parts. Rearranging the product rule gives:
Taking the indefinite sum of both sides and using the fact that (where is an arbitrary 1‑periodic function) yields the formula for summation by parts:1210
A symmetrical form, also obtained from the product rule, is:
Definite summation by parts. For definite sums from to , the formula becomes:
Example: product of a polynomial and an exponential13
Summation by parts is effective for functions like . To find the indefinite sum , let and . Then:
Applying the summation by parts formula:
The remaining sum is elementary:
Hence the indefinite sum (antidifference) is
To evaluate the definite sum from to , we use the fundamental theorem with the forward difference inverse:
Substituting the expression for :
Thus, for any non‑negative integer ,
Uniqueness of the principal solution
The functional equation does not have a unique solution. If is a particular solution, then for any function satisfying (i.e., any 1-periodic function), the function is also a solution. Therefore, the indefinite sum operator defines a family of functions differing by an arbitrary 1-periodic component, .
To select the unique principal solution (German: Hauptlösung)4 up to an additive constant (instead of up to the additive 1-periodic function ) one must impose additional constraints.
Complex analysis (exponential type)
Following the theory developed by Niels Erik Nørlund,4 the indefinite sum can be uniquely determined for analytic functions by imposing restriction on their growth in the complex plane. Specifically, by imposing minimal growth, the non-constant periodic terms can be filtered out.
The usual formulation assumes that the summand is analytic in a vertical strip containing a portion of the real line. However, when has singularities (including those extending into the imaginary direction), a single vertical strip cannot contain the entire real axis. Instead, these singularities create vertical boundaries that split the domain into disjoint connected components. For example, poles at prevent a single strip from crossing the imaginary axis, splitting the domain at into disjoint connected half-planes.
Nørlund’s theory provides a principal solution in each connected component that contains a segment of the real line. While these infinite vertical strips can be shifted horizontally to evaluate the function, they cannot cross the singularities without the recurrence relation causing the singularities to repeat (e.g. digamma). Thus, each connected component's principal solution contains no singularities in its respective connective component, but contains singularities that recur outwards into outer disjoint connected components.
The solution that contains the largest defined portion of the discrete sum being extended is then considered the disjoint connected component defining the canonical principal solution. This usually becomes, in practice, the right half-plane.
Suppose is analytic in a vertical strip containing a segment of the real axis, and let be an analytic solution of in that strip. To ensure uniqueness within that strip, require to be of minimal growth, specifically to be of exponential type less than in the imaginary direction. That is, there exist constants and such that as .1415
Let and be two analytic solutions satisfying this growth condition on the same connected component. Their difference is then analytic, 1-periodic (i.e., ), and inherits the same exponential type less than .
Nørlund uses a fundamental result in complex analysis (related to Carlson's theorem, the Phragmén–Lindelöf principle, and the Paley–Wiener theorem) which states that a non-constant periodic entire function must have exponential type at least .4 This follows from its Fourier series expansion: if is non-constant, its Fourier series contains a term with , which has type . Since has type strictly less than , it cannot contain any such term and therefore must be constant. Hence, on any fixed connected component where the growth condition holds, the solution is unique up to a constant.
The exponential type less than in the imaginary direction on condition is sufficient but not strictly necessary. Nørlund's general definition of the principal solution is the analytic solution having Fourier components of the minimal possible exponential type for the given ( of slowest possible growth in the complex plane).4 If has exponential type in imaginary direction, then the principal solution will also have type in that strip, provided it converges. For example, has exponential type ; its principal solution exists and has type , even though .1610
When has exponential type exactly for some non-zero integer in every strip where it is analytic (e.g. has type ; its antidifference contains in the denominator10) the principal solution fails to exist (or is undefined everywhere) because it resonates with the kernel of the difference operator:171819 In all other cases (i.e., when is meromorphic and on some vertical strip that contains a segment of the real line and its exponential type is not an integer multiple of ) the principal solution exists and is uniquely determined (up to a constant) on that connected component. Different components may give distinct branches; the canonical branch is the one analytic on the component containing the positive integers.
Example: Partitioning disjoint connected components ()
Consider the meromorphic function . Its poles at split the complex plane into two maximal vertical strips that each contain a segment of the real line: the right half-plane and the left half-plane . We construct the Nørlund principal solution of the backward difference equation with empty-sum normalization on each strip.
Right half-plane (). Partial fractions give
The digamma function satisfies for all . For the arguments and never hit a non-positive integer, so the identity is valid at every term of the sum:
Because , the two terms are complex conjugates, and the expression simplifies to a real function:
The non-simplified function is analytic on the whole right half-plane, and . Within this strip the difference equation holds for every in the respective connected component (half-plane). If one attempts to continue across the imaginary axis by the recurrence , poles appear at -integer shifts of the original singularities that lie in the left half-plane.
Left half-plane (). Using the reflection , the analogous solution on the left half-plane is
For the argument has a positive real part, so it never equals ; the digamma identity applies and the difference equation is satisfied for all in the strip. Again the non-simplified function is analytic on the whole left half-plane. Extending this solution to the right via the recurrence would introduce poles at , which lie in the right half-plane outside the original strip.
Summary:
| Domain | Principal solution (inverse backward difference, ) |
|---|---|
The two expressions are analytic on their respective strips and give distinct principal solutions. The poles of the digamma function, which would violate the identity , are never reached inside the respective domains. However, the recurrence propagates the original singularities of by integer steps, so any attempt to analytically continue one branch into the other component introduces poles.
Real analysis (higher‑order convexity and concavity)
In real analysis, the uniqueness condition can be given using higher‑order convexity, generalizing the Bohr-Mollerup theorem. For an integer , a function is called -convex if its divided differences of order are non‑negative, and -concave if those divided differences are non-positive. A function is called eventually -convex (resp. eventually -concave) if there exists such that it is -convex (resp. -concave) on the interval .
Marichal and Zenaïdi proved the following uniqueness theorem, their method requiring the solution to be eventually -convex or -concave.2021
Theorem. Let be an integer and let satisfy . If is an eventually -convex or eventually -concave solution of , then is uniquely determined up to an additive constant. Moreover, for any ,
and the convergence is uniform on bounded subsets of .
Müller–Schleicher axiomatic method
In their paper How to Add a Noninteger Number of Terms,5 Müller and Schleicher introduced an axiomatic approach to fractional summation with a real or complex number of terms. Their method extends the classical discrete sum
to non-integer and complex upper limits . The definition is built upon six natural axioms:
- Continued Summation: .
- Translation Invariance: .
- Linearity: .
- Empty Sum Condition: (equivalent to the empty sum condition).
- Holomorphy for Monomials: for each , is holomorphic in .
- Right-Shift Continuity: if pointwise as , then ; more generally, if can be approximated by polynomials of fixed degree with , then:
- .
Axioms S1–S4 force the sum to align with the ordinary finite sum when the limits are integers. Axiom S5 forces monomials to behave the same way under the generalization of fractional sums. Axiom S6 is the crucial axiom which allows one to "step back" the asymptotic region to determine the fractional sum in a finite interval. The exact conditions for the method to work are, as stated in the Definition 1.2 of the paper:
Let and . A function will be called fractional summable of degree if the following conditions are satisfied:
- for all
- there exists a sequence of polynomials of fixed degree such that for all
- as
- for every the limit
exists.
In the simplest case when as (i.e., the approximating polynomials are zero), this reduces to:
Symmetry of the principal solution
Following directly from uniqueness, if is a meromorphic function, one can define a unique analytic solution of the backward difference sum, by imposing the conditions that:
- Difference Equation:
- Normalization: (empty sum boundary condition).
- Growth constraint: has the minimal possible exponential type in the imaginary direction.
Under these conditions, satisfies a reflection formula (referred to by Nørlund as Ergänzungssatz, a complementary theorem to uniqueness of the principal solution [Hauptlösung], presenting it as where is the span).16 From Nørlund’s Ergänzungssatz for the principal solution, one obtains the following symmetry for the inverse backward difference when the summand is odd or even under the condition via direct application (setting ).

Odd functions
Assume is an odd function () and that a principal solution exists. Define . Using the difference equation and oddness,
so is 1-periodic. Because has minimal exponential type, does as well; by Nørlund’s uniqueness theorem, a non-constant 1-periodic function of type must be constant. Hence is constant. Evaluating at with and (oddness) gives , so . Therefore , yielding
a point symmetry about . For example, gives .16
Even functions
If is an even function () with a principal solution , define . Then
so again is a constant 1-periodic function. Setting gives the constant: . Consequently,
Choice of the constant term
Because the indefinite sum is defined only up to an arbitrary 1-periodic function, the constant must be fixed by an additional condition. Three common choices are the empty sum condition, an integral mean condition that identifies the result with the classical Bernoulli polynomials, and Ramanujan summation.
Empty sum boundary condition
The most direct method forces the indefinite sum to extend the usual discrete sum and to satisfy the empty sum convention. This is the same as

- Inverse backward difference
- corresponds to . The convention makes the sum over an empty interval zero.510
- Inverse forward difference
- corresponds to . The same convention yields .
These conditions determine the solution uniquely up to an additive constant. For example,11
Here, is the constant such that .
Integral mean condition
In the study of Faulhaber's formula and the Euler–Maclaurin formula, it is convenient to identify the indefinite sum of a monomial with the corresponding Bernoulli polynomial. The Bernoulli polynomials are defined by the generating function
together with the normalization
This property follows from the difference equation and the integration formula , derived by Nørlund22 and found in standard references.
To match this convention, the constant is fixed by requiring that the solution have zero mean over a unit interval. For the inverse backward difference one may use
and for the inverse forward difference
Example. For , the condition gives . Hence with , consistent with the Bernoulli normalization.
This normalization is not mandatory; in modern treatments the empty sum condition is usually preferred. This is usually used in context of Bernoulli polynomials, the Hurwitz or Riemann zeta functions, generalized harmonic number function, or when dealing with monomials.
Relationship to indefinite products
In the symbolic method developed by Niels Erik Nørlund and L. M. Milne-Thomson, the indefinite product operator serves as the multiplicative analog to the indefinite sum. It is defined by the first order homogeneous equation
By taking the logarithm of the product formula, one obtains the telescoping identity .23 This allows the indefinite product to be expressed through an indefinite sum:
where is an arbitrary periodic function of period 1.24 This representation is valid provided a branch of the logarithm can be chosen so that is single-valued and its indefinite sum exists. Conversely, an indefinite sum may be represented as the logarithm of an indefinite product:
Expansions and definitions
Abel–Plana formula
The indefinite sum can be analytically continued by applying the standard Abel-Plana formula to the finite sum and then analytically continuing the integer limit to the variable . This yields the formula:7
This analytic continuation is valid when the conditions for the original formula are met. The sufficient conditions are:1415
- Analyticity: must be analytic in the closed vertical strip between and . The formula provides the analytic solution up to, but not beyond, the nearest singularities of to the line
- Growth: must be of exponential type less than in this strip, satisfying for some , as
Example: Step size generalization
Let be a real step size and suppose satisfies the standard Abel–Plana conditions on the appropriate strips.
Apply the Abel–Plana formula to the function with upper limit :
Now subtract the last term from both sides, because
:
Simplify the boundary terms:
In the real integral, substitute , , limits , :
The imaginary part is already in a convenient form; by reordering the terms it becomes:
Thus we obtain the step size generalization:
where is a -periodic function. The expression satisfies and, with the empty sum convention (or up to another constant convention; being a constant function), defines the Nørlund principal solution where the growth condition on becomes type after the scaling.
Newton series
For an entire function of exponential type less than 25 the inverse forward difference operator, , can be expressed by its Newton series expansion: 2627
- is the falling factorial.
Bernoulli‑operator series expansion
Formally, the inverse forward difference operator can be expressed in terms of the derivative operator using the exponential generating function of the Bernoulli numbers:171819
where are the Bernoulli numbers defined by the generating function . Under this convention .
If is a polynomial, only finitely many terms of the series are non-zero as the finite difference of a monomial is a polynomial of one degree lower (following by induction, finitely many terms are required). For one obtains the antidifference:18
where are the Bernoulli polynomials of the first order.18
If admits a Maclaurin series expansion , the antidifference of monomials in the series expansion yields the formal series:19
For non‑polynomials this expansion is generally asymptotic.
- Relation to the inverse backward difference
If one instead expands the inverse backward difference operator, (which extends ), it admits to the same expansion, but with in place of .
Euler–Maclaurin formula
The Euler–Maclaurin formula provides an asymptotic expansion for the inverse backward difference when the function is sufficiently smooth. For any positive integer , one has:614
where are the Bernoulli numbers (, ), and the remainder term is
with the periodized Bernoulli polynomial. The terms with odd vanish, so the sum effectively runs only over even indices. Choosing gives the form
with the remainder
The formula gives the analytic continuation of the discrete sum.
Laplace summation (Gregory summation formula)
Laplace's summation formula, closely related to the Gregory summation formula, can be seen as the discrete counterpart to the Euler–Maclaurin formula. The inverse forward difference :28291330
- where are the Cauchy numbers of the first kind.
- is the falling factorial.
Truncating the series after terms leaves a remainder that can be expressed as an integral of times a periodic Bernoulli polynomial.1330 In the notation of Charles Jordan, Gregory's formula is:13
where the coefficients are the Bernoulli numbers of the second kind. Note the argument is without a shift, aligning with the inverse backward difference.
See also
See also
References
References
- Man, Yiu-Kwong (1993), "On computing closed forms for indefinite summations", Journal of Symbolic Computation, 16 (4): 355–376, doi:10.1006/jsco.1993.1053, MR 1263873
- Goldberg, Samuel (1986) [1958]. Introduction to Difference Equations, with Illustrative Examples from Economics, Psychology, and Sociology. New York: Dover Publications. p. 41. ISBN 978-0-486-65084-5. MR 0094249.
If is a function whose first difference is the function , then is called an indefinite sum of and denoted by .
- Kelley, Walter G.; Peterson, Allan C. (2001). Difference Equations: An Introduction with Applications. Academic Press. p. 20. ISBN 0-12-403330-X.
- Nörlund, Niels Erik. Vorlesungen über Differenzenrechnung. Springer. pp. 40–44. ISBN 978-3-642-50514-0.
- Markus Müller and Dierk Schleicher, How to Add a Noninteger Number of Terms: From Axioms to New Identities, Amer. Math. Mon. 118(2), 136-152 (2011).
- Candelpergher, Bernard (2017). "Ramanujan Summation of Divergent Series" (PDF). HAL Archives Ouvertes. p. 3. Retrieved 2025-12-07.
- Candelpergher, Bernard (2017). "Ramanujan Summation of Divergent Series" (PDF). HAL Archives Ouvertes. p. 23. Retrieved 2025-12-07.
- Algorithms for Nonlinear Higher Order Difference Equations, Manuel Kauers
- "Handbook of discrete and combinatorial mathematics", Kenneth H. Rosen, John G. Michaels, CRC Press, 1999, ISBN 0-8493-0149-1
- Jordan, Charles (1960). Calculus of Finite Differences (Second ed.). New York, NY: Chelsea Publishing Company. pp. 104–107.
- Candelpergher, Bernard (2017). "Ramanujan Summation of Divergent Series" (PDF). HAL Archives Ouvertes. pp. 18–23.
- Kelley, Walter G.; Peterson, Allan C. (2001). Difference Equations: An Introduction with Applications. Academic Press. p. 24. ISBN 0-12-403330-X.
- Jordan, Charles (1960). Calculus of Finite Differences (Second ed.). New York, NY: Chelsea Publishing Company. pp. 284–285.
- "§2.10 Sums and Sequences". NIST Digital Library of Mathematical Functions. National Institute of Standards and Technology. Retrieved 2025-11-20.
- Olver, Frank W. J. (1997). Asymptotics and Special Functions. A K Peters Ltd. p. 290. ISBN 978-1-56881-069-0.
- Nörlund, Niels Erik. Vorlesungen über Differenzenrechnung. Springer. pp. 73–74. ISBN 978-3-642-50514-0.
- Steffensen, J. F. (1950). Interpolation (2nd ed.). New York, NY: Chelsea Publishing Company. p. 192.
- Milne-Thomson, L. M. (1933). The Calculus of Finite Differences. Macmillan and Co. pp. 139–140.
- Nörlund, Niels Erik. Vorlesungen über Differenzenrechnung. Springer. pp. 142–143. ISBN 978-3-642-50514-0.
- Marichal, Jean‑Luc; Zenaïdi, Naïm (2024). "A generalization of Bohr‑Mollerup's theorem for higher order convex functions: a tutorial". Aequationes Mathematicae. 98 (2): 455–481. arXiv:2207.12694. doi:10.1007/s00010-023-00968-9.
- Marichal, Jean‑Luc; Zenaïdi, Naïm (2022). A Generalization of Bohr‑Mollerup's Theorem for Higher Order Convex Functions. Developments in Mathematics. Vol. 70. Springer. doi:10.1007/978-3-030-95088-0. ISBN 978-3-030-95087-3.
- Nörlund, Niels Erik. Vorlesungen über Differenzenrechnung. Springer. p. 19. ISBN 978-3-642-50514-0.
- Nörlund, Niels Erik. Vorlesungen über Differenzenrechnung. Springer. p. 109. ISBN 978-3-642-50514-0.
- Milne-Thomson, L. M. (1933). The Calculus of Finite Differences. Macmillan and Co. pp. 324–325.
- Nörlund, Niels Erik. Vorlesungen über Differenzenrechnung. Springer. p. 237. ISBN 978-3-642-50514-0.
- Newton, Isaac, (1687). Principia, Book III, Lemma V, Case 1
- Iaroslav V. Blagouchine (2018). "Three notes on Ser's and Hasse's representations for the zeta-functions" (PDF). Integers (Electronic Journal of Combinatorial Number Theory). 18A: 1–45. arXiv:1606.02044. doi:10.5281/zenodo.10581385.
- Bernoulli numbers of the second kind on Mathworld
- Ferraro, Giovanni (2008). The Rise and Development of the Theory of Series up to the Early 1820s. Springer Science+Business Media, LLC. p. 248. ISBN 978-0-387-73468-2.
- Milne-Thomson, L. M. (1933). The Calculus of Finite Differences. Macmillan and Co. pp. 180–181.
Further reading
Further reading
- "Difference Equations: An Introduction with Applications", Walter G. Kelley, Allan C. Peterson, Academic Press, 2001, ISBN 0-12-403330-X
- Markus Müller. How to Add a Non-Integer Number of Terms, and How to Produce Unusual Infinite Summations
- Markus Mueller, Dierk Schleicher. Fractional Sums and Euler-like Identities
- S. P. Polyakov. Indefinite summation of rational functions with additional minimization of the summable part. Programmirovanie, 2008, Vol. 34, No. 2.
- "Finite-Difference Equations And Simulations", Francis B. Hildebrand, Prenctice-Hall, 1968
External links
External links
- Brian Hamrick: Discrete Calculus (PDF, 70 kB)
- Interactive visualization of the Nörlund principal solution for inverse backward differences. Implements Candelpergher's analytic continuation (Abel-Plana formula with recurrence) for visualizing Nörlund's principal solution.