Indefinite sum

From HandWiki
Short description: Inverse of a finite difference

In the calculus of finite differences, the indefinite sum (or antidifference operator), denoted by x or Δ1,[1][2] is the linear operator that inverts the forward difference operator Δf(x)=f(x+1)f(x). That is, if xf(x)=F(x), then F satisfies the functional equation

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

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

To obtain the unique solution up to a constant 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 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

File:Indefinite Sum Forward vs Backward Comparison.png
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).

The inverse forward difference operator, Δ1 (F(x+1)F(x)=f(x)), extends the summation up to x1, typically starting with the iterator at 0:

k=0x1f(k).

Some authors analytically extend summation for which the upper limit is the argument without a shift, typically starting the iterator at 1:[5][6][7]

k=1xf(k).

In this case, the analytic continuation, F(x), for the sum is a solution of 1f(x). Stated explicitly, that is:

 F(x)F(x1)=f(x),

Which follows from the discrete counterpart:

k=1xf(k)k=1x1f(k)=f(x).

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

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.

Fundamental theorem of the calculus of finite differences

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

k=abf(k)=Δ1f(b+1)Δ1f(a).

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

k=abf(k)=1f(b)1f(a1).

Examples

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

Constant:
xc=cx+C(x)
Exponential:
xax=axa1+C(x)a1
Logarithm:
xlnx=lnΓ(x)+C(x)
Powers:[11]
xxa={Ba+1(x)a+1+C(x),if a1ψ(x)+C(x),if a=1={ζ(a,x)+C(x),if a1ψ(x)+C(x),if a=1

where Ba(x) are the Bernoulli polynomials (via Abel-Plana, Hurwitz zeta, or as defined by their recurrence; not the definition by generating functions), ζ(s,a) is the Hurwitz zeta function, and ψ(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, ddxxn=nxn1. In the calculus of finite differences, the falling factorial

(x)n=xn_=x(x1)(x2)(xn+1)=Γ(x+1)Γ(xn+1)

plays the role of xn, and the forward difference operator satisfies

Δ(x)n=n(x)n1.

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

x(x)n=(x)n+1n+1+C(x),n1.

Equivalently, using the Gamma function:

xΓ(x+1)Γ(xn+1)=Γ(x+1)(n+1)Γ(xn)+C(x),n1.

For the case where n=1, the solution is the digamma function with a shift, ψ(x+1)+C(x), which naturally extends the harmonic numbers.

Example: Sum of the first x squares. Using k2=(k)2+(k)1 and the indefinite sum formula above,

kk2=(k)33+(k)22+C(k).

Applying the fundamental theorem of the calculus of finite differences,

k=0xk2=((k)33+(k)22)|0x+1=((x+1)33+(x+1)22)((0)33+(0)22)=(x+1)33+(x+1)22.

Expanding the falling factorials,

(x+1)3=(x+1)x(x1),(x+1)2=(x+1)x,

and simplifying yields the formula

k=0xk2=x(x+12)(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) and v(x), the product rule for the forward difference is:

Δ(u(x)v(x))=u(x)Δv(x)+v(x+1)Δu(x).

Introducing the shift operator E, defined by Ef(x)=f(x+1), this can be written more compactly as:

Δ(uv)=uΔv+EvΔu.

Summation by parts. Rearranging the product rule gives:

u(x)Δv(x)=Δ(u(x)v(x))v(x+1)Δu(x).

Taking the indefinite sum of both sides and using the fact that xΔF(x)=F(x)+C(x) (where C(x) is an arbitrary 1‑periodic function) yields the formula for summation by parts:[12][10]

xu(x)Δv(x)=u(x)v(x)xv(x+1)Δu(x)+C(x).

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

xf(x)Δg(x)+xg(x)Δf(x)=f(x)g(x)xΔf(x)Δg(x)+C(x).

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

k=abu(k)Δv(k)=[u(b+1)v(b+1)u(a)v(a)]k=abv(k+1)Δu(k).

Example: product of a polynomial and an exponential[13]

Summation by parts is effective for functions like k2k. To find the indefinite sum kk2k, let u(k)=k and Δv(k)=2k. Then:

  • Δu(k)=(k+1)k=1
  • v(k)=k2k=2k21=2k
  • Ev(k)=v(k+1)=2k+1

Applying the summation by parts formula:

kk2k=k2kk2k+11+C(k).

The remaining sum is elementary:

k2k+1=2k2k=22k=2k+1.

Hence the indefinite sum (antidifference) is

F(k):=kk2k=k2k2k+1+C(k)=(k2)2k+C(k).

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

k=0xk2k=F(x+1)F(0).

Substituting the expression for F:

k=0xk2k=[(x+12)2x+1][(02)20]=(x1)2x+1(2)=(x1)2x+1+2.

Thus, for any non‑negative integer x,

k=0xk2k=(x1)2x+1+2.

Uniqueness of the principal solution

File:Finite Difference Visualisation One Periodic Vanishing.webm
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) 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)[4] 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,[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.

File:Inverse Finite Difference Partitioning.webm
Partitioning the complex plane for the inverse finite difference of 1/(x2+1).

The usual formulation assumes that the summand f(z) is analytic in a vertical strip containing a portion of the real line. However, when 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 prevent a single strip from crossing the imaginary axis, splitting the domain at (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) is analytic in a vertical strip containing a segment of 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 within that strip, require F(z) to be of minimal growth, specifically to be of exponential type less than 2π in the imaginary direction. That is, there exist constants M>0 and ϵ>0 such that |F(z)|Me(2πϵ)|(z)| as |(z)|.[14][15]

Let F1(z) and F2(z) be two analytic solutions satisfying this growth condition on the same connected component. 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π.

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

When f has exponential type exactly 2πn for some non-zero integer n in every strip where it is analytic (e.g. f(z)=sin(2πnz) has type 2πn; its antidifference contains sin(πn)=0 in the denominator[10]) the principal solution fails to exist (or is undefined everywhere) because it resonates with the kernel of the difference operator:[17][18][19] Δ1=1eD1. In all other cases (i.e., when 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π) 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)
Consider the meromorphic function f(x)=1/(x2+1). Its poles at x=±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 and the left half-plane (x)<0. We construct the Nørlund principal solution of the backward difference equation F(x)F(x1)=f(x) with empty-sum normalization F(0)=0 on each strip.

Right half-plane ((x)>0). Partial fractions give

1x2+1=12i(1xi1x+i).

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

k=1x1k2+1=12i[(ψ(x+1i)ψ(1i))(ψ(x+1+i)ψ(1+i))].

Because ψ(z)=ψ(z), the two terms are complex conjugates, and the expression simplifies to a real function:

Fright(x)=Imψ(1+i)Imψ(x+1+i),(x)>0.

The non-simplified function is analytic on the whole right half-plane, and Fright(0)=0. Within this strip the difference equation F(x)F(x1)=1/(x2+1) holds for every x in the respective connected component (half-plane). If one attempts to continue Fright across the imaginary axis by the recurrence F(x+1)=F(x)+f(x+1), poles appear at x=±i1,±i2,-integer shifts of the original singularities that lie in the left half-plane.

Left half-plane ((x)<0). Using the reflection xx, the analogous solution on the left half-plane is

Fleft(x)=Imψ(x+i)Imψ(i),(x)<0.

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

Summary:

Domain Principal solution (inverse backward difference, F(0)=0)
(x)>0 Imψ(1+i)Imψ(x+1+i)
(x)<0 Imψ(x+i)Imψ(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, are never reached inside the respective domains. However, the recurrence propagates the original singularities of f by integer steps, so any attempt to analytically continue one branch into the other component introduces poles.

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 p0, 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,).

Marichal and Zenaïdi proved the following uniqueness theorem, their method requiring the solution to be eventually p-convex or p-concave.[20][21]

Theorem. Let p0 be an integer and let g:+ satisfy limnΔpg(n)=0. If f:+ is an eventually p-convex or eventually p-concave solution of Δf=g, then f is uniquely determined up to an additive constant. Moreover, for any x>0,

f(x)=f(1)+limn(k=1n1g(k)k=0n1g(x+k)+j=1p(xj)Δj1g(n)),

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

k=1xf(k)

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

  1. Continued Summation: ν=xyf(ν)+ν=y+1zf(ν)=ν=xzf(ν).
  2. Translation Invariance: ν=x+sy+sf(ν)=ν=xyf(ν+s).
  3. Linearity: ν=xy(λf(ν)+μg(ν))=λν=xyf(ν)+μν=xyg(ν).
  4. Empty Sum Condition: ν=11f(ν)=f(1) (equivalent to the empty sum condition).
  5. Holomorphy for Monomials: for each d, zν=1zνd is holomorphic in .
  6. Right-Shift Continuity: if f(z+n)0 pointwise as n+, then ν=xyf(ν+n)0; more generally, if f(z+n) can be approximated by polynomials pn(z+n) of fixed degree with |f(z+n)pn(z+n)|0, then:
|ν=xyf(ν+n)ν=xypn(ν+n)|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 and σ{}. A function f:U will be called fractional summable of degree σ if the following conditions are satisfied:

  • x+1U for all xU;
  • there exists a sequence of polynomials (pn)n of fixed degree σ such that for all xU
|f(n+x)pn(n+x)|0 as n+
  • for every x,y+1U, the limit
limn(ν=n+xn+ypn(ν)+ν=1n(f(ν+x1)f(ν+y))),

exists.

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

1f(x)=k=1xf(k)=n=1(f(n)f(n+x))+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:

  • Difference Equation: F(x)F(x1)=f(x)
  • Normalization: F(0)=0 (empty sum boundary condition).
  • Growth constraint: F(z) has the minimal possible exponential type 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(xω|ω)=G(x|ω),F(xω|ω)=F(x|ω) 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 F(0)=0 via direct application (setting ω=1).

File:Odd Symmetry Nörlund Principal Solution.png
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.

Odd functions

If f is an odd function (f(z)=f(z)) and that a principal solution F exists. Define H(x)=F(x)F(1x). Using the difference equation F(x)F(x1)=f(x) and oddness,

H(x)H(x1)=[F(x)F(x1)][F(1x)F(x)]=f(x)[f(x)]=f(x)+f(x)=0,

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

F(z)=F(1z),

a point symmetry about z=1/2. For example, f(z)=z gives F(z)=z(z+1)2.[16]

Even functions

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

H(x)H(x1)=[F(x)F(x1)]+[F(1x)F(x)]=f(x)+[f(x)]=f(x)f(x)=0,

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

F(z)+F(1z)=F(1).

Relationship to indefinite products

In the symbolic method developed by Niels Erik Nørlund and L. M. Milne-Thomson, the indefinite product operator 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).

