Addition#Natural numbers

{{Short description|Arithmetic operation}}

{{Other uses}}

{{Redirect|Add||ADD (disambiguation)}}

{{Good article}}

File:Addition01.svgs, a popular choice in textbooks{{harvtxt|Enderton|1977}}, p. [http://books.google.com/books?id=JlR-Ehk35XkC&pg=PA138 138]: "...select two sets K and L with card K = 2 and card L = 3. Sets of fingers are handy; sets of apples are preferred by textbooks."]]

Addition (usually signified by the plus symbol, +) is one of the four basic operations of arithmetic, the other three being subtraction, multiplication, 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 {{nowrap|1="3 + 2 = 5"}}, which is read as "three plus two equals five".

Besides counting items, addition can also be defined and executed without referring to concrete objects, using abstractions called numbers instead, such as integers, real numbers, and complex numbers. Addition belongs to arithmetic, a branch of mathematics. In algebra, another area of mathematics, addition can also be performed on abstract objects such as vectors, matrices, subspaces, and subgroups.

Addition has several important properties. It is commutative, meaning that the order of the numbers being added does not matter, so {{nowrap|1=3 + 2 = 2 + 3}}, 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 {{num|1}} is the same as counting (see Successor function). Addition of {{num|0}} 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, {{nowrap|1 + 1}}, can be performed by infants as young as five months, and even some members of other animal species. In primary education, students are taught to add numbers in the decimal system, beginning with single digits and progressively tackling more difficult problems. Mechanical aids range from the ancient abacus to the modern computer, where research on the most efficient implementations of addition continues to this day.

{{Calculation results}}

Notation and terminology

File:PlusCM128.svg

Addition is written using the plus sign "+" between the terms, and the result is expressed with an equals sign. For example, 1 + 2 = 3 reads "one plus two equals three".{{sfnp|Musser|Peterson|Burger|2013|p=[https://books.google.com/books?id=8jh7DwAAQBAJ&pg=PA87 87]}} Nonetheless, some situations where addition is "understood", even though no symbol appears: a whole number followed immediately by a fraction indicates the sum of the two, called a mixed number, with an example,{{sfnp|Devine|Olson|Olson|1991|p=263}}3\frac{1}{2}=3+\frac{1}{2}=3.5. This notation can cause confusion, since in most other contexts, juxtaposition denotes multiplication instead.{{sfnp|Mazur|2014|p=161}}

{{anchor|summand|addend}}

File:Addition1.png

The numbers or the objects to be added in general addition are collectively referred to as the terms,{{sfnp|Department of the Army|1961|loc=[https://archive.org/details/TM11-684/page/16/mode/1up?view=theater Section 5.1]}} the addends or the summands.{{sfnp|Musser|Peterson|Burger|2013|p=[https://books.google.com/books?id=8jh7DwAAQBAJ&pg=PA87 87]}} 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.{{sfnmp

| 1a1 = Shmerko | 1a2 = Yanushkevich | 1a3 = Lyshevski | 1y = 2009 | 1p = 80

| 2a1 = Schmid | 2y = 1974

| 3a1 = Schmid | 3y = 1983

}} In fact, during the Renaissance, 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.{{sfnp|Schwartzman|1994|p=19}}

All of the above terminology derives from Latin. "Addition" and "add" are English words derived from the Latin verb {{lang|la|addere}}, which is in turn a compound of {{lang|la|ad}} "to" and {{lang|la|dare}} "to give", from the Proto-Indo-European root {{lang|ine-x-proto|deh₃-}} "to give"; thus to add is to give to.{{sfnp|Schwartzman|1994|p=19}} Using the gerundive suffix -nd results in "addend", "thing to be added"."Addend" is not a Latin word; in Latin it must be further conjugated, as in {{lang|la|numerus addendus}} "the number to be added". Likewise from {{lang|la|augere}} "to increase", one gets "augend", "thing to be increased".

File:AdditionNombryng.svg

"Sum" and "summand" derive from the Latin noun {{lang|la|summa}} "the highest, the top" and associated verb {{lang|la|summare}}. This is appropriate not only because the sum of two positive numbers is greater than either, but because it was common for the ancient Greeks and Romans to add upward, contrary to the modern practice of adding downward, so that a sum was literally at the top of the addends.{{harvtxt|Schwartzman|1994}}, p. 212 attributes adding upwards to the Greeks and Romans, saying it was about as common as adding downwards. On the other hand, {{harvtxt|Karpinski|1925}}, p. 103 writes that Leonard of Pisa "introduces the novelty of writing the sum above the addends"; it is unclear whether Karpinski is claiming this as an original invention or simply the introduction of the practice to Europe.

{{lang|la|Addere}} and {{lang|la|summare}} date back at least to Boethius, 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 terms "adden" and "adding" were popularized by Chaucer.{{sfnp|Karpinski|1925|pp=150–153}}

Definition and interpretations

Addition is one of the four basic operations of arithmetic, with the other three being subtraction, multiplication, and division. This operation works by adding two or more terms.{{sfnp|Lewis|1974|p=1}} An arbitrary of many operation of additions is called the summation.{{sfnp|Martin|2003|p=49}} An infinite summation is a delicate procedure known as a series,{{sfnp|Stewart|1999|p=8}} and it can be expressed through capital sigma notation \sum , which compactly denotes iteration of the operation of addition based on the given indexes.{{sfnp|Apostol|1967|p=37}} For example,

\sum_{k=1}^5 k^2 = 1^2 + 2^2 + 3^2 + 4^2 + 5^2 = 55.

Addition is used to model many physical processes. Even for the simple case of adding natural numbers, there are many possible interpretations and even more visual representations.

= Combining sets =

File:AdditionShapes.svg

Possibly the most basic interpretation of addition lies in combining sets, that is:{{sfnp|Musser|Peterson|Burger|2013|p=[https://books.google.com/books?id=8jh7DwAAQBAJ&pg=PA87 87]}}

{{blockquote|When two or more disjoint collections are combined into a single collection, the number of objects in the single collection is the sum of the numbers of objects in the original collections.}}

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 {{Section link||Natural numbers}} below). However, it is not obvious how one should extend this version of an addition's operation to include fractional or negative numbers.See {{harvtxt|Viro|2001}} for an example of the sophistication involved in adding with sets of "fractional cardinality".

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.{{sfnp|National Research Council|2001|p=[http://books.google.com/books?id=pvI7uDPo0-YC&pg=PA74 74]}}

{{-}}

= Extending a length =

{{multiple image

| image1 = AdditionLineAlgebraic.svg

| caption1 = A number-line visualization of the algebraic addition 2 + 4 = 6 . A "jump" that has a distance of 2 followed by another that is as long as 4 , is the same as a translation by 6 .

| image2 = AdditionLineUnary.svg

| caption2 = A number-line visualization of the unary addition 2 + 4 = 6 . A translation by 4 is equivalent to four translations by 1 .

| direction = vertical

| total_width = 400

}}

A second interpretation of addition comes from extending an initial length by a given length:{{sfnp|Mosley|2001|p=[http://books.google.com/books?id=I-__WcWjemUC&pg=PA8 8]}}

{{blockquote|When an original length is extended by a given amount, the final length is the sum of the original length and the length of the extension.}}

The sum a + b can be interpreted as a binary operation that combines a and b algebraically, or it can be interpreted as the addition of b more units to a . Under the latter interpretation, the parts of a sum a + b play asymmetric roles, and the operation a + b is viewed as applying the unary operation +b to a .{{sfnp|Li|Lappan|2014|p=204}} Instead of calling both a and b addends, it is more appropriate to call a the "augend" in this case, since a 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 =

File:AdditionComm01.svg

Addition is commutative, meaning that one can change the order of the terms in a sum, but still get the same result. Symbolically, if a and b are any two numbers, then:{{sfnp|Musser|Peterson|Burger|2013|p=[https://books.google.com/books?id=8jh7DwAAQBAJ&pg=PA89 89]}}

a + b = b + a.

The fact that addition is commutative is known as the "commutative law of addition"{{sfnp|Berg|1967|p=[https://books.google.com/books?id=aGXFCUaFCW0C&pg=PA14 14]}} or "commutative property of addition".{{sfnp|Behr|Jungst|1971|p=[https://books.google.com/books?id=GJXOBQAAQBAJ&pg=PA59 59]}} Some other binary operations are commutative too as in multiplication,{{sfn|Rosen|2013|loc = See the [https://books.google.com/books?id=-oVvEAAAQBAJ&pg=SL1-PA1 Appendix I]}} but others are not as in subtraction and division.{{sfnp|Posamentier|Farber|Germain-Williams|Paris|2013|p=[https://books.google.com/books?id=VfCgAQAAQBAJ&pg=PA71 71]}}

= Associativity =

File:AdditionAsc.svg

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 a , b , and c , it is true that:{{sfnp|Musser|Peterson|Burger|2013|p=[https://books.google.com/books?id=8jh7DwAAQBAJ&pg=PA90 90]}}

(a + b) + c = a + (b + c).

For example, (1 + 2) + 3 = 1 + (2 + 3) .

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, nth roots, multiplication and division, but is given equal priority to subtraction.{{sfnp|Bronstein|Semendjajew|1987}}

{{-}}

= Identity element =

File:AdditionZero.svg

Adding zero to any number does not change the number. In other words, zero is the identity element for addition, and is also known as the additive identity. In symbols, for every a , one has:{{sfnp|Musser|Peterson|Burger|2013|p=[https://books.google.com/books?id=8jh7DwAAQBAJ&pg=PA90 90]}}

a + 0 = 0 + a = a.

This law was first identified in Brahmagupta's Brahmasphutasiddhanta in 628 AD, although he wrote it as three separate laws, depending on whether a is negative, positive, or zero itself, and he used words rather than algebraic symbols. Later Indian mathematicians refined the concept; around the year 830, Mahavira wrote, "zero becomes the same as what is added to it", corresponding to the unary statement 0 + a = a . 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 a + 0 = a .{{sfnp|Kaplan|2000|pp=69–71}}

{{-}}

= Successor =

{{main article|Successor function}}

Within the context of integers, addition of one also plays a special role: for any integer a , the integer a + 1 is the least integer greater than a , also known as the successor of a . For instance, 3 is the successor of 2, and 7 is the successor of 6. Because of this succession, the value of a + b can also be seen as the {{nowrap|1= b -}}th successor of a , making addition an iterated succession. For example, {{nowrap|6 + 2}} is 8, because 8 is the successor of 7, which is the successor of 6, making 8 the second successor of 6.{{sfnp|Hempel|2001|p=[http://books.google.com/books?id=yTY9La4P2n8C&pg=PA7 7]}}

= Units =

To numerically add physical quantities with units, they must be expressed with common units.{{sfnp|Fierro|2012|loc=Section 2.3}} 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.{{Cite book|last1=Moebs|first1=William|url=https://openstax.org/books/university-physics-volume-1/pages/1-4-dimensional-analysis|title=University Physics Volume 1|last2=Ling|first2=Samuel J.|publisher=OpenStax|year=2022|isbn=978-1-947172-20-3|chapter=1.4 Dimensional Analysis|display-authors=1}}

Performing addition

= Innate ability =

Studies on mathematical development starting around the 1980s have exploited the phenomenon of habituation: infants look longer at situations that are unexpected.{{sfnp|Wynn|1998|p=5}} A seminal experiment by Karen Wynn in 1992 involving Mickey Mouse dolls manipulated behind a screen demonstrated that five-month-old infants expect {{nowrap|1 + 1}} to be 2, and they are comparatively surprised when a physical situation seems to imply that {{nowrap|1 + 1}} is either 1 or 3. This finding has since been affirmed by a variety of laboratories using different methodologies.{{sfnp|Wynn|1998|p=15}} 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.{{sfnp|Wynn|1998|p=17}}

Even some nonhuman animals show a limited ability to add, particularly primates. In a 1995 experiment imitating Wynn's 1992 result (but using eggplants 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 0 through 4, one chimpanzee was able to compute the sum of two numerals without further training.{{sfnp|Wynn|1998|p=19}} More recently, Asian elephants have demonstrated an ability to perform basic arithmetic.{{cite news |newspaper=The Guardian |last=Randerson |first=James |url=https://www.theguardian.com/science/2008/aug/21/elephants.arithmetic |title=Elephants have a head for figures |date=21 August 2008 |access-date=29 March 2015 |archive-url=https://web.archive.org/web/20150402103526/http://www.theguardian.com/science/2008/aug/21/elephants.arithmetic |archive-date=2 April 2015 |url-status=live }}

= Childhood learning =

Typically, children first master counting. 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.{{sfnp|Smith|2002|p=130}} 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 {{nowrap|1=6 + 6 = 12}} and then reason that {{nowrap|6 + 7}} is one more, or 13.{{Cite book |last=Carpenter |first=Thomas |author2=Fennema, Elizabeth|author2-link = Elizabeth Fennema |author3=Franke, Megan Loef |author4=Levi, Linda |author5=Empson, Susan|author5-link=Susan Empson |title=Children's mathematics: Cognitively guided instruction |publisher=Heinemann |year=1999 |location=Portsmouth, NH |isbn=978-0-325-00137-1 |url-access=registration |url=https://archive.org/details/childrensmathema0000unse_i5h7 }} 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.{{Cite journal |last=Henry |first=Valerie J. |author2=Brown, Richard S. |title=First-grade basic facts: An investigation into teaching and learning of an accelerated, high-demand memorization standard |journal=Journal for Research in Mathematics Education |volume=39 |issue=2 |pages=153–183 |year=2008 |doi=10.2307/30034895|jstor=30034895 |doi-access=free }}

Different nations introduce whole numbers and arithmetic at different ages, with many countries teaching addition in pre-school.

Beckmann, S. (2014). The twenty-third ICMI study: primary mathematics study on whole numbers. International Journal of STEM Education, 1(1), 1-8.

Chicago

However, throughout the world, addition is taught by the end of the first year of elementary school.Schmidt, W., Houang, R., & Cogan, L. (2002). "A coherent curriculum". American Educator, 26(2), 1–18.

= Decimal system =

The prerequisite to addition in the decimal 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:{{sfnp|Fosnot|Dolk|2001|p=99}}

  • Commutative property: Mentioned above, using the pattern a + b = b + a 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.{{sfnp|Fosnot|Dolk|2001|p=99}}
  • 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.{{sfnp|Fosnot|Dolk|2001|p=99}}
  • Doubles: Adding a number to itself is related to counting by two and to multiplication. Doubles facts form a backbone for many related facts, and students find them relatively easy to grasp.{{sfnp|Fosnot|Dolk|2001|p=99}}
  • Near-doubles: Sums such as 6 + 7 = 13 can be quickly derived from the doubles fact {{nowrap|1=6 + 6 = 12}} by adding one more, or from {{nowrap|1=7 + 7 = 14}} but subtracting one.{{sfnp|Fosnot|Dolk|2001|p=99}}
  • Five and ten: Sums of the form 5 + {{mvar|x}} and 10 + {{mvar|x}} are usually memorized early and can be used for deriving other facts. For example, {{nowrap|1=6 + 7 = 13}} can be derived from {{nowrap|1=5 + 7 = 12}} by adding one more.{{sfnp|Fosnot|Dolk|2001|p=99}}
  • Making ten: An advanced strategy uses 10 as an intermediate for sums involving 8 or 9; for example, {{nowrap|1=8 + 6 = 8 + 2 + 4 =}} {{nowrap|1=10 + 4 = 14}}.{{sfnp|Fosnot|Dolk|2001|p=99}}

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 ==

{{main|Carry (arithmetic)}}

File:Addition with carry.png]]

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 {{nowrap|59 + 27}} is 9 + 7 = 16, and the digit 1 is the carry.Some authors think that "carry" may be inappropriate for education; {{harvtxt|van de Walle|2004}}, 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. There are many alternative methods.

== Decimal fractions ==

Decimal fractions can be added by a simple modification of the above process.Rebecca Wingard-Nelson (2014) Decimals and Fractions: It's Easy Enslow Publishers, Inc. 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 ==

{{main|Scientific notation#Basic operations}}

In scientific notation, numbers are written in the form x=a\times10^{b}, where a is the significand and 10^{b} is the exponential part. Addition requires two numbers in scientific notation to be represented using the same exponential part, so that the two significands can simply be added.

For example:

: \begin{align}

&2.34\times10^{-5} + 5.67\times10^{-6} \\

&\quad = 2.34\times10^{-5} + 0.567\times10^{-5} \\

&\quad = 2.907\times10^{-5}.

\end{align}

= Non-decimal =

{{main|Binary addition}}

Addition in other bases is very similar to decimal addition. As an example, one can consider addition in binary.Dale R. Patrick, Stephen W. Fardo, Vigyan Chandra (2008) Electronic Digital System Fundamentals The Fairmont Press, Inc. p. 155 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.P.E. Bates Bothman (1837) The common school arithmetic. Henry Benton. p. 31 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:

{{brown|1 1 1 1 1 (carried digits)}}

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, {{nowrap|1=1 + 1 = 102}}. 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: {{nowrap|1=1 + 0 + 1 = 102}} again; the 1 is carried, and 0 is written at the bottom. The third column: {{nowrap|1=1 + 1 + 1 = 112}}. 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 =

File:Opampsumming2.svg for details.]]

Analog computers 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. If the addends are the rotation speeds of two shafts, they can be added with a differential. A hydraulic adder can add the pressures 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 voltages (referenced to ground); this can be accomplished roughly with a resistor network, but a better design exploits an operational amplifier.{{sfnp|Truitt|Rogers|1960|pp=1;44–49, 2;77–78}}

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.{{sfnp|Gschwind|McCluskey|1975|p=[http://books.google.com/books?id=VLmrCAAAQBAJ&pg=PA233 233]}}

File:BabbageDifferenceEngine.jpg including the addition and carry mechanisms]]

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, Africa, and elsewhere; it dates back to at least 2700–2300 BC, when it was used in Sumer.{{cite book |last=Ifrah |first=Georges |year=2001 |title=The Universal History of Computing: From the Abacus to the Quantum Computer |publisher=John Wiley & Sons, Inc. |location=New York |isbn=978-0-471-39671-0 |url=https://archive.org/details/unset0000unse_w3q2 }} p. 11

Blaise Pascal invented the mechanical calculator in 1642;{{harvtxt|Marguin|1994}}, p. 48. Quoting {{harvtxt|Taton|1963}}. 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 centurySee Competing designs in Pascal's calculator article 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. Giovanni Poleni followed Pascal, building the second functional mechanical calculator in 1709, a calculating clock made of wood that, once setup, could multiply two numbers automatically.

File:Full-adder.svg" logic circuit that adds two binary digits, A and B, along with a carry input Cin, producing the sum bit, S, and a carry output, Cout.]]

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 {{nowrap|999 + 1}}, but one bypasses the group of 9s and skips to the answer.{{sfnp|Flynn|Oberman|2001|pp=2, 8}}

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 generation during memory 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.{{sfnmp

| 1a1 = Flynn | 1a2 = Oberman | 1y = 2001 | 1pp = 1–9

| 2a1 = Liu | 2a2 = Tan | 2a3 = Song | 2a4 = Chen | 2y = 2010 | 2p = 194

}} 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 texts often claimed that in the process of adding "a number to a number", both numbers vanish.{{sfnp|Karpinski|1925|pp=102–103}} In modern times, the ADD instruction of a microprocessor often replaces the augend with the sum but preserves the addend.The identity of the augend and addend varies with architecture. For ADD in x86 see {{harvtxt|Horowitz|Hill|2001}}, p. 679. For ADD in 68k see {{harvtxt|Horowitz|Hill|2001}}, p. 767. In a high-level programming language, evaluating a + b does not change either a or b ; if the goal is to replace a with the sum this must be explicitly requested, typically with the statement a = a + b . Some languages like C or C++ allow this to be abbreviated as {{nowrap|1=a += b}}.

// Iterative algorithm

int add(int x, int y) {

int carry = 0;

while (y != 0) {

carry = AND(x, y); // Logical AND

x = XOR(x, y); // Logical XOR

y = carry << 1; // left bitshift carry by one

}

return x;

}

// Recursive algorithm

int add(int x, int y) {

return x if (y == 0) else add(XOR(x, y), AND(x, y) << 1);

}

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.Joshua Bloch, [http://googleresearch.blogspot.com/2006/06/extra-extra-read-all-about-it-nearly.html "Extra, Extra – Read All About It: Nearly All Binary Searches and Mergesorts are Broken"] {{Webarchive|url=https://web.archive.org/web/20160401140544/http://googleresearch.blogspot.com/2006/06/extra-extra-read-all-about-it-nearly.html |date=2016-04-01 }}. Official Google Research Blog, June 2, 2006. The Year 2000 problem was a series of bugs where overflow errors occurred due to the use of a 2-digit format for years.{{sfnp|Neumann|1987}}

Computers have another way of representing numbers, called floating-point arithmetic, 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 numbers. In set theory, addition is then extended to progressively larger sets that include the natural numbers: the integers, the rational numbers, and the real numbers.Enderton chapters 4 and 5, for example, follow this development. In mathematics education,According to a survey of the nations with highest TIMSS mathematics test scores; see {{harvtxt|Schmidt|Houang|Cogan|2002}}, p. 4. positive fractions are added before negative numbers are even considered; this is also the historical route.{{harvtxt|Baez|Dolan|2001}}, p. 37 explains the historical development, in "stark contrast" with the set theory presentation: "Apparently, half an apple is easier to understand than a negative apple!"

= Natural numbers =

{{Further|Natural number}}

There are two popular ways to define the sum of two natural numbers a and b . 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:{{sfnmp

| 1a1 = Begle | 1y = 1975 | 1p = 49

| 2a1 = Johnson | 2y = 1975 | 2p = 120

| 3a1 = Devine | 3a2 = Olson | 3a3 = Olson | 3y = 1991 | 3p = 75

}}

{{blockquote|Let N(S) be the cardinality of a set S . Take two disjoint sets A and B , with N(A) = a and N(B) = b . Then a + b is defined as N(A \cup B).

}}

Here A \cup B means the union of A and B . An alternate version of this definition allows A and B 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:{{sfnp|Enderton|1977|p=[http://books.google.com/books?id=JlR-Ehk35XkC&pg=PA79 79]}}

{{blockquote|Let n^+ be the successor of n , that is the number following n in the natural numbers, so 0^+ = 1 , 1^+ = 2 . Define a + 0 = a . Define the general sum recursively by a + b^+ = (a + b)^+ . Hence 1 + 1 = 1 + 0^+ = (1 + 0)^+ = 1^+ = 2 .

}}

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 \mathbb{N}^2 .For a version that applies to any poset with the descending chain condition, see {{harvtxt|Bergman|2005}}, p. 100 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 a to be temporarily "fixed", applies recursion on b to define a function " a + ", and pastes these unary operations for all a together to form the full binary operation.{{harvtxt|Enderton|1977}}, p. [http://books.google.com/books?id=JlR-Ehk35XkC&pg=PA79 79] observes, "But we want one binary operation + , not all these little one-place functions."

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.{{sfnp|Ferreirós|1999|p=223}}

= Integers =

{{Further|Integer}}

The simplest conception of an integer is that it consists of an absolute value (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:{{sfnmp

| 1a1 = Smith | 1y = 1980 | 1p = 234

| 2a1 = Sparks | 2a2 = Rees | 2y = 1979 | 2p = 66

}}

{{blockquote|For an integer n , let |n| be its absolute value. Let a and b be integers. If either a or b is zero, treat it as an identity. If a and b are both positive, define a + b = |a| + |b| . If a and b are both negative, define a + b = -(|a| + |b|) . If a and b have different signs, define a + b to be the difference between |a| + |b| , with the sign of the term whose absolute value is larger.

}}

As an example, {{nowrap|1=−6 + 4 = −2}}; 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, a - b and c - d are equal if and only if a + d = b + c . So, one can define formally the integers as the equivalence classes of ordered pairs of natural numbers under the equivalence relation (a,b) \sim (c,d) if and only if a + d = b + c .{{sfnp|Campbell|1970|p=[https://archive.org/details/structureofarith00camp/page/83 83]}} The equivalence class of (a,b) contains either (a-b,0) if a \ge b , or (0,b-a) if otherwise. Given that n is a natural number, then one can denote +n the equivalence class of (n,0) , and by -n the equivalence class of (0,n) . This allows identifying the natural number n with the equivalence class +n .

The addition of ordered pairs is done component-wise:{{sfnp|Campbell|1970|p=[https://archive.org/details/structureofarith00camp/page/84 84]}}

(a,b) + (c,d) = (a+c, b+d).

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.{{sfnp|Enderton|1977|p=[http://books.google.com/books?id=JlR-Ehk35XkC&pg=PA92 92]}} 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 to the case of any commutative semigroup. Without the cancellation property, the semigroup homomorphism 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) =

{{main article|Field of fractions}}

Addition of rational numbers involves the fractions. The computation can be done by using the least common denominator, but a conceptually simpler definition involves only integer addition and multiplication:

\frac{a}{b} + \frac{c}{d} = \frac{ad+bc}{bd}.

As an example, the sum \frac 34 + \frac 18 = \frac{3 \times 8+4 \times 1}{4 \times 8} = \frac{24 + 4}{32} = \frac{28}{32} = \frac78.

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:

\frac{a}{c} + \frac{b}{c} = \frac{a + b}{c},

so \frac 14 + \frac 24 = \frac{1 + 2}{4} = \frac 34.{{sfnp|Cameron|Craig|2013|p=29}}

The commutativity and associativity of rational addition are easy consequences of the laws of integer arithmetic.The verifications are carried out in {{harvtxt|Enderton|1977|p=[http://books.google.com/books?id=JlR-Ehk35XkC&pg=PA104 104]}} and sketched for a general field of fractions over a commutative ring in {{harvtxt|Dummit|Foote|1999}}, p. 263.

= Real numbers =

{{Further|Construction of the 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. The sum of real numbers a and b is defined element by element:{{sfnp|Enderton|1977|p=[http://books.google.com/books?id=JlR-Ehk35XkC&pg=PA114 114]}}

a+b = \{q+r \mid q\in a, r\in b\}.

This definition was first published, in a slightly modified form, by Richard Dedekind in 1872.{{harvtxt|Ferreirós|1999}}, p. 135; see section 6 of [http://www.ru.nl/w-en-s/gmfw/bronnen/dedekind2.html Stetigkeit und irrationale Zahlen] {{webarchive |url=https://web.archive.org/web/20051031071536/http://www.ru.nl/w-en-s/gmfw/bronnen/dedekind2.html |date=2005-10-31 }}.

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.The intuitive approach, inverting every element of a cut and taking its complement, works only for irrational numbers; see {{harvtxt|Enderton|1977}}, p. [http://books.google.com/books?id=JlR-Ehk35XkC&pg=PA117 117] for details.

File:AdditionRealCauchy.svg

Unfortunately, dealing with the multiplication of Dedekind cuts is a time-consuming case-by-case process similar to the addition of signed integers.Schubert, E. Thomas, Phillip J. Windley, and James Alves-Foss. "Higher Order Logic Theorem Proving and Its Applications: Proceedings of the 8th International Workshop, volume 971 of." Lecture Notes in Computer Science (1995). 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 an. Addition is defined term by term:Textbook constructions are usually not so cavalier with the "lim" symbol; see {{harvtxt|Burrill|1967}}, p. 138 for a more careful, drawn-out development of addition with Cauchy sequences.

\lim_n a_n + \lim_n b_n = \lim_n (a_n + b_n).

This definition was first published by Georg Cantor, also in 1872, although his formalism was slightly different.{{sfnp|Ferreirós|1999|p=128}}

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.{{sfnp|Burrill|1967|p=140}}

= Complex numbers =

File:Vector Addition.svg

Complex numbers are added by adding the real and imaginary parts of the summands.{{Citation |last=Conway |first=John B. |title=Functions of One Complex Variable I |year=1986 |publisher=Springer |isbn=978-0-387-90328-6}}{{Citation |last1=Joshi |first1=Kapil D

|title=Foundations of Discrete Mathematics |publisher=John Wiley & Sons |location=New York |isbn=978-0-470-21152-6|year=1989}} That is to say:

:(a+bi) + (c+di) = (a+c) + (b+d)i.

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 triangles 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 and category theory.

= Algebra =

{{main|Vector addition|Matrix addition|Modular arithmetic|Linear combination}}

In linear algebra, a vector space 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 (a,b) is interpreted as a vector from the origin in the Euclidean plane to the point (a,b) in the plane. The sum of two vectors is obtained by adding their individual coordinates:

(a,b) + (c,d) = (a+c,b+d).

This addition operation is central to classical mechanics, in which velocities, accelerations and forces are all represented by vectors.{{sfnp|Gbur|2011|p=1}}

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 {{nowrap|A + B}}, is again an {{nowrap|m × n}} matrix computed by adding corresponding elements:Lipschutz, S., & Lipson, M. (2001). Schaum's outline of theory and problems of linear algebra. Erlangga.{{cite book |title=Mathematical methods for physics and engineering |url=https://archive.org/details/mathematicalmeth00rile |url-access=registration |first1=K.F. |last1=Riley |first2=M.P.|last2=Hobson |first3=S.J. |last3=Bence |publisher=Cambridge University Press |year=2010 |isbn=978-0-521-86153-3}}

\begin{align}

\mathbf{A}+\mathbf{B} &=

\begin{bmatrix}

a_{11} & a_{12} & \cdots & a_{1n} \\

a_{21} & a_{22} & \cdots & a_{2n} \\

\vdots & \vdots & \ddots & \vdots \\

a_{m1} & a_{m2} & \cdots & a_{mn} \\

\end{bmatrix} +

\begin{bmatrix}

b_{11} & b_{12} & \cdots & b_{1n} \\

b_{21} & b_{22} & \cdots & b_{2n} \\

\vdots & \vdots & \ddots & \vdots \\

b_{m1} & b_{m2} & \cdots & b_{mn} \\

\end{bmatrix}\\[8mu]

&= \begin{bmatrix}

a_{11} + b_{11} & a_{12} + b_{12} & \cdots & a_{1n} + b_{1n} \\

a_{21} + b_{21} & a_{22} + b_{22} & \cdots & a_{2n} + b_{2n} \\

\vdots & \vdots & \ddots & \vdots \\

a_{m1} + b_{m1} & a_{m2} + b_{m2} & \cdots & a_{mn} + b_{mn} \\

\end{bmatrix} \\

\end{align}

For example:

:

\begin{align}

\begin{bmatrix}

1 & 3 \\

1 & 0 \\

1 & 2

\end{bmatrix}

+

\begin{bmatrix}

0 & 0 \\

7 & 5 \\

2 & 1

\end{bmatrix}

&= \begin{bmatrix}

1+0 & 3+0 \\

1+7 & 0+5 \\

1+2 & 2+1

\end{bmatrix}\\[8mu]

&=

\begin{bmatrix}

1 & 3 \\

8 & 5 \\

3 & 3

\end{bmatrix}

\end{align}

In modular arithmetic, 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. The set of integers modulo 2 has just two elements; the addition operation it inherits is known in Boolean logic as the "exclusive or" function. A similar "wrap around" operation arises in geometry, 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, 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 operation on a set. Basic algebraic structures with such an addition operation include commutative monoids and abelian groups.

Linear combinations 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 or superposition of states in quantum mechanics.{{sfnp|Rieffel|Polak|2011|p=16}}

= Set theory and category theory =

A far-reaching generalization of the addition of natural numbers is the addition of ordinal numbers and cardinal numbers 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.{{sfnp|Cheng|2017|pp=124–132}} Addition of cardinal numbers, however, is a commutative operation closely related to the disjoint union operation.

In category theory, disjoint union is seen as a particular case of the coproduct operation,{{sfnp|Riehl|2016|p=100}} and general coproducts are perhaps the most abstract of all the generalizations of addition. Some coproducts, such as direct sum and wedge sum, 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.

= Arithmetic =

Subtraction can be thought of as a kind of addition—that is, the addition of an additive inverse. Subtraction is itself a sort of inverse to addition, in that adding x and subtracting x are inverse functions.{{sfnp|Kay|2021|p=[https://books.google.com/books?id=aw81EAAAQBAJ&pg=PA44 44]}} 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.The set still must be nonempty. {{harvtxt|Dummit|Foote|1999}}, p. 48 discuss this criterion written multiplicatively.

Multiplication can be thought of as repeated addition. If a single term {{mvar|x}} appears in a sum n times, then the sum is the product of n and {{mvar|x}}. Nonetheless, this works only for natural numbers.{{sfnp|Musser|Peterson|Burger|2013|p=[https://books.google.com/books?id=8jh7DwAAQBAJ&pg=PA101 101]}} 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.

File:Csl.JPG

In the real and complex numbers, addition and multiplication can be interchanged by the exponential function:{{sfnp|Rudin|1976|p=178}}

e^{a+b} = e^a e^b.

This identity allows multiplication to be carried out by consulting a table of logarithms 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 groups, where it relates multiplication of infinitesimal group elements with addition of vectors in the associated Lie algebra.{{sfnp|Lee|2003|p=526|loc=Proposition 20.9}}

There are even more generalizations of multiplication than addition.{{harvtxt|Linderholm|1971}}, p. 49 observes, "By multiplication, properly speaking, a mathematician may mean practically anything. By addition he may mean a great variety of things, but not so great a variety as he will mean by 'multiplication'." 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 (1+1)(a+b) in both ways, one concludes that addition is forced to be commutative. For this reason, ring addition is commutative in general.{{harvtxt|Dummit|Foote|1999}}, p. 224. For this argument to work, one must assume that addition is a group operation and that multiplication has an identity.

Division is an arithmetic operation remotely related to addition. Since a/b = ab^{-1} , division is right distributive over addition: (a+b)/c = a/c + b/c .For an example of left and right distributivity, see {{harvtxt|Loday|2002}}, p. 15. However, division is not left distributive over addition, such as 1/(2+2) is not the same as 1/2 + 1/2 .

= Ordering =

File:XPlusOne.svg of {{nowrap|1={{mvar|x}} + 1}} and {{nowrap|1=max ({{mvar|x}}, 1)}} from {{mvar|x}} = 0.001 to 1000Compare {{harvtxt|Viro|2001}}, p. 2, Figure 1.]]

The maximum operation \max(a,b) is a binary operation similar to addition. In fact, if two nonnegative numbers a and b 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, essentially since "max" is not invertible. If b is much greater than a , then a straightforward calculation of (a + b) - b 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 a or b is an infinite cardinal number, 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.{{sfnp|Enderton|1977|p=[http://books.google.com/books?id=JlR-Ehk35XkC&pg=PA164 164]}}

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:

a + \max(b,c) = \max(a+b,a+c).

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.{{sfnp|Mikhalkin|2006|p=1}} Some authors prefer to replace addition with minimization; then the additive identity is positive infinity.{{sfnp|Akian|Bapat|Gaubert|2005|p=4}}

Tying these observations together, tropical addition is approximately related to regular addition through the logarithm:

\log(a+b) \approx \max(\log a, \log b),

which becomes more accurate as the base of the logarithm increases.{{sfnp|Mikhalkin|2006|p=2}} The approximation can be made exact by extracting a constant h , named by analogy with the Planck constant from quantum mechanics,{{sfnp|Litvinov|Maslov|Sobolevskii|1999|p=3}} and taking the "classical limit" as h tends to zero:

\max(a,b) = \lim_{h\to 0}h\log(e^{a/h}+e^{b/h}).

In this sense, the maximum operation is a dequantized version of addition.{{sfnp|Viro|2001|p=4}}

= Other ways to add =

Convolution is used to add two independent random variables defined by distribution functions. Its usual definition combines integration, subtraction, and multiplication.{{sfnp|Gbur|2011|p=300}} In general, convolution is useful as a kind of domain-side addition; by contrast, vector addition is a kind of range-side addition.

See also

Notes

{{notelist}}

Footnotes

{{reflist}}

References

{{refbegin|30em}}

  • {{cite journal

| last1 = Akian | first1 = Marianne

| last2 = Bapat | first2 = Ravindra

| last3 = Gaubert | first3 = Stephane

| title = Min-plus methods in eigenvalue perturbation theory and generalised Lidskii-Vishik-Ljusternik theorem

| journal = INRIA Reports

| year = 2005

| arxiv = math.SP/0402090

| bibcode = 2004math......2090A

}}

  • {{cite book

| last = Apostol | first = Tom M.

| title = Calculus

| year = 1967

| publisher = John Wiley & Sons

| edition = 2nd

| volume = 1

}}

  • {{cite conference

| last1 = Baez | first1 = J. | author-link1 = John C. Baez

| last2 = Dolan | first2 = J.

| book-title = Mathematics Unlimited – 2001 and Beyond. From Finite Sets to Feynman Diagrams

| year = 2001

| page = 29

| arxiv = math.QA/0004133

| isbn = 3-540-66913-2

}}

  • {{cite book

| last = Begle | first = Edward

| title = The Mathematics of the Elementary School

| publisher = McGraw-Hill

| year = 1975

| isbn = 978-0-07-004325-1

| url = https://archive.org/details/mathematicsofele0000begl

}}

  • {{cite book

| last = Berg | first = Lothar

| editor-last1 = Lauwerier | editor-first1 = H. A.

| editor-last2 = Koiter | editor-first2 = W. T.

| title = Introduction To The Operational Calculus

| url = https://books.google.com/books?id=aGXFCUaFCW0C

| publisher = North-Holland Publishing

| volume = 2

| year = 1967

| isbn = 978-0-323-16245-6

}}

  • {{cite book

| last = Bergman | first = George

| title = An Invitation to General Algebra and Universal Constructions

| edition = 2.3

| publisher = General Printing

| year = 2005

| isbn = 978-0-9655211-4-7

| url = http://math.berkeley.edu/~gbergman/245/index.html

}}

  • {{cite book

| last1 = Behr | first1 = Merlyn J.

| last2 = Jungst | first2 = Dale G.

| title = Fundamentals of Elementary Mathematics

| year = 1971

| publisher = Academic Press

}}

  • {{cite book

| last1 = Bronstein | first1 = Ilja Nikolaevič

| last2 = Semendjajew | first2 = Konstantin Adolfovič

| editor1-first = Günter | editor1-last = Grosche

| editor2-first = Viktor | editor2-last = Ziegler

| editor3-first = Dorothea | editor3-last = Ziegler

| others = Weiß, Jürgen

| translator-first = Viktor | translator-last = Ziegler

| volume = 1 | year = 1987 | edition = 23

| orig-year = 1945 | publisher = Verlag Harri Deutsch (and B.G. Teubner Verlagsgesellschaft, Leipzig)

| location = Thun and Frankfurt am Main

| language = de

| chapter = 2.4.1.1.

| pages = 115–120

| isbn = 978-3-87144-492-0

| title = Taschenbuch der Mathematik

| title-link = Bronstein and Semendjajew

}}

  • {{cite book

| last = Burrill | first = Claude

| title = Foundations of Real Numbers

| publisher = McGraw-Hill

| year = 1967

| id = {{LCC|QA248.B95}}

}}

  • {{cite web |last=Bogomolny |first=Alexander |year=1996 |title=Addition |work=Interactive Mathematics Miscellany and Puzzles (cut-the-knot.org) |url=http://www.cut-the-knot.org/do_you_know/addition.shtml |access-date=3 February 2006 |archive-url=https://web.archive.org/web/20060426110928/http://www.cut-the-knot.org/do_you_know/addition.shtml |archive-date=April 26, 2006 |url-status=live}}
  • {{cite book

| last1 = Cameron | first1 = Scyhrlet

| last2 = Craig | first2 = Carolyn

| year = 2013

| title = Adding and Subtracting Fractions, Grades 5–8

| publisher = Mark Twain Incorporation

}}

  • {{cite book

| last = Campbell | first = Howard E.

| title = The structure of arithmetic

| publisher = Appleton-Century-Crofts

| year = 1970

| isbn = 978-0-390-16895-5

| url-access = registration

| url = https://archive.org/details/structureofarith00camp}}

  • {{cite book

| last = Cheng | first = Eugenia | author-link = Eugenia Cheng

| title = Beyond Infinity: An Expedition to the Outer Limits of Mathematics

| title-link = Beyond Infinity (mathematics book)

| year = 2017

| publisher = Basic Books

| isbn = 978-1-541-64413-7

}}

  • {{cite book

| author = Department of the Army

| year = 1961

| title = Army Technical Manual TM 11-684: Principles and Applications of Mathematics for Communications-Electronics

}}

  • {{cite book

| last1 = Devine | first1 = D.

| last2 = Olson | first2 = J.

| last3 = Olson | first3 = M.

| title = Elementary Mathematics for Teachers

| edition = 2e

| publisher = John Wiley & Sons

| year = 1991

| isbn = 978-0-471-85947-5

| url = https://archive.org/details/elementarymathem0000devi

}}

  • {{cite book

| last1 = Dummit | first1 = D.

| last2 = Foote | first2 = R.

| title = Abstract Algebra

| edition = 2nd

| publisher = Wiley

| year = 1999

| isbn = 978-0-471-36857-1

}}

  • {{cite book

| last = Dunham | first = William

| title = The Mathematical Universe

| url = https://archive.org/details/mathematicaluniv0000dunh

| url-access = registration

| publisher = Wiley

| year = 1994

| isbn = 978-0-471-53656-7

}}

  • {{cite book

| last = Enderton | first = Herbert

| title = Elements of Set Theory

| publisher = Academic Press

| year = 1977

| isbn = 978-0-12-238440-0

| url = https://books.google.com/books?id=JlR-Ehk35XkC

}}

  • {{cite book

| last = Ferreirós | first = José

| title = Labyrinth of Thought: A History of Set Theory and Its Role in Modern Mathematics

| url = https://archive.org/details/labyrinthofthoug0000ferr

| url-access = registration

| publisher = Birkhäuser

| year = 1999

| isbn = 978-0-8176-5749-9

}}

  • {{cite book

| last = Fierro | first = R.

| year = 2012

| title = Mathematics for Elementary School Teachers

| publisher = Cengage Learning

}}

  • {{cite book

| last1 = Flynn | first1 = M.

| last2 = Oberman | first2 = S.

| title = Advanced Computer Arithmetic Design

| publisher = Wiley

| year = 2001

| isbn = 978-0-471-41209-0

}}

  • {{cite book

| last1 = Fosnot | first1 = Catherine T.

| last2 = Dolk | first2 = Maarten

| title = Young Mathematicians at Work: Constructing Number Sense, Addition, and Subtraction

| publisher = Heinemann

| year = 2001

| isbn = 978-0-325-00353-5

}}

  • {{cite book

| last = Gbur | first = Greg | author-link = Greg Gbur

| url = https://www.worldcat.org/oclc/704518582

| title = Mathematical Methods for Optical Physics and Engineering

| year = 2011

| publisher = Cambridge University Press

| isbn = 978-0-511-91510-9

| oclc = 704518582

}}

  • {{cite book

| last1 = Gschwind | first1 = Hans W.

| last2 = McCluskey | first2 = E. J.

| year = 1975

| title = Design of Digital Computers: An Introduction

| publisher = Springer-Verlag

| edition = 2nd

}}

  • {{cite book

| last = Hempel | first = C. G.

| editor-last = Fetzer | editor-first = J. H.

| year = 2001

| title = The philosophy of Carl G. Hempel: studies in science, explanation, and rationality

| url = https://books.google.com/books?id=yTY9La4P2n8C

| publisher = Oxford University Press

| isbn = 978-0-19-534387-8

}}

  • {{cite book

| last1 = Horowitz | first1 = P.

| last2 = Hill | first2 = W.

| title = The Art of Electronics

| edition = 2nd

| publisher = Cambridge University Press

| year = 2001

| isbn = 978-0-521-37095-0

| url = https://archive.org/details/artofelectronics00horo

}}

  • {{cite book

| last = Jackson | first = Albert

| title = Analog Computation

| publisher = McGraw-Hill

| year = 1960

| id = {{LCC|QA76.4|J3}}

}}

  • {{cite book

| last = Johnson | first = Paul

| title = From Sticks and Stones: Personal Adventures in Mathematics

| publisher = Science Research Associates

| year = 1975

| isbn = 978-0-574-19115-1

}}

  • {{cite book

| last = Kaplan | first = Robert

| title = The Nothing That Is: A Natural History of Zero

| publisher = Oxford University Press

| year = 2000

| isbn = 0-19-512842-7

}}

  • {{cite book

| last = Karpinski | first = Louis | author-link = Louis Charles Karpinski

| title = The History of Arithmetic

| publisher = Rand McNally

| year = 1925

| id = {{LCC|QA21.K3}}

}}

  • {{cite book

| last = Kay | first = Anthony

| title = Number Systems: A Path into Rigorous Mathematics

| year = 2021

| publisher = CRC Press

| isbn = 978-0-429-60776-9

| url = https://books.google.com/books?id=aw81EAAAQBAJ

| language = en

}}

  • {{cite book

| last = Lee | first = John

| title= Introduction to Smooth Manifolds

| publisher = Springer

| year = 2003

| isbn = 978-0-387-95448-6

}}

  • {{cite book

| last = Lewis | first = Rhys

| url = https://link.springer.com/book/10.1007/978-1-349-02405-6

| title = First-Year Technician Mathematics

| publisher = The MacMillan Press Ltd

| year = 1974

| isbn = 978-1-349-02405-6

| location= Palgrave, London

| page = 1

| chapter = Arithmetic

| doi = 10.1007/978-1-349-02405-6_1

| chapter-url = https://link.springer.com/chapter/10.1007/978-1-349-02405-6_1

}}

  • {{cite book

| last1 = Li | first1 = Y.

| last2 = Lappan | first2 = G. | author-link2 = Glenda Lappan

| year = 2014

| title = Mathematics curriculum in school education

| publisher = Springer

| doi = 10.1007/978-94-007-7560-2

| isbn = 978-94-007-7560-2

}}

  • {{cite book

| last = Linderholm | first = Carl

| year = 1971

| title = Mathematics Made Difficult

| title-link = Mathematics Made Difficult

| publisher = Wolfe

| isbn = 978-0-7234-0415-6

}}

  • {{cite arXiv

| last1 = Litvinov | first1 = Grigory

| last2 = Maslov | first2 = Victor

| last3 = Sobolevskii | first3 = Andreii

| year = 1999

| eprint = math/9911126

| title = Idempotent mathematics and interval analysis

}}

  • {{cite book

| last1 = Liu | first1 = Feng

| last2 = Tan | first2 = Qingping

| last3 = Song | first3 = Xiaoyu

| last4 = Chen | first4 = Gang

| editor-last1 = Hsu | editor-first1 = Ching-Hsien

| editor-last2 = Yang | editor-first2 = Laurence T.

| editor-last3 = Park | editor-first3 = Jong Hyuk

| editor-last4 = Yeo | editor-first4 = Sang-Soo

| title = Algorithms and Architectures for Parallel Processing: 10th International Conference, ICA3PP 2010, Busan, Korea, May 21–23, 2010. Proceedings, Vol. 1

| year = 2010

| publisher = Springer

}}

  • {{cite journal

| last = Loday | first = Jean-Louis

| title = Arithmetree

| journal = Journal of Algebra

| year = 2002

| arxiv = math/0112034

| doi = 10.1016/S0021-8693(02)00510-0

| volume = 258 | page= 275

}}

  • {{cite book

| last = Marguin | first = Jean

| year = 1994

| language = fr

| title = Histoire des Instruments et Machines à Calculer, Trois Siècles de Mécanique Pensante 1642–1942

| publisher = Hermann

| isbn = 978-2-7056-6166-3

}}

  • {{cite book

| last = Martin | first = John

| title= Introduction to Languages and the Theory of Computation

| publisher = McGraw-Hill

| edition = 3rd

| year = 2003

| isbn= 978-0-07-232200-2

}}

  • {{cite book

| last = Mazur | first = Joseph

| year = 2014

| title = Enlightening Symbols: A Short History of Mathematical Notation and Its Hidden Powers

| publisher = Princeton University Press

| doi = 10.2307/j.ctt5hhpnp

| jstor = j.ctt5hhpnp

| isbn = 978-0-691-15463-3

}}

  • {{cite book

| last = Mikhalkin | first = Grigory

| year = 2006

| arxiv = math.AG/0601041

| zbl = 1103.14034

| editor-last = Sanz-Solé | editor-first = Marta

| title = Proceedings of the International Congress of Mathematicians (ICM), Madrid, Spain, August 22–30, 2006. Volume II: Invited lectures. Tropical Geometry and its Applications

| location = Zürich

| publisher = European Mathematical Society

| isbn= 978-3-03719-022-7

| pages = 827–852}}

  • {{cite book

| last = Mosley | first = F.

| year = 2001

| title = Using number lines with 5–8 year olds

| volume = 4

| publisher = Nelson Thornes

| isbn = 978-1-874099-95-6

| url = https://books.google.com/books?id=I-__WcWjemUC

}}

  • {{cite book

| last1 = Musser | first1 = Gary L.

| last2 = Peterson | first2 = Blake E.

| last3 = Burger | first3 = William F.

| title = Mathematics for Elementary Teachers: A Contemporary Approach

| year = 2013

| publisher = John Wiley & Sons

| isbn = 978-1-118-48700-6

| url = https://books.google.com/books?id=8jh7DwAAQBAJ

| language = en

}}

  • {{cite book

| author = National Research Council

| title = Adding It Up: Helping Children Learn Mathematics

| publisher = National Academy Press

| year = 2001

| isbn = 978-0-309-06995-3|author-link=United States National Research Council

| url = http://www.nap.edu/books/0309069955/html/index.html|doi=10.17226/9822

}}

  • {{cite journal

| last = Neumann | first = Peter G.

| url = http://catless.ncl.ac.uk/Risks/4.45.html

| title = The Risks Digest Volume 4: Issue 45

| journal = The Risks Digest

| access-date = 2015-03-30

| archive-url = https://web.archive.org/web/20141228211038/http://catless.ncl.ac.uk/Risks/4.45.html

| archive-date = 2014-12-28

| url-status = live

| date = 2 February 1987

| volume = 4 | issue = 45

}}

  • {{cite book

| last1 = Posamentier | first1 = Alfred S.

| last2 = Farber | first2 = William

| last3 = Germain-Williams | first3 = Terri L.

| last4 = Paris | first4 = Elaine

| last5 = Thaller | first5 = Bernd

| last6 = Lehmann | first6 = Ingmar

| year = 2013

| title = 100 Commonly Asked Questions in Math Class

| publisher = Corwin Press

| isbn = 978-1-4522-4308-5

}}

  • {{cite book

| last1 = Rieffel | first1 = Eleanor G. | author-link1 = Eleanor Rieffel

| last2 = Polak | first2 = Wolfgang H.

| title-link = Quantum Computing: A Gentle Introduction

| title = Quantum Computing: A Gentle Introduction

| date = 4 March 2011

| publisher = MIT Press

| isbn = 978-0-262-01506-6

| language = en

}}

  • {{cite book |last=Riehl |first=Emily |author-link=Emily Riehl |title=Category Theory in Context |publisher=Dover |url=https://math.jhu.edu/~eriehl/context/ |year=2016 |isbn=978-0-486-80903-8}}
  • {{cite book

| last = Rudin | first = Walter

| title = Principles of Mathematical Analysis

| url = https://archive.org/details/principlesofmath00rudi

| url-access = registration

| edition = 3rd

| publisher = McGraw-Hill

| year = 1976

| isbn = 978-0-07-054235-8

}}

  • {{cite book

| last = Rosen | first = Kenneth

| year = 2013

| title = Discrete Maths and Its Applications Global Edition

| publisher = McGraw Hill

| isbn = 978-0-07-131501-2

}}

  • {{cite book

| last = Schmid | first = Hermann | author-link = Hermann Schmid (computer scientist)

| title = Decimal Computation

| year = 1974

| edition = 1st

| publisher = John Wiley & Sons

| location = Binghamton, NY

| isbn = 0-471-76180-X

| url = https://archive.org/details/decimalcomputati0000schm

}}

  • {{cite book

| last = Schmid | first = Hermann |author-link = Hermann Schmid (computer scientist)

| title = Decimal Computation

| orig-year = 1974 | year = 1983

| edition = reprint of 1st

| publisher = Robert E. Krieger Publishing Company

| location = Malabar, FL

| isbn = 978-0-89874-318-0

}}

  • {{cite journal

| last1 = Schmidt | first1 = W.

| last2 = Houang | first2 = R.

| last3 = Cogan | first3 = L.

| year = 2002

| title = A coherent curriculum

| journal = American Educator

| volume = 26 | issue = 2 | pages = 10–26

}}

  • {{cite book

| last = Schwartzman | first = Steven

|title=The Words of Mathematics: An Etymological Dictionary of Mathematical Terms Used in English |url=https://archive.org/details/wordsofmathemati0000schw |url-access=registration |publisher=MAA |year=1994 |isbn=978-0-88385-511-9}}

  • {{cite book

| last1 = Shmerko | first1 = V. P.

| last2 = Yanushkevich | first2 = Svetlana N. | author2-link = Svetlana Yanushkevich

| last3 = Lyshevski | first3 = S. E.

| year = 2009

| title = Computer arithmetics for nanoelectronics

| publisher = CRC Press

}}

  • {{cite book

| last = Smith | first = Frank

| title = The Glass Wall: Why Mathematics Can Seem Difficult

| url = https://archive.org/details/glasswallwhymath0000smit |url-access=registration |publisher=Teachers College Press

| year = 2002

| isbn = 978-0-8077-4242-6

}}

  • {{cite book

| last = Smith | first = Karl

| title = The Nature of Modern Mathematics

| edition = 3rd

| publisher = Wadsworth

| year = 1980

| isbn = 978-0-8185-0352-8}}

  • {{cite book

| last1 = Sparks | first1 = F.

| last2 = Rees | first2 = C.

| title = A Survey of Basic Mathematics

| publisher = McGraw-Hill

| year = 1979

| isbn = 978-0-07-059902-4

}}

  • {{cite book

| last = Taton | first= René

| year = 1963

| language = fr

| title = Le Calcul Mécanique. Que Sais-Je ? n° 367

| pages = 20–28

| publisher = Presses universitaires de France

}}

  • {{cite book

| last = Stewart | first = James

| title = Calculus: Early Transcendentals

| edition = 4th

| publisher = Brooks/Cole

| year = 1999

| isbn = 978-0-534-36298-0

| url = https://archive.org/details/calculusearlytra00stew

}}

  • {{cite book

| last1 = Truitt | first1 = T.

| last2 = Rogers | first2 = A.

| title = Basics of Analog Computers

| publisher = John F. Rider

| year = 1960

| id = {{LCC|QA76.4|T7}}

}}

  • {{cite book

| last = van de Walle |first=John |title=Elementary and Middle School Mathematics: Teaching developmentally |edition=5e |publisher=Pearson |year=2004 |isbn=978-0-205-38689-5 |url=https://archive.org/details/elementarymiddle00vand }}

  • {{Cite book |last=Viro |first=Oleg |year=2001 |url=http://www.math.uu.se/~oleg/dequant/dequantH1.html |title=European Congress of Mathematics: Barcelona, July 10–14, 2000, Volume I. Dequantization of Real Algebraic Geometry on Logarithmic Paper |editor1-first=Carles |editor1-last=Cascuberta |editor2-first=Rosa Maria |editor2-last=Miró-Roig |editor3-first=Joan |editor3-last=Verdera |editor4-first=Sebastià |editor4-last=Xambó-Descamps |publisher=Birkhäuser |location=Basel |isbn=978-3-7643-6417-5 |series=Progress in Mathematics |volume=201 |pages=135–146 |arxiv=math/0005163 |zbl=1024.14026 |bibcode=2000math......5163V }}
  • {{cite book

| last = Williams | first = Michael

|title=A History of Computing Technology |url=https://archive.org/details/historyofcomputi0000will |url-access=registration |publisher=Prentice-Hall |year=1985 |isbn=978-0-13-389917-7}}

  • {{cite conference |last=Wynn |first=Karen |book-title=The Development of Mathematical Skills. |title=Numerical competence in infants |publisher=Taylor & Francis |year=1998 |isbn=0-86377-816-X}}

{{Refend}}

Further reading

  • {{cite conference |last1=Baroody |first1=Arthur |last2=Tiilikainen |first2=Sirpa |title=The Development of Arithmetic Concepts and Skills. Two perspectives on addition development |year=2003 |page=[https://archive.org/details/developmentofari0000unse/page/75 75] |isbn=0-8058-3155-X |publisher=Routledge |url=https://archive.org/details/developmentofari0000unse/page/75 }}
  • {{cite book |last1=Davison |first1=David M. |last2=Landau |first2=Marsha S. |last3=McCracken |first3=Leah |last4=Thompson |first4=Linda |title=Mathematics: Explorations & Applications |edition=TE |publisher=Prentice Hall |year=1999 |isbn=978-0-13-435817-8}}
  • {{cite book |first1=Lucas N.H. |last1=Bunt |first2=Phillip S. |last2=Jones |first3=Jack D. |last3=Bedient |title=The Historical roots of Elementary Mathematics |url=https://archive.org/details/historicalrootso0000bunt |url-access=registration |publisher=Prentice-Hall |year=1976 |isbn=978-0-13-389015-0}}
  • {{cite journal |last=Poonen |first=Bjorn |year=2010 |title=Addition |url=http://www.girlsangle.org/page/bulletin.php |journal=Girls' Angle Bulletin |volume=3 |issue=3–5 |issn=2151-5743}}
  • {{cite conference |first=J. Fred |last=Weaver |title=Addition and Subtraction: A Cognitive Perspective |book-title=Addition and Subtraction: A Cognitive Perspective. Interpretations of Number Operations and Symbolic Representations of Addition and Subtraction |year=1982 |page=60 |isbn=0-89859-171-6 |publisher=Taylor & Francis}}

{{Elementary arithmetic}}

{{Hyperoperations}}

{{Authority control}}

Category:Elementary arithmetic

Category:Mathematical notation

Category:Articles with example C code