Indefinite sum explained

In the calculus of finite differences, the indefinite sum operator (also known as fractional sums or the antidifference operator), denoted by \sum _x or

\Delta-1

,[1] is the linear operator that is the inverse of the forward difference operator

\Delta

. It relates to the forward difference operator as the indefinite integral relates to the derivative. Thus,[2]

\Delta\sumxf(x)=f(x).

If \sum_x f(x) = F(x) , then

F(x+1)-F(x)=f(x).

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,

\Delta

, and one for the backward difference,

\nabla

. The inverse forward difference, denoted

\Delta-1

, naturally extends the summation up to

x-1

. The inverse backward difference, denoted

\nabla-1

, naturally extends the summation up to

x

.

Fundamental theorem of the calculus of finite differences

Indefinite sums can be used to calculate definite sums with the formula:[3]

b
\sum
k=a

f(k)=\Delta-1f(b+1)-\Delta-1f(a).

Alternatively, using the inverse backward difference operator, the relation is:

b
\sum
k=a

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=

(x)n+1
n+1

+C\left(x\right)

Exponential:

\sumxax=

ax
a-1

+C\left(x\right)   a ≠ 1

Logarithm:

\sumxlnx=ln\Gamma(x)+C\left(x\right)

In the above identities,

C(x)

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

g(x+1)=g(x)+\Deltag(x)

, 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:

b
\sum
i=a

f(i)\Deltag(i)=f(b+1)g(b+1)-f(a)g(a)-

b
\sum
i=a

g(i+1)\Deltaf(i)

Example product of a polynomial and exponentialSummation by parts is effective for functions like

x2x

. To find the indefinite sum, let

f(x)=x

and

\Deltag(x)=2x

:
  1. Find the components:

\Deltaf(x)=(x+1)-x=1

g(x)=\sumx2x=

2x
2-1

=2x

g(x+1)=2x+1

  1. Apply the summation by parts formula:

\sumxx2x=x ⋅ 2x-\sumx2x+1 ⋅ 1

  1. Evaluate the remaining sum:

\sumxx2x=x2x-2x+1+C\left(x\right)

  1. Result:

\sumxx2x=(x-2)2x+C\left(x\right)

Discrete analogs and alternative usage

The inverse forward difference operator,

\Delta-1

, extends the summation up to

x-1

, typically starting with the iterator at

0

:
x-1
\sum
k=0

f(k).

Some authors analytically extend summation for which the upper limit is the argument without a shift, typically starting the iterator at

1

:
x
\sum
k=1

f(k).

In this case, the analytic continuation,

F(x)

, for the sum is a solution of

\nabla-1f(x)

. Stated explicitly, that is:

 F(x)-F(x-1)=f(x).

Some authors use the equivalent form called the telescoping equation:[6]

F(x+1)-F(x)=f(x+1).

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

C

.

Uniqueness of the principal solution

The functional equation

F(x+1)-F(x)=f(x)

does not have a unique solution. If

F1(x)

is a particular solution, then for any function

C(x)

satisfying

C(x+1)=C(x)

(i.e., any 1-periodic function), the function

F2(x)=F1(x)+C(x)

is also a solution. Therefore, the indefinite sum operator defines a family of functions differing by an arbitrary 1-periodic component,

C(x)

.

To select the unique principal solution (German: Hauptlösung)[7] up to an additive constant

C

(instead of up to the additive 1-periodic function

C(x)

) 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

f(z)

is analytic in a vertical strip containing the real axis, and let

F(z)

be an analytic solution of

F(z+1)-F(z)=f(z)

in that strip. To ensure uniqueness, require

F(z)

to be of minimal growth, specifically to be of exponential type less than

2\pi

in the imaginary direction. That is, there exist constants

M>0

and

\epsilon>0

such that

|F(z)|\leqMe(2\pi-\epsilon)|\Im(z)|

as

|\Im(z)|\toinfty

.

Let

F1(z)

and

F2(z)

be two analytic solutions satisfying this growth condition. Their difference

C(z)=F1(z)-F2(z)

is then analytic, 1‑periodic (i.e.,

C(z+1)=C(z)

), and inherits the same exponential type less than

2\pi

.

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

2\pi

.[7] This follows from its Fourier series expansion: if

C(z)

is non‑constant, its Fourier series contains a term

ane2\pi

with

n ≠ 0

, which has type

2\pi|n|\geq2\pi

. Since

C(z)

has type strictly less than

2\pi

, 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

p\ge0

, a function is called

p

-convex if its divided differences of order

p

are non‑negative, and

p

-concave if those divided differences are non-positive. A function is called eventually

