![Sum (mathematics)](https://www.english.nina.az/wikipedia/image/aHR0cHM6Ly91cGxvYWQud2lraW1lZGlhLm9yZy93aWtpcGVkaWEvY29tbW9ucy90aHVtYi9lL2U3L0dyZWVrX3VjX3NpZ21hLnN2Zy8xNjAwcHgtR3JlZWtfdWNfc2lnbWEuc3ZnLnBuZw==.png )
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 [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 for parentheses, and the result is the same irrespective of the order of the summands. Summation of a sequence of only one summand results in the summand 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,
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
![image](https://www.english.nina.az/wikipedia/image/aHR0cHM6Ly93d3cuZW5nbGlzaC5uaW5hLmF6L3dpa2lwZWRpYS9pbWFnZS9hSFIwY0hNNkx5OTFjR3h2WVdRdWQybHJhVzFsWkdsaExtOXlaeTkzYVd0cGNHVmthV0V2WTI5dGJXOXVjeTkwYUhWdFlpOWxMMlUzTDBkeVpXVnJYM1ZqWDNOcFoyMWhMbk4yWnk4M05IQjRMVWR5WldWclgzVmpYM05wWjIxaExuTjJaeTV3Ym1jPS5wbmc=.png)
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.
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 ,
,
, 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. 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
.
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:
- If the summation has one summand
, then the evaluated sum is
.
- If the summation has no summands, then the evaluated sum is zero, because zero is the identity for addition. This is known as the empty sum.
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.
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. e.g. +1 -1
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
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)
(commutativity and associativity)
(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)
for any function
from
.
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.): 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.) : 52
(Nicomachus's theorem) : 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
- In 1675, Gottfried Wilhelm Leibniz, in a letter to Henry Oldenburg, suggests the symbol ∫ to mark the sum of differentials (Latin: calculus summatorius), hence the S-shape. The renaming of this symbol to integral arose later in exchanges with Johann Bernoulli.
- In 1755, the summation symbol Σ is attested in Leonhard Euler's Institutiones calculi differentialis. Euler uses the symbol in expressions like:
- In 1772, usage of Σ and Σn is attested by Lagrange.
- In 1823, the capital letter S is attested as a summation symbol for series. This usage was apparently widespread.
- In 1829, the summation symbol Σ is attested by Fourier and C. G. J. Jacobi. Fourier's use includes lower and upper bounds, for example:
See also
- Capital-pi notation
- Einstein notation
- Iverson bracket
- Iterated binary operation
- Kahan summation algorithm
- Product (mathematics)
- Summation by parts
- Sigma § Character encoding
Notes
- For details, see Triangular number.
- 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 (2nd ed.). Addison-Wesley Professional. ISBN 978-0201558029.
- in contexts where there is no possibility of confusion with the imaginary unit
- 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
.
References
- Apostol, Tom M. (1967). Calculus. Vol. 1 (2nd ed.). USA: John Wiley & Sons. p. 37. ISBN 0-471-00005-1.
- "Summation Notation". www.columbia.edu. Retrieved 2020-08-16.
- Handbook of Discrete and Combinatorial Mathematics, Kenneth H. Rosen, John G. Michaels, CRC Press, 1999, ISBN 0-8493-0149-1.
- "Calculus I - Summation Notation". tutorial.math.lamar.edu. Retrieved 2020-08-16.
- Burton, David M. (2011). The History of Mathematics: An Introduction (7th ed.). McGraw-Hill. p. 414. ISBN 978-0-07-338315-6.
- Leibniz, Gottfried Wilhelm (1899). Gerhardt, Karl Immanuel (ed.). Der Briefwechsel von Gottfried Wilhelm Leibniz mit Mathematikern. Erster Band. Berlin: Mayer & Müller. p. 154.
- Cajori (1929), pp. 181-182.
- Cajori (1929), p. 61.
- Euler, Leonhard (1755). Institutiones Calculi differentialis (in Latin). Petropolis. p. 27.
- Lagrange, Joseph-Louis (1867–1892). Oeuvres de Lagrange. Tome 3 (in French). Paris. p. 451.
{{cite book}}
: CS1 maint: location missing publisher (link) - 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.
- Fourier, Jean-Baptiste Joseph (1888–1890). Oeuvres de Fourier. Tome 2 (in French). Paris: Gauthier-Villars. p. 149.
Bibliography
- Cajori, Florian (1929). A History Of Mathematical Notations Volume II. Open Court Publishing. ISBN 978-0-486-67766-8.
External links
Media related to Summation at Wikimedia Commons
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 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 for parentheses and the result is the same irrespective of the order of the summands Summation of a sequence of only one summand results in the summand 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 S notation where textstyle sum is an enlarged capital Greek letter sigma For example the sum of the first n natural numbers can be denoted as i 1ni displaystyle sum i 1 n i For long summations and summations of variable length defined with ellipses or S notation it is a common problem to find closed form expressions for the result For example i 1ni n n 1 2 displaystyle sum i 1 n i frac 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 NotationCapital sigma notation The summation symbol Mathematical notation uses a symbol that compactly represents summation of many similar terms the summation symbol textstyle sum an enlarged form of the upright capital Greek letter sigma This is defined as i mnai am am 1 am 2 an 1 an displaystyle sum i mathop m n a i a m a m 1 a m 2 cdots a n 1 a n 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 This is read as sum of ai from i m to n Here is an example showing the summation of squares i 36i2 32 42 52 62 86 displaystyle sum i 3 6 i 2 3 2 4 2 5 2 6 2 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 displaystyle i j displaystyle j k displaystyle k and n displaystyle 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 For example one might write that ai2 i 1nai2 displaystyle sum a i 2 sum i 1 n a i 2 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 0 k lt 100f k displaystyle sum 0 leq k lt 100 f k is an alternative notation for k 099f k textstyle sum k 0 99 f k the sum of f k displaystyle f k over all integers k displaystyle k in the specified range Similarly x Sf x displaystyle sum x mathop in S f x is the sum of f x displaystyle f x over all elements x displaystyle x in the set S displaystyle S and d nm d displaystyle sum d n mu d is the sum of m d displaystyle mu d over all positive integers d displaystyle d dividing n displaystyle n There are also ways to generalize the use of many sigma signs For example i j displaystyle sum i j is the same as i j displaystyle sum i sum j A similar notation is used for the product of a sequence where textstyle prod an enlarged form of the Greek capital letter pi is used instead of textstyle sum Special cases It is possible to sum fewer than 2 numbers If the summation has one summand x displaystyle x then the evaluated sum is x displaystyle x If the summation has no summands then the evaluated sum is zero because zero is the identity for addition This is known as the empty sum These degenerate cases are usually only used when the summation notation gives a degenerate result in a special case For example if n m displaystyle n m in the definition above then there is only one term in the sum if n m 1 displaystyle 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 e g 1 1Formal definitionSummation may be defined recursively as follows i abg i 0 displaystyle sum i a b g i 0 for b lt a displaystyle b lt a i abg i g b i ab 1g i displaystyle sum i a b g i g b sum i a b 1 g i for b a displaystyle b geqslant a Measure theory notationIn the notation of measure and integration theory a sum can be expressed as a definite integral k abf k a b fdm displaystyle sum k mathop a b f k int a b f d mu where a b displaystyle a b is the subset of the integers from a displaystyle a to b displaystyle b and where m displaystyle mu is the counting measure over the integers Calculus of finite differencesGiven a function f that is defined over the integers in the interval m n the following equation holds f n f m i mn 1 f i 1 f i displaystyle f n f m sum i m n 1 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 f n f m mnf x dx displaystyle f n f m int m n f x dx where f x limh 0f x h f x h displaystyle f x lim h to 0 frac f x h f x h is the derivative of f An example of application of the above equation is the following nk i 0n 1 i 1 k ik displaystyle n k sum i 0 n 1 left i 1 k i k right Using binomial theorem this may be rewritten as nk i 0n 1 j 0k 1 kj ij displaystyle n k sum i 0 n 1 biggl sum j 0 k 1 binom k j i j biggr The above formula is more commonly used for inverting of the difference operator D displaystyle Delta defined by D f n f n 1 f n displaystyle Delta f n f n 1 f n 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 F D 1f displaystyle F Delta 1 f such that DF f displaystyle Delta F f That is F n 1 F n f n displaystyle F n 1 F n f n This function is defined up to the addition of a constant and may be chosen as F n i 0n 1f i displaystyle F n sum i 0 n 1 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 displaystyle f n n k and by linearity for every polynomial function of n Approximation by definite integralsMany such approximations can be obtained by the following connection between sums and integrals which holds for any increasing function f s a 1bf s ds i abf i s ab 1f s ds displaystyle int s a 1 b f s ds leq sum i a b f i leq int s a b 1 f s ds and for any decreasing function f s ab 1f s ds i abf i s a 1bf s ds displaystyle int s a b 1 f s ds leq sum i a b f i leq int s a 1 b 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 an i 0n 1f a ib an abf x dx displaystyle frac b a n sum i 0 n 1 f left a i frac b a n right approx int a b f x dx since the right hand side is by definition the limit for n displaystyle n to infty 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 IdentitiesThe 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 n stC f n C n stf n displaystyle sum n s t C cdot f n C cdot sum n s t f n quad distributivity n stf n n stg n n st f n g n displaystyle sum n s t f n pm sum n s t g n sum n s t left f n pm g n right quad commutativity and associativity n stf n n s pt pf n p displaystyle sum n s t f n sum n s p t p f n p quad index shift n Bf n m Af s m displaystyle sum n in B f n sum m in A f sigma m quad for a bijection s from a finite set A onto a set B index change this generalizes the preceding formula n stf n n sjf n n j 1tf n displaystyle sum n s t f n sum n s j f n sum n j 1 t f n quad splitting a sum using associativity n abf n n 0bf n n 0a 1f n displaystyle sum n a b f n sum n 0 b f n sum n 0 a 1 f n quad a variant of the preceding formula n stf n n 0t sf t n displaystyle sum n s t f n sum n 0 t s f t n quad the sum from the first term up to the last is equal to the sum from the last down to the first n 0tf n n 0tf t n displaystyle sum n 0 t f n sum n 0 t f t n quad a particular case of the formula above i k0k1 j l0l1ai j j l0l1 i k0k1ai j displaystyle sum i k 0 k 1 sum j l 0 l 1 a i j sum j l 0 l 1 sum i k 0 k 1 a i j quad commutativity and associativity again k j i nai j i kn j kiai j j kn i jnai j j 0n k i kn jai j i displaystyle sum k leq j leq i leq n a i j sum i k n sum j k i a i j sum j k n sum i j n a i j sum j 0 n k sum i k n j a i j i quad another application of commutativity and associativity n 2s2t 1f n n stf 2n n stf 2n 1 displaystyle sum n 2s 2t 1 f n sum n s t f 2n sum n s t f 2n 1 quad splitting a sum into its odd and even parts for even indexes n 2s 12tf n n s 1tf 2n n s 1tf 2n 1 displaystyle sum n 2s 1 2t f n sum n s 1 t f 2n sum n s 1 t f 2n 1 quad splitting a sum into its odd and even parts for odd indexes i 0nai j 0nbj i 0n j 0naibj displaystyle biggl sum i 0 n a i biggr biggl sum j 0 n b j biggr sum i 0 n sum j 0 n a i b j quad distributivity i sm j tnaicj i smai j tncj displaystyle sum i s m sum j t n a i c j biggl sum i s m a i biggr biggl sum j t n c j biggr quad distributivity allows factorization n stlogb f n logb n stf n displaystyle sum n s t log b f n log b prod n s t f n quad the logarithm of a product is the sum of the logarithms of the factors C n stf n n stCf n displaystyle C sum limits n s t f n prod n s t C f n quad the exponential of a sum is the product of the exponential of the summands m 0k n 0mf m n m 0k n mkf n m displaystyle sum m 0 k sum n 0 m f m n sum m 0 k sum n m k f n m quad for any function f textstyle f from Z Z textstyle mathbb Z times mathbb Z Powers and logarithm of arithmetic progressions i 1nc nc displaystyle sum i 1 n c nc quad for every c that does not depend on i i 0ni i 1ni n n 1 2 displaystyle sum i 0 n i sum i 1 n i frac n n 1 2 qquad Sum of the simplest arithmetic progression consisting of the first n natural numbers 52 i 1n 2i 1 n2 displaystyle sum i 1 n 2i 1 n 2 qquad Sum of first odd natural numbers i 0n2i n n 1 displaystyle sum i 0 n 2i n n 1 qquad Sum of first even natural numbers i 1nlog i log n displaystyle sum i 1 n log i log n qquad A sum of logarithms is the logarithm of the product i 0ni2 i 1ni2 n n 1 2n 1 6 n33 n22 n6 displaystyle sum i 0 n i 2 sum i 1 n i 2 frac n n 1 2n 1 6 frac n 3 3 frac n 2 2 frac n 6 qquad Sum of the first squares see square pyramidal number 52 i 0ni3 i 0ni 2 n n 1 2 2 n44 n32 n24 displaystyle sum i 0 n i 3 biggl sum i 0 n i biggr 2 left frac n n 1 2 right 2 frac n 4 4 frac n 3 2 frac n 2 4 qquad Nicomachus s theorem 52 More generally one has Faulhaber s formula for p gt 1 displaystyle p gt 1 k 1nkp np 1p 1 12np k 2p pk Bkp k 1np k 1 displaystyle sum k 1 n k p frac n p 1 p 1 frac 1 2 n p sum k 2 p binom p k frac B k p k 1 n p k 1 where Bk displaystyle B k denotes a Bernoulli number and pk displaystyle binom p k is a binomial coefficient Summation index in exponents In the following summations a is assumed to be different from 1 i 0n 1ai 1 an1 a displaystyle sum i 0 n 1 a i frac 1 a n 1 a sum of a geometric progression i 0n 112i 2 12n 1 displaystyle sum i 0 n 1 frac 1 2 i 2 frac 1 2 n 1 special case for a 1 2 i 0n 1iai a nan n 1 an 1 1 a 2 displaystyle sum i 0 n 1 ia i frac a na n n 1 a n 1 1 a 2 a times the derivative with respect to a of the geometric progression i 0n 1 b id ai b i 0n 1ai d i 0n 1iai b 1 an1 a d a nan n 1 an 1 1 a 2 b 1 an n 1 dan1 a da 1 an 1 1 a 2 displaystyle begin aligned sum i 0 n 1 left b id right a i amp b sum i 0 n 1 a i d sum i 0 n 1 ia i amp b left frac 1 a n 1 a right d left frac a na n n 1 a n 1 1 a 2 right amp frac b 1 a n n 1 da n 1 a frac da 1 a n 1 1 a 2 end aligned sum of an arithmetico geometric sequence dd dd 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 i 0n ni an ibi a b n displaystyle sum i 0 n n choose i a n i b i a b n the binomial theorem i 0n ni 2n displaystyle sum i 0 n n choose i 2 n the special case where a b 1 i 0n ni pi 1 p n i 1 displaystyle sum i 0 n n choose i p i 1 p n i 1 the special case where p a 1 b which for 0 p 1 displaystyle 0 leq p leq 1 expresses the sum of the binomial distribution i 0ni ni n 2n 1 displaystyle sum i 0 n i n choose i n 2 n 1 the value at a b 1 of the derivative with respect to a of the binomial theorem i 0n ni i 1 2n 1 1n 1 displaystyle sum i 0 n frac n choose i i 1 frac 2 n 1 1 n 1 the value at a b 1 of the antiderivative with respect to a of the binomial theoremInvolving permutation numbers In the following summations nPk displaystyle n P k is the number of k permutations of n i 0niPk ni nPk 2n k displaystyle sum i 0 n i P k n choose i n P k 2 n k i 1ni kPk 1 i 1n j 0k i j n k 1 n 1 k 2 displaystyle sum i 1 n i k P k 1 sum i 1 n prod j 0 k i j frac n k 1 n 1 k 2 i 0ni ni i 0nnPi n e n Z displaystyle sum i 0 n i cdot n choose i sum i 0 n n P i lfloor n cdot e rfloor quad n in mathbb Z where and x displaystyle lfloor x rfloor denotes the floor function Others k 0m n kn n m 1n 1 displaystyle sum k 0 m binom n k n binom n m 1 n 1 i kn ik n 1k 1 displaystyle sum i k n i choose k n 1 choose k 1 i 0ni i n 1 1 displaystyle sum i 0 n i cdot i n 1 1 i 0n m i 1i m nn displaystyle sum i 0 n m i 1 choose i m n choose n i 0n ni 2 2nn displaystyle sum i 0 n n choose i 2 2n choose n i 0n1i n e n displaystyle sum i 0 n frac 1 i frac lfloor n e rfloor n Harmonic numbers i 1n1i Hn displaystyle sum i 1 n frac 1 i H n quad the n th harmonic number i 1n1ik Hnk displaystyle sum i 1 n frac 1 i k H n k quad a generalized harmonic number Growth ratesThe following are useful approximations using theta notation i 1nic 8 nc 1 displaystyle sum i 1 n i c in Theta n c 1 for real c greater than 1 i 1n1i 8 loge n displaystyle sum i 1 n frac 1 i in Theta log e n See Harmonic number i 1nci 8 cn displaystyle sum i 1 n c i in Theta c n for real c greater than 1 i 1nlog i c 8 n log n c displaystyle sum i 1 n log i c in Theta n cdot log n c for non negative real c i 1nlog i c id 8 nd 1 log n c displaystyle sum i 1 n log i c cdot i d in Theta n d 1 cdot log n c for non negative real c d i 1nlog i c id bi 8 nd log n c bn displaystyle sum i 1 n log i c cdot i d cdot b i in Theta n d cdot log n c cdot b n for non negative real b gt 1 c dHistoryIn 1675 Gottfried Wilhelm Leibniz in a letter to Henry Oldenburg suggests the symbol to mark the sum of differentials Latin calculus summatorius hence the S shape The renaming of this symbol to integral arose later in exchanges with Johann Bernoulli In 1755 the summation symbol S is attested in Leonhard Euler s Institutiones calculi differentialis Euler uses the symbol in expressions like S 2wx w2 x2 displaystyle Sigma 2wx w 2 x 2 In 1772 usage of S and Sn is attested by Lagrange In 1823 the capital letter S is attested as a summation symbol for series This usage was apparently widespread In 1829 the summation symbol S is attested by Fourier and C G J Jacobi Fourier s use includes lower and upper bounds for example i 1 e i2t displaystyle sum i 1 infty e i 2 t ldots See alsoCapital pi notation Einstein notation Iverson bracket Iterated binary operation Kahan summation algorithm Product mathematics Summation by parts Sigma Character encodingNotesFor details see Triangular number 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 2nd ed Addison Wesley Professional ISBN 978 0201558029 in contexts where there is no possibility of confusion with the imaginary unit i displaystyle i Although the name of the dummy variable does not matter by definition one usually uses letters from the middle of the alphabet i displaystyle i through q displaystyle q 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 x displaystyle x instead of k displaystyle k in the above formulae involving k displaystyle k ReferencesApostol Tom M 1967 Calculus Vol 1 2nd ed USA John Wiley amp Sons p 37 ISBN 0 471 00005 1 Summation Notation www columbia edu Retrieved 2020 08 16 Handbook of Discrete and Combinatorial Mathematics Kenneth H Rosen John G Michaels CRC Press 1999 ISBN 0 8493 0149 1 Calculus I Summation Notation tutorial math lamar edu Retrieved 2020 08 16 Burton David M 2011 The History of Mathematics An Introduction 7th ed McGraw Hill p 414 ISBN 978 0 07 338315 6 Leibniz Gottfried Wilhelm 1899 Gerhardt Karl Immanuel ed Der Briefwechsel von Gottfried Wilhelm Leibniz mit Mathematikern Erster Band Berlin Mayer amp Muller p 154 Cajori 1929 pp 181 182 Cajori 1929 p 61 Euler Leonhard 1755 Institutiones Calculi differentialis in Latin Petropolis p 27 Lagrange Joseph Louis 1867 1892 Oeuvres de Lagrange Tome 3 in French Paris p 451 a href wiki Template Cite book title Template Cite book cite book a CS1 maint location missing publisher link Memoires de l Academie royale des sciences de l Institut de France pour l annee 1825 tome VIII in French Paris Didot 1829 pp 581 622 Fourier Jean Baptiste Joseph 1888 1890 Oeuvres de Fourier Tome 2 in French Paris Gauthier Villars p 149 BibliographyCajori Florian 1929 A History Of Mathematical Notations Volume II Open Court Publishing ISBN 978 0 486 67766 8 External linksMedia related to Summation at Wikimedia Commons