By taking the logarithm of the product formula, one obtains the telescoping identity ΔlnF(x)=lnf(x).[22] This allows the indefinite product to be expressed through an indefinite sum:

xf(x)=ϖ(x)exp(xlnf(x)),

where ϖ(x) is an arbitrary periodic function of period 1.[23] This representation is valid provided a branch of the logarithm can be chosen so that ln(f(x)) is single-valued and its indefinite sum exists. Conversely, an indefinite sum may be represented as the logarithm of an indefinite product:

xf(x)=ln(xexp(f(x)))+C(x).

Expansions and definitions

Newton series

For an entire function of exponential type less than ln(2)[24] the inverse forward difference operator, Δ1f(x), can be expressed by its Newton series expansion: [25][26]

xf(x)=k=1(xk)Δk1f(0)+C(x)=k=1Δk1f(0)k!(x)k+C(x).
(x)k=Γ(x+1)Γ(xk+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=ddx using the exponential generating function of the Bernoulli numbers:[17][18][19]

Δ1=1eD1=v=0Bvv!Dv1,

where Bv are the Bernoulli numbers defined by the generating function tet1=v=0Bvtvv!. Under this convention B1=12.

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]

xxn=Bn+1(x)n+1+C(x),

where Bn(x) are the Bernoulli polynomials of the first order.[18]

