Addition is one of the basic Operators of arithmetic. In its simplest form, addition combines two numbers (terms, summands), the ''augend'' and ''addend'', into a single number, the sum. Adding more numbers corresponds to repeated addition. By extension, addition of zero, one or infinitely many numbers can be defined, see below.
For a definition of addition in the natural numbers, see Addition in N.
See also: counting
== Important properties ==
When adding finitely many numbers, it doesn't matter how you group the numbers and in which order you add them; you will always get the same result.
(See Associativity and Commutativity.)
If you add 0 (number) to any number, the quantity won't change; zero is the identity element for addition.
The sum of any number and its additive inverse (in contexts where such a thing exists) is zero.: )
== Notation ==
If the terms are all written out individually, then addition is written using the Plus and minus signs ("+").
Thus, the sum of 1, 2, and 4 is 1 + 2 + 4 = 7. If the terms are not written out individually, then the sum may be written with an ellipsis to mark out the missing terms.
Thus, the sum of all the natural numbers from 1 to 100 is 1 + 2 + … + 99 + 100.
Alternatively, the sum can be represented by the summation symbol, which is the capital Sigma (letter). This is defined as:
:
The subscript gives the symbol for a dummy variable, ''i''. Here, ''i'' represents the index of summation; ''m'' is the lower bound of summation, and ''n'' is the upper bound of summation.
So, for example:
:
One may also consider sums of infinitely many terms; these are called infinite series.
Notationally, we would replace ''n'' above by the infinity symbol (∞).
The sum of such a series is defined as the limit (mathematics) of the sum of the first ''n'' terms, as ''n'' grows without bound.
That is:
:
One can similarly replace ''m'' with negative infinity, and
:
for some integer ''m'', provided both limits exist.
One often sees generalizations of this notation 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 the sum of ''f''(''x'') over all (integer) ''x'' in the specified range,
:
is the sum over all ''x'' in the set ''S'', and
:
is the sum of μ(''d'') over all integers ''d'' dividing ''n''.
== Relationships to other operations and constants ==
It's possible to add fewer than 2 numbers:
*If you add the single term ''x'', then the sum is ''x''.
*If you add zero terms, then the sum is 0 (number), because zero is the identity element 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 ''m'' = ''n'' in the definition above, then there is only one term in the sum; if ''m'' = ''n'' + 1, then there is none.
Many other operations can be thought of as generalised sums.
If a single term ''x'' appears in a sum ''n'' times, then the sum is ''n''''x'', the result of a multiplication.
If ''n'' is not a natural number, then the multiplication may still make sense, so that we have a sort of notion of adding a term, say, two and a half times.
A special case is multiplication by -1, which leads to the concept of the additive inverse, and to subtraction, the inverse operation to addition.
The most general version of these ideas is the linear combination, where any number of terms are included in the generalised sum any number of times.
== Useful sums ==
The following are useful identities:
: