Indefinite sum explained
In the calculus of finite differences, the indefinite sum operator (also known as fractional sums or the antidifference operator), denoted by or
,
[1] is the
linear operator that is the inverse of the forward difference operator
. It relates to the forward difference operator as the
indefinite integral relates to the
derivative. Thus,
[2]
If , then
The solution is not unique; it is determined only up to an additive periodic function with period 1. Therefore, each indefinite sum represents a family of functions.
The Nørlund principal solution represents the analytic solution without any such non-constant periodic terms. Two conventions exist, one for the forward difference,
, and one for the backward difference,
. The inverse forward difference, denoted
, naturally extends the summation up to
. The inverse backward difference, denoted
, naturally extends the summation up to
.
Fundamental theorem of the calculus of finite differences
Indefinite sums can be used to calculate definite sums with the formula:[3]
f(k)=\Delta-1f(b+1)-\Delta-1f(a).
Alternatively, using the inverse backward difference operator, the relation is:
f(k)=\nabla-1f(b)-\nabla-1f(a-1).
Examples
See main article: List of indefinite sums. The following basic indefinite sums follow from the fundamental properties of the difference operator:[4]
Constant:
\sumxc=cx+C\left(x\right)
Falling factorial:
\sumx(x)n=
+C\left(x\right)
Exponential:
\sumxax=
+C\left(x\right) a ≠ 1
Logarithm:
\sumxlnx=ln\Gamma(x)+C\left(x\right)
In the above identities,
represents an arbitrary 1-periodic function (or a constant if the
Nørlund principal solution is assumed).
Summation by parts
See main article: Summation by parts. Indefinite summation by parts is the discrete analog of integration by parts. It is used to find the indefinite sum of a product of two functions:[5] [4]
\sumxf(x)\Deltag(x)=f(x)g(x)-\sumx(g(x)+\Deltag(x))\Deltaf(x)
Using the identity
, this is often written more compactly as:
\sumxf(x)\Deltag(x)=f(x)g(x)-\sumxg(x+1)\Deltaf(x)
A symmetrical form derived from the discrete product rule is:
\sumxf(x)\Deltag(x)+\sumxg(x)\Deltaf(x)=f(x)g(x)-\sumx\Deltaf(x)\Deltag(x)
Definite summation by parts is defined as:
f(i)\Deltag(i)=f(b+1)g(b+1)-f(a)g(a)-
g(i+1)\Deltaf(i)
- Example product of a polynomial and exponentialSummation by parts is effective for functions like
. To find the indefinite sum, let
and
:
- Find the components:
- Apply the summation by parts formula:
\sumxx2x=x ⋅ 2x-\sumx2x+1 ⋅ 1
- Evaluate the remaining sum:
\sumxx2x=x2x-2x+1+C\left(x\right)
- Result:
\sumxx2x=(x-2)2x+C\left(x\right)
Discrete analogs and alternative usage
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
:
In this case, the analytic continuation,
, for the sum is a solution of
. Stated explicitly, that is:
Some authors use the equivalent form called the
telescoping equation:
[6]
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
.
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)[7] 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,[7] 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.
Suppose
is analytic in a vertical strip containing the real axis, and let
be an analytic solution of
in that strip. To ensure uniqueness, 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
|F(z)|\leqMe(2\pi-\epsilon)|\Im(z)|
as
.
Let
and
be two analytic solutions satisfying this growth condition. 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 and the Paley–Wiener theorem) which states that a non‑constant periodic entire function must have exponential type at least
.
[7] 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.
Real analysis (higher‑order convexity)
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.
[8] [9] Theorem. Let
be an integer and let
satisfy
\limn\toinfty\Deltapg(n)=0
. If
is an eventually
-convex or eventually
-concave solution of
, then
is uniquely determined up to an additive constant. Moreover, for any
,
f(x)=f(1)+\limn\toinfty\left(
g(k)-
g(x+k)+
\binom{x}{j}\Deltaj-1g(n)\right),
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[10], 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 that uniquely determine the extension of fractional sums for functions that grow polynomially, S1 through S6 are as follows:
- Continued Summation:
.
- Translation Invariance:
.
- Linearity:
(λf(\nu)+\mug(\nu))=λ
f(\nu)+\mu
g(\nu)
.
- 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:
\left|
f(\nu+n)-
pn(\nu+n)\right|\to0
.
This axiomatic framework assumes that for sufficiently large inputs, the indefinite sum behaves like a polynomial (S5); this asymptotic behavior is then "stepped back" to the rest of the complex plane using translation invariance (S2) and continuity (S6) to uniquely determine the analytic continuation.
A function
is called
fractional summable of degree
if, for large
, the values
can be approximated by a sequence of polynomials
of fixed degree
, with the error tending to zero. For such functions, the fractional sum is uniquely given by the limit:
f(\nu)=\limn\toinfty\left(
l(f(\nu+x-1)-f(\nu+y)r)+
pn(\nu)\right),
where the sum over polynomials is evaluated via the polynomial antidifference formula.
In the simplest case when
as
(i.e., the approximating polynomials are zero), this reduces to:
\nabla-1f(x)=
f(k)=
l(f(n)-f(n+x)r)+C
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:
(empty sum boundary condition).
has
exponential type less than
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
G\left(x-\omega|-\omega\right)=G\left(x|\omega\right),
F\left(x-\omega|-\omega\right)=F\left(x|\omega\right)
where
is the span).
[11] Odd functions
If
is an odd function (
), the unique analytic solution
satisfies:
[11]
This represents a point symmetry about
.
Even functions
If
is an even function (
), the unique analytic solution
satisfies:
[11]
.
Relationship to indefinite products
See main article: Indefinite product.
In the symbolic method developed by 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
.
[12] This allows any indefinite product to be expressed through an indefinite sum:
\prodxf(x)=\varpi(x)\exp\left(\sumxlnf(x)\right),
where
is an arbitrary periodic function of period 1.
[13] Conversely, an indefinite sum may be represented as the logarithm of an indefinite product:
\sumxf(x)=ln\left(\prodx\exp(f(x))\right)+C(x).
Expansions and definitions
Newton series
For an entire function of exponential type less than
[14] the inverse forward difference operator,
, can be expressed by its Newton series expansion:
[15] [16] \sumx
\binom{x}k\Deltak-1f\left
| infty |
| (0\right)+C\left(x\right)=\sum | |
| k=1 |
(x)k+C\left(x\right).
| (x) | |
| | k= | \Gamma(x+1) | | \Gamma(x-k+1) |
|
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:
[17] [18] [19]
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 differenceIf one instead expands the inverse backward difference operator,
(which extends
), it admits to the same expansion, but with
in place of
.
Euler–Maclaurin formula
See main article: Euler–Maclaurin formula.
The Euler–Maclaurin formula extends
:
[20] [21] where
are the even
Bernoulli numbers,
is an arbitrary positive integer, and
is the remainder term given by:
with
Pp(t)=Bp(t-\lfloort\rfloor)
being the periodized Bernoulli function related to the
Bernoulli polynomials.
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
:
[22] [23] [24] [25] \sumx
f(t)dt
\Deltak-1f(x)+C\left(x\right)
where
are the Cauchy numbers of the first kind.
| (x) | |
| | k= | \Gamma(x+1) | | \Gamma(x-k+1) |
|
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.
[24] [25] In the notation of Charles Jordan, Gregory's formula is:
[24]
are the Bernoulli numbers of the second kind. Note the argument is without a shift, aligning with the inverse backward difference.
Abel–Plana formula
See main article: 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:
[26] This analytic continuation is valid when the conditions for the original formula are met. The sufficient conditions are:[27]
- 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
|f(z)|\leqMe(2\pi-\epsilon)|\Im(z)|
for some
,
as
.
Choice of the constant term
Analytic continuation of discrete sums
The constant term
, in the context of indefinite sums naturally extending the discrete summation, is often defined based on the respective
empty sum.
For the inverse forward difference,
, the typical summation equivalent is
so the empty sum is when
as it correlates to
For the inverse backward difference,
, the typical summation equivalent is
so the empty sum is when
as it correlates to
Normalization
In older texts relating to Bernoulli polynomials (predating more modern analytic techniques) the constant
was often fixed using integral conditions.
Let
. Then, the constant
is fixed from the condition
or
.
For example,
where
Let
. Then, the constant
is fixed from the condition
or
Alternatively, Ramanujan summation can be used:
Or at 1:
respectively.
[28] [29] See also
Further reading
- "Difference Equations: An Introduction with Applications", Walter G. Kelley, Allan C. Peterson, Academic Press, 2001,
- 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
Notes and References
- Book: Goldberg
, Samuel
. Introduction to Difference Equations, with Illustrative Examples from Economics, Psychology, and Sociology . 1986 . 1958 . Dover Publications . New York . 41 . 978-0-486-65084-5 . 0094249 . If
is a function whose first difference is the function
, then
is called an indefinite sum of
and denoted by
. .
- Book: Kelley . Walter G. . Peterson . Allan C. . Difference Equations: An Introduction with Applications . Academic Press . 2001 . 0-12-403330-X . 20.
- "Handbook of discrete and combinatorial mathematics", Kenneth H. Rosen, John G. Michaels, CRC Press, 1999,
- Book: Jordan . Charles . Calculus of Finite Differences . 1960 . Chelsea Publishing Company . New York, NY . 104-107 . Second .
- Book: Kelley . Walter G. . Peterson . Allan C. . Difference Equations: An Introduction with Applications . Academic Press . 2001 . 0-12-403330-X . 24.
- http://www.risc.uni-linz.ac.at/people/mkauers/publications/kauers05c.pdf Algorithms for Nonlinear Higher Order Difference Equations
- Book: Nörlund . Niels Erik . Vorlesungen über Differenzenrechnung . Springer . 978-3-642-50514-0 . 40–44 .
- Marichal . Jean‑Luc . Zenaïdi . Naïm . A generalization of Bohr‑Mollerup's theorem for higher order convex functions: a tutorial . . 98 . 2 . 455–481 . 2024 . 10.1007/s00010-023-00968-9 . 2207.12694.
- Book: Marichal . Jean‑Luc . Zenaïdi . Naïm . A Generalization of Bohr‑Mollerup's Theorem for Higher Order Convex Functions . Developments in Mathematics . 70 . Springer . 2022 . 10.1007/978-3-030-95088-0 . 978-3-030-95087-3 .
- 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).
- Book: Nörlund . Niels Erik . Vorlesungen über Differenzenrechnung . Springer . 978-3-642-50514-0 . 74 .
- Book: Nörlund . Niels Erik . Vorlesungen über Differenzenrechnung . Springer . 978-3-642-50514-0 . 109 .
- Book: Milne-Thomson, L. M. . The Calculus of Finite Differences . Macmillan and Co. . 1933 . 324–325 .
- Book: Nörlund . Niels Erik . Vorlesungen über Differenzenrechnung . Springer . 978-3-642-50514-0 . 237 .
- Newton, Isaac, (1687). Principia, Book III, Lemma V, Case 1
- Three notes on Ser's and Hasse's representations for the zeta-functions. Iaroslav V. Blagouchine. Integers (Electronic Journal of Combinatorial Number Theory). 18A. 1–45. 2018. 10.5281/zenodo.10581385 . 1606.02044.
- Book: Steffensen, J. F. . Interpolation . 1950 . Chelsea Publishing Company . New York, NY . 192 . 2nd .
- Book: Milne-Thomson, L. M. . The Calculus of Finite Differences . Macmillan and Co. . 1933 . 139–140 .
- Book: Nörlund . Niels Erik . Vorlesungen über Differenzenrechnung . Springer . 978-3-642-50514-0 . 142-143 .
- Web site: Candelpergher . Bernard . Ramanujan Summation of Divergent Series . HAL Archives Ouvertes . 2017 . 3 . 2025-12-07.
- Web site: §2.10 Sums and Sequences . National Institute of Standards and Technology . NIST Digital Library of Mathematical Functions . 2025-11-20.
- http://mathworld.wolfram.com/BernoulliNumberoftheSecondKind.html Bernoulli numbers of the second kind on Mathworld
- Book: Ferraro, Giovanni . The Rise and Development of the Theory of Series up to the Early 1820s . 2008 . Springer Science+Business Media, LLC . 248 . 978-0-387-73468-2.
- Book: Jordan . Charles . Calculus of Finite Differences . 1960 . Chelsea Publishing Company . New York, NY . 284-285 . Second .
- Book: Milne-Thomson, L. M. . The Calculus of Finite Differences . Macmillan and Co. . 1933 . 180-181 .
- Web site: Candelpergher . Bernard . Ramanujan Summation of Divergent Series . HAL Archives Ouvertes . 2017 . 23 . 2025-12-07.
- Book: Olver, Frank W. J. . Asymptotics and Special Functions . A K Peters Ltd. . 1997 . 290 . 978-1-56881-069-0.
- Bruce C. Berndt, Ramanujan's Notebooks, Ramanujan's Theory of Divergent Series, Chapter 6, Springer-Verlag (ed.), (1939), pp. 133 - 149.
- Éric Delabaere, Ramanujan's Summation, Algorithms Seminar 2001–2002, F. Chyzak (ed.), INRIA, (2003), pp. 83–88.