List of indefinite sums

From HandWiki
Short description: Inverse of a finite difference/the antidifference for various functions

This reference list assumes the reader is comfortable with the advanced mathematical concepts presented in the main article and is not intended for beginners.

upright=2.5
Visualization of the property ΔC(x)=0 for a 1-periodic function C(x). Because ΔC(x)=C(x+1)−C(x)=0 (resp. ∇C(x)=C(x)−C(x−1)=0 for the backward difference), C(x+1)=C(x) (resp. C(x)=C(x−1)). Thus, 1-periodic functions vanish under the difference operators.

This is a list of indefinite sums (also known as antidifferences) of various functions. An indefinite sum ∑xf(x) is the inverse of the forward difference operator Δ, defined as Δf(x)=f(x+1)−f(x). It satisfies the relation

Δ∑xf(x)=f(x).

The operator is not unique; adding any 1-periodic function to a solution yields another solution.

To obtain a unique solution (up to an additive constant C), the Nørlund principal solution is typically used. This imposes the condition that the solution has the minimal possible exponential type in the imaginary direction. The following formulas represent the principal solutions for the half-plane to the right of the rightmost singularity, unless otherwise stated.

Antidifferences of rational functions

For positive integer exponents, Faulhaber's formula can be used. Note that x in the result of Faulhaber's formula must be replaced with x−1 due to the offset, as Faulhaber's formula finds ∇−1 rather than Δ−1.[1]

For negative integer exponents, the indefinite sum is closely related to the polygamma function:[2][3]

∑x1xa=(−1)a−1ψ(a−1)(x)(a−1)!+C,a∈ℕ

For fractions not listed in this section, one may use the polygamma function with partial fraction decomposition. More generally,[2][4]

