Summation Explained

In mathematics, summation is the addition of a sequence of numbers, called addends or summands; the result is their sum or total. Beside numbers, other types of values can be summed as well: functions, vectors, matrices, polynomials and, in general, elements of any type of mathematical objects on which an operation denoted "+" is defined.

Summations of infinite sequences are called series. They involve the concept of limit, and are not considered in this article.

The summation of an explicit sequence is denoted as a succession of additions. For example, summation of is denoted, and results in 9, that is, . Because addition is associative and commutative, there is no need for parentheses, and the result is the same irrespective of the order of the summands. Summation of a sequence of only one element results in this element itself. Summation of an empty sequence (a sequence with no elements), by convention, results in 0.

Very often, the elements of a sequence are defined, through a regular pattern, as a function of their place in the sequence. For simple patterns, summation of long sequences may be represented with most summands replaced by ellipses. For example, summation of the first 100 natural numbers may be written as . Otherwise, summation is denoted by using Σ notation, where \sum is an enlarged capital Greek letter sigma. For example, the sum of the first natural numbers can be denoted as \sum_^n i.

For long summations, and summations of variable length (defined with ellipses or Σ notation), it is a common problem to find closed-form expressions for the result. For example,

n
\sum
i=1

i=

n(n+1)
2

.

Although such formulas do not always exist, many summation formulas have been discovered—with some of the most common and elementary ones being listed in the remainder of this article.

Notation

Capital-sigma notation

Mathematical notation uses a symbol that compactly represents summation of many similar terms: the summation symbol, \sum, an enlarged form of the upright capital Greek letter sigma. This is defined as

n
\sum
i=m

ai=am+am+1+am+2++an-1+an

where is the index of summation; is an indexed variable representing each term of the sum; is the lower bound of summation, and is the upper bound of summation. The "" under the summation symbol means that the index starts out equal to . The index,, is incremented by one for each successive term, stopping when .

This is read as "sum of, from to ".

Here is an example showing the summation of squares:

6
\sum
i=3

i2=32+42+52+62=86.

In general, while any variable can be used as the index of summation (provided that no ambiguity is incurred), some of the most common ones include letters such as

i

,

j

,

k

, and

n

; the latter is also often used for the upper bound of a summation.

Alternatively, index and bounds of summation are sometimes omitted from the definition of summation if the context is sufficiently clear. This applies particularly when the index runs from 1 to n.[1] For example, one might write that:

\sum

2
a
i

=

n
\sum
i=1
2.
a
i

Generalizations of this notation are often used, in which an arbitrary logical condition is supplied, and the sum is intended to be taken over all values satisfying the condition. For example:

\sum0f(k)

is an alternative notation for \sum_^ f(k), the sum of

f(k)

over all (integers)

k

in the specified range. Similarly,

\sumxf(x)

is the sum of

f(x)

over all elements

x

in the set

S

, and

\sumd|n\mu(d)

is the sum of

\mu(d)

over all positive integers

d

dividing

n

.

There are also ways to generalize the use of many sigma signs. For example,

\sumi,j

is the same as

\sumi\sumj.

A similar notation is used for the product of a sequence, where \prod, an enlarged form of the Greek capital letter pi, is used instead of \sum.

Special cases

It is possible to sum fewer than 2 numbers:

x

, then the evaluated sum is

x

.

These degenerate cases are usually only used when the summation notation gives a degenerate result in a special case.For example, if

n=m

in the definition above, then there is only one term in the sum; if

n=m-1

, then there is none.

Algebraic sum

The phrase 'algebraic sum' refers to a sum of terms which may have positive or negative signs. Terms with positive signs are added, while terms with negative signs are subtracted.

Formal definition

Summation may be defined recursively as follows:

b
\sum
i=a

g(i)=0

, for

b<a

;
b
\sum
i=a
b-1
g(i)=g(b)+\sum
i=a

g(i)

, for

b\geqslanta

.

Measure theory notation

