Summation

Last updated

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.

Contents

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 [1, 2, 4, 2] is denoted 1 + 2 + 4 + 2, and results in 9, that is, 1 + 2 + 4 + 2 = 9. Because addition is associative and commutative, there is no need of 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 1 + 2 + 3 + 4 + ⋯ + 99 + 100. Otherwise, summation is denoted by using Σ notation, where is an enlarged capital Greek letter sigma. For example, the sum of the first n natural numbers can be denoted as

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, [lower-alpha 1]

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

The summation symbol Greek uc sigma.svg
The summation symbol

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

where i is the index of summation; ai is an indexed variable representing each term of the sum; m is the lower bound of summation, and n is the upper bound of summation. The "i = m" under the summation symbol means that the index i starts out equal to m. The index, i, is incremented by one for each successive term, stopping when i = n. [lower-alpha 2]

This is read as "sum of ai, from i = m to n".

Here is an example showing the summation of squares:

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 , [lower-alpha 3] , , and ; 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:

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:

is an alternative notation for the sum of over all (integers) in the specified range. Similarly,

is the sum of over all elements in the set , and

is the sum of over all positive integers dividing . [lower-alpha 4]

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

is the same as

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

Special cases

It is possible to sum fewer than 2 numbers:

These degenerate cases are usually only used when the summation notation gives a degenerate result in a special case. For example, if in the definition above, then there is only one term in the sum; if , then there is none.

Formal definition

Summation may be defined recursively as follows:

, for ;
, for .

Measure theory notation

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

where is the subset of the integers from to , and where is the counting measure over the integers.

Calculus of finite differences

Given a function f that is defined over the integers in the interval [m, n], the following equation holds:

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:

where

is the derivative of f.

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

Using binomial theorem, this may be rewritten as:

The above formula is more commonly used for inverting of the difference operator , defined by:

where f is a function defined on the nonnegative integers. Thus, given such a function f, the problem is to compute the antidifference of f, a function such that . That is, This function is defined up to the addition of a constant, and may be chosen as [2]

There is not always a closed-form expression for such a summation, but Faulhaber's formula provides a closed form in the case where and, by linearity, for every polynomial function of n.

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:

and for any decreasing function f:

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

since the right-hand side is by definition the limit for 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

(distributivity) [3]
(commutativity and associativity) [3]
(index shift)
for a bijection σ from a finite set A onto a set B (index change); this generalizes the preceding formula.
(splitting a sum, using associativity)
(a variant of the preceding formula)
(the sum from the first term up to the last is equal to the sum from the last down to the first)
(a particular case of the formula above)
(commutativity and associativity, again)
(another application of commutativity and associativity)
(splitting a sum into its odd and even parts, for even indexes)
(splitting a sum into its odd and even parts, for odd indexes)
(distributivity)
(distributivity allows factorization)
(the logarithm of a product is the sum of the logarithms of the factors)
(the exponential of a sum is the product of the exponential of the summands)

Powers and logarithm of arithmetic progressions

for every c that does not depend on i
(Sum of the simplest arithmetic progression, consisting of the first n natural numbers.) [2] :52
(Sum of first odd natural numbers)
(Sum of first even natural numbers)
(A sum of logarithms is the logarithm of the product)
(Sum of the first squares, see square pyramidal number.) [2] :52
(Nicomachus's theorem) [2] :52

More generally, one has Faulhaber's formula for

where denotes a Bernoulli number, and is a binomial coefficient.

Summation index in exponents

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

(sum of a geometric progression)
(special case for a = 1/2)
(a times the derivative with respect to a of the geometric progression)
(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

the binomial theorem
the special case where a = b = 1
, the special case where p = a = 1 − b, which, for expresses the sum of the binomial distribution
the value at a = b = 1 of the derivative with respect to a of the binomial theorem
the value at a = b = 1 of the antiderivative with respect to a of the binomial theorem

Involving permutation numbers

In the following summations, is the number of k-permutations of n.

, where and denotes the floor function.

Others

Harmonic numbers

(the nth harmonic number)
(a generalized harmonic number)

Growth rates

The following are useful approximations (using theta notation):

for real c greater than −1
(See Harmonic number)
for real c greater than 1
for non-negative real c
for non-negative real c, d
for non-negative real b > 1, c, d

History

See also

Notes

  1. For details, see Triangular number.
  2. For a detailed exposition on summation notation, and arithmetic with sums, see Graham, Ronald L.; Knuth, Donald E.; Patashnik, Oren (1994). "Chapter 2: Sums". Concrete Mathematics: A Foundation for Computer Science (PDF) (2nd ed.). Addison-Wesley Professional. ISBN   978-0201558029.[ permanent dead link ]
  3. in contexts where there is no possibility of confusion with the imaginary unit
  4. Although the name of the dummy variable does not matter (by definition), one usually uses letters from the middle of the alphabet ( through ) to denote integers, if there is a risk of confusion. For example, even if there should be no doubt about the interpretation, it could look slightly confusing to many mathematicians to see instead of in the above formulae involving .

Related Research Articles

In number theory, an arithmetic, arithmetical, or number-theoretic function is generally any function f(n) whose domain is the positive integers and whose range is a subset of the complex numbers. Hardy & Wright include in their definition the requirement that an arithmetical function "expresses some arithmetical property of n". There is a larger class of number-theoretic functions that do not fit this definition, for example, the prime-counting functions. This article provides links to functions of both classes.

<span class="mw-page-title-main">Binomial coefficient</span> Number of subsets of a given size

In mathematics, the binomial coefficients are the positive integers that occur as coefficients in the binomial theorem. Commonly, a binomial coefficient is indexed by a pair of integers nk ≥ 0 and is written It is the coefficient of the xk term in the polynomial expansion of the binomial power (1 + x)n; this coefficient can be computed by the multiplicative formula

In elementary algebra, the binomial theorem (or binomial expansion) describes the algebraic expansion of powers of a binomial. According to the theorem, it is possible to expand the polynomial (x + y)n into a sum involving terms of the form axbyc, where the exponents b and c are nonnegative integers with b + c = n, and the coefficient a of each term is a specific positive integer depending on n and b. For example, for n = 4,

In mathematics, the Bernoulli numbersBn are a sequence of rational numbers which occur frequently in analysis. The Bernoulli numbers appear in the Taylor series expansions of the tangent and hyperbolic tangent functions, in Faulhaber's formula for the sum of m-th powers of the first n positive integers, in the Euler–Maclaurin formula, and in expressions for certain values of the Riemann zeta function.

In mathematics, a series is, roughly speaking, the operation of adding infinitely many quantities, one after the other, to a given starting quantity. The study of series is a major part of calculus and its generalization, mathematical analysis. Series are used in most areas of mathematics, even for studying finite structures through generating functions. In addition to their ubiquity in mathematics, infinite series are also widely used in other quantitative disciplines such as physics, computer science, statistics and finance.

In mathematics, Stirling numbers arise in a variety of analytic and combinatorial problems. They are named after James Stirling, who introduced them in a purely algebraic setting in his book Methodus differentialis (1730). They were rediscovered and given a combinatorial meaning by Masanobu Saka in 1782.

In mathematics, a generating function is a representation of an infinite sequence of numbers as the coefficients of a formal power series. Unlike an ordinary series, the formal power series is not required to converge: in fact, the generating function is not actually regarded as a function, and the "variable" remains an indeterminate. Generating functions were first introduced by Abraham de Moivre in 1730, in order to solve the general linear recurrence problem. One can generalize to formal power series in more than one indeterminate, to encode information about infinite multi-dimensional arrays of numbers.

<span class="mw-page-title-main">Chebyshev polynomials</span> Polynomial sequence

The Chebyshev polynomials are two sequences of polynomials related to the cosine and sine functions, notated as and . They can be defined in several equivalent ways, one of which starts with trigonometric functions:

In mathematics, the falling factorial is defined as the polynomial

<span class="mw-page-title-main">Mertens function</span> Summatory function of the Möbius function

In number theory, the Mertens function is defined for all positive integers n as

In mathematics, an alternating series is an infinite series of the form

In mathematics, an asymptotic expansion, asymptotic series or Poincaré expansion is a formal series of functions which has the property that truncating the series after a finite number of terms provides an approximation to a given function as the argument of the function tends towards a particular, often infinite, point. Investigations by Dingle (1973) revealed that the divergent part of an asymptotic expansion is latently meaningful, i.e. contains information about the exact value of the expanded function.

In mathematics, Chebyshev's sum inequality, named after Pafnuty Chebyshev, states that if

<span class="mw-page-title-main">Stieltjes constants</span>

In mathematics, the Stieltjes constants are the numbers that occur in the Laurent series expansion of the Riemann zeta function:

<span class="mw-page-title-main">Stirling numbers of the second kind</span> Numbers parameterizing ways to partition a set

In mathematics, particularly in combinatorics, a Stirling number of the second kind is the number of ways to partition a set of n objects into k non-empty subsets and is denoted by or . Stirling numbers of the second kind occur in the field of mathematics called combinatorics and the study of partitions. They are named after James Stirling.

In mathematics, especially in combinatorics, Stirling numbers of the first kind arise in the study of permutations. In particular, the Stirling numbers of the first kind count permutations according to their number of cycles.

<span class="mw-page-title-main">Eulerian number</span> Polynomial sequence

In combinatorics, the Eulerian number is the number of permutations of the numbers 1 to in which exactly elements are greater than the previous element.

In mathematics, a transformation of a sequence's generating function provides a method of converting the generating function for one sequence into a generating function enumerating another. These transformations typically involve integral formulas applied to a sequence generating function or weighted sums over the higher-order derivatives of these functions.

References

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

Bibliography