∑xxa={Ba+1(x)a+1+C,if a≠−1ψ(x)+C,if a=−1={−ζ(−a,x)+C,if a≠−1ψ(x)+C,if a=−1

where Ba(x) are the generalized Bernoulli polynomials (see Temme, Eq. 2.20[4]), ζ(s,a) is the Hurwitz zeta function, and ψ(z) is the digamma function. This is related to the generalized harmonic numbers.

As the generalized harmonic numbers use reciprocal powers, a must be substituted for −a, and the most common form uses the inverse of the backward difference offset:[2]

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

Here, ζ(−a) is the constant C.

The Bernoulli polynomials are also related via a partial derivative with respect to x (Temme, Eq. 2.7 and Eq. 2.20[4]):

∂∂x(∑xxa)=Ba(x)=−aζ(1−a,x).

This relationship can be expressed via the inverse backward difference operator as:

∂∂x(∇−1xa)|x=0=−aζ(1−a,x+1)|x=0=−aζ(1−a)=Ba.

Further generalization comes from use of the Lerch transcendent:[5]

∑xzx(x+a)s=−zxΦ(z,s,x+a)+C,

which generalizes the generalized harmonic numbers as zΦ(z,s,a+1)−zx+1Φ(z,s,x+1+a) when taking ∇−1.

The sum of Bernoulli polynomials follows directly from their defining properties (Temme, Eqs. 2.6 and 2.7[4]) using summation by parts:

∑xBa(x)=(x−1)Ba(x)−aa+1Ba+1(x)+C,a≠−1

Antidifferences of exponential functions

∑xax=axa−1+C[1]

Antidifferences of logarithmic functions

∑xlogbx=logbΓ(x)+C[1]
∑xlogbax=logb(ax−1Γ(x))+C[1]

Antidifferences of trigonometric functions

∑xsin⁡ax=−12csc⁡(a2)cos⁡(a2−ax)+C,a≠2nπ[1]
∑xcos⁡ax=12csc⁡(a2)sin⁡(ax−a2)+C,a≠2nπ[1]


The antidifference of the normalized sinc function can be obtained by applying the Abel–Plana formula presented in Candelpergher[2] with the shift x↦x−1, the condition F(0)=0, and recurrence of F(x+1)−F(x)=f(x). Using the reflection formula for the digamma function, this simplifies to: ∑xsinc⁡x=sinc⁡(x−1)(12+(x−1)×(ln⁡(2)+ψ(x−12)+ψ(1−x2)2−ψ(x−1)+ψ(1−x)2))+12+C

Antidifferences of hyperbolic functions

Antidifferences of special functions

∑xψ(x)=(x−1)ψ(x)−x+C[6]

The indefinite sum (antidifference) of the Gamma function gives the Nørlund principal solution to the difference equation F(x+1)−F(x)=Γ(x), and is given by:

∑xΓ(x)=(−1)x+1Γ(x)Γ(1−x,−1)e+C[7]

where Γ(s,x) is the incomplete gamma function and e is Euler's number.

This specific closed form is derived directly from the incomplete Gamma function representation of the Kurepa function K1(z) (defined as K1(z)=∑n=0∞Γ(z−n)), which satisfies the same functional equation K1(z)−K1(z−1)=Γ(z). By converting Marichev's Cauchy Principal Value integral via Kummer's hypergeometric function, Malešević proved in Theorem 4.1 that (−1)zΓ(1+z)Γ(−z,−1)/e is the antidifference operator. Substituting z→x−1 yields the expression above.

∑x(x)a=(x)a+1a+1+C[1]

where (x)a is the falling factorial.

For the super-exponential F(x)=sexpa(x), defined by the recurrence F(x+1)=aF(x)[8],

differentiating gives

F′(x+1)=F′(x)F(x+1)ln⁡a.

For the base-e case this derivative relation appears as Eq. (6.3) in[9].

Consequently,

Δloga(F′(x)(ln⁡a)x)=loga(F′(x+1)F′(x)ln⁡a)=loga(F(x+1))=F(x).

Hence the antidifference is

∑xsexpa(x)=loga(sexpa′(x)(ln⁡a)x)+C.

The formula is not stated explicitly in the cited sources, but follows directly from their defining recurrence and derivative relation.

References

  1. ↑ 1.0 1.1 1.2 1.3 1.4 1.5 1.6 Jordan, Charles (1960). Calculus of Finite Differences (Second ed.). New York, NY: Chelsea Publishing Company. pp. 104-105. https://archive.org/details/calculusoffinite0000unse/page/104/mode/2up. 
  2. ↑ 2.0 2.1 2.2 2.3 Candelpergher, Bernard (2017). "Ramanujan Summation of Divergent Series". pp. 19-23. https://univ-cotedazur.hal.science/hal-01150208/file/RamanujanSummationSpringer2.pdf. 
  3. ↑ Abramowitz, Milton; Stegun, Irene A. (2013). Handbook of mathematical functions: with formulas, graphs, and mathematical tables (9. Dover print. ed.). New York, NY: Dover Publ. p. 260. ISBN 978-0486612720. https://personal.math.ubc.ca/~cbm/aands/page_260.htm. Retrieved 18 June 2026. 
  4. ↑ 4.0 4.1 4.2 4.3 Temme, Nico M. (1995). "Bernoulli Polynomials Old and New: Generalizations and Asymptotics". CWI Quarterly 8 (1): 47–66. ISSN 0922-5366. 
  5. ↑ Olver, Frank W. J.. "§25.14 Lerch's Transcendent". https://dlmf.nist.gov/25.14#E4. 
  6. ↑ Jordan, Charles (1960). Calculus of Finite Differences (Second ed.). New York, NY: Chelsea Publishing Company. p. 130. https://archive.org/details/calculusoffinite0000unse/page/130/mode/2up. 
  7. ↑ Malešević, Branko J. (2003). "Some considerations in connection with Kurepa's function". Publikacije Elektrotehničkog fakulteta - Serija Matematika 14: 26–36. doi:10.2298/PETF0314026M. https://arxiv.org/abs/math/0406235. 
  8. ↑ Kouznetsov, Dmitrii; Trappmann, Henryk (2010). "Portrait of the four regular super-exponentials to base sqrt(2)". Mathematics of Computation 79 (271): 1727–1756. doi:10.1090/S0025-5718-10-02342-2. https://www.ams.org/journals/mcom/2010-79-271/S0025-5718-10-02342-2/S0025-5718-10-02342-2.pdf. Retrieved 2026-08-29. 
  9. ↑ Kouznetsov, Dmitrii (2009). "Solution of F(z+1) = exp(F(z)) in complex z-plane". Mathematics of Computation 78 (267): 1647–1670. doi:10.1090/S0025-5718-09-02188-7. https://www.researchgate.net/publication/266827067_Solution_of_1expbigbig_in_complex_-plane. Retrieved 2026-08-29.