In the notation of measure and integration theory, a sum can be expressed as a definite integral,

b
\sum
k=a

f(k)=\int[a,b]fd\mu

where

[a,b]

is the subset of the integers from

a

to

b

, and where

\mu

is the counting measure over the integers.

Calculus of finite differences

Given a function that is defined over the integers in the interval, the following equation holds:

f(n)-f(m)=

n-1
\sum
i=m

(f(i+1)-f(i)).

This is known as a telescoping series and is the analogue of the fundamental theorem of calculus in calculus of finite differences, which states that:

n
f(n)-f(m)=\int
m

f'(x)dx,

where

f'(x)=\limh\to

f(x+h)-f(x)
h
is the derivative of .

An example of application of the above equation is the following:

n-1
n
i=0

\left((i+1)k-ik\right).

Using binomial theorem, this may be rewritten as:
n-1
n
i=0
k-1
l(\sum
j=0

\binom{k}{j}ijr).

\Delta

, defined by:

\Delta(f)(n)=f(n+1)-f(n),

where is a function defined on the nonnegative integers.Thus, given such a function, the problem is to compute the antidifference of, a function

F=\Delta-1f

such that

\DeltaF=f

. That is,

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

This function is defined up to the addition of a constant, and may be chosen as[2]
n-1
F(n)=\sum
i=0

f(i).

There is not always a closed-form expression for such a summation, but Faulhaber's formula provides a closed form in the case where

f(n)=nk

and, by linearity, for every polynomial function of .

Approximation by definite integrals

Many such approximations can be obtained by the following connection between sums and integrals, which holds for any increasing function f:

b
\int
s=a-1

f(s)ds\le

b
\sum
i=a

f(i)\le

b+1
\int
s=a

f(s)ds.

and for any decreasing function f:

b+1
\int
s=a

f(s)ds\le

b
\sum
i=a

f(i)\le

b
\int
s=a-1

f(s)ds.

For more general approximations, see the Euler–Maclaurin formula.

For summations in which the summand is given (or can be interpolated) by an integrable function of the index, the summation can be interpreted as a Riemann sum occurring in the definition of the corresponding definite integral. One can therefore expect that for instance

b-a
n
n-1
\sumf\left(a+i
i=0
b-a
n\right)

b
\int
a

f(x)dx,

since the right-hand side is by definition the limit for

n\toinfty

of the left-hand side. However, for a given summation n is fixed, and little can be said about the error in the above approximation without additional assumptions about f: it is clear that for wildly oscillating functions the Riemann sum can be arbitrarily far from the Riemann integral.

Identities

The formulae below involve finite sums; for infinite summations or finite summations of expressions involving trigonometric functions or other transcendental functions, see list of mathematical series.

General identities

t
\sum
n=s

Cf(n)=C

t
\sum
n=s

f(n)

(distributivity)[3]
t
\sum
n=s

f(n)\pm

t
\sum
n=s

g(n)=

t
\sum
n=s

\left(f(n)\pmg(n)\right)

(commutativity and associativity)
t
\sum
n=s

f(n)=

t+p
\sum
n=s+p

f(n-p)

(index shift)

\sumn\inf(n)=\summ\inf(\sigma(m)),

for a bijection from a finite set onto a set (index change); this generalizes the preceding formula.
t
\sum
n=s

f(n)

j
=\sum
n=s

f(n)+

t
\sum
n=j+1

f(n)

(splitting a sum, using associativity)
b
\sum
n=a
b
f(n)=\sum
n=0
a-1
f(n)-\sum
n=0

f(n)

(a variant of the preceding formula)
t
\sum
n=s

f(n)=

t-s
\sum
n=0

f(t-n)

(the sum from the first term up to the last is equal to the sum from the last down to the first)
t
\sum
n=0

f(n)=

t
\sum
n=0

f(t-n)

(a particular case of the formula above)
k1
\sum
i=k0
l1
\sum
j=l0

ai,j=

l1
\sum
j=l0
k1
\sum
i=k0

