
Addition (usually signified by the
plus symbol, +) is one of the four basic
operations of
arithmetic
Arithmetic is an elementary branch of mathematics that deals with numerical operations like addition, subtraction, multiplication, and division. In a wider sense, it also includes exponentiation, extraction of roots, and taking logarithms.
...
, the other three being
subtraction,
multiplication
Multiplication is one of the four elementary mathematical operations of arithmetic, with the other ones being addition, subtraction, and division (mathematics), division. The result of a multiplication operation is called a ''Product (mathem ...
, and
division. The addition of two
whole numbers results in the total or ''
sum'' of those values combined. For example, the adjacent image shows two columns of apples, one with three apples and the other with two apples, totaling to five apples. This observation is expressed as , which is read as "three plus two
equals five".
Besides
counting
Counting is the process of determining the number of elements of a finite set of objects; that is, determining the size of a set. The traditional way of counting consists of continually increasing a (mental or spoken) counter by a unit for ever ...
items, addition can also be defined and executed without referring to
concrete objects, using abstractions called
number
A number is a mathematical object used to count, measure, and label. The most basic examples are the natural numbers 1, 2, 3, 4, and so forth. Numbers can be represented in language with number words. More universally, individual numbers can ...
s instead, such as
integer
An integer is the number zero (0), a positive natural number (1, 2, 3, ...), or the negation of a positive natural number (−1, −2, −3, ...). The negations or additive inverses of the positive natural numbers are referred to as negative in ...
s,
real number
In mathematics, a real number is a number that can be used to measure a continuous one- dimensional quantity such as a duration or temperature. Here, ''continuous'' means that pairs of values can have arbitrarily small differences. Every re ...
s, and
complex number
In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the for ...
s. Addition belongs to arithmetic, a branch of
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
. In
algebra
Algebra is a branch of mathematics that deals with abstract systems, known as algebraic structures, and the manipulation of expressions within those systems. It is a generalization of arithmetic that introduces variables and algebraic ope ...
, another area of mathematics, addition can also be performed on abstract objects such as
vectors,
matrices,
subspaces, and
subgroup
In group theory, a branch of mathematics, a subset of a group G is a subgroup of G if the members of that subset form a group with respect to the group operation in G.
Formally, given a group (mathematics), group under a binary operation  ...
s.
Addition has several important properties. It is
commutative
In mathematics, a binary operation is commutative if changing the order of the operands does not change the result. It is a fundamental property of many binary operations, and many mathematical proofs depend on it. Perhaps most familiar as a pr ...
, meaning that the order of the
numbers being added does not matter, so , and it is
associative, meaning that when one adds more than two numbers, the order in which addition is performed does not matter. Repeated addition of is the same as counting (see
Successor function). Addition of does not change a number. Addition also obeys rules concerning related operations such as subtraction and multiplication.
Performing addition is one of the simplest numerical tasks to perform. Addition of very small numbers is accessible to toddlers; the most basic task, , can be performed by infants as young as five months, and even some members of other animal species. In
primary education
Primary education is the first stage of Education, formal education, coming after preschool/kindergarten and before secondary education. Primary education takes place in ''primary schools'', ''elementary schools'', or first schools and middle s ...
, students are taught to add numbers in the
decimal
The decimal numeral system (also called the base-ten positional numeral system and denary or decanary) is the standard system for denoting integer and non-integer numbers. It is the extension to non-integer numbers (''decimal fractions'') of th ...
system, beginning with single digits and progressively tackling more difficult problems. Mechanical aids range from the ancient
abacus to the modern
computer
A computer is a machine that can be Computer programming, programmed to automatically Execution (computing), carry out sequences of arithmetic or logical operations (''computation''). Modern digital electronic computers can perform generic set ...
, where research on the most efficient implementations of addition continues to this day.
Notation and terminology

Addition is written using the
plus sign
The plus sign () and the minus sign () are mathematical symbols used to denote positive and negative functions, respectively. In addition, the symbol represents the operation of addition, which results in a sum, while the symbol represents ...
"+"
between the terms, and the result is expressed with an
equals sign
The equals sign (British English) or equal sign (American English), also known as the equality sign, is the mathematical symbol , which is used to indicate equality. In an equation it is placed between two expressions that have the same valu ...
. For example,
reads "one plus two equals three". Nonetheless, some situations where addition is "understood", even though no symbol appears: a whole number followed immediately by a
fraction
A fraction (from , "broken") represents a part of a whole or, more generally, any number of equal parts. When spoken in everyday English, a fraction describes how many parts of a certain size there are, for example, one-half, eight-fifths, thre ...
indicates the sum of the two, called a ''mixed number'', with an example,
This notation can cause confusion, since in most other contexts,
juxtaposition
Juxtaposition is an act or instance of placing two opposing elements close together or side by side. This is often done in order to Comparison, compare/contrast the two, to show similarities or differences, etc.
Speech
Juxtaposition in literary ...
denotes
multiplication
Multiplication is one of the four elementary mathematical operations of arithmetic, with the other ones being addition, subtraction, and division (mathematics), division. The result of a multiplication operation is called a ''Product (mathem ...
instead.

The numbers or the objects to be added in general addition are collectively referred to as the terms, the addends or the summands. This terminology carries over to the summation of multiple terms.
This is to be distinguished from ''factors'', which are
multiplied.
Some authors call the first addend the ''augend''. In fact, during the
Renaissance
The Renaissance ( , ) is a Periodization, period of history and a European cultural movement covering the 15th and 16th centuries. It marked the transition from the Middle Ages to modernity and was characterized by an effort to revive and sur ...
, many authors did not consider the first addend an "addend" at all. Today, due to the
commutative property of addition, "augend" is rarely used, and both terms are generally called addends.
All of the above terminology derives from
Latin
Latin ( or ) is a classical language belonging to the Italic languages, Italic branch of the Indo-European languages. Latin was originally spoken by the Latins (Italic tribe), Latins in Latium (now known as Lazio), the lower Tiber area aroun ...
. "
Addition
Addition (usually signified by the Plus and minus signs#Plus sign, plus symbol, +) is one of the four basic Operation (mathematics), operations of arithmetic, the other three being subtraction, multiplication, and Division (mathematics), divis ...
" and "
add" are
English words derived from the Latin
verb
A verb is a word that generally conveys an action (''bring'', ''read'', ''walk'', ''run'', ''learn''), an occurrence (''happen'', ''become''), or a state of being (''be'', ''exist'', ''stand''). In the usual description of English, the basic f ...
, which is in turn a
compound of "to" and "to give", from the
Proto-Indo-European root
The roots of the reconstructed Proto-Indo-European language (PIE) are basic parts of words to carry a lexical meaning, so-called morphemes. PIE roots usually have verbal meaning like "to eat" or "to run". Roots never occurred alone in the langu ...
"to give"; thus to ''add'' is to ''give to''. Using the
gerundive suffix
In linguistics, a suffix is an affix which is placed after the stem of a word. Common examples are case endings, which indicate the grammatical case of nouns and adjectives, and verb endings, which form the conjugation of verbs. Suffixes can ca ...
''-nd'' results in "addend", "thing to be added".
["Addend" is not a Latin word; in Latin it must be further conjugated, as in "the number to be added".] Likewise from "to increase", one gets "augend", "thing to be increased".

"Sum" and "summand" derive from the Latin
noun
In grammar, a noun is a word that represents a concrete or abstract thing, like living creatures, places, actions, qualities, states of existence, and ideas. A noun may serve as an Object (grammar), object or Subject (grammar), subject within a p ...
"the highest" or "the top", used in Medieval Latin phrase ("top line") meaning the sum of a column of numerical quantities, following the
ancient Greek
Ancient Greek (, ; ) includes the forms of the Greek language used in ancient Greece and the classical antiquity, ancient world from around 1500 BC to 300 BC. It is often roughly divided into the following periods: Mycenaean Greek (), Greek ...
and
Roman practice of putting the sum at the top of a column.
and date back at least to
Boethius
Anicius Manlius Severinus Boethius, commonly known simply as Boethius (; Latin: ''Boetius''; 480–524 AD), was a Roman Roman Senate, senator, Roman consul, consul, ''magister officiorum'', polymath, historian, and philosopher of the Early Middl ...
, if not to earlier Roman writers such as
Vitruvius and
Frontinus; Boethius also used several other terms for the addition operation. The later
Middle English
Middle English (abbreviated to ME) is a form of the English language that was spoken after the Norman Conquest of 1066, until the late 15th century. The English language underwent distinct variations and developments following the Old English pe ...
terms "adden" and "adding" were popularized by
Chaucer.
Definition and interpretations
Addition is one of the four basic
operations of
arithmetic
Arithmetic is an elementary branch of mathematics that deals with numerical operations like addition, subtraction, multiplication, and division. In a wider sense, it also includes exponentiation, extraction of roots, and taking logarithms.
...
, with the other three being
subtraction,
multiplication
Multiplication is one of the four elementary mathematical operations of arithmetic, with the other ones being addition, subtraction, and division (mathematics), division. The result of a multiplication operation is called a ''Product (mathem ...
, and
division. This operation works by adding two or more terms. An arbitrary of many operation of additions is called the
summation
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, pol ...
. An infinite summation is a delicate procedure known as a
series, and it can be expressed through
capital sigma notation , which compactly denotes
iteration
Iteration is the repetition of a process in order to generate a (possibly unbounded) sequence of outcomes. Each repetition of the process is a single iteration, and the outcome of each iteration is then the starting point of the next iteration.
...
of the operation of addition based on the given indexes. For example,
Addition is used to model many physical processes. Even for the simple case of adding
natural number
In mathematics, the natural numbers are the numbers 0, 1, 2, 3, and so on, possibly excluding 0. Some start counting with 0, defining the natural numbers as the non-negative integers , while others start with 1, defining them as the positive in ...
s, there are many possible interpretations and even more visual representations.
Combining sets

Possibly the most basic interpretation of addition lies in combining
sets, that is:
This interpretation is easy to visualize, with little danger of ambiguity. It is also useful in higher mathematics (for the rigorous definition it inspires, see below). However, it is not obvious how one should extend this version of an addition's operation to include fractional or negative numbers.
One possible fix is to consider collections of objects that can be easily divided, such as pies or, still better, segmented rods. Rather than solely combining collections of segments, rods can be joined end-to-end, which illustrates another conception of addition: adding not the rods but the lengths of the rods.
Extending a length
A second interpretation of addition comes from extending an initial length by a given length:
The sum
can be interpreted as a
binary operation
In mathematics, a binary operation or dyadic operation is a rule for combining two elements (called operands) to produce another element. More formally, a binary operation is an operation of arity two.
More specifically, a binary operation ...
that combines
and
algebraically, or it can be interpreted as the addition of
more units to
. Under the latter interpretation, the parts of a sum
play asymmetric roles, and the operation
is viewed as applying the
unary operation to
. Instead of calling both
and
addends, it is more appropriate to call
the "augend" in this case, since
plays a passive role. The unary view is also useful when discussing
subtraction, because each unary addition operation has an inverse unary subtraction operation, and vice versa.
Properties
Commutativity

Addition is
commutative
In mathematics, a binary operation is commutative if changing the order of the operands does not change the result. It is a fundamental property of many binary operations, and many mathematical proofs depend on it. Perhaps most familiar as a pr ...
, meaning that one can change the order of the terms in a sum, but still get the same result. Symbolically, if
and
are any two numbers, then:
The fact that addition is commutative is known as the "commutative law of addition" or "commutative property of addition". Some other
binary operation
In mathematics, a binary operation or dyadic operation is a rule for combining two elements (called operands) to produce another element. More formally, a binary operation is an operation of arity two.
More specifically, a binary operation ...
s are commutative too as in
multiplication
Multiplication is one of the four elementary mathematical operations of arithmetic, with the other ones being addition, subtraction, and division (mathematics), division. The result of a multiplication operation is called a ''Product (mathem ...
, but others are not as in
subtraction and
division.
Associativity

Addition is
associative, which means that when three or more numbers are added together, the
order of operations does not change the result. For any three numbers
,
, and
, it is true that:
For example,
.
When addition is used together with other operations, the
order of operations becomes important. In the standard order of operations, addition is a lower priority than
exponentiation
In mathematics, exponentiation, denoted , is an operation (mathematics), operation involving two numbers: the ''base'', , and the ''exponent'' or ''power'', . When is a positive integer, exponentiation corresponds to repeated multiplication ...
,
nth roots, multiplication and division, but is given equal priority to subtraction.
Identity element

Adding
zero to any number does not change the number. In other words, zero is the
identity element
In mathematics, an identity element or neutral element of a binary operation is an element that leaves unchanged every element when the operation is applied. For example, 0 is an identity element of the addition of real numbers. This concept is use ...
for addition, and is also known as the
additive identity. In symbols, for every
, one has:
This law was first identified in
Brahmagupta
Brahmagupta ( – ) was an Indian Indian mathematics, mathematician and Indian astronomy, astronomer. He is the author of two early works on mathematics and astronomy: the ''Brāhmasphuṭasiddhānta'' (BSS, "correctly established Siddhanta, do ...
's ''
Brahmasphutasiddhanta'' in 628 AD, although he wrote it as three separate laws, depending on whether
is negative, positive, or zero itself, and he used words rather than algebraic symbols. Later
Indian mathematicians
Indian mathematicians have made a number of contributions to mathematics that have significantly influenced scientists and mathematicians in the modern era. One of such works is Hindu numeral system which is predominantly used today and is likely ...
refined the concept; around the year 830,
Mahavira
Mahavira (Devanagari: महावीर, ), also known as Vardhamana (Devanagari: वर्धमान, ), was the 24th ''Tirthankara'' (Supreme Preacher and Ford Maker) of Jainism. Although the dates and most historical details of his lif ...
wrote, "zero becomes the same as what is added to it", corresponding to the unary statement
. In the 12th century,
Bhaskara wrote, "In the addition of cipher, or subtraction of it, the quantity, positive or negative, remains the same", corresponding to the unary statement
.
Successor
Within the context of integers, addition of
one also plays a special role: for any integer
, the integer
is the least integer greater than
, also known as the
successor of
. For instance, 3 is the successor of 2, and 7 is the successor of 6. Because of this succession, the value of
can also be seen as the th successor of
, making addition an iterated succession. For example, is 8, because 8 is the successor of 7, which is the successor of 6, making 8 the second successor of 6.
Units
To numerically add physical quantities with
units, they must be expressed with common units. For example, adding 50 milliliters to 150 milliliters gives 200 milliliters. However, if a measure of 5 feet is extended by 2 inches, the sum is 62 inches, since 60 inches is synonymous with 5 feet. On the other hand, it is usually meaningless to try to add 3 meters and 4 square meters, since those units are incomparable; this sort of consideration is fundamental in
dimensional analysis.
Performing addition
Innate ability
Studies on mathematical development starting around the 1980s have exploited the phenomenon of
habituation
Habituation is a form of non-associative learning in which an organism’s non-reinforced response to an inconsequential stimulus decreases after repeated or prolonged presentations of that stimulus. For example, organisms may habituate to re ...
:
infant
In common terminology, a baby is the very young offspring of adult human beings, while infant (from the Latin word ''infans'', meaning 'baby' or 'child') is a formal or specialised synonym. The terms may also be used to refer to juveniles of ...
s look longer at situations that are unexpected. A seminal experiment by
Karen Wynn
Karen Wynn is an artist and a Canadian and American Yale University Professor Emerita of psychology and cognitive science. She was born in Austin, Texas, and grew up on the Canadian prairies in Regina, Saskatchewan. Her research explores the cogn ...
in 1992 involving
Mickey Mouse
Mickey Mouse is an American cartoon character co-created in 1928 by Walt Disney and Ub Iwerks. The longtime icon and mascot of the Walt Disney Company, Mickey is an anthropomorphic mouse who typically wears red shorts, large shoes, and white ...
dolls manipulated behind a screen demonstrated that five-month-old infants ''expect'' to be 2, and they are comparatively surprised when a physical situation seems to imply that is either 1 or 3. This finding has since been affirmed by a variety of laboratories using different methodologies. Another 1992 experiment with older
toddlers, between 18 and 35 months, exploited their development of motor control by allowing them to retrieve
ping-pong balls from a box; the youngest responded well for small numbers, while older subjects were able to compute sums up to 5.
Even some nonhuman animals show a limited ability to add, particularly
primate
Primates is an order (biology), order of mammals, which is further divided into the Strepsirrhini, strepsirrhines, which include lemurs, galagos, and Lorisidae, lorisids; and the Haplorhini, haplorhines, which include Tarsiiformes, tarsiers a ...
s. In a 1995 experiment imitating Wynn's 1992 result (but using
eggplant
Eggplant (American English, US, Canadian English, CA, Australian English, AU, Philippine English, PH), aubergine (British English, UK, Hiberno English, IE, New Zealand English, NZ), brinjal (Indian English, IN, Singapore English, SG, Malays ...
s instead of dolls),
rhesus macaque and
cottontop tamarin monkeys performed similarly to human infants. More dramatically, after being taught the meanings of the
Arabic numerals
The ten Arabic numerals (0, 1, 2, 3, 4, 5, 6, 7, 8, and 9) are the most commonly used symbols for writing numbers. The term often also implies a positional notation number with a decimal base, in particular when contrasted with Roman numera ...
0 through 4, one
chimpanzee
The chimpanzee (; ''Pan troglodytes''), also simply known as the chimp, is a species of Hominidae, great ape native to the forests and savannahs of tropical Africa. It has four confirmed subspecies and a fifth proposed one. When its close rel ...
was able to compute the sum of two numerals without further training. More recently,
Asian elephant
The Asian elephant (''Elephas maximus''), also known as the Asiatic elephant, is the only living ''Elephas'' species. It is the largest living land animal in Asia and the second largest living Elephantidae, elephantid in the world. It is char ...
s have demonstrated an ability to perform basic arithmetic.
Childhood learning
Typically, children first master
counting
Counting is the process of determining the number of elements of a finite set of objects; that is, determining the size of a set. The traditional way of counting consists of continually increasing a (mental or spoken) counter by a unit for ever ...
. When given a problem that requires that two items and three items be combined, young children model the situation with physical objects, often fingers or a drawing, and then count the total. As they gain experience, they learn or discover the strategy of "counting-on": asked to find two plus three, children count three past two, saying "three, four, ''five''" (usually ticking off fingers), and arriving at five. This strategy seems almost universal; children can easily pick it up from peers or teachers. Most discover it independently. With additional experience, children learn to add more quickly by exploiting the commutativity of addition by counting up from the larger number, in this case, starting with three and counting "four, ''five''." Eventually children begin to recall certain addition facts ("
number bonds"), either through experience or rote memorization. Once some facts are committed to memory, children begin to derive unknown facts from known ones. For example, a child asked to add six and seven may know that and then reason that is one more, or 13. Such derived facts can be found very quickly and most elementary school students eventually rely on a mixture of memorized and derived facts to add fluently.
Different nations introduce whole numbers and arithmetic at different ages, with many countries teaching addition in pre-school. However, throughout the world, addition is taught by the end of the first year of elementary school.
Decimal system
The prerequisite to addition in the
decimal
The decimal numeral system (also called the base-ten positional numeral system and denary or decanary) is the standard system for denoting integer and non-integer numbers. It is the extension to non-integer numbers (''decimal fractions'') of th ...
system is the fluent recall or derivation of the 100 single-digit "addition facts". One could
memorize all the facts by
rote, but pattern-based strategies are more enlightening and, for most people, more efficient:
* ''Commutative property'': Mentioned above, using the pattern
reduces the number of "addition facts" from 100 to 55.
* ''One or two more'': Adding 1 or 2 is a basic task, and it can be accomplished through counting on or, ultimately,
intuition.
* ''Zero'': Since zero is the additive identity, adding zero is trivial. Nonetheless, in the teaching of arithmetic, some students are introduced to addition as a process that always increases the addends;
word problems may help rationalize the "exception" of zero.
* ''Doubles'': Adding a number to itself is related to counting by two and to
multiplication
Multiplication is one of the four elementary mathematical operations of arithmetic, with the other ones being addition, subtraction, and division (mathematics), division. The result of a multiplication operation is called a ''Product (mathem ...
. Doubles facts form a backbone for many related facts, and students find them relatively easy to grasp.
* ''Near-doubles'': Sums such as 6 + 7 = 13 can be quickly derived from the doubles fact by adding one more, or from but subtracting one.
* ''Five and ten'': Sums of the form 5 + and 10 + are usually memorized early and can be used for deriving other facts. For example, can be derived from by adding one more.
* ''Making ten'': An advanced strategy uses 10 as an intermediate for sums involving 8 or 9; for example, .
As students grow older, they commit more facts to memory and learn to derive other facts rapidly and fluently. Many students never commit all the facts to memory, but can still find any basic fact quickly.
[
]
Carry
The standard algorithm for adding multidigit numbers is to align the addends vertically and add the columns, starting from the ones column on the right. If a column exceeds nine, the extra digit is " carried" into the next column. For example, in the following image, the ones in the addition of is 9 + 7 = 16, and the digit 1 is the carry.[Some authors think that "carry" may be inappropriate for education; , p. 211 calls it "obsolete and conceptually misleading", preferring the word "trade". However, "carry" remains the standard term.] An alternate strategy starts adding from the most significant digit on the left; this route makes carrying a little clumsier, but it is faster at getting a rough estimate of the sum.
Decimal fractions
Decimal fractions can be added by a simple modification of the above process. One aligns two decimal fractions above each other, with the decimal point in the same location. If necessary, one can add trailing zeros to a shorter decimal to make it the same length as the longer decimal. Finally, one performs the same addition process as above, except the decimal point is placed in the answer, exactly where it was placed in the summands.
As an example, 45.1 + 4.34 can be solved as follows:
4 5 . 1 0
+ 0 4 . 3 4
————————————
4 9 . 4 4
Scientific notation
In scientific notation
Scientific notation is a way of expressing numbers that are too large or too small to be conveniently written in decimal form, since to do so would require writing out an inconveniently long string of digits. It may be referred to as scientif ...
, numbers are written in the form , where is the significand and is the exponential part. To add numbers in scientific notation, they should be expressed with the same exponent, so that the two significands can simply be added.
For example:
:
Non-decimal
Addition in other bases is very similar to decimal addition. As an example, one can consider addition in binary. Adding two single-digit binary numbers is relatively simple, using a form of carrying:
: 0 + 0 → 0
: 0 + 1 → 1
: 1 + 0 → 1
: 1 + 1 → 0, carry 1 (since 1 + 1 = 2 = 0 + (1 × 21))
Adding two "1" digits produces a digit "0", while 1 must be added to the next column. This is similar to what happens in decimal when certain single-digit numbers are added together; if the result equals or exceeds the value of the radix (10), the digit to the left is incremented:
: 5 + 5 → 0, carry 1 (since 5 + 5 = 10 = 0 + (1 × 101))
: 7 + 9 → 6, carry 1 (since 7 + 9 = 16 = 6 + (1 × 101))
This is known as ''carrying''. When the result of an addition exceeds the value of a digit, the procedure is to "carry" the excess amount divided by the radix (that is, 10/10) to the left, adding it to the next positional value. This is correct since the next position has a weight that is higher by a factor equal to the radix. Carrying works the same way in binary:
0 1 1 0 1
+ 1 0 1 1 1
—————————————
1 0 0 1 0 0 = 36
In this example, two numerals are being added together: 011012 (1310) and 101112 (2310). The top row shows the carry bits used. Starting in the rightmost column, . The 1 is carried to the left, and the 0 is written at the bottom of the rightmost column. The second column from the right is added: again; the 1 is carried, and 0 is written at the bottom. The third column: . This time, a 1 is carried, and a 1 is written in the bottom row. Proceeding like this gives the final answer 1001002 (3610).
Computers
Analog computer
An analog computer or analogue computer is a type of computation machine (computer) that uses physical phenomena such as Electrical network, electrical, Mechanics, mechanical, or Hydraulics, hydraulic quantities behaving according to the math ...
s work directly with physical quantities, so their addition mechanisms depend on the form of the addends. A mechanical adder might represent two addends as the positions of sliding blocks, in which case they can be added with an averaging lever
A lever is a simple machine consisting of a beam (structure), beam or rigid rod pivoted at a fixed hinge, or '':wikt:fulcrum, fulcrum''. A lever is a rigid body capable of rotating on a point on itself. On the basis of the locations of fulcrum, l ...
. If the addends are the rotation speeds of two shafts, they can be added with a differential. A hydraulic adder can add the pressure
Pressure (symbol: ''p'' or ''P'') is the force applied perpendicular to the surface of an object per unit area over which that force is distributed. Gauge pressure (also spelled ''gage'' pressure)The preferred spelling varies by country and eve ...
s in two chambers by exploiting Newton's second law to balance forces on an assembly of pistons. The most common situation for a general-purpose analog computer is to add two voltage
Voltage, also known as (electrical) potential difference, electric pressure, or electric tension, is the difference in electric potential between two points. In a Electrostatics, static electric field, it corresponds to the Work (electrical), ...
s (referenced to ground); this can be accomplished roughly with a resistor network, but a better design exploits an operational amplifier
An operational amplifier (often op amp or opamp) is a direct coupling, DC-coupled Electronic component, electronic voltage amplifier with a differential input, a (usually) Single-ended signaling, single-ended output, and an extremely high gain ( ...
.
Addition is also fundamental to the operation of digital computers, where the efficiency of addition, in particular the carry mechanism, is an important limitation to overall performance.
The abacus, also called a counting frame, is a calculating tool that was in use centuries before the adoption of the written modern numeral system and is still widely used by merchants, traders and clerks in Asia
Asia ( , ) is the largest continent in the world by both land area and population. It covers an area of more than 44 million square kilometres, about 30% of Earth's total land area and 8% of Earth's total surface area. The continent, which ...
, Africa
Africa is the world's second-largest and second-most populous continent after Asia. At about 30.3 million km2 (11.7 million square miles) including adjacent islands, it covers 20% of Earth's land area and 6% of its total surfac ...
, and elsewhere; it dates back to at least 2700–2300 BC, when it was used in Sumer
Sumer () is the earliest known civilization, located in the historical region of southern Mesopotamia (now south-central Iraq), emerging during the Chalcolithic and Early Bronze Age, early Bronze Ages between the sixth and fifth millennium BC. ...
.
Blaise Pascal invented the mechanical calculator in 1642; it was the first operational adding machine. It made use of a gravity-assisted carry mechanism. It was the only operational mechanical calculator in the 17th century and the earliest automatic, digital computer. Pascal's calculator was limited by its carry mechanism, which forced its wheels to only turn one way so it could add. To subtract, the operator had to use the Pascal's calculator's complement, which required as many steps as an addition. Gottfried Leibniz
Gottfried Wilhelm Leibniz (or Leibnitz; – 14 November 1716) was a German polymath active as a mathematician, philosopher, scientist and diplomat who is credited, alongside Isaac Newton, Sir Isaac Newton, with the creation of calculus in ad ...
built another mechanical calculator, finished in 1694, and Giovanni Poleni
Giovanni Poleni (; 23 August 1683 – 15 November 1761) was a Marquess, physicist, mathematician and antiquarian.
Early life
He was the son of Marquess Jacopo Poleni and studied the classics, philosophy, theology, mathematics, and physics ...
improved on the design in 1709 with a calculating clock made of wood that could perform all four arithmetical operations. These early attempts were not commercially successful but inspired later mechanical calculators of the 19th century.
Adders execute integer addition in electronic digital computers, usually using binary arithmetic. The simplest architecture is the ripple carry adder, which follows the standard multi-digit algorithm. One slight improvement is the carry skip design, again following human intuition; one does not perform all the carries in computing , but one bypasses the group of 9s and skips to the answer.
In practice, computational addition may be achieved via XOR and AND bitwise logical operations in conjunction with bitshift operations as shown in the pseudocode below. Both XOR and AND gates are straightforward to realize in digital logic, allowing the realization of full adder circuits, which in turn may be combined into more complex logical operations. In modern digital computers, integer addition is typically the fastest arithmetic instruction, yet it has the largest impact on performance, since it underlies all floating-point operations as well as such basic tasks as address
An address is a collection of information, presented in a mostly fixed format, used to give the location of a building, apartment, or other structure or a plot of land, generally using border, political boundaries and street names as references, ...
generation during memory
Memory is the faculty of the mind by which data or information is encoded, stored, and retrieved when needed. It is the retention of information over time for the purpose of influencing future action. If past events could not be remembe ...
access and fetching instructions during branching. To increase speed, modern designs calculate digits in parallel; these schemes go by such names as carry select, carry lookahead, and the Ling pseudocarry. Many implementations are, in fact, hybrids of these last three designs. Unlike addition on paper, addition on a computer often changes the addends. Both addends are destroyed on the ancient abacus and adding board, leaving only the sum. The influence of the abacus on mathematical thinking was strong enough that early Latin
Latin ( or ) is a classical language belonging to the Italic languages, Italic branch of the Indo-European languages. Latin was originally spoken by the Latins (Italic tribe), Latins in Latium (now known as Lazio), the lower Tiber area aroun ...
texts often claimed that in the process of adding "a number to a number", both numbers vanish. In modern times, the ADD instruction of a microprocessor
A microprocessor is a computer processor (computing), processor for which the data processing logic and control is included on a single integrated circuit (IC), or a small number of ICs. The microprocessor contains the arithmetic, logic, a ...
often replaces the augend with the sum but preserves the addend. In a high-level programming language
A high-level programming language is a programming language with strong Abstraction (computer science), abstraction from the details of the computer. In contrast to low-level programming languages, it may use natural language ''elements'', be ea ...
, evaluating does not change either or ; if the goal is to replace with the sum this must be explicitly requested, typically with the statement . Some languages like C or C++ allow this to be abbreviated as .
// Iterative algorithm
int add(int x, int y)
// Recursive algorithm
int add(int x, int y)
On a computer, if the result of an addition is too large to store, an arithmetic overflow occurs, resulting in an incorrect answer. Unanticipated arithmetic overflow is a fairly common cause of program errors. Such overflow bugs may be hard to discover and diagnose because they may manifest themselves only for very large input data sets, which are less likely to be used in validation tests. The Year 2000 problem
The term year 2000 problem, or simply Y2K, refers to potential computer errors related to the Time formatting and storage bugs, formatting and storage of calendar data for dates in and after the year 2000. Many Computer program, programs repr ...
was a series of bugs where overflow errors occurred due to the use of a 2-digit format for years.
Computers have another way of representing numbers, called ''floating-point arithmetic
In computing, floating-point arithmetic (FP) is arithmetic on subsets of real numbers formed by a ''significand'' (a Sign (mathematics), signed sequence of a fixed number of digits in some Radix, base) multiplied by an integer power of that ba ...
'', which is similar to scientific notation described above and which reduces the overflow problem. Each floating point number has two parts, an exponent and a mantissa. To add two floating-point numbers, the exponents must match, which typically means shifting the mantissa of the smaller number. If the disparity between the larger and smaller numbers is too great, a loss of precision may result. If many smaller numbers are to be added to a large number, it is best to add the smaller numbers together first and then add the total to the larger number, rather than adding small numbers to the large number one at a time. This makes floating point addition non-associative in general. See floating-point arithmetic#Accuracy problems.
Addition of numbers
To prove the usual properties of addition, one must first define addition for the context in question. Addition is first defined on the natural number
In mathematics, the natural numbers are the numbers 0, 1, 2, 3, and so on, possibly excluding 0. Some start counting with 0, defining the natural numbers as the non-negative integers , while others start with 1, defining them as the positive in ...
s. In set theory
Set theory is the branch of mathematical logic that studies Set (mathematics), sets, which can be informally described as collections of objects. Although objects of any kind can be collected into a set, set theory – as a branch of mathema ...
, addition is then extended to progressively larger sets that include the natural numbers: the integer
An integer is the number zero (0), a positive natural number (1, 2, 3, ...), or the negation of a positive natural number (−1, −2, −3, ...). The negations or additive inverses of the positive natural numbers are referred to as negative in ...
s, the rational number
In mathematics, a rational number is a number that can be expressed as the quotient or fraction of two integers, a numerator and a non-zero denominator . For example, is a rational number, as is every integer (for example,
The set of all ...
s, and the real number
In mathematics, a real number is a number that can be used to measure a continuous one- dimensional quantity such as a duration or temperature. Here, ''continuous'' means that pairs of values can have arbitrarily small differences. Every re ...
s. In mathematics education
In contemporary education, mathematics education—known in Europe as the didactics or pedagogy of mathematics—is the practice of teaching, learning, and carrying out Scholarly method, scholarly research into the transfer of mathematical know ...
, positive fractions are added before negative numbers are even considered; this is also the historical route.
Natural numbers
There are two popular ways to define the sum of two natural numbers and . If one defines natural numbers to be the cardinalities of finite sets (the cardinality of a set is the number of elements in the set), then it is appropriate to define their sum as follows:
Here means the union of and . An alternate version of this definition allows and to possibly overlap and then takes their disjoint union, a mechanism that allows common elements to be separated out and therefore counted twice.
The other popular definition is recursive:
Again, there are minor variations upon this definition in the literature. Taken literally, the above definition is an application of the recursion theorem on the partially ordered set . On the other hand, some sources prefer to use a restricted recursion theorem that applies only to the set of natural numbers. One then considers to be temporarily "fixed", applies recursion on to define a function "", and pastes these unary operations for all together to form the full binary operation.
This recursive formulation of addition was developed by Dedekind as early as 1854, and he would expand upon it in the following decades. He proved the associative and commutative properties, among others, through mathematical induction
Mathematical induction is a method for mathematical proof, proving that a statement P(n) is true for every natural number n, that is, that the infinitely many cases P(0), P(1), P(2), P(3), \dots all hold. This is done by first proving a ...
.
Integers
The simplest conception of an integer is that it consists of an absolute value
In mathematics, the absolute value or modulus of a real number x, is the non-negative value without regard to its sign. Namely, , x, =x if x is a positive number, and , x, =-x if x is negative (in which case negating x makes -x positive), ...
(which is a natural number) and a sign (generally either positive or negative). The integer zero is a special third case, being neither positive nor negative. The corresponding definition of addition must proceed by cases:
As an example, ; because −6 and 4 have different signs, their absolute values are subtracted, and since the absolute value of the negative term is larger, the answer is negative.
Although this definition can be useful for concrete problems, the number of cases to consider complicates proofs unnecessarily. So the following method is commonly used for defining integers. It is based on the remark that every integer is the difference of two natural integers and that two such differences, and are equal if and only if . So, one can define formally the integers as the equivalence classes of ordered pairs of natural numbers under the equivalence relation if and only if . The equivalence class of contains either if , or if otherwise. Given that is a natural number, then one can denote the equivalence class of , and by the equivalence class of . This allows identifying the natural number with the equivalence class .
The addition of ordered pairs is done component-wise:
A straightforward computation shows that the equivalence class of the result depends only on the equivalence classes of the summands, and thus that this defines an addition of equivalence classes, that is, integers. Another straightforward computation shows that this addition is the same as the above case definition.
This way of defining integers as equivalence classes of pairs of natural numbers can be used to embed into a group any commutative semigroup with cancellation property. Here, the semigroup is formed by the natural numbers, and the group is the additive group of integers. The rational numbers are constructed similarly, by taking as a semigroup the nonzero integers with multiplication.
This construction has also been generalized under the name of Grothendieck group
In mathematics, the Grothendieck group, or group of differences, of a commutative monoid is a certain abelian group. This abelian group is constructed from in the most universal way, in the sense that any abelian group containing a group homomorp ...
to the case of any commutative semigroup. Without the cancellation property, the semigroup homomorphism
In mathematics, a semigroup is an algebraic structure consisting of a set together with an associative internal binary operation on it.
The binary operation of a semigroup is most often denoted multiplicatively (just notation, not necessarily t ...
from the semigroup into the group may be non-injective. Originally, the Grothendieck group was the result of this construction applied to the equivalence classes under isomorphisms of the objects of an abelian category, with the direct sum as semigroup operation.
Rational numbers (fractions)
Addition of rational number
In mathematics, a rational number is a number that can be expressed as the quotient or fraction of two integers, a numerator and a non-zero denominator . For example, is a rational number, as is every integer (for example,
The set of all ...
s involves the fraction
A fraction (from , "broken") represents a part of a whole or, more generally, any number of equal parts. When spoken in everyday English, a fraction describes how many parts of a certain size there are, for example, one-half, eight-fifths, thre ...
s. The computation can be done by using the least common denominator, but a conceptually simpler definition involves only integer addition and multiplication:
As an example, the sum .
Addition of fractions is much simpler when the denominators are the same; in this case, one can simply add the numerators while leaving the denominator the same:
so .
The commutativity and associativity of rational addition are easy consequences of the laws of integer arithmetic.
Real numbers
A common construction of the set of real numbers is the Dedekind completion of the set of rational numbers. A real number is defined to be a Dedekind cut of rationals: a non-empty set of rationals that is closed downward and has no greatest element
In mathematics, especially in order theory, the greatest element of a subset S of a partially ordered set (poset) is an element of S that is greater than every other element of S. The term least element is defined duality (order theory), dually ...
. The sum of real numbers ''a'' and ''b'' is defined element by element:
This definition was first published, in a slightly modified form, by Richard Dedekind in 1872.
The commutativity and associativity of real addition are immediate; defining the real number 0 as the set of negative rationals, it is easily seen as the additive identity. Probably the trickiest part of this construction pertaining to addition is the definition of additive inverses.
Unfortunately, dealing with the multiplication of Dedekind cuts is a time-consuming case-by-case process similar to the addition of signed integers. Another approach is the metric completion of the rational numbers. A real number is essentially defined to be the limit of a Cauchy sequence of rationals, lim ''a''''n''. Addition is defined term by term:
This definition was first published by Georg Cantor
Georg Ferdinand Ludwig Philipp Cantor ( ; ; – 6 January 1918) was a mathematician who played a pivotal role in the creation of set theory, which has become a foundations of mathematics, fundamental theory in mathematics. Cantor establi ...
, also in 1872, although his formalism was slightly different.
One must prove that this operation is well-defined, dealing with co-Cauchy sequences. Once that task is done, all the properties of real addition follow immediately from the properties of rational numbers. Furthermore, the other arithmetic operations, including multiplication, have straightforward, analogous definitions.
Complex numbers
Complex numbers are added by adding the real and imaginary parts of the summands. That is to say:
:
Using the visualization of complex numbers in the complex plane, the addition has the following geometric interpretation: the sum of two complex numbers ''A'' and ''B'', interpreted as points of the complex plane, is the point ''X'' obtained by building a parallelogram three of whose vertices are ''O'', ''A'' and ''B''. Equivalently, ''X'' is the point such that the triangle
A triangle is a polygon with three corners and three sides, one of the basic shapes in geometry. The corners, also called ''vertices'', are zero-dimensional points while the sides connecting them, also called ''edges'', are one-dimension ...
s with vertices ''O'', ''A'', ''B'', and ''X'', ''B'', ''A'', are congruent.
Generalizations
There are many binary operations that can be viewed as generalizations of the addition operation on the real numbers. The field of algebra is centrally concerned with such generalized operations, and they also appear in set theory
Set theory is the branch of mathematical logic that studies Set (mathematics), sets, which can be informally described as collections of objects. Although objects of any kind can be collected into a set, set theory – as a branch of mathema ...
and category theory
Category theory is a general theory of mathematical structures and their relations. It was introduced by Samuel Eilenberg and Saunders Mac Lane in the middle of the 20th century in their foundational work on algebraic topology. Category theory ...
.
Algebra
In linear algebra
Linear algebra is the branch of mathematics concerning linear equations such as
:a_1x_1+\cdots +a_nx_n=b,
linear maps such as
:(x_1, \ldots, x_n) \mapsto a_1x_1+\cdots +a_nx_n,
and their representations in vector spaces and through matrix (mathemat ...
, a vector space
In mathematics and physics, a vector space (also called a linear space) is a set (mathematics), set whose elements, often called vector (mathematics and physics), ''vectors'', can be added together and multiplied ("scaled") by numbers called sc ...
is an algebraic structure that allows for adding any two vectors and for scaling vectors. A familiar vector space is the set of all ordered pairs of real numbers; the ordered pair is interpreted as a vector from the origin in the Euclidean plane to the point in the plane. The sum of two vectors is obtained by adding their individual coordinates:
This addition operation is central to classical mechanics
Classical mechanics is a Theoretical physics, physical theory describing the motion of objects such as projectiles, parts of Machine (mechanical), machinery, spacecraft, planets, stars, and galaxies. The development of classical mechanics inv ...
, in which velocities, acceleration
In mechanics, acceleration is the Rate (mathematics), rate of change of the velocity of an object with respect to time. Acceleration is one of several components of kinematics, the study of motion. Accelerations are Euclidean vector, vector ...
s and force
In physics, a force is an influence that can cause an Physical object, object to change its velocity unless counterbalanced by other forces. In mechanics, force makes ideas like 'pushing' or 'pulling' mathematically precise. Because the Magnitu ...
s are all represented by vectors.
Matrix addition is defined for two matrices of the same dimensions. The sum of two ''m'' × ''n'' (pronounced "m by n") matrices A and B, denoted by , is again an matrix computed by adding corresponding elements:
For example:
:
In modular arithmetic
In mathematics, modular arithmetic is a system of arithmetic operations for integers, other than the usual ones from elementary arithmetic, where numbers "wrap around" when reaching a certain value, called the modulus. The modern approach to mo ...
, the set of available numbers is restricted to a finite subset of the integers, and addition "wraps around" when reaching a certain value, called the modulus. For example, the set of integers modulo 12 has twelve elements; it inherits an addition operation from the integers that is central to musical set theory
Musical set theory provides concepts for categorizing musical objects and describing their relationships. Howard Hanson first elaborated many of the concepts for analyzing tonality, tonal music. Other theorists, such as Allen Forte, further devel ...
. The set of integers modulo 2 has just two elements; the addition operation it inherits is known in Boolean logic
In mathematics and mathematical logic, Boolean algebra is a branch of algebra. It differs from elementary algebra in two ways. First, the values of the variable (mathematics), variables are the truth values ''true'' and ''false'', usually denot ...
as the " exclusive or" function. A similar "wrap around" operation arises in geometry
Geometry (; ) is a branch of mathematics concerned with properties of space such as the distance, shape, size, and relative position of figures. Geometry is, along with arithmetic, one of the oldest branches of mathematics. A mathematician w ...
, where the sum of two angle measures is often taken to be their sum as real numbers modulo 2π. This amounts to an addition operation on the circle
A circle is a shape consisting of all point (geometry), points in a plane (mathematics), plane that are at a given distance from a given point, the Centre (geometry), centre. The distance between any point of the circle and the centre is cal ...
, which in turn generalizes to addition operations on many-dimensional tori.
The general theory of abstract algebra allows an "addition" operation to be any associative and commutative
In mathematics, a binary operation is commutative if changing the order of the operands does not change the result. It is a fundamental property of many binary operations, and many mathematical proofs depend on it. Perhaps most familiar as a pr ...
operation on a set. Basic algebraic structure
In mathematics, an algebraic structure or algebraic system consists of a nonempty set ''A'' (called the underlying set, carrier set or domain), a collection of operations on ''A'' (typically binary operations such as addition and multiplicatio ...
s with such an addition operation include commutative monoids and abelian groups.
Linear combination
In mathematics, a linear combination or superposition is an Expression (mathematics), expression constructed from a Set (mathematics), set of terms by multiplying each term by a constant and adding the results (e.g. a linear combination of ''x'' a ...
s combine multiplication and summation; they are sums in which each term has a multiplier, usually a real or complex number. Linear combinations are especially useful in contexts where straightforward addition would violate some normalization rule, such as mixing of strategies in game theory
Game theory is the study of mathematical models of strategic interactions. It has applications in many fields of social science, and is used extensively in economics, logic, systems science and computer science. Initially, game theory addressed ...
or superposition of states in quantum mechanics
Quantum mechanics is the fundamental physical Scientific theory, theory that describes the behavior of matter and of light; its unusual characteristics typically occur at and below the scale of atoms. Reprinted, Addison-Wesley, 1989, It is ...
.
Set theory and category theory
A far-reaching generalization of the addition of natural numbers is the addition of ordinal number
In set theory, an ordinal number, or ordinal, is a generalization of ordinal numerals (first, second, th, etc.) aimed to extend enumeration to infinite sets.
A finite set can be enumerated by successively labeling each element with the leas ...
s and cardinal number
In mathematics, a cardinal number, or cardinal for short, is what is commonly called the number of elements of a set. In the case of a finite set, its cardinal number, or cardinality is therefore a natural number. For dealing with the cas ...
s in set theory. These give two different generalizations of the addition of natural numbers to the transfinite. Unlike most addition operations, the addition of ordinal numbers is not commutative. Addition of cardinal numbers, however, is a commutative operation closely related to the disjoint union operation.
In category theory
Category theory is a general theory of mathematical structures and their relations. It was introduced by Samuel Eilenberg and Saunders Mac Lane in the middle of the 20th century in their foundational work on algebraic topology. Category theory ...
, disjoint union is seen as a particular case of the coproduct operation, and general coproducts are perhaps the most abstract of all the generalizations of addition. Some coproducts, such as direct sum and wedge sum
In topology, the wedge sum is a "one-point union" of a family of topological spaces. Specifically, if ''X'' and ''Y'' are pointed spaces (i.e. topological spaces with distinguished basepoints x_0 and y_0) the wedge sum of ''X'' and ''Y'' is the ...
, are named to evoke their connection with addition.
Related operations
Addition, along with subtraction, multiplication, and division, is considered one of the basic operations and is used in elementary arithmetic
Elementary arithmetic is a branch of mathematics involving addition, subtraction, multiplication, and Division (mathematics), division. Due to its low level of abstraction, broad range of application, and position as the foundation of all mathema ...
.
Arithmetic
Subtraction can be thought of as a kind of addition—that is, the addition of an additive inverse
In mathematics, the additive inverse of an element , denoted , is the element that when added to , yields the additive identity, 0 (zero). In the most familiar cases, this is the number 0, but it can also refer to a more generalized zero el ...
. Subtraction is itself a sort of inverse to addition, in that adding and subtracting are inverse function
In mathematics, the inverse function of a function (also called the inverse of ) is a function that undoes the operation of . The inverse of exists if and only if is bijective, and if it exists, is denoted by f^ .
For a function f\colon ...
s. Given a set with an addition operation, one cannot always define a corresponding subtraction operation on that set; the set of natural numbers is a simple example. On the other hand, a subtraction operation uniquely determines an addition operation, an additive inverse operation, and an additive identity; for this reason, an additive group can be described as a set that is closed under subtraction.
Multiplication
Multiplication is one of the four elementary mathematical operations of arithmetic, with the other ones being addition, subtraction, and division (mathematics), division. The result of a multiplication operation is called a ''Product (mathem ...
can be thought of as repeated addition. If a single term appears in a sum times, then the sum is the product of and . Nonetheless, this works only for natural number
In mathematics, the natural numbers are the numbers 0, 1, 2, 3, and so on, possibly excluding 0. Some start counting with 0, defining the natural numbers as the non-negative integers , while others start with 1, defining them as the positive in ...
s. By the definition in general, multiplication is the operation between two numbers, called the multiplier and the multiplicand, that are combined into a single number called the product.
In the real and complex numbers, addition and multiplication can be interchanged by the exponential function:
This identity allows multiplication to be carried out by consulting a table of logarithm
In mathematics, the logarithm of a number is the exponent by which another fixed value, the base, must be raised to produce that number. For example, the logarithm of to base is , because is to the rd power: . More generally, if , the ...
s and computing addition by hand; it also enables multiplication on a slide rule. The formula is still a good first-order approximation in the broad context of Lie group
In mathematics, a Lie group (pronounced ) is a group (mathematics), group that is also a differentiable manifold, such that group multiplication and taking inverses are both differentiable.
A manifold is a space that locally resembles Eucli ...
s, where it relates multiplication of infinitesimal group elements with addition of vectors in the associated Lie algebra
In mathematics, a Lie algebra (pronounced ) is a vector space \mathfrak g together with an operation called the Lie bracket, an alternating bilinear map \mathfrak g \times \mathfrak g \rightarrow \mathfrak g, that satisfies the Jacobi ident ...
.
There are even more generalizations of multiplication than addition. In general, multiplication operations always distribute over addition; this requirement is formalized in the definition of a ring. In some contexts, integers, distributivity over addition, and the existence of a multiplicative identity are enough to determine the multiplication operation uniquely. The distributive property also provides information about the addition operation; by expanding the product in both ways, one concludes that addition is forced to be commutative. For this reason, ring addition is commutative in general.
Division is an arithmetic operation remotely related to addition. Since , division is right distributive over addition: . However, division is not left distributive over addition, such as is not the same as .
Ordering
The maximum operation is a binary operation similar to addition. In fact, if two nonnegative numbers and are of different orders of magnitude, their sum is approximately equal to their maximum. This approximation is extremely useful in the applications of mathematics, for example, in truncating Taylor series. However, it presents a perpetual difficulty in numerical analysis
Numerical analysis is the study of algorithms that use numerical approximation (as opposed to symbolic computation, symbolic manipulations) for the problems of mathematical analysis (as distinguished from discrete mathematics). It is the study of ...
, essentially since "max" is not invertible. If is much greater than , then a straightforward calculation of can accumulate an unacceptable round-off error, perhaps even returning zero. See also '' Loss of significance''.
The approximation becomes exact in a kind of infinite limit; if either or is an infinite cardinal number
In mathematics, a cardinal number, or cardinal for short, is what is commonly called the number of elements of a set. In the case of a finite set, its cardinal number, or cardinality is therefore a natural number. For dealing with the cas ...
, their cardinal sum is exactly equal to the greater of the two.[Enderton calls this statement the "Absorption Law of Cardinal Arithmetic"; it depends on the comparability of cardinals and therefore on the Axiom of Choice.] Accordingly, there is no subtraction operation for infinite cardinals.
Maximization is commutative and associative, like addition. Furthermore, since addition preserves the ordering of real numbers, addition distributes over "max" in the same way that multiplication distributes over addition:
For these reasons, in tropical geometry one replaces multiplication with addition and addition with maximization. In this context, addition is called "tropical multiplication", maximization is called "tropical addition", and the tropical "additive identity" is negative infinity. Some authors prefer to replace addition with minimization; then the additive identity is positive infinity.
Tying these observations together, tropical addition is approximately related to regular addition through the logarithm
In mathematics, the logarithm of a number is the exponent by which another fixed value, the base, must be raised to produce that number. For example, the logarithm of to base is , because is to the rd power: . More generally, if , the ...
:
which becomes more accurate as the base of the logarithm increases. The approximation can be made exact by extracting a constant , named by analogy with the Planck constant from quantum mechanics
Quantum mechanics is the fundamental physical Scientific theory, theory that describes the behavior of matter and of light; its unusual characteristics typically occur at and below the scale of atoms. Reprinted, Addison-Wesley, 1989, It is ...
, and taking the " classical limit" as tends to zero:
In this sense, the maximum operation is a ''dequantized'' version of addition.
In probability theory
Convolution
In mathematics (in particular, functional analysis), convolution is a operation (mathematics), mathematical operation on two function (mathematics), functions f and g that produces a third function f*g, as the integral of the product of the two ...
is used to add two independent random variable
A random variable (also called random quantity, aleatory variable, or stochastic variable) is a Mathematics, mathematical formalization of a quantity or object which depends on randomness, random events. The term 'random variable' in its mathema ...
s defined by distribution functions. Its usual definition combines integration, subtraction, and multiplication.
See also
* Lunar arithmetic
* Mental arithmetic
* Parallel addition (mathematics)
* Verbal arithmetic (also known as cryptarithms), puzzles involving addition
Notes
Footnotes
References
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
Further reading
*
*
*
*
*
{{Authority control
Elementary arithmetic
Mathematical notation
Articles with example C code