Article · Wikipedia archive · Last revised Jun 5, 2026

Indefinite sum

In the calculus of finite differences, the indefinite sum, denoted by or , is the linear operator that inverts the forward difference operator That is, if , then satisfies the functional equation

Last revised
Jun 5, 2026
Read time
≈ 44 min
Length
10.2k w
Citations
58
Source

In the calculus of finite differences, the indefinite sum (or antidifference operator), denoted by x {\textstyle \sum _{x}} or Δ 1 {\displaystyle \Delta ^{-1}} ,12 is the linear operator that inverts the forward difference operator Δ f ( x ) = f ( x + 1 ) f ( x ) . {\displaystyle \Delta f(x)=f(x+1)-f(x).} That is, if x f ( x ) = F ( x ) {\displaystyle \sum _{x}f(x)=F(x)} , then F {\displaystyle F} satisfies the functional equation

F ( x + 1 ) F ( x ) = f ( x ) , {\displaystyle F(x+1)-F(x)=f(x),}

so that applying the forward difference recovers the original function:3 Δ x f ( x ) = f ( x ) . {\displaystyle \Delta \sum _{x}f(x)=f(x).} 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 C ( x ) {\displaystyle C(x)} (satisfying C ( x + 1 ) = C ( x ) {\displaystyle C(x+1)=C(x)} ), the function F ( x ) + C ( x ) {\displaystyle F(x)+C(x)} is also a solution. Therefore, an indefinite sum is unique up to a 1-periodic function C ( x ) {\displaystyle C(x)} instead of up to a constant C {\displaystyle C} as the indefinite integral is.

To obtain the unique solution up to a constant C {\displaystyle C} , 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

A comparison of the indefinite sum operators to their discrete counterparts. The inverse backward difference of x is shown in yellow, and the inverse forward difference of x is shown in blue (both with respect to x). source ↗

The inverse forward difference operator, Δ 1 {\displaystyle \Delta ^{-1}} ( F ( x + 1 ) F ( x ) = f ( x ) {\displaystyle F(x+1)-F(x)=f(x)} ), extends the summation up to x 1 {\displaystyle x-1} , typically starting with the iterator at 0 {\displaystyle 0} :

k = 0 x 1 f ( k ) . {\displaystyle \,\sum _{k=0}^{x-1}f(k).}

Some authors analytically extend summation for which the upper limit is the argument without a shift, typically starting the iterator at 1 {\displaystyle 1} :567

k = 1 x f ( k ) . {\displaystyle \,\sum _{k=1}^{x}f(k).}

In this case, the analytic continuation, F ( x ) {\displaystyle F(x)} , for the sum is a solution of 1 f ( x ) {\displaystyle \nabla ^{-1}f(x)} . Stated explicitly, that is:

  F ( x ) F ( x 1 ) = f ( x ) , {\displaystyle \ F(x)-F(x-1)=f(x),}

Which follows from the discrete counterpart:

k = 1 x f ( k ) k = 1 x 1 f ( k ) = f ( x ) . {\displaystyle \sum _{k=1}^{x}f(k)-\sum _{k=1}^{x-1}f(k)=f(x).}

Some authors use the equivalent form called the telescoping equation:8