ai,j

(commutativity and associativity, again)

\sumk\leai,j=

i
\sum
j=k

ai,j=

n
\sum
i=j

ai,j

n-k
= \sum
j=0
n-j
\sum
i=k

ai+j,i

(another application of commutativity and associativity)
2t+1
\sum
n=2s

f(n)=

t
\sum
n=s

f(2n)+

t
\sum
n=s

f(2n+1)

(splitting a sum into its odd and even parts, for even indexes)
2t
\sum
n=2s+1

f(n)=

t
\sum
n=s+1

f(2n)+

t
\sum
n=s+1

f(2n-1)

(splitting a sum into its odd and even parts, for odd indexes)
n
l(\sum
i=0

air)

n
l(\sum
j=0

bjr)=\sum

n
i=0
n
\sum
j=0

aibj

(distributivity)
n
\sum
j=t

{ai}{cj}=

m
l(\sum
i=s

air)l(

n
\sum
j=t

cjr)

(distributivity allows factorization)
t
\sum
n=s

logbf(n)=logb

t
\prod
n=s

f(n)

(the logarithm of a product is the sum of the logarithms of the factors)
t
\sum\limitsf(n)
n=s
C

=

t
\prod
n=s

Cf(n)

(the exponential of a sum is the product of the exponential of the summands)
k
\sum
m=0
m
\sum
n=0
k
f(m,n)=\sum
m=0
k
\sum
n=m

f(n,m),

for any function f from \mathbb\times\mathbb.

Powers and logarithm of arithmetic progressions

n
\sum
i=1

c=nc

for every that does not depend on
n
\sum
i=0

i=

n
\sum
i=1

i=

n(n+1)
2

  

(Sum of the simplest arithmetic progression, consisting of the first n natural numbers.)
n
\sum
i=1

(2i-1)=n2   

(Sum of first odd natural numbers)
n
\sum
i=0

2i=n(n+1)   

(Sum of first even natural numbers)
n
\sum
i=1

logi=logn!   

(A sum of logarithms is the logarithm of the product)
n
\sum
i=0

i2=

n
\sum
i=1

i2=

n(n+1)(2n+1)
6

=

n3
3

+

n2
2

+

n
6

  

(Sum of the first squares, see square pyramidal number.)
n
\sum
i=0

i3=

n
l(\sum
i=0

ir)2=\left(

n(n+1)
2

\right)2=

n4
4

+

n3
2

+

n2
4

  