p

-convex (resp. eventually

p

-concave) if there exists

M>0

such that it is

p

-convex (resp.

p

-concave) on the interval

(M,infty)

.

Marichal and Zenaïdi proved the following uniqueness theorem, their method requiring the solution to be eventually

p

-convex or

p

-concave.[8] [9]

Theorem. Let

p\ge0

be an integer and let

g:R+\toR

satisfy

\limn\toinfty\Deltapg(n)=0

. If

f:R+\toR

is an eventually

p

-convex or eventually

p

-concave solution of

\Deltaf=g

, then

f

is uniquely determined up to an additive constant. Moreover, for any

x>0

,

f(x)=f(1)+\limn\toinfty\left(

n-1
\sum
k=1

g(k)-

n-1
\sum
k=0

g(x+k)+

p
\sum
j=1

\binom{x}{j}\Deltaj-1g(n)\right),

and the convergence is uniform on bounded subsets of

R+

.

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

x
\sum
k=1

f(k)

to non-integer and complex upper limits

x

. 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:
  1. Continued Summation:
y
\sum
\nu=x

f(\nu)+

z
\sum
\nu=y+1

f(\nu)=

z
\sum
\nu=x

f(\nu)

.
  1. Translation Invariance:
y+s
\sum
\nu=x+s

f(\nu)=

y
\sum
\nu=x

f(\nu+s)

.
  1. Linearity:
y
\sum
\nu=x

(λf(\nu)+\mug(\nu))=λ

y
\sum
\nu=x

f(\nu)+\mu

y
\sum
\nu=x

g(\nu)

.
  1. Empty Sum Condition:
1
\sum
\nu=1

f(\nu)=f(1)

(equivalent to the empty sum condition).
  1. Holomorphy for Monomials: for each

d\inN

,

z\mapsto

z
\sum
\nu=1

\nud

is holomorphic in

C

.
  1. Right-Shift Continuity: if

f(z+n)\to0

pointwise as

n\to+infty

, then
y
\sum
\nu=x

f(\nu+n)\to0

; more generally, if

f(z+n)

can be approximated by polynomials

pn(z+n)

of fixed degree with

|f(z+n)-pn(z+n)|\to0

, then:

\left|

y
\sum
\nu=x

f(\nu+n)-

y
\sum
\nu=x

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

f

is called fractional summable of degree

\sigma

if, for large

n

, the values

f(n+z)

can be approximated by a sequence of polynomials

pn(n+z)

of fixed degree

\sigma

, with the error tending to zero. For such functions, the fractional sum is uniquely given by the limit:
y
\sum
\nu=x

f(\nu)=\limn\toinfty\left(

n
\sum
\nu=1

l(f(\nu+x-1)-f(\nu+y)r)+

n+y
\sum
\nu=n+x

pn(\nu)\right),

where the sum over polynomials is evaluated via the polynomial antidifference formula.

In the simplest case when

f(t)\to0

as

t\toinfty

(i.e., the approximating polynomials are zero), this reduces to:

\nabla-1f(x)=

x
\sum
k=1

f(k)=

infty
\sum
n=1

l(f(n)-f(n+x)r)+C

Symmetry of the principal solution

Following directly from uniqueness, if

f(z)

is a meromorphic function, one can define a unique analytic solution of the backward difference sum, by imposing the conditions that:

F(x)-F(x-1)=f(x)

F(0)=0

(empty sum boundary condition).

F(z)

has exponential type less than

2\pi

in the imaginary direction.Under these conditions,

F(z)

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

\omega

is the span).[11]

Odd functions

If

f(z)

is an odd function (

f(-z)=-f(z)

), the unique analytic solution

F(z)

satisfies:[11]

F(z)=F(-1-z).

This represents a point symmetry about

z=-1/2

.

Even functions

If

f(z)

is an even function (

f(-z)=f(z)

), the unique analytic solution

F(z)

satisfies:[11]

F(z)+F(-1-z)=F(-1)

.

Relationship to indefinite products

See main article: Indefinite product.

In the symbolic method developed by L. M. Milne-Thomson, the indefinite product operator

\prodx

serves as the multiplicative analog to the indefinite sum. It is defined by the first order homogeneous equation

F(x+1)=f(x)F(x).

By taking the logarithm of the product formula, one obtains the telescoping identity

\DeltalnF(x)=lnf(x)

.[12] This allows any indefinite product to be expressed through an indefinite sum:

\prodxf(x)=\varpi(x)\exp\left(\sumxlnf(x)\right),

where

\varpi(x)

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

ln\left(2\right)

[14] the inverse forward difference operator,