F ( x + 1 ) F ( x ) = f ( x + 1 ) . {\displaystyle 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 {\displaystyle C} .

Fundamental theorem of the calculus of finite differences

Indefinite sums can be used to calculate definite sums with the formula:9

k = a b f ( k ) = Δ 1 f ( b + 1 ) Δ 1 f ( a ) . {\displaystyle \sum _{k=a}^{b}f(k)=\Delta ^{-1}f(b+1)-\Delta ^{-1}f(a).}

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

k = a b f ( k ) = 1 f ( b ) 1 f ( a 1 ) . {\displaystyle \sum _{k=a}^{b}f(k)=\nabla ^{-1}f(b)-\nabla ^{-1}f(a-1).}

Examples

The following basic indefinite sums follow from the fundamental properties of the difference operator, where C ( x ) {\displaystyle C(x)} represents an arbitrary 1-periodic function (or a constant if the Nørlund principal solution is assumed):10

Constant:
x c = c x + C ( x ) {\displaystyle \sum _{x}c=cx+C(x)}
Exponential:
x a x = a x a 1 + C ( x ) a 1 {\displaystyle \sum _{x}a^{x}={\frac {a^{x}}{a-1}}+C(x)\quad a\neq 1}
Logarithm:
x ln x = ln Γ ( x ) + C ( x ) {\displaystyle \sum _{x}\ln x=\ln \Gamma (x)+C(x)}
Powers:11
x x a = { B a + 1 ( x ) a + 1 + C ( x ) , if  a 1 ψ ( x ) + C ( x ) , if  a = 1 = { ζ ( a , x ) + C ( x ) , if  a 1 ψ ( x ) + C ( x ) , if  a = 1 {\displaystyle {\begin{aligned}\sum _{x}x^{a}&={\begin{cases}{\frac {B_{a+1}(x)}{a+1}}+C(x),&{\text{if }}a\neq -1\\\psi (x)+C(x),&{\text{if }}a=-1\end{cases}}\\&={\begin{cases}-\zeta (-a,x)+C(x),&{\text{if }}a\neq -1\\\psi (x)+C(x),&{\text{if }}a=-1\end{cases}}\end{aligned}}}

where B a ( x ) {\displaystyle B_{a}(x)} are the Bernoulli polynomials (via Abel-Plana, Hurwitz zeta, or as defined by their recurrence; not the definition by generating functions), ζ ( s , a ) {\displaystyle \zeta (s,a)} is the Hurwitz zeta function, and ψ ( z ) {\displaystyle \psi (z)} 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, d d x x n = n x n 1 {\displaystyle {\frac {d}{dx}}x^{n}=nx^{n-1}} . In the calculus of finite differences, the falling factorial

( x ) n = x n _ = x ( x 1 ) ( x 2 ) ( x n + 1 ) = Γ ( x + 1 ) Γ ( x n + 1 ) {\displaystyle (x)_{n}=x^{\underline {n}}=x(x-1)(x-2)\cdots (x-n+1)={\frac {\Gamma \left(x+1\right)}{\Gamma \left(x-n+1\right)}}}

plays the role of x n {\displaystyle x^{n}} , and the forward difference operator satisfies

Δ ( x ) n = n ( x ) n 1 . {\displaystyle \Delta (x)_{n}=n(x)_{n-1}.}

The indefinite sum of a falling factorial is given by the discrete analog of the power rule for integration:

x ( x ) n = ( x ) n + 1 n + 1 + C ( x ) , n 1. {\displaystyle \sum _{x}(x)_{n}={\frac {(x)_{n+1}}{n+1}}+C(x),\quad n\neq -1.}

Equivalently, using the Gamma function:

x Γ ( x + 1 ) Γ ( x n + 1 ) = Γ ( x + 1 ) ( n + 1 ) Γ ( x n ) + C ( x ) , n 1. {\displaystyle \sum _{x}{\frac {\Gamma \left(x+1\right)}{\Gamma \left(x-n+1\right)}}={\frac {\Gamma \left(x+1\right)}{\left(n+1\right)\Gamma \left(x-n\right)}}+C(x),\quad n\neq -1.}

For the case where n = 1 {\displaystyle n=-1} , the solution is the digamma function with a shift, ψ ( x + 1 ) + C ( x ) {\displaystyle \psi \left(x+1\right)+C(x)} , which naturally extends the harmonic numbers.

Example: Sum of the first x {\displaystyle x} squares. Using k 2 = ( k ) 2 + ( k ) 1 {\displaystyle k^{2}=(k)_{2}+(k)_{1}} and the indefinite sum formula above,

k k 2 = ( k ) 3 3 + ( k ) 2 2 + C ( k ) . {\displaystyle \sum _{k}k^{2}={\frac {(k)_{3}}{3}}+{\frac {(k)_{2}}{2}}+C(k).}

Applying the fundamental theorem of the calculus of finite differences,

k = 0 x k 2 = ( ( k ) 3 3 + ( k ) 2 2 ) | 0 x + 1 = ( ( x + 1 ) 3 3 + ( x + 1 ) 2 2 ) ( ( 0 ) 3 3 + ( 0 ) 2 2 ) = ( x + 1 ) 3 3 + ( x + 1 ) 2 2 . {\displaystyle {\begin{aligned}\sum _{k=0}^{x}k^{2}&=\left.\left({\frac {(k)_{3}}{3}}+{\frac {(k)_{2}}{2}}\right)\right|_{0}^{x+1}\\&=\left({\frac {(x+1)_{3}}{3}}+{\frac {(x+1)_{2}}{2}}\right)-\left({\frac {(0)_{3}}{3}}+{\frac {(0)_{2}}{2}}\right)\\&={\frac {(x+1)_{3}}{3}}+{\frac {(x+1)_{2}}{2}}.\end{aligned}}}

Expanding the falling factorials,

( x + 1 ) 3 = ( x + 1 ) x ( x 1 ) , ( x + 1 ) 2 = ( x + 1 ) x , {\displaystyle (x+1)_{3}=(x+1)x(x-1),\quad (x+1)_{2}=(x+1)x,}

and simplifying yields the formula

k = 0 x k 2 = x ( x + 1 2 ) ( x + 1 ) 3 . {\displaystyle \sum _{k=0}^{x}k^{2}={\frac {x(x+{\frac {1}{2}})(x+1)}{3}}.}

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 u ( x ) {\displaystyle u(x)} and v ( x ) {\displaystyle v(x)} , the product rule for the forward difference is:

Δ ( u ( x ) v ( x ) ) = u ( x ) Δ v ( x ) + v ( x + 1 ) Δ u ( x ) . {\displaystyle \Delta (u(x)v(x))=u(x)\Delta v(x)+v(x+1)\Delta u(x).}

Introducing the shift operator E {\displaystyle \mathrm {E} } , defined by E f ( x ) = f ( x + 1 ) {\displaystyle \mathrm {E} f(x)=f(x+1)} , this can be written more compactly as:

Δ ( u v ) = u Δ v + E v Δ u . {\displaystyle \Delta (uv)=u\Delta v+\mathrm {E} v\,\Delta u.}

Summation by parts. Rearranging the product rule gives:

u ( x ) Δ v ( x ) = Δ ( u ( x ) v ( x ) ) v ( x + 1 ) Δ u ( x ) . {\displaystyle u(x)\Delta v(x)=\Delta (u(x)v(x))-v(x+1)\Delta u(x).}

Taking the indefinite sum of both sides and using the fact that x Δ F ( x ) = F ( x ) + C ( x ) {\displaystyle \sum _{x}\Delta F(x)=F(x)+C(x)} (where C ( x ) {\displaystyle C(x)} is an arbitrary 1‑periodic function) yields the formula for summation by parts:1210

x u ( x ) Δ v ( x ) = u ( x ) v ( x ) x v ( x + 1 ) Δ u ( x ) + C ( x ) . {\displaystyle \sum _{x}u(x)\Delta v(x)=u(x)v(x)-\sum _{x}v(x+1)\Delta u(x)+C(x).}

A symmetrical form, also obtained from the product rule, is:

x f ( x ) Δ g ( x ) + x g ( x ) Δ f ( x ) = f ( x ) g ( x ) x Δ f ( x ) Δ g ( x ) + C ( x ) . {\displaystyle \sum _{x}f(x)\Delta g(x)+\sum _{x}g(x)\Delta f(x)=f(x)g(x)-\sum _{x}\Delta f(x)\Delta g(x)+C(x).}

Definite summation by parts. For definite sums from a {\displaystyle a} to b {\displaystyle b} , the formula becomes:

k = a b u ( k ) Δ v ( k ) = [ u ( b + 1 ) v ( b + 1 ) u ( a ) v ( a ) ] k = a b v ( k + 1 ) Δ u ( k ) . {\displaystyle \sum _{k=a}^{b}u(k)\Delta v(k)={\bigl [}u(b+1)v(b+1)-u(a)v(a){\bigr ]}-\sum _{k=a}^{b}v(k+1)\Delta u(k).}

Example: product of a polynomial and an exponential13

Summation by parts is effective for functions like k 2 k {\displaystyle k2^{k}} . To find the indefinite sum k k 2 k {\displaystyle \textstyle \sum _{k}k2^{k}} , let u ( k ) = k {\displaystyle u(k)=k} and Δ v ( k ) = 2 k {\displaystyle \Delta v(k)=2^{k}} . Then:

  • Δ u ( k ) = ( k + 1 ) k = 1 {\displaystyle \Delta u(k)=(k+1)-k=1}
  • v ( k ) = k 2 k = 2 k 2 1 = 2 k {\displaystyle v(k)=\sum _{k}2^{k}={\frac {2^{k}}{2-1}}=2^{k}}
  • E v ( k ) = v ( k + 1 ) = 2 k + 1 {\displaystyle \mathrm {E} v(k)=v(k+1)=2^{k+1}}

Applying the summation by parts formula:

k k 2 k = k 2 k k 2 k + 1 1 + C ( k ) . {\displaystyle \sum _{k}k2^{k}=k\cdot 2^{k}-\sum _{k}2^{k+1}\cdot 1+C(k).}

The remaining sum is elementary:

k 2 k + 1 = 2 k 2 k = 2 2 k = 2 k + 1 . {\displaystyle \sum _{k}2^{k+1}=2\sum _{k}2^{k}=2\cdot 2^{k}=2^{k+1}.}

Hence the indefinite sum (antidifference) is

F ( k ) := k k 2 k = k 2 k 2 k + 1 + C ( k ) = ( k 2 ) 2 k + C ( k ) . {\displaystyle F(k):=\sum _{k}k2^{k}=k2^{k}-2^{k+1}+C(k)=(k-2)2^{k}+C(k).}

To evaluate the definite sum from 0 {\displaystyle 0} to x {\displaystyle x} , we use the fundamental theorem with the forward difference inverse:

k = 0 x k 2 k = F ( x + 1 ) F ( 0 ) . {\displaystyle \sum _{k=0}^{x}k2^{k}=F(x+1)-F(0).}

Substituting the expression for F {\displaystyle F} :

k = 0 x k 2 k = [ ( x + 1 2 ) 2 x + 1 ] [ ( 0 2 ) 2 0 ] = ( x 1 ) 2 x + 1 ( 2 ) = ( x 1 ) 2 x + 1 + 2. {\displaystyle {\begin{aligned}\sum _{k=0}^{x}k2^{k}&={\bigl [}(x+1-2)2^{x+1}{\bigr ]}-{\bigl [}(0-2)2^{0}{\bigr ]}\\&=(x-1)2^{x+1}-(-2)\\&=(x-1)2^{x+1}+2.\end{aligned}}}

Thus, for any non‑negative integer x {\displaystyle x} ,

k = 0 x k 2 k = ( x 1 ) 2 x + 1 + 2. {\displaystyle \sum _{k=0}^{x}k2^{k}=(x-1)2^{x+1}+2.}

Uniqueness of the principal solution

Visualization of the property ΔC(x)=0 for a 1-periodic function C(x). Because C(x+1)=C(x), the forward difference C(x+1)-C(x) and backward difference C(x)-C(x-1) both vanish.

The functional equation F ( x + 1 ) F ( x ) = f ( x ) {\displaystyle F(x+1)-F(x)=f(x)} does not have a unique solution. If F 1 ( x ) {\displaystyle F_{1}(x)} is a particular solution, then for any function C ( x ) {\displaystyle C(x)} satisfying C ( x + 1 ) = C ( x ) {\displaystyle C(x+1)=C(x)} (i.e., any 1-periodic function), the function F 2 ( x ) = F 1 ( x ) + C ( x ) {\displaystyle F_{2}(x)=F_{1}(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 ) {\displaystyle C(x)} .

To select the unique principal solution (German: Hauptlösung)4 up to an additive constant C {\displaystyle C} (instead of up to the additive 1-periodic function C ( x ) {\displaystyle C(x)} ) 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.

Partitioning the complex plane for the inverse finite difference of 1 / ( x 2 + 1 ) {\displaystyle 1/(x^{2}+1)} .

The usual formulation assumes that the summand f ( z ) {\displaystyle f(z)} is analytic in a vertical strip containing a portion of the real line. However, when f ( z ) {\displaystyle f(z)} 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 ± i {\displaystyle \pm i} prevent a single strip from crossing the imaginary axis, splitting the domain at ( z ) = 0 {\displaystyle \Re (z)=0} 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 f ( z ) {\displaystyle f(z)} is analytic in a vertical strip containing a segment of the real axis, and let F ( z ) {\displaystyle F(z)} be an analytic solution of F ( z + 1 ) F ( z ) = f ( z ) {\displaystyle F(z+1)-F(z)=f(z)} in that strip. To ensure uniqueness within that strip, require F ( z ) {\displaystyle F(z)} to be of minimal growth, specifically to be of exponential type less than 2 π {\displaystyle 2\pi } in the imaginary direction. That is, there exist constants M > 0 {\displaystyle M>0} and ϵ > 0 {\displaystyle \epsilon >0} such that | F ( z ) | M e ( 2 π ϵ ) | ( z ) | {\displaystyle |F(z)|\leq Me^{(2\pi -\epsilon )|\Im (z)|}} as | ( z ) | {\displaystyle |\Im (z)|\to \infty } .1415

Let F 1 ( z ) {\displaystyle F_{1}(z)} and F 2 ( z ) {\displaystyle F_{2}(z)} be two analytic solutions satisfying this growth condition on the same connected component. Their difference C ( z ) = F 1 ( z ) F 2 ( z ) {\displaystyle C(z)=F_{1}(z)-F_{2}(z)} is then analytic, 1-periodic (i.e., C ( z + 1 ) = C ( z ) {\displaystyle C(z+1)=C(z)} ), and inherits the same exponential type less than 2 π {\displaystyle 2\pi } .

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 2 π {\displaystyle 2\pi } .4 This follows from its Fourier series expansion: if C ( z ) {\displaystyle C(z)} is non-constant, its Fourier series contains a term a n e 2 π i n z {\displaystyle a_{n}e^{2\pi inz}} with n 0 {\displaystyle n\neq 0} , which has type 2 π | n | 2 π {\displaystyle 2\pi |n|\geq 2\pi } . Since C ( z ) {\displaystyle C(z)} has type strictly less than 2 π {\displaystyle 2\pi } , 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 2 π {\displaystyle 2\pi } in the imaginary direction on f {\displaystyle f} condition is sufficient but not strictly necessary. Nørlund's general definition of the principal solution is the analytic solution F {\displaystyle F} having Fourier components of the minimal possible exponential type for the given f {\displaystyle f} ( F {\displaystyle F} of slowest possible growth in the complex plane).4 If f {\displaystyle f} has exponential type k {\displaystyle k} in imaginary direction, then the principal solution F ( z ) {\displaystyle F(z)} will also have type k {\displaystyle k} in that strip, provided it converges. For example, f ( z ) = sin ( 7 z ) {\displaystyle f(z)=\sin(7z)} has exponential type 7 {\displaystyle 7} ; its principal solution exists and has type 7 {\displaystyle 7} , even though 7 > 2 π {\displaystyle 7>2\pi } .1610

When f {\displaystyle f} has exponential type exactly 2 π n {\displaystyle 2\pi n} for some non-zero integer n {\displaystyle n} in every strip where it is analytic (e.g. f ( z ) = sin ( 2 π n z ) {\displaystyle f(z)=\sin(2\pi nz)} has type 2 π n {\displaystyle 2\pi n} ; its antidifference contains sin ( π n ) = 0 {\displaystyle \sin(\pi n)=0} in the denominator10) the principal solution fails to exist (or is undefined everywhere) because it resonates with the kernel of the difference operator:171819 Δ 1 = 1 e D 1 . {\displaystyle \Delta ^{-1}={\frac {1}{e^{D}-1}}.} In all other cases (i.e., when f {\displaystyle f} 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 2 π {\displaystyle 2\pi } ) 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 ( 1 {\displaystyle \nabla ^{-1}} )
Consider the meromorphic function f ( x ) = 1 / ( x 2 + 1 ) {\displaystyle f(x)=1/(x^{2}+1)} . Its poles at x = ± i {\displaystyle x=\pm i} split the complex plane into two maximal vertical strips that each contain a segment of the real line: the right half-plane ( x ) > 0 {\displaystyle \Re (x)>0} and the left half-plane ( x ) < 0 {\displaystyle \Re (x)<0} . We construct the Nørlund principal solution of the backward difference equation F ( x ) F ( x 1 ) = f ( x ) {\displaystyle F(x)-F(x-1)=f(x)} with empty-sum normalization F ( 0 ) = 0 {\displaystyle F(0)=0} on each strip.

Right half-plane ( ( x ) > 0 {\displaystyle \Re (x)>0} ). Partial fractions give

1 x 2 + 1 = 1 2 i ( 1 x i 1 x + i ) . {\displaystyle {\frac {1}{x^{2}+1}}={\frac {1}{2i}}\!\left({\frac {1}{x-i}}-{\frac {1}{x+i}}\right).}

The digamma function satisfies ψ ( z + 1 ) ψ ( z ) = 1 / z {\displaystyle \psi (z+1)-\psi (z)=1/z} for all z { 0 , 1 , 2 , } {\displaystyle z\notin \{0,-1,-2,\dots \}} . For ( x ) > 0 {\displaystyle \Re (x)>0} the arguments x + 1 ± i {\displaystyle x+1\pm i} and 1 ± i {\displaystyle 1\pm i} never hit a non-positive integer, so the identity is valid at every term of the sum:

k = 1 x 1 k 2 + 1 = 1 2 i [ ( ψ ( x + 1 i ) ψ ( 1 i ) ) ( ψ ( x + 1 + i ) ψ ( 1 + i ) ) ] . {\displaystyle \sum _{k=1}^{x}{\frac {1}{k^{2}+1}}={\frac {1}{2i}}{\Bigl [}{\bigl (}\psi (x+1-i)-\psi (1-i){\bigr )}-{\bigl (}\psi (x+1+i)-\psi (1+i){\bigr )}{\Bigr ]}.}

Because ψ ( z ¯ ) = ψ ( z ) ¯ {\displaystyle \psi ({\overline {z}})={\overline {\psi (z)}}} , the two terms are complex conjugates, and the expression simplifies to a real function:

F right ( x ) = Im ψ ( 1 + i ) Im ψ ( x + 1 + i ) , ( x ) > 0. {\displaystyle F_{\text{right}}(x)=\operatorname {Im} \psi (1+i)-\operatorname {Im} \psi (x+1+i),\qquad \Re (x)>0.}

The non-simplified function is analytic on the whole right half-plane, and F right ( 0 ) = 0 {\displaystyle F_{\text{right}}(0)=0} . Within this strip the difference equation F ( x ) F ( x 1 ) = 1 / ( x 2 + 1 ) {\displaystyle F(x)-F(x-1)=1/(x^{2}+1)} holds for every x {\displaystyle x} in the respective connected component (half-plane). If one attempts to continue F right {\displaystyle F_{\text{right}}} across the imaginary axis by the recurrence F ( x + 1 ) = F ( x ) + f ( x + 1 ) {\displaystyle F(x+1)=F(x)+f(x+1)} , poles appear at x = ± i 1 , ± i 2 , {\displaystyle x=\pm i-1,\pm i-2,\dots } -integer shifts of the original singularities that lie in the left half-plane.

Left half-plane ( ( x ) < 0 {\displaystyle \Re (x)<0} ). Using the reflection x x {\displaystyle x\mapsto -x} , the analogous solution on the left half-plane is

F left ( x ) = Im ψ ( x + i ) Im ψ ( i ) , ( x ) < 0. {\displaystyle F_{\text{left}}(x)=\operatorname {Im} \psi (-x+i)-\operatorname {Im} \psi (i),\qquad \Re (x)<0.}

For ( x ) < 0 {\displaystyle \Re (x)<0} the argument x + i {\displaystyle -x+i} has a positive real part, so it never equals 0 , 1 , 2 , {\displaystyle 0,-1,-2,\dots } ; the digamma identity applies and the difference equation is satisfied for all x {\displaystyle x} 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 x = ± i , ± i + 1 , ± i + 2 , {\displaystyle x=\pm i,\pm i+1,\pm i+2,\dots } , which lie in the right half-plane outside the original strip.

Summary:

Domain Principal solution (inverse backward difference, F ( 0 ) = 0 {\displaystyle F(0)=0} )
( x ) > 0 {\displaystyle \Re (x)>0} Im ψ ( 1 + i ) Im ψ ( x + 1 + i ) {\displaystyle \operatorname {Im} \psi (1+i)-\operatorname {Im} \psi (x+1+i)}
( x ) < 0 {\displaystyle \Re (x)<0} Im ψ ( x + i ) Im ψ ( i ) {\displaystyle \operatorname {Im} \psi (-x+i)-\operatorname {Im} \psi (i)}

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 ψ ( z + 1 ) ψ ( z ) = 1 / z {\displaystyle \psi (z+1)-\psi (z)=1/z} , are never reached inside the respective domains. However, the recurrence propagates the original singularities of f {\displaystyle f} 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 p 0 {\displaystyle p\geq 0} , a function is called p {\displaystyle p} -convex if its divided differences of order p {\displaystyle p} are non‑negative, and p {\displaystyle p} -concave if those divided differences are non-positive. A function is called eventually p {\displaystyle p} -convex (resp. eventually p {\displaystyle p} -concave) if there exists M > 0 {\displaystyle M>0} such that it is p {\displaystyle p} -convex (resp. p {\displaystyle p} -concave) on the interval ( M , ) {\displaystyle (M,\infty )} .

Marichal and Zenaïdi proved the following uniqueness theorem, their method requiring the solution to be eventually p {\displaystyle p} -convex or p {\displaystyle p} -concave.2021

Theorem. Let p 0 {\displaystyle p\geq 0} be an integer and let g : R + R {\displaystyle g:\mathbb {R} _{+}\to \mathbb {R} } satisfy lim n Δ p g ( n ) = 0 {\displaystyle \lim _{n\to \infty }\Delta ^{p}g(n)=0} . If f : R + R {\displaystyle f:\mathbb {R} _{+}\to \mathbb {R} } is an eventually p {\displaystyle p} -convex or eventually p {\displaystyle p} -concave solution of Δ f = g {\displaystyle \Delta f=g} , then f {\displaystyle f} is uniquely determined up to an additive constant. Moreover, for any x > 0 {\displaystyle x>0} ,

f ( x ) = f ( 1 ) + lim n ( k = 1 n 1 g ( k ) k = 0 n 1 g ( x + k ) + j = 1 p ( x j ) Δ j 1 g ( n ) ) , {\displaystyle f(x)=f(1)+\lim _{n\to \infty }\left(\sum _{k=1}^{n-1}g(k)-\sum _{k=0}^{n-1}g(x+k)+\sum _{j=1}^{p}{\binom {x}{j}}\Delta ^{\,j-1}g(n)\right),}

and the convergence is uniform on bounded subsets of R + {\displaystyle \mathbb {R} _{+}} .

Müller–Schleicher axiomatic method

Müller's method applied to the inverse backward difference of 1/x.

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

k = 1 x f ( k ) {\displaystyle \sum _{k=1}^{x}f(k)}

to non-integer and complex upper limits x {\displaystyle x} . The definition is built upon six natural axioms:

  1. Continued Summation: ν = x y f ( ν ) + ν = y + 1 z f ( ν ) = ν = x z f ( ν ) {\displaystyle \sum _{\nu =x}^{y}f(\nu )+\sum _{\nu =y+1}^{z}f(\nu )=\sum _{\nu =x}^{z}f(\nu )} .
  2. Translation Invariance: ν = x + s y + s f ( ν ) = ν = x y f ( ν + s ) {\displaystyle \sum _{\nu =x+s}^{y+s}f(\nu )=\sum _{\nu =x}^{y}f(\nu +s)} .
  3. Linearity: ν = x y ( λ f ( ν ) + μ g ( ν ) ) = λ ν = x y f ( ν ) + μ ν = x y g ( ν ) {\displaystyle \sum _{\nu =x}^{y}(\lambda f(\nu )+\mu g(\nu ))=\lambda \sum _{\nu =x}^{y}f(\nu )+\mu \sum _{\nu =x}^{y}g(\nu )} .
  4. Empty Sum Condition: ν = 1 1 f ( ν ) = f ( 1 ) {\displaystyle \sum _{\nu =1}^{1}f(\nu )=f(1)} (equivalent to the empty sum condition).
  5. Holomorphy for Monomials: for each d N {\displaystyle d\in \mathbb {N} } , z ν = 1 z ν d {\displaystyle z\mapsto \sum _{\nu =1}^{z}\nu ^{d}} is holomorphic in C {\displaystyle \mathbb {C} } .
  6. Right-Shift Continuity: if f ( z + n ) 0 {\displaystyle f(z+n)\to 0} pointwise as n + {\displaystyle n\to +\infty } , then ν = x y f ( ν + n ) 0 {\displaystyle \sum _{\nu =x}^{y}f(\nu +n)\to 0} ; more generally, if f ( z + n ) {\displaystyle f(z+n)} can be approximated by polynomials p n ( z + n ) {\displaystyle p_{n}(z+n)} of fixed degree with | f ( z + n ) p n ( z + n ) | 0 {\displaystyle |f(z+n)-p_{n}(z+n)|\to 0} , then:
| ν = x y f ( ν + n ) ν = x y p n ( ν + n ) | 0 {\displaystyle \left|\sum _{\nu =x}^{y}f(\nu +n)-\sum _{\nu =x}^{y}p_{n}(\nu +n)\right|\to 0} .

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 U C {\displaystyle U\subset \mathbb {C} } and σ N { } {\displaystyle \sigma \in \mathbb {N} \cup \{-\infty \}} . A function f : U C {\displaystyle f:U\rightarrow \mathbb {C} } will be called fractional summable of degree σ {\displaystyle \sigma } if the following conditions are satisfied:

  • x + 1 U {\displaystyle x+1\in U} for all x U ; {\displaystyle x\in U;}
  • there exists a sequence of polynomials ( p n ) n N {\displaystyle (p_{n})_{n\in \mathbb {N} }} of fixed degree σ {\displaystyle \sigma } such that for all x U {\displaystyle x\in U}
| f ( n + x ) p n ( n + x ) | 0 {\displaystyle |f(n+x)-p_{n}(n+x)|\rightarrow 0} as n + {\displaystyle n\rightarrow +\infty }
  • for every x , y + 1 U , {\displaystyle x,y+1\in U,} the limit
lim n ( ν = n + x n + y p n ( ν ) + ν = 1 n ( f ( ν + x 1 ) f ( ν + y ) ) ) , {\displaystyle \lim _{n\to \infty }\left(\sum _{\nu =n+x}^{n+y}p_{n}(\nu )+\sum _{\nu =1}^{n}{\bigl (}f(\nu +x-1)-f(\nu +y){\bigr )}\right),}

exists.

In the simplest case when f ( t ) 0 {\displaystyle f(t)\to 0} as t {\displaystyle t\to \infty } (i.e., the approximating polynomials are zero), this reduces to:

1 f ( x ) = k = 1 x f ( k ) = n = 1 ( f ( n ) f ( n + x ) ) + C {\displaystyle \nabla ^{-1}f(x)=\sum _{k=1}^{x}f(k)=\sum _{n=1}^{\infty }{\bigl (}f(n)-f(n+x){\bigr )}+C}

Symmetry of the principal solution

Following directly from uniqueness, if f ( z ) {\displaystyle f(z)} is a meromorphic function, one can define a unique analytic solution of the backward difference sum, by imposing the conditions that:

  • Difference Equation: F ( x ) F ( x 1 ) = f ( x ) {\displaystyle F(x)-F(x-1)=f(x)}
  • Normalization: F ( 0 ) = 0 {\displaystyle F(0)=0} (empty sum boundary condition).
  • Growth constraint: F ( z ) {\displaystyle F(z)} has the minimal possible exponential type in the imaginary direction.

Under these conditions, F ( z ) {\displaystyle 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 ( x ω | ω ) = G ( x | ω ) , {\displaystyle G\left(x-\omega |-\omega \right)=G\left(x|\omega \right),} F ( x ω | ω ) = F ( x | ω ) {\displaystyle F\left(x-\omega |-\omega \right)=F\left(x|\omega \right)} where ω {\displaystyle \omega } 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 F ( 0 ) = 0 {\displaystyle F(0)=0} via direct application (setting ω = 1 {\displaystyle \omega =1} ).

Image of the inverse backward difference of x, where f(x)=x is a simple example odd function. In the real plane, the point symmetry appears as a line symmetry about negative 1 half. source ↗

Odd functions

Assume f {\displaystyle f} is an odd function ( f ( z ) = f ( z ) {\displaystyle f(-z)=-f(z)} ) and that a principal solution F {\displaystyle F} exists. Define H ( x ) = F ( x ) F ( 1 x ) {\displaystyle H(x)=F(x)-F(-1-x)} . Using the difference equation F ( x ) F ( x 1 ) = f ( x ) {\displaystyle F(x)-F(x-1)=f(x)} and oddness,

H ( x ) H ( x 1 ) = [ F ( x ) F ( x 1 ) ] [ F ( 1 x ) F ( x ) ] = f ( x ) [ f ( x ) ] = f ( x ) + f ( x ) = 0 , {\displaystyle {\begin{aligned}H(x)-H(x-1)&=[F(x)-F(x-1)]-[F(-1-x)-F(-x)]\\&=f(x)-{\bigl [}-f(-x){\bigr ]}=f(x)+f(-x)=0,\end{aligned}}}

so H {\displaystyle H} is 1-periodic. Because F {\displaystyle F} has minimal exponential type, H {\displaystyle H} does as well; by Nørlund’s uniqueness theorem, a non-constant 1-periodic function of type < 2 π {\displaystyle <2\pi } must be constant. Hence H {\displaystyle H} is constant. Evaluating at x = 0 {\displaystyle x=0} with F ( 0 ) = 0 {\displaystyle F(0)=0} and f ( 0 ) = 0 {\displaystyle f(0)=0} (oddness) gives F ( 1 ) = 0 {\displaystyle F(-1)=0} , so H ( 0 ) = 0 {\displaystyle H(0)=0} . Therefore H 0 {\displaystyle H\equiv 0} , yielding 0 = F ( x ) F ( 1 x ) , {\displaystyle 0=F(x)-F(-1-x),}

F ( z ) = F ( 1 z ) , {\displaystyle F(z)=F(-1-z),}

a point symmetry about z = 1 / 2 {\displaystyle z=-1/2} . For example, f ( z ) = z {\displaystyle f(z)=z} gives F ( z ) = z ( z + 1 ) 2 {\displaystyle F(z)={\frac {z(z+1)}{2}}} .16

Even functions

If f {\displaystyle f} is an even function ( f ( z ) = f ( z ) {\displaystyle f(-z)=f(z)} ) with a principal solution F {\displaystyle F} , define H ( x ) = F ( x ) + F ( 1 x ) {\displaystyle H(x)=F(x)+F(-1-x)} . Then

H ( x ) H ( x 1 ) = [ F ( x ) F ( x 1 ) ] + [ F ( 1 x ) F ( x ) ] = f ( x ) + [ f ( x ) ] = f ( x ) f ( x ) = 0 , {\displaystyle {\begin{aligned}H(x)-H(x-1)&=[F(x)-F(x-1)]+[F(-1-x)-F(-x)]\\&=f(x)+{\bigl [}-f(-x){\bigr ]}=f(x)-f(-x)=0,\end{aligned}}}

so again H {\displaystyle H} is a constant 1-periodic function. Setting x = 1 {\displaystyle x=-1} gives the constant: H ( 1 ) = F ( 1 ) + F ( 0 ) = F ( 1 ) {\displaystyle H(-1)=F(-1)+F(0)=F(-1)} . Consequently,

F ( z ) + F ( 1 z ) = F ( 1 ) . {\displaystyle F(z)+F(-1-z)=F(-1).}

Choice of the constant term

Because the indefinite sum is defined only up to an arbitrary 1-periodic function, the constant C {\displaystyle C} 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 lim x 0 F ( x ) = 0   or   lim x 0 + F ( x ) = 0. {\displaystyle \lim _{x\to 0^{-}}F(x)=0\ {\text{or}}\ \lim _{x\to 0^{+}}F(x)=0.}

Inverse backward difference of 1/x with respect to x, showing a shifted digamma function. source ↗
Inverse backward difference
1 f ( x ) {\displaystyle \nabla ^{-1}f(x)} corresponds to k = 1 x f ( k ) {\displaystyle \textstyle \sum _{k=1}^{x}f(k)} . The convention 1 f ( x ) | x = 0 = 0 {\displaystyle \left.\nabla ^{-1}f(x)\right|_{x=0}=0} makes the sum over an empty interval zero.510
Inverse forward difference
Δ 1 f ( x ) {\displaystyle \Delta ^{-1}f(x)} corresponds to k = 0 x 1 f ( k ) {\displaystyle \textstyle \sum _{k=0}^{x-1}f(k)} . The same convention yields Δ 1 f ( x ) | x = 0 = 0 {\displaystyle \left.\Delta ^{-1}f(x)\right|_{x=0}=0} .

These conditions determine the solution uniquely up to an additive constant. For example,11

1 x a = H x ( a ) = ζ ( a ) ζ ( a , x + 1 ) . {\displaystyle \nabla ^{-1}x^{a}={H_{x}^{(-a)}}=\zeta (-a)-\zeta (-a,x+1).}

Here, ζ ( a ) {\displaystyle \zeta (-a)} is the constant C {\displaystyle C} such that F ( 0 ) = 0 {\displaystyle F(0)=0} .

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 B n ( x ) {\displaystyle B_{n}(x)} are defined by the generating function

t e x t e t 1 = n = 0 B n ( x ) t n n ! {\displaystyle {\frac {te^{xt}}{e^{t}-1}}=\sum _{n=0}^{\infty }B_{n}(x){\frac {t^{n}}{n!}}}

together with the normalization

0 1 B n ( x ) d x = 0 ( n 1 ) . {\displaystyle \int _{0}^{1}B_{n}(x)\,dx=0\qquad (n\geq 1).}

This property follows from the difference equation Δ B ν ( x ) = ν x ν 1 {\displaystyle \Delta B_{\nu }(x)=\nu x^{\nu -1}} and the integration formula x x + 1 B ν ( z ) d z = x ν {\displaystyle \int _{x}^{x+1}B_{\nu }(z)\,dz=x^{\nu }} , 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

1 0 ( 1 f ( x ) + C ) d x = 0 or 0 1 ( 1 f ( x ) + C ) d x = 0 , {\displaystyle \int _{-1}^{0}{\bigl (}\nabla ^{-1}f(x)+C{\bigr )}\,dx=0\quad {\text{or}}\quad \int _{0}^{1}{\bigl (}\nabla ^{-1}f(x)+C{\bigr )}\,dx=0,}

and for the inverse forward difference

0 1 ( Δ 1 f ( x ) + C ) d x = 0 or 1 2 ( Δ 1 f ( x ) + C ) d x = 0. {\displaystyle \int _{0}^{1}{\bigl (}\Delta ^{-1}f(x)+C{\bigr )}\,dx=0\quad {\text{or}}\quad \int _{1}^{2}{\bigl (}\Delta ^{-1}f(x)+C{\bigr )}\,dx=0.}

Example. For Δ 1 x = x ( x 1 ) 2 + C {\displaystyle \Delta ^{-1}x={\frac {x(x-1)}{2}}+C} , the condition 0 1 ( Δ 1 x ) d x = 0 {\displaystyle \int _{0}^{1}(\Delta ^{-1}x)\,dx=0} gives C = 1 12 {\displaystyle C={\tfrac {1}{12}}} . Hence Δ 1 x = x ( x 1 ) 2 + 1 12 = 1 2 B 2 ( x ) {\displaystyle \Delta ^{-1}x={\frac {x(x-1)}{2}}+{\frac {1}{12}}={\tfrac {1}{2}}B_{2}(x)} with B 2 ( x ) = x 2 x + 1 6 {\displaystyle B_{2}(x)=x^{2}-x+{\tfrac {1}{6}}} , 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 x {\displaystyle \prod _{x}} 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 ) . {\displaystyle F(x+1)=f(x)F(x).}

By taking the logarithm of the product formula, one obtains the telescoping identity Δ ln F ( x ) = ln f ( x ) {\displaystyle \Delta \ln F(x)=\ln f(x)} .23 This allows the indefinite product to be expressed through an indefinite sum:

x f ( x ) = ϖ ( x ) exp ( x ln f ( x ) ) , {\displaystyle \prod _{x}f(x)=\varpi (x)\exp \left(\sum _{x}\ln f(x)\right),}

where ϖ ( x ) {\displaystyle \varpi (x)} is an arbitrary periodic function of period 1.24 This representation is valid provided a branch of the logarithm can be chosen so that ln ( f ( x ) ) {\displaystyle \ln \left(f\left(x\right)\right)} is single-valued and its indefinite sum exists. Conversely, an indefinite sum may be represented as the logarithm of an indefinite product:

x f ( x ) = ln ( x exp ( f ( x ) ) ) + C ( x ) . {\displaystyle \sum _{x}f(x)=\ln \left(\prod _{x}\exp(f(x))\right)+C(x).}

Expansions and definitions

Abel–Plana formula

The indefinite sum 1 f ( x ) = k = 1 x f ( k ) {\displaystyle \nabla ^{-1}f(x)=\sum _{k=1}^{x}f(k)} can be analytically continued by applying the standard Abel-Plana formula to the finite sum k = 1 n f ( k ) {\displaystyle \sum _{k=1}^{n}f(k)} and then analytically continuing the integer limit n {\displaystyle n} to the variable x {\displaystyle x} . This yields the formula:7 1 f ( x ) = 1 x f ( t ) d t + f ( 1 ) + f ( x ) 2 + i 0 ( f ( x i t ) f ( 1 i t ) ) ( f ( x + i t ) f ( 1 + i t ) ) e 2 π t 1 d t + C ( x ) {\displaystyle {\begin{aligned}\nabla ^{-1}f(x)&=\int _{1}^{x}f(t)dt+{\frac {f(1)+f(x)}{2}}\\&\quad +i\int _{0}^{\infty }{\frac {\left(f(x-it)-f(1-it)\right)-\left(f(x+it)-f(1+it)\right)}{e^{2\pi t}-1}}dt+C(x)\end{aligned}}}

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

  1. Analyticity: f ( z ) {\displaystyle f(z)} must be analytic in the closed vertical strip between ( z ) = 1 {\displaystyle \Re (z)=1} and ( z ) = ( x ) {\displaystyle \Re (z)=\Re (x)} . The formula provides the analytic solution up to, but not beyond, the nearest singularities of f {\displaystyle f} to the line ( z ) = 1. {\displaystyle \Re (z)=1.}
  2. Growth: f ( z ) {\displaystyle f(z)} must be of exponential type less than 2 π {\displaystyle 2\pi } in this strip, satisfying | f ( z ) | M e ( 2 π ϵ ) | ( z ) | {\displaystyle |f(z)|\leq Me^{(2\pi -\epsilon )|\Im (z)|}} for some M > 0 {\displaystyle M>0} , ϵ > 0 {\displaystyle \epsilon >0} as | ( z ) | . {\displaystyle |\Im (z)|\to \infty .}

Example: Step size generalization
Let S > 0 {\displaystyle S>0} be a real step size and suppose f ( z ) {\displaystyle f(z)} satisfies the standard Abel–Plana conditions on the appropriate strips. Apply the Abel–Plana formula to the function g ( t ) = f ( S t ) {\displaystyle g(t)=f(St)} with upper limit n = x / S + 1 {\displaystyle n=x/S+1} : k = 1 x / S + 1 f ( S k ) = 1 x / S + 1 f ( S t ) d t + f ( S ) + f ( x + S ) 2 + i 0 f ( x + S i S t ) f ( S i S t ) f ( x + S + i S t ) + f ( S + i S t ) e 2 π t 1 d t . {\displaystyle {\begin{aligned}\sum _{k=1}^{x/S+1}f(Sk)&=\int _{1}^{x/S+1}f(St)\,dt+{\frac {f(S)+f(x+S)}{2}}\\&\quad +i\int _{0}^{\infty }{\frac {f(x+S-iSt)-f(S-iSt)-f(x+S+iSt)+f(S+iSt)}{e^{2\pi t}-1}}\,dt.\end{aligned}}} Now subtract the last term f ( x + S ) {\displaystyle f(x+S)} from both sides, because k = 1 x / S + 1 f ( S k ) = k = 1 x / S f ( S k ) + f ( x + S ) {\displaystyle \sum _{k=1}^{x/S+1}f(Sk)=\sum _{k=1}^{x/S}f(Sk)+f(x+S)} : k = 1 x / S f ( S k ) = 1 x / S + 1 f ( S t ) d t + f ( S ) + f ( x + S ) 2 f ( x + S ) + i 0 f ( x + S i S t ) f ( S i S t ) f ( x + S + i S t ) + f ( S + i S t ) e 2 π t 1 d t . {\displaystyle {\begin{aligned}\sum _{k=1}^{x/S}f(Sk)&=\int _{1}^{x/S+1}f(St)\,dt+{\frac {f(S)+f(x+S)}{2}}-f(x+S)\\&\quad +i\int _{0}^{\infty }{\frac {f(x+S-iSt)-f(S-iSt)-f(x+S+iSt)+f(S+iSt)}{e^{2\pi t}-1}}\,dt.\end{aligned}}} Simplify the boundary terms: f ( S ) + f ( x + S ) 2 f ( x + S ) = f ( S ) f ( x + S ) 2 . {\displaystyle {\tfrac {f(S)+f(x+S)}{2}}-f(x+S)={\tfrac {f(S)-f(x+S)}{2}}.} In the real integral, substitute u = S t {\displaystyle u=St} , d t = d u / S {\displaystyle dt=du/S} , limits t = 1 u = S {\displaystyle t=1\to u=S} , t = x / S + 1 u = x + S {\displaystyle t=x/S+1\to u=x+S} : 1 x / S + 1 f ( S t ) d t = 1 S S x + S f ( u ) d u . {\displaystyle \int _{1}^{x/S+1}f(St)\,dt={\frac {1}{S}}\int _{S}^{x+S}f(u)\,du.} The imaginary part is already in a convenient form; by reordering the terms it becomes: i 0 ( f ( S + i S t ) f ( S i S t ) ) ( f ( x + S + i S t ) f ( x + S i S t ) ) e 2 π t 1 d t . {\displaystyle i\int _{0}^{\infty }{\frac {{\bigl (}f(S+iSt)-f(S-iSt){\bigr )}-{\bigl (}f(x+S+iSt)-f(x+S-iSt){\bigr )}}{e^{2\pi t}-1}}\,dt.} Thus we obtain the step size generalization: S 1 f ( x ) = 1 S S x + S f ( u ) d u + f ( S ) f ( x + S ) 2 + i 0 ( f ( S + i S t ) f ( S i S t ) ) ( f ( x + S + i S t ) f ( x + S i S t ) ) e 2 π t 1 d t + C ( x ) , {\displaystyle {\begin{aligned}\nabla _{S}^{-1}f(x)&={\frac {1}{S}}\int _{S}^{x+S}f(u)\,du+{\frac {f(S)-f(x+S)}{2}}\\&\quad +i\int _{0}^{\infty }{\frac {{\bigl (}f(S+iSt)-f(S-iSt){\bigr )}-{\bigl (}f(x+S+iSt)-f(x+S-iSt){\bigr )}}{e^{2\pi t}-1}}\,dt\\&\quad +C(x),\end{aligned}}} where C ( x ) {\displaystyle C(x)} is a S {\displaystyle S} -periodic function. The expression satisfies F ( x ) F ( x S ) = f ( x ) {\displaystyle F(x)-F(x-S)=f(x)} and, with the empty sum convention F ( 0 ) = 0 {\displaystyle F(0)=0} (or up to another constant convention; C ( x ) {\displaystyle C(x)} being a constant function), defines the Nørlund principal solution where the growth condition on f {\displaystyle f} becomes type < 2 π / S {\displaystyle <2\pi /S} after the scaling.

Newton series

For an entire function of exponential type less than ln ( 2 ) {\displaystyle \ln \left(2\right)} 25 the inverse forward difference operator, Δ 1 f ( x ) {\displaystyle \Delta ^{-1}f(x)} , can be expressed by its Newton series expansion: 2627

x f ( x ) = k = 1 ( x k ) Δ k 1 f ( 0 ) + C ( x ) = k = 1 Δ k 1 f ( 0 ) k ! ( x ) k + C ( x ) . {\displaystyle \sum _{x}f(x)=\sum _{k=1}^{\infty }{\binom {x}{k}}\Delta ^{k-1}f\left(0\right)+C(x)=\sum _{k=1}^{\infty }{\frac {\Delta ^{k-1}f(0)}{k!}}(x)_{k}+C(x).}
( x ) k = Γ ( x + 1 ) Γ ( x k + 1 ) {\displaystyle (x)_{k}={\frac {\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 d x {\displaystyle D={\frac {d}{dx}}} using the exponential generating function of the Bernoulli numbers:171819

Δ 1 = 1 e D 1 = v = 0 B v v ! D v 1 , {\displaystyle \Delta ^{-1}={\frac {1}{e^{D}-1}}=\sum _{v=0}^{\infty }{\frac {B_{v}}{v!}}D^{\,v-1},}

where B v {\displaystyle B_{v}} are the Bernoulli numbers defined by the generating function t e t 1 = v = 0 B v t v v ! {\displaystyle {\frac {t}{e^{t}-1}}=\sum _{v=0}^{\infty }B_{v}{\frac {t^{v}}{v!}}} . Under this convention B 1 = 1 2 {\displaystyle B_{1}=-{\tfrac {1}{2}}} .

If f {\displaystyle 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 ) = x n {\displaystyle f(x)=x^{n}} one obtains the antidifference:18

x x n = B n + 1 ( x ) n + 1 + C ( x ) , {\displaystyle \sum _{x}x^{n}={\frac {B_{n+1}(x)}{n+1}}+C(x),}

where B n ( x ) {\displaystyle B_{n}(x)} are the Bernoulli polynomials of the first order.18

If f {\displaystyle f} admits a Maclaurin series expansion f ( x ) = n = 0 f ( n ) ( 0 ) n ! x n {\displaystyle f(x)=\sum _{n=0}^{\infty }{\frac {f^{(n)}(0)}{n!}}x^{n}} , the antidifference of monomials in the series expansion yields the formal series:19

x f ( x ) = n = 1 f ( n 1 ) ( 0 ) n ! B n ( x ) + C ( x ) . {\displaystyle \sum _{x}f(x)=\sum _{n=1}^{\infty }{\frac {f^{(n-1)}(0)}{n!}}B_{n}(x)+C(x).}

For non‑polynomials this expansion is generally asymptotic.

Relation to the inverse backward difference

If one instead expands the inverse backward difference operator, 1 = e D e D 1 {\displaystyle \nabla ^{-1}={\frac {e^{D}}{e^{D}-1}}} (which extends k = 1 x f ( k ) {\displaystyle \sum _{k=1}^{x}f(k)} ), it admits to the same expansion, but with B 1 = + 1 2 {\displaystyle B_{1}=+{\tfrac {1}{2}}} in place of B 1 = 1 2 {\displaystyle B_{1}=-{\tfrac {1}{2}}} .

Euler–Maclaurin formula

The Euler–Maclaurin formula provides an asymptotic expansion for the inverse backward difference 1 f ( x ) = k = 1 x f ( k ) {\displaystyle \nabla ^{-1}f(x)=\sum _{k=1}^{x}f(k)} when the function is sufficiently smooth. For any positive integer m {\displaystyle m} , one has:614

1 f ( x ) = 1 x f ( t ) d t + f ( 1 ) + f ( x ) 2 + k = 2 m ( 1 ) k B k k ! ( f ( k 1 ) ( x ) f ( k 1 ) ( 1 ) ) + R m ( x ) + C ( x ) , {\displaystyle {\begin{aligned}\nabla ^{-1}f(x)&=\int _{1}^{x}f(t)\,dt+{\frac {f(1)+f(x)}{2}}\\&\quad +\sum _{k=2}^{m}{\frac {(-1)^{k}B_{k}}{k!}}{\bigl (}f^{(k-1)}(x)-f^{(k-1)}(1){\bigr )}+R_{m}(x)+C(x),\end{aligned}}}

where B k {\displaystyle B_{k}} are the Bernoulli numbers ( B 1 = 1 2 {\displaystyle B_{1}=-{\tfrac {1}{2}}} , B 3 = B 5 = = 0 {\displaystyle B_{3}=B_{5}=\cdots =0} ), and the remainder term is

R m ( x ) = ( 1 ) m + 1 1 x b m ( t ) m ! f ( m ) ( t ) d t , {\displaystyle R_{m}(x)=(-1)^{m+1}\int _{1}^{x}{\frac {b_{m}(t)}{m!}}\,f^{(m)}(t)\,dt,}

with b m ( t ) = B m ( t t ) {\displaystyle b_{m}(t)=B_{m}(t-\lfloor t\rfloor )} the periodized Bernoulli polynomial. The terms with odd k > 1 {\displaystyle k>1} vanish, so the sum effectively runs only over even indices. Choosing m = 2 p {\displaystyle m=2p} gives the form

1 f ( x ) = 1 x f ( t ) d t + f ( 1 ) + f ( x ) 2 + k = 1 p B 2 k ( 2 k ) ! ( f ( 2 k 1 ) ( x ) f ( 2 k 1 ) ( 1 ) ) + R 2 p ( x ) + C ( x ) , {\displaystyle {\begin{aligned}\nabla ^{-1}f(x)&=\int _{1}^{x}f(t)\,dt+{\frac {f(1)+f(x)}{2}}\\&\quad +\sum _{k=1}^{p}{\frac {B_{2k}}{(2k)!}}{\bigl (}f^{(2k-1)}(x)-f^{(2k-1)}(1){\bigr )}+R_{2p}(x)+C(x),\end{aligned}}}

with the remainder

R 2 p ( x ) = 1 x b 2 p ( t ) ( 2 p ) ! f ( 2 p ) ( t ) d t . {\displaystyle R_{2p}(x)=-\int _{1}^{x}{\frac {b_{2p}(t)}{(2p)!}}\,f^{(2p)}(t)\,dt.}

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 Δ 1 f ( x ) {\displaystyle \Delta ^{-1}f(x)} :28291330

x f ( x ) = 0 x f ( t ) d t k = 1 c k k ! Δ k 1 f ( x ) + C ( x ) {\displaystyle \sum _{x}f(x)=\int _{0}^{x}f(t)dt-\sum _{k=1}^{\infty }{\frac {c_{k}}{k!}}\Delta ^{k-1}f(x)+C(x)}
where c k = 0 1 ( x ) k d x {\displaystyle c_{k}=\int _{0}^{1}(x)_{k}dx} are the Cauchy numbers of the first kind.
( x ) k = Γ ( x + 1 ) Γ ( x k + 1 ) {\displaystyle (x)_{k}={\frac {\Gamma (x+1)}{\Gamma (x-k+1)}}} is the falling factorial.

Truncating the series after n {\displaystyle n} terms leaves a remainder that can be expressed as an integral of f ( n ) {\displaystyle f^{(n)}} times a periodic Bernoulli polynomial.1330 In the notation of Charles Jordan, Gregory's formula is:13

x = a z f ( x ) = a z f ( x ) d x m = 1 n b m [ Δ m 1 f ( z ) Δ m 1 f ( a ) ] b n ( z a ) Δ n f ( ξ ) , a < ξ < z , {\displaystyle {\begin{aligned}\sum _{x=a}^{z}f(x)&=\int _{a}^{z}f(x)\,dx\\&\quad -\sum _{m=1}^{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<\xi <z,\end{aligned}}} where the coefficients b m {\displaystyle b_{m}} 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

  1. 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
  2. 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 Y {\displaystyle Y} is a function whose first difference is the function y {\displaystyle y} , then Y {\displaystyle Y} is called an indefinite sum of y {\displaystyle y} and denoted by Δ 1 y {\displaystyle \Delta ^{-1}y} .
  3. Kelley, Walter G.; Peterson, Allan C. (2001). Difference Equations: An Introduction with Applications. Academic Press. p. 20. ISBN 0-12-403330-X.
  4. Nörlund, Niels Erik. Vorlesungen über Differenzenrechnung. Springer. pp. 40–44. ISBN 978-3-642-50514-0.
  5. 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).
  6. Candelpergher, Bernard (2017). "Ramanujan Summation of Divergent Series" (PDF). HAL Archives Ouvertes. p. 3. Retrieved 2025-12-07.
  7. Candelpergher, Bernard (2017). "Ramanujan Summation of Divergent Series" (PDF). HAL Archives Ouvertes. p. 23. Retrieved 2025-12-07.
  8. Algorithms for Nonlinear Higher Order Difference Equations, Manuel Kauers
  9. "Handbook of discrete and combinatorial mathematics", Kenneth H. Rosen, John G. Michaels, CRC Press, 1999, ISBN 0-8493-0149-1
  10. Jordan, Charles (1960). Calculus of Finite Differences (Second ed.). New York, NY: Chelsea Publishing Company. pp. 104–107.
  11. Candelpergher, Bernard (2017). "Ramanujan Summation of Divergent Series" (PDF). HAL Archives Ouvertes. pp. 18–23.
  12. Kelley, Walter G.; Peterson, Allan C. (2001). Difference Equations: An Introduction with Applications. Academic Press. p. 24. ISBN 0-12-403330-X.
  13. Jordan, Charles (1960). Calculus of Finite Differences (Second ed.). New York, NY: Chelsea Publishing Company. pp. 284–285.
  14. "§2.10 Sums and Sequences". NIST Digital Library of Mathematical Functions. National Institute of Standards and Technology. Retrieved 2025-11-20.
  15. Olver, Frank W. J. (1997). Asymptotics and Special Functions. A K Peters Ltd. p. 290. ISBN 978-1-56881-069-0.
  16. Nörlund, Niels Erik. Vorlesungen über Differenzenrechnung. Springer. pp. 73–74. ISBN 978-3-642-50514-0.
  17. Steffensen, J. F. (1950). Interpolation (2nd ed.). New York, NY: Chelsea Publishing Company. p. 192.
  18. Milne-Thomson, L. M. (1933). The Calculus of Finite Differences. Macmillan and Co. pp. 139–140.
  19. Nörlund, Niels Erik. Vorlesungen über Differenzenrechnung. Springer. pp. 142–143. ISBN 978-3-642-50514-0.
  20. 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.
  21. 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.
  22. Nörlund, Niels Erik. Vorlesungen über Differenzenrechnung. Springer. p. 19. ISBN 978-3-642-50514-0.
  23. Nörlund, Niels Erik. Vorlesungen über Differenzenrechnung. Springer. p. 109. ISBN 978-3-642-50514-0.
  24. Milne-Thomson, L. M. (1933). The Calculus of Finite Differences. Macmillan and Co. pp. 324–325.
  25. Nörlund, Niels Erik. Vorlesungen über Differenzenrechnung. Springer. p. 237. ISBN 978-3-642-50514-0.
  26. Newton, Isaac, (1687). Principia, Book III, Lemma V, Case 1
  27. 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.
  28. Bernoulli numbers of the second kind on Mathworld
  29. 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.
  30. Milne-Thomson, L. M. (1933). The Calculus of Finite Differences. Macmillan and Co. pp. 180–181.
Further reading

Further reading

External links