(Nicomachus's theorem)

More generally, one has Faulhaber's formula for

p>1

n
\sum
k=1

kp=

np+1
p+1

+

1
2

np+

p
\sum
k=2

\binompk

Bk
p-k+1

np-k+1,

where

Bk

denotes a Bernoulli number, and

\binompk

is a binomial coefficient.

Summation index in exponents

In the following summations, is assumed to be different from 1.

n-1
\sum
i=0

ai=

1-an
1-a
(sum of a geometric progression)
n-1
\sum
i=0
1
2i

=2-

1
2n-1
(special case for)
n-1
\sum
i=0

iai=

a-nan+(n-1)an+1
(1-a)2
(times the derivative with respect to of the geometric progression)

\begin

n-1
{align} \sum
i=0

\left(b+id\right)ai&=b

n-1
\sum
i=0

ai+d

n-1
\sum
i=0

iai\\ &=b\left(

1-an
1-a

\right)+d\left(

a-nan+(n-1)an+1
(1-a)2

\right)\\ &=

b(1-an)-(n-1)dan+
1-a
da(1-an)
(1-a)2

\end{align}

(sum of an arithmetico–geometric sequence)

Binomial coefficients and factorials

There exist very many summation identities involving binomial coefficients (a whole chapter of Concrete Mathematics is devoted to just the basic techniques). Some of the most basic ones are the following.

Involving the binomial theorem

n
\sum
i=0

{n\choosei}an-ibi=(a+b)n,

the binomial theorem
n
\sum
i=0

{n\choosei}=2n,

the special case where
n
\sum
i=0

{n\choosei}pi(1-p)n-i=1

, the special case where, which, for

0\lep\le1,

expresses the sum of the binomial distribution
n
\sum
i=0

i{n\choosei}=n(2n-1),

the value at of the derivative with respect to of the binomial theorem
n
\sum
i=0
n\choosei
i+1

=

2n+1-1
n+1

,

the value at of the antiderivative with respect to of the binomial theorem

Involving permutation numbers

In the following summations,

{}nPk

is the number of -permutations of .
n
\sum
i=0

{}iPk{n\choosei}={}nPk(2n-k)

n
\sum
i=1

{}i+kPk+1=

n
\sum
i=1
k
\prod
j=0

(i+j)=

(n+k+1)!
(n-1)!(k+2)
n
\sum
i=0

i!{n\choosei}=

n
\sum
i=0

{}nPi=\lfloorn!e\rfloor,n\inZ+

, where and

\lfloorx\rfloor

denotes the floor function.

Others

m
\sum
k=0

\binom{n+k}{n}=\binom{n+m+1}{n+1}

n
\sum
i=k

{i\choosek}={n+1\choosek+1}

n
\sum
i=0

ii!=(n+1)!-1

n
\sum
i=0

{m+i-1\choosei}={m+n\choosen}

n
\sum
i=0

{n\choosei}2={2n\choosen}

n
\sum
i=0
1
i!

=

\lfloorn!e\rfloor
n!

Harmonic numbers

n
\sum
i=1
1
i

=Hn

(the th harmonic number)
n
\sum
i=1
1
ik

=

k
H
n
(a generalized harmonic number)

Growth rates

The following are useful approximations (using theta notation):

n
\sum
i=1

ic\in\Theta(nc+1)

for real c greater than −1
n
\sum
i=1
1
i

\in\Theta(logen)

(See Harmonic number)
n
\sum
i=1

ci\in\Theta(cn)

for real c greater than 1
n
\sum
i=1

log(i)c\in\Theta(nlog(n)c)

for non-negative real c
n
\sum
i=1

log(i)cid\in\Theta(nd+1log(n)c)

for non-negative real c, d
n
\sum
i=1

log(i)cidbi\in\Theta(ndlog(n)cbn)

for non-negative real b > 1, c, d

History

\Sigma(2wx+w2)=x2

infty
\sum
i=1
-i2t
e

\ldots

See also

Bibliography

Notes and References

  1. Web site: Summation Notation. 2020-08-16. www.columbia.edu.
  2. Handbook of Discrete and Combinatorial Mathematics, Kenneth H. Rosen, John G. Michaels, CRC Press, 1999, .
  3. Web site: Calculus I - Summation Notation. 2020-08-16. tutorial.math.lamar.edu.
  4. Book: Burton , David M. . The History of Mathematics: An Introduction . 2011 . 7th . McGraw-Hill . 978-0-07-338315-6 . 414.
  5. Book: Leibniz , Gottfried Wilhelm . Gottfried Wilhelm Leibniz . Der Briefwechsel von Gottfried Wilhelm Leibniz mit Mathematikern. Erster Band . 1899 . Karl Immanuel . Gerhardt . Berlin . Mayer & Müller . 154.
  6. Book: Euler . Leonhard . Leonhard Euler . Institutiones Calculi differentialis . 1755 . Petropolis . 27 . Latin.
  7. Book: Lagrange . Joseph-Louis . Joseph-Louis Lagrange . Oeuvres de Lagrange. Tome 3 . 1867–1892 . Paris . 451 . French.
  8. Book: Mémoires de l'Académie royale des sciences de l'Institut de France pour l'année 1825, tome VIII . 1829 . Didot . Paris . 581-622 . French.
  9. Book: Fourier . Jean-Baptiste Joseph . Joseph Fourier . Oeuvres de Fourier. Tome 2 . 1888–1890 . Gauthier-Villars . Paris . 149 . French.