\Delta-1f(x)

, can be expressed by its Newton series expansion: [15] [16]

\sumx

infty
f(x)=\sum
k=1

\binom{x}k\Deltak-1f\left

infty
(0\right)+C\left(x\right)=\sum
k=1
\Deltak-1f(0)
k!

(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

D=

d
dx
using the exponential generating function of the Bernoulli numbers:[17] [18] [19]

\Delta^ = \frac = \sum_^ \frac D^,

where

Bv

are the Bernoulli numbers defined by the generating function
t
et-1

=

infty
\sum
v=0

Bv

tv
v!
. Under this convention

B1=-\tfrac12

.

If

f

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

f(x)=xn

one obtains the antidifference:[18]

\sum_x x^n = \frac + C\left(x\right),

where

Bn(x)

are the Bernoulli polynomials of the first order.[18]

If

f

admits a Maclaurin series expansion
infty
f(x)=\sum
n=0
f(n)(0)
n!

xn

, the antidifference of monomials in the series expansion yields the formal series:[19]

\sum_x f(x)= \sum_^ \frac B_n(x) + C\left(x\right).

For non‑polynomials this expansion is generally asymptotic.

Relation to the inverse backward differenceIf one instead expands the inverse backward difference operator,

\nabla-1=

eD
eD-1
(which extends
x
\sum
k=1

f(k)

), it admits to the same expansion, but with

B1=+\tfrac12

in place of

B1=-\tfrac12

.

Euler–Maclaurin formula

See main article: Euler–Maclaurin formula.

The Euler–Maclaurin formula extends

\nabla-1f(x)=

x
\sum
k=1

f(k)

:[20] [21] \begin\nabla^f(x) &= \int_^f(t)dt + \frac \\& \quad + \sum_^ \frac \left(f^(x) - f^(1) \right) + R_p+C\left(x\right)\endwhere

B2k

are the even Bernoulli numbers,

p

is an arbitrary positive integer, and

Rp

is the remainder term given by:

Rp=(-1)p+1

x
\int
1

f(p)(t)

Pp(t)
p!

dt,

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

\Delta-1f(x)

:[22] [23] [24] [25]

\sumx

x
f(x)=\int
0

f(t)dt

infty
-\sum
k=1
ck
k!

\Deltak-1f(x)+C\left(x\right)

where

ck=\int

1
0

(x)kdx

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

n

terms leaves a remainder that can be expressed as an integral of

f(n)

times a periodic Bernoulli polynomial.[24] [25] In the notation of Charles Jordan, Gregory's formula is:[24]

\begin\sum_^z f(x) &= \int_a^z f(x)\,dx \\&\quad - \sum_^n b_m\bigl[\Delta^{m-1}f(z)-\Delta^{m-1}f(a)\bigr] \\&\quad - b_n\,(z-a)\,\Delta^n f(\xi), \quad a<\xiwhere the coefficients

bm

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

\nabla-1f(x)=

x
\sum
k=1

f(k)

can be analytically continued by applying the standard Abel-Plana formula to the finite sum
n
\sum
k=1

f(k)

and then analytically continuing the integer limit

n

to the variable

x

. This yields the formula:[26] \begin\nabla^f(x) &= \int_^f(t)dt+\frac \\& \quad + i\int_^\fracdt + C\left(x\right)\end

This analytic continuation is valid when the conditions for the original formula are met. The sufficient conditions are:[27]

  1. Analyticity:

f(z)

must be analytic in the closed vertical strip between

\Re(z)=1

and

\Re(z)=\Re(x)

. The formula provides the analytic solution up to, but not beyond, the nearest singularities of

f

to the line

\Re(z)=1

.
  1. Growth:

f(z)

must be of exponential type less than

2\pi

in this strip, satisfying

|f(z)|\leqMe(2\pi-\epsilon)|\Im(z)|

for some

M>0

,

\epsilon>0

as

|\Im(z)|\toinfty

.

Choice of the constant term

Analytic continuation of discrete sums

The constant term

C

, 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,

\Delta-1f(x)

, the typical summation equivalent is
x-1
\sum
k=0

f(k)

so the empty sum is when

\Delta-1f(0)=0

as it correlates to
-1
\sum
k=0

f(k).

For the inverse backward difference,

\nabla-1f(x)

, the typical summation equivalent is
x
\sum
k=1

f(k)

so the empty sum is when

\nabla-1f(0)=0

as it correlates to
0
\sum
k=1

f(k).

Normalization

In older texts relating to Bernoulli polynomials (predating more modern analytic techniques) the constant

C

was often fixed using integral conditions.

Let

F(x)=\nabla-1f(x)+C

. Then, the constant

C

is fixed from the condition
0
\int
-1

F(x)dx=0

or
1
\int
0

F(x)dx=0

.

For example,

0
\int
-1
x\left(x+1\right)dx=-
2
1
12
where

\nabla-1x=

x\left(x+1\right)
2

+C(x).

Let

F(x)=\Delta-1f(x)+C

. Then, the constant

C

is fixed from the condition
1
\int
0

F(x)dx=0

or
2
\int
1

F(x)dx=0.

Alternatively, Ramanujan summation can be used:

\Re
\sum
x\ge1

f(x)=-f(0)-F(0).

Or at 1:
\Re
\sum
x\ge1

f(x)=-F(1)

respectively.[28] [29]

See also

Further reading

External links

Notes and References

  1. 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

    Y

    is a function whose first difference is the function

    y

    , then

    Y

    is called an indefinite sum of

    y

    and denoted by

    \Delta-1y

    . .
  2. Book: Kelley . Walter G. . Peterson . Allan C. . Difference Equations: An Introduction with Applications . Academic Press . 2001 . 0-12-403330-X . 20.
  3. "Handbook of discrete and combinatorial mathematics", Kenneth H. Rosen, John G. Michaels, CRC Press, 1999,
  4. Book: Jordan . Charles . Calculus of Finite Differences . 1960 . Chelsea Publishing Company . New York, NY . 104-107 . Second .
  5. Book: Kelley . Walter G. . Peterson . Allan C. . Difference Equations: An Introduction with Applications . Academic Press . 2001 . 0-12-403330-X . 24.
  6. http://www.risc.uni-linz.ac.at/people/mkauers/publications/kauers05c.pdf Algorithms for Nonlinear Higher Order Difference Equations
  7. Book: Nörlund . Niels Erik . Vorlesungen über Differenzenrechnung . Springer . 978-3-642-50514-0 . 40–44 .
  8. 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.
  9. 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 .
  10. 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).
  11. Book: Nörlund . Niels Erik . Vorlesungen über Differenzenrechnung . Springer . 978-3-642-50514-0 . 74 .
  12. Book: Nörlund . Niels Erik . Vorlesungen über Differenzenrechnung . Springer . 978-3-642-50514-0 . 109 .
  13. Book: Milne-Thomson, L. M. . The Calculus of Finite Differences . Macmillan and Co. . 1933 . 324–325 .
  14. Book: Nörlund . Niels Erik . Vorlesungen über Differenzenrechnung . Springer . 978-3-642-50514-0 . 237 .
  15. Newton, Isaac, (1687). Principia, Book III, Lemma V, Case 1
  16. 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.
  17. Book: Steffensen, J. F. . Interpolation . 1950 . Chelsea Publishing Company . New York, NY . 192 . 2nd .
  18. Book: Milne-Thomson, L. M. . The Calculus of Finite Differences . Macmillan and Co. . 1933 . 139–140 .
  19. Book: Nörlund . Niels Erik . Vorlesungen über Differenzenrechnung . Springer . 978-3-642-50514-0 . 142-143 .
  20. Web site: Candelpergher . Bernard . Ramanujan Summation of Divergent Series . HAL Archives Ouvertes . 2017 . 3 . 2025-12-07.
  21. Web site: §2.10 Sums and Sequences . National Institute of Standards and Technology . NIST Digital Library of Mathematical Functions . 2025-11-20.
  22. http://mathworld.wolfram.com/BernoulliNumberoftheSecondKind.html Bernoulli numbers of the second kind on Mathworld
  23. 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.
  24. Book: Jordan . Charles . Calculus of Finite Differences . 1960 . Chelsea Publishing Company . New York, NY . 284-285 . Second .
  25. Book: Milne-Thomson, L. M. . The Calculus of Finite Differences . Macmillan and Co. . 1933 . 180-181 .
  26. Web site: Candelpergher . Bernard . Ramanujan Summation of Divergent Series . HAL Archives Ouvertes . 2017 . 23 . 2025-12-07.
  27. Book: Olver, Frank W. J. . Asymptotics and Special Functions . A K Peters Ltd. . 1997 . 290 . 978-1-56881-069-0.
  28. Bruce C. Berndt, Ramanujan's Notebooks, Ramanujan's Theory of Divergent Series, Chapter 6, Springer-Verlag (ed.), (1939), pp. 133 - 149.
  29. Éric Delabaere, Ramanujan's Summation, Algorithms Seminar 2001–2002, F. Chyzak (ed.), INRIA, (2003), pp. 83–88.