If f admits a Maclaurin series expansion f(x)=n=0f(n)(0)n!xn, the antidifference of monomials in the series expansion yields the formal series:[19]

xf(x)=n=1f(n1)(0)n!Bn(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=eDeD1 (which extends k=1xf(k)), it admits to the same expansion, but with B1=+12 in place of B1=12.

Euler–Maclaurin formula

The Euler–Maclaurin formula provides an asymptotic expansion for the inverse backward difference 1f(x)=k=1xf(k) when the function is sufficiently smooth. For any positive integer m, one has:[6][14]

1f(x)=1xf(t)dt+f(1)+f(x)2+k=2m(1)kBkk!(f(k1)(x)f(k1)(1))+Rm(x)+C(x),

where Bk are the Bernoulli numbers (B1=12, B3=B5==0), and the remainder term is

Rm(x)=(1)m+11xbm(t)m!f(m)(t)dt,

with bm(t)=Bm(tt) the periodized Bernoulli polynomial. The terms with odd k>1 vanish, so the sum effectively runs only over even indices. Choosing m=2p gives the form

1f(x)=1xf(t)dt+f(1)+f(x)2+k=1pB2k(2k)!(f(2k1)(x)f(2k1)(1))+R2p(x)+C(x),

with the remainder

R2p(x)=1xb2p(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 Δ1f(x):[27][28][13][29]

xf(x)=0xf(t)dtk=1ckk!Δk1f(x)+C(x)
where ck=01(x)kdx are the Cauchy numbers of the first kind.
(x)k=Γ(x+1)Γ(xk+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.[13][29] In the notation of Charles Jordan, Gregory's formula is:[13]

x=azf(x)=azf(x)dxm=1nbm[Δm1f(z)Δm1f(a)]bn(za)Δnf(ξ),a<ξ<z, where 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

The indefinite sum 1f(x)=k=1xf(k) can be analytically continued by applying the standard Abel-Plana formula to the finite sum k=1nf(k) and then analytically continuing the integer limit n to the variable x. This yields the formula:[7] 1f(x)=1xf(t)dt+f(1)+f(x)2+i0(f(xit)f(1it))(f(x+it)f(1+it))e2πt1dt+C(x)

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

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

Example: Step size generalization
Let S>0 be a real step size and suppose f(z) satisfies the standard Abel–Plana conditions on the appropriate strips. Apply the Abel–Plana formula to the function g(t)=f(St) with upper limit n=x/S+1: k=1x/S+1f(Sk)=1x/S+1f(St)dt+f(S)+f(x+S)2+i0f(x+SiSt)f(SiSt)f(x+S+iSt)+f(S+iSt)e2πt1dt. Now subtract the last term f(x+S) from both sides, because k=1x/S+1f(Sk)=k=1x/Sf(Sk)+f(x+S): k=1x/Sf(Sk)=1x/S+1f(St)dt+f(S)+f(x+S)2f(x+S)+i0f(x+SiSt)f(SiSt)f(x+S+iSt)+f(S+iSt)e2πt1dt. Simplify the boundary terms: f(S)+f(x+S)2f(x+S)=f(S)f(x+S)2. In the real integral, substitute u=St, dt=du/S, limits t=1u=S, t=x/S+1u=x+S: 1x/S+1f(St)dt=1SSx+Sf(u)du. The imaginary part is already in a convenient form; by reordering the terms it becomes: i0(f(S+iSt)f(SiSt))(f(x+S+iSt)f(x+SiSt))e2πt1dt. Thus we obtain the step size generalization: S1f(x)=1SSx+Sf(u)du+f(S)f(x+S)2+i0(f(S+iSt)f(SiSt))(f(x+S+iSt)f(x+SiSt))e2πt1dt+C(x), where C(x) is a S-periodic function. The expression satisfies F(x)F(xS)=f(x) and, with the empty sum convention F(0)=0 (or up to another constant convention; C(x) being a constant function), defines the Nørlund principal solution where the growth condition on f becomes type <2π/S after the scaling.

Choice of the constant term

Because the indefinite sum is defined only up to an arbitrary 1-periodic function, the constant 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 limx0F(x)=0 or limx0+F(x)=0.

File:Analytic Continuation Harmonic.png
Inverse backward difference of 1/x with respect to x, showing a shifted digamma function.
Inverse backward difference
1f(x) corresponds to k=1xf(k). The convention 1f(x)|x=0=0 makes the sum over an empty interval zero.[5][10]
Inverse forward difference
Δ1f(x) corresponds to k=0x1f(k). The same convention yields Δ1f(x)|x=0=0.

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

1xa=Hx(a)=ζ(a)ζ(a,x+1).

Here, ζ(a) is the constant C such that 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 Bn(x) are defined by the generating function

textet1=n=0Bn(x)tnn!

together with the normalization

01Bn(x)dx=0(n1).

This property follows from the difference equation ΔBν(x)=νxν1 and the integration formula xx+1Bν(z)dz=xν, derived by Nørlund[30] 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

10(1f(x)+C)dx=0or01(1f(x)+C)dx=0,

and for the inverse forward difference

01(Δ1f(x)+C)dx=0or12(Δ1f(x)+C)dx=0.

Example. For Δ1x=x(x1)2+C, the condition 01(Δ1x)dx=0 gives C=112. Hence Δ1x=x(x1)2+112=12B2(x) with B2(x)=x2x+16, 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.

See also

  • Indefinite product
  • Time scale calculus
  • List of derivatives and integrals in alternative calculi

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 
  2. Goldberg, Samuel (1986). Introduction to Difference Equations, with Illustrative Examples from Economics, Psychology, and Sociology. New York: Dover Publications. p. 41. ISBN 978-0-486-65084-5. https://books.google.com/books?id=QUzNwiVpWGAC&pg=PA41. "If Y is a function whose first difference is the function y, then Y is called an indefinite sum of y and denoted by Δ1y." 
  3. Kelley, Walter G.; Peterson, Allan C. (2001). Difference Equations: An Introduction with Applications. Academic Press. p. 20. ISBN 0-12-403330-X. 
  4. 4.0 4.1 4.2 4.3 4.4 Nörlund, Niels Erik. Vorlesungen über Differenzenrechnung. Springer. pp. 40–44. ISBN 978-3-642-50514-0. https://link.springer.com/book/10.1007/978-3-642-50824-0. 
  5. 5.0 5.1 5.2 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. 6.0 6.1 Candelpergher, Bernard (2017). "Ramanujan Summation of Divergent Series". p. 3. https://univ-cotedazur.hal.science/hal-01150208/file/RamanujanSummationSpringer2.pdf. 
  7. 7.0 7.1 Candelpergher, Bernard (2017). "Ramanujan Summation of Divergent Series". p. 23. https://univ-cotedazur.hal.science/hal-01150208/file/RamanujanSummationSpringer2.pdf. 
  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. 10.0 10.1 10.2 10.3 10.4 Jordan, Charles (1960). Calculus of Finite Differences (Second ed.). New York, NY: Chelsea Publishing Company. pp. 104-107. https://archive.org/details/calculusoffinite0000unse/page/104/mode/2up. 
  11. 11.0 11.1 Candelpergher, Bernard (2017). "Ramanujan Summation of Divergent Series". pp. 18-23. https://univ-cotedazur.hal.science/hal-01150208/file/RamanujanSummationSpringer2.pdf. 
  12. Kelley, Walter G.; Peterson, Allan C. (2001). Difference Equations: An Introduction with Applications. Academic Press. p. 24. ISBN 0-12-403330-X. 
  13. 13.0 13.1 13.2 13.3 Jordan, Charles (1960). Calculus of Finite Differences (Second ed.). New York, NY: Chelsea Publishing Company. pp. 284-285. https://archive.org/details/calculusoffinite0000unse/page/284/mode/2up. 
  14. 14.0 14.1 14.2 "§2.10 Sums and Sequences". NIST Digital Library of Mathematical Functions. National Institute of Standards and Technology. https://dlmf.nist.gov/2.10#E2. 
  15. 15.0 15.1 Olver, Frank W. J. (1997). Asymptotics and Special Functions. A K Peters Ltd.. p. 290. ISBN 978-1-56881-069-0. 
  16. 16.0 16.1 16.2 Nörlund, Niels Erik. Vorlesungen über Differenzenrechnung. Springer. pp. 73-74. ISBN 978-3-642-50514-0. https://link.springer.com/book/10.1007/978-3-642-50824-0. 
  17. 17.0 17.1 Steffensen, J. F. (1950). Interpolation (2nd ed.). New York, NY: Chelsea Publishing Company. p. 192. https://archive.org/details/interpolation0000unse/page/192/mode/2up. 
  18. 18.0 18.1 18.2 18.3 Milne-Thomson, L. M. (1933). The Calculus of Finite Differences. Macmillan and Co.. pp. 139–140. https://archive.org/details/calculusoffinite032017mbp/page/139/mode/2up. 
  19. 19.0 19.1 19.2 Nörlund, Niels Erik. Vorlesungen über Differenzenrechnung. Springer. pp. 142-143. ISBN 978-3-642-50514-0. https://link.springer.com/book/10.1007/978-3-642-50824-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. 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. 70. Springer. doi:10.1007/978-3-030-95088-0. ISBN 978-3-030-95087-3. https://link.springer.com/book/10.1007/978-3-030-95088-0. 
  22. Nörlund, Niels Erik. Vorlesungen über Differenzenrechnung. Springer. p. 109. ISBN 978-3-642-50514-0. https://link.springer.com/book/10.1007/978-3-642-50824-0. 
  23. Milne-Thomson, L. M. (1933). The Calculus of Finite Differences. Macmillan and Co.. pp. 324–325. https://archive.org/details/calculusoffinite032017mbp/page/324/mode/2up. 
  24. Nörlund, Niels Erik. Vorlesungen über Differenzenrechnung. Springer. p. 237. ISBN 978-3-642-50514-0. https://link.springer.com/book/10.1007/978-3-642-50824-0. 
  25. Newton, Isaac, (1687). Principia, Book III, Lemma V, Case 1
  26. Iaroslav V. Blagouchine (2018). "Three notes on Ser's and Hasse's representations for the zeta-functions". Integers (Electronic Journal of Combinatorial Number Theory) 18A: 1–45. doi:10.5281/zenodo.10581385. http://math.colgate.edu/~integers/sjs3/sjs3.pdf. 
  27. Bernoulli numbers of the second kind on Mathworld
  28. 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. 
  29. 29.0 29.1 Milne-Thomson, L. M. (1933). The Calculus of Finite Differences. Macmillan and Co.. pp. 180-181. https://archive.org/details/calculusoffinite032017mbp/page/180/mode/2up. 
  30. Nörlund, Niels Erik. Vorlesungen über Differenzenrechnung. Springer. p. 19. ISBN 978-3-642-50514-0. https://link.springer.com/book/10.1007/978-3-642-50824-0. 

Further reading