Difference between revisions of "Addition Algorithms"

From Department of Mathematics at UTSA
Jump to navigation Jump to search
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
[[File:Addition01.svg|right|thumb|120px|3 + 2 = 5 with apples, a popular choice in textbooks]]
 
[[File:Addition01.svg|right|thumb|120px|3 + 2 = 5 with apples, a popular choice in textbooks]]
'''Addition''' (usually signified by the plus symbol {{char|+}}) 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 amount or ''sum'' of those values combined. The example in the adjacent image shows a combination of three apples and two apples, making a total of five apples. This observation is equivalent to the mathematical expression "3 + 2 = 5" (that is, "3 ''plus'' 2 is equal to 5").
+
'''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 amount or ''sum'' of those values combined. The example in the adjacent image shows a combination of three apples and two apples, making a total of five apples. This observation is equivalent to the mathematical expression "3 + 2 = 5" (that is, "3 ''plus'' 2 is equal to 5").
  
 
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.
 
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 order does not matter, and it is associative, meaning that when one adds more than two numbers, the order in which addition is performed does not matter (see ''Summation''). Repeated addition of 1 is the same as counting. Addition of {{num|0}} does not change a number. Addition also obeys predictable rules concerning related operations such as subtraction and multiplication.
+
Addition has several important properties. It is commutative, meaning that order does not matter, and it is associative, meaning that when one adds more than two numbers, the order in which addition is performed does not matter (see ''Summation''). Repeated addition of 1 is the same as counting. Addition of 0 does not change a number. Addition also obeys predictable rules concerning related operations such as subtraction and multiplication.
  
 
Performing addition is one of the simplest numerical tasks. Addition of very small numbers is accessible to toddlers; the most basic task, 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, starting 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.
 
Performing addition is one of the simplest numerical tasks. Addition of very small numbers is accessible to toddlers; the most basic task, 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, starting 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.
Line 28: Line 28:
 
Some authors call the first addend the ''augend''. 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.
 
Some authors call the first addend the ''augend''. 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.
  
All of the above terminology derives from Latin. "Addition" and "add" are English words derived from the Latin verb ''addere'', which is in turn a compound of ''ad'' "to" and ''dare'' "to give", from the Proto-Indo-European root {{PIE|''*deh₃-''}} "to give"; thus to ''add'' is to ''give to''. Using the gerundive suffix ''-nd'' results in "addend", "thing to be added". Likewise from ''augere'' "to increase", one gets "augend", "thing to be increased".
+
All of the above terminology derives from Latin. "Addition" and "add" are English words derived from the Latin verb ''addere'', which is in turn a compound of ''ad'' "to" and ''dare'' "to give", from the Proto-Indo-European root ''*deh₃-'' "to give"; thus to ''add'' is to ''give to''. Using the gerundive suffix ''-nd'' results in "addend", "thing to be added". Likewise from ''augere'' "to increase", one gets "augend", "thing to be increased".
  
 
[[File:AdditionNombryng.svg|left|thumb|Redrawn illustration from ''The Art of Nombryng'', one of the first English arithmetic texts, in the 15th century.]]
 
[[File:AdditionNombryng.svg|left|thumb|Redrawn illustration from ''The Art of Nombryng'', one of the first English arithmetic texts, in the 15th century.]]
"Sum" and "summand" derive from the Latin [[noun]] ''summa'' "the highest, the top" and associated verb ''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 Greece|ancient Greeks]] and [[Ancient Rome|Romans]] to add upward, contrary to the modern practice of adding downward, so that a sum was literally higher than the addends.<ref>Schwartzman (p. 212) attributes adding upwards to the [[Ancient Greece|Greeks]] and [[Ancient Rome|Romans]], saying it was about as common as adding downwards. On the other hand, Karpinski (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.</ref>
+
"Sum" and "summand" derive from the Latin noun ''summa'' "the highest, the top" and associated verb ''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 higher than the addends.
''Addere'' and ''summare'' date back at least to [[Anicius Manlius Severinus Boethius|Boethius]], if not to earlier Roman writers such as [[Vitruvius]] and [[Sextus Julius Frontinus|Frontinus]]; Boethius also used several other terms for the addition operation. The later [[Middle English]] terms "adden" and "adding" were popularized by [[Geoffrey Chaucer|Chaucer]].<ref>Karpinski pp. 150–153</ref>
+
''Addere'' and ''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.
  
The [[plus sign]] "+" ([[Unicode]]:U+002B; [[ASCII]]: <code>&amp;#43;</code>) is an abbreviation of the Latin word ''et'', meaning "and".<ref>{{cite book |last=Cajori |first=Florian |title=A History of Mathematical Notations, Vol. 1 |url=https://archive.org/details/in.ernet.dli.2015.200372 |year=1928 |publisher=The Open Court Company, Publishers |chapter=Origin and meanings of the signs + and -}}</ref> It appears in mathematical works dating back to at least 1489.<ref name="OED">{{OED|plus}}</ref>
+
The plus sign "+" (Unicode:U+002B; ASCII: <code>&amp;#43;</code>) is an abbreviation of the Latin word ''et'', meaning "and". It appears in mathematical works dating back to at least 1489.
  
 
==Interpretations==
 
==Interpretations==
Addition is used to model many physical processes. Even for the simple case of adding [[natural number]]s, there are many possible interpretations and even more visual representations.
+
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===
 
===Combining sets===
Line 44: Line 44:
 
* 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.
 
* 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 addition to include fractional numbers or negative numbers.<ref>See Viro 2001 for an example of the sophistication involved in adding with sets of "fractional cardinality".</ref>
+
This interpretation is easy to visualize, with little danger of ambiguity. It is also useful in higher mathematics (for the rigorous definition it inspires). However, it is not obvious how one should extend this version of addition to include fractional numbers 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.<ref>''Adding it up'' (p. 73) compares adding measuring rods to adding sets of cats: "For example, inches can be subdivided into parts, which are hard to tell from the wholes, except that they are shorter; whereas it is painful to cats to divide them into parts, and it seriously changes their nature."</ref> 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.
+
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===
 
===Extending a length===
Line 52: Line 52:
 
[[File:AdditionLineUnary.svg|right|frame|A number-line visualization of the unary addition 2 + 4 = 6. A translation by 4 is equivalent to four translations by 1.]]
 
[[File:AdditionLineUnary.svg|right|frame|A number-line visualization of the unary addition 2 + 4 = 6. A translation by 4 is equivalent to four translations by 1.]]
 
A second interpretation of addition comes from extending an initial length by a given length:
 
A second interpretation of addition comes from extending an initial length by a given length:
* 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.<ref>Mosley, F. (2001). ''Using number lines with 5–8 year olds''. Nelson Thornes. p. 8</ref>
+
* 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'', in an algebraic sense, or it can be interpreted as the addition of ''b'' more units to ''a''. Under the latter interpretation, the parts of a sum {{nowrap|''a'' + ''b''}} play asymmetric roles, and the operation {{nowrap|''a'' + ''b''}} is viewed as applying the [[unary operation]] +''b'' to ''a''.<ref>Li, Y., & [[Glenda Lappan|Lappan, G.]] (2014). ''Mathematics curriculum in school education''. Springer. p. 204</ref> 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''.
+
The sum ''a'' + ''b'' can be interpreted as a binary operation that combines ''a'' and ''b'', in an algebraic sense, 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''. 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==
 
==Properties==
 
===Commutativity===
 
===Commutativity===
 
[[File:AdditionComm01.svg|right|113px|thumb|4 + 2 = 2 + 4 with blocks]]
 
[[File:AdditionComm01.svg|right|113px|thumb|4 + 2 = 2 + 4 with blocks]]
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
+
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
 
:''a'' + ''b'' = ''b'' + ''a''.
 
:''a'' + ''b'' = ''b'' + ''a''.
The fact that addition is commutative is known as the "commutative law of addition" or "commutative property of addition". Some other [[binary operation]]s are commutative, such as multiplication, but many others are not, such as subtraction and division.
+
The fact that addition is commutative is known as the "commutative law of addition" or "commutative property of addition". Some other binary operations are commutative, such as multiplication, but many others are not, such as subtraction and division.
  
 
===Associativity===
 
===Associativity===
 
[[File:AdditionAsc.svg|left|100px|thumb|2 + (1 + 3) = (2 + 1) + 3 with segmented rods]]
 
[[File:AdditionAsc.svg|left|100px|thumb|2 + (1 + 3) = (2 + 1) + 3 with segmented rods]]
Addition is [[associativity|associative]], which means that when three or more numbers are added together, the [[order of operations]] does not change the result.
+
Addition is associative, which means that when three or more numbers are added together, the order of operations does not change the result.
  
As an example, should the expression ''a'' + ''b'' + ''c'' be defined to mean (''a'' + ''b'') + ''c'' or ''a'' + (''b'' + ''c'')? Given that addition is associative, the choice of definition is irrelevant. For any three numbers ''a'', ''b'', and ''c'', it is true that {{nowrap|1=(''a'' + ''b'') + ''c'' = ''a'' + (''b'' + ''c'')}}. For example, {{nowrap|1=(1 + 2) + 3 = 3 + 3 = 6 = 1 + 5 = 1 + (2 + 3)}}.
+
As an example, should the expression ''a'' + ''b'' + ''c'' be defined to mean (''a'' + ''b'') + ''c'' or ''a'' + (''b'' + ''c'')? Given that addition is associative, the choice of definition is irrelevant. For any three numbers ''a'', ''b'', and ''c'', it is true that (''a'' + ''b'') + ''c'' = ''a'' + (''b'' + ''c''). For example, (1 + 2) + 3 = 3 + 3 = 6 = 1 + 5 = 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 root]]s, multiplication and division, but is given equal priority to subtraction.<ref>{{cite book |title=Taschenbuch der Mathematik |author-first1=Ilja Nikolaevič<!-- Nikolajewitsch --> |author-last1=Bronstein<!-- 1903–1976 --> |author-first2=Konstantin Adolfovič<!-- Adolfowitsch --> |author-last2=Semendjajew<!-- 1908–1988 --> |editor-first1=Günter |editor-last1=Grosche |editor-first2=Viktor |editor-last2=Ziegler<!-- 1922–1980--> |editor-first3=Dorothea |editor-last3=Ziegler |others=Weiß, Jürgen<!-- lector --> |translator-first=Viktor |translator-last=Ziegler |volume=1 |date=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-link=Bronstein and Semendjajew}}</ref>
+
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.
  
 
===Identity element===
 
===Identity element===
 
[[File:AdditionZero.svg|right|70px|thumb|5 + 0 = 5 with bags of dots]]
 
[[File:AdditionZero.svg|right|70px|thumb|5 + 0 = 5 with bags of dots]]
Adding [[0 (number)|zero]] to any number, does not change the number; this means that zero is the [[identity element]] for addition, and is also known as the [[additive identity]]. In symbols, for every {{math|''a''}}, one has
+
Adding zero to any number, does not change the number; this means that zero is the identity element for addition, and is also known as the additive identity. In symbols, for every {{math|''a''}}, one has
 
:{{math|1=''a'' + 0 = 0 + ''a'' = ''a''}}.
 
:{{math|1=''a'' + 0 = 0 + ''a'' = ''a''}}.
This law was first identified in [[Brahmagupta]]'s ''[[Brahmasphutasiddhanta]]'' in 628&nbsp;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 (mathematician)|Mahavira]] wrote, "zero becomes the same as what is added to it", corresponding to the unary statement {{math|1=0 + ''a'' = ''a''}}. In the 12th&nbsp;century, [[Bhāskara II|Bhaskara]] wrote, "In the addition of cipher, or subtraction of it, the quantity, positive or negative, remains the same", corresponding to the unary statement {{math|1=''a'' + 0 = ''a''}}.<ref>Kaplan pp. 69–71</ref>
+
This law was first identified in Brahmagupta's ''Brahmasphutasiddhanta'' in 628&nbsp;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 {{math|1=0 + ''a'' = ''a''}}. In the 12th&nbsp;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 {{math|1=''a'' + 0 = ''a''}}.
  
 
===Successor===
 
===Successor===
Within the context of integers, addition of [[1 (number)|one]] also plays a special role: for any integer ''a'', the integer {{nowrap|(''a'' + 1)}} is the least integer greater than ''a'', also known as the [[successor function|successor]] of ''a''.<ref>Hempel, C.G. (2001). The philosophy of Carl G. Hempel: studies in science, explanation, and rationality. p. 7</ref> For instance, 3 is the successor of 2 and 7 is the successor of 6. Because of this succession, the value of {{nowrap|''a'' + ''b''}} can also be seen as the ''b''th successor of ''a'', making addition 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 2nd successor of 6.
+
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 ''b''th successor of ''a'', making addition iterated succession. For example, 6 + 2 is 8, because 8 is the successor of 7, which is the successor of 6, making 8 the 2nd successor of 6.
  
 
===Units===
 
===Units===
To numerically add physical quantities with [[units of measurement|units]], they must be expressed with common units.<ref>R. Fierro (2012) ''Mathematics for Elementary School Teachers''. Cengage Learning. Sec 2.3</ref> For example, adding 50&nbsp;milliliters to 150&nbsp;milliliters gives 200&nbsp;milliliters. However, if a measure of 5&nbsp;feet is extended by 2&nbsp;inches, the sum is 62&nbsp;inches, since 60&nbsp;inches is synonymous with 5&nbsp;feet. On the other hand, it is usually meaningless to try to add 3&nbsp;meters and 4&nbsp;square meters, since those units are incomparable; this sort of consideration is fundamental in [[dimensional analysis]].
+
To numerically add physical quantities with units, they must be expressed with common units. For example, adding 50&nbsp;milliliters to 150&nbsp;milliliters gives 200&nbsp;milliliters. However, if a measure of 5&nbsp;feet is extended by 2&nbsp;inches, the sum is 62&nbsp;inches, since 60&nbsp;inches is synonymous with 5&nbsp;feet. On the other hand, it is usually meaningless to try to add 3&nbsp;meters and 4&nbsp;square meters, since those units are incomparable; this sort of consideration is fundamental in dimensional analysis.
  
 
==Performing addition==
 
==Performing addition==
 
===Innate ability===
 
===Innate ability===
Studies on mathematical development starting around the 1980s have exploited the phenomenon of [[habituation]]: [[infant]]s look longer at situations that are unexpected.<ref>Wynn p. 5</ref> 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.<ref>Wynn p. 15</ref> Another 1992 experiment with older [[toddler]]s, between 18 and 35&nbsp;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.<ref>Wynn p. 17</ref>
+
Studies on mathematical development starting around the 1980s have exploited the phenomenon of habituation: infants look longer at situations that are unexpected. A seminal experiment by Karen Wynn in 1992 involving Mickey Mouse dolls manipulated behind a screen demonstrated that five-month-old infants ''expect'' 1 + 1 to be 2, and they are comparatively surprised when a physical situation seems to imply that 1 + 1 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&nbsp;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]]s. In a 1995 experiment imitating Wynn's 1992 result (but using [[eggplant]]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]] 0 through 4, one [[Common Chimpanzee|chimpanzee]] was able to compute the sum of two numerals without further training.<ref>Wynn p. 19</ref> More recently, [[Asian elephant]]s have demonstrated an ability to perform basic arithmetic.<ref>{{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 }}</ref>
+
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. More recently, Asian elephants have demonstrated an ability to perform basic arithmetic.
  
 
===Childhood learning===
 
===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.<ref>F. Smith p. 130</ref> 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 bond]]s"), 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.<ref>{{Cite book |last=Carpenter |first=Thomas |author2=Fennema, Elizabeth |author3=Franke, Megan Loef |author4=Levi, Linda |author5=Empson, Susan |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 }}</ref> 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.<ref name=Henry>{{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 }}</ref>
+
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. 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 6 + 6 = 12 and then reason that 6 + 7 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.<ref>
+
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.
Beckmann, S. (2014). The twenty-third ICMI study: primary mathematics study on whole numbers. International Journal of STEM Education, 1(1), 1-8.
 
Chicago
 
</ref> However, throughout the world, addition is taught by the end of the first year of elementary school.<ref>Schmidt, W., Houang, R., & Cogan, L. (2002). "A coherent curriculum". ''American Educator'', 26(2), 1–18.</ref>
 
  
 
====Table====
 
====Table====
Line 136: Line 133:
  
 
===Decimal system===
 
===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 learning|rote]], but pattern-based strategies are more enlightening and, for most people, more efficient:<ref name="FosnotDolk99">Fosnot and Dolk p. 99</ref>
+
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:
 
* ''Commutative property'': Mentioned above, using the pattern ''a + b = b + a'' reduces the number of "addition facts" from 100 to 55.
 
* ''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 (knowledge)|intuition]].<ref name="FosnotDolk99"/>
+
* ''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 problem (mathematics education)|word problems]] may help rationalize the "exception" of zero.<ref name="FosnotDolk99"/>
+
* ''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]]. Doubles facts form a backbone for many related facts, and students find them relatively easy to grasp.<ref name="FosnotDolk99"/>
+
* ''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.
* ''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.<ref name="FosnotDolk99"/>
+
* ''Near-doubles'': Sums such as 6 + 7 = 13 can be quickly derived from the doubles fact 6 + 6 = 12 by adding one more, or from 7 + 7 = 14 but subtracting one.
* ''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.<ref name="FosnotDolk99"/>
+
* ''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, 6 + 7 = 13 can be derived from 5 + 7 = 12 by adding one more.
* ''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}}.<ref name="FosnotDolk99"/>
+
* ''Making ten'': An advanced strategy uses 10 as an intermediate for sums involving 8 or 9; for example, 8 + 6 = 8 + 2 + 4 = 10 + 4 = 14.
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.<ref name=Henry/>
+
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====
 
====Carry====
{{main|Carry (arithmetic)}}
+
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 addition 27 + 59
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 "[[carry (arithmetic)|carried]]" into the next column. For example, in the addition {{nowrap|27 + 59}}
 
  
 
   ¹
 
   ¹
Line 156: Line 152:
 
   86
 
   86
  
7 + 9 = 16, and the digit 1 is the carry.<ref group=lower-alpha>Some authors think that "carry" may be inappropriate for education; Van de Walle (p. 211) calls it "obsolete and conceptually misleading", preferring the word "trade". However, "carry" remains the standard term.</ref> 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.
+
7 + 9 = 16, and the digit 1 is the carry. 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====
[[Decimal fractions]] can be added by a simple modification of the above process.<ref>Rebecca Wingard-Nelson (2014) ''Decimals and Fractions: It's Easy'' Enslow Publishers, Inc.</ref> 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.
+
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:
 
As an example, 45.1 + 4.34 can be solved as follows:
Line 168: Line 164:
  
 
====Scientific notation====
 
====Scientific notation====
{{main|Scientific notation#Basic operations}}
+
In scientific notation, numbers are written in the form <math>x=a\times10^{b}</math>, where <math>a</math> is the significand and <math>10^{b}</math> 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.
In [[scientific notation]], numbers are written in the form <math>x=a\times10^{b}</math>, where <math>a</math> is the significand and <math>10^{b}</math> 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:
 
For example:
Line 175: Line 170:
  
 
===Non-decimal===
 
===Non-decimal===
Addition in other bases is very similar to decimal addition. As an example, one can consider addition in binary.<ref>Dale R. Patrick, Stephen W. Fardo, Vigyan Chandra (2008) ''Electronic Digital System Fundamentals'' The Fairmont Press, Inc. p. 155</ref> Adding two single-digit binary numbers is relatively simple, using a form of carrying:
+
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 + 0 → 0
 
:0 + 1 → 1
 
:0 + 1 → 1
Line 184: Line 179:
 
:7 + 9 → 6, carry 1 (since 7 + 9 = 16 = 6 + (1 × 10<sup>1</sup>))
 
:7 + 9 → 6, carry 1 (since 7 + 9 = 16 = 6 + (1 × 10<sup>1</sup>))
  
This is known as ''carrying''.<ref>P.E. Bates Bothman (1837) ''The common school arithmetic''. Henry Benton. p. 31</ref> 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:
+
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:
  
   {{brown|1 1 1 1 1    (carried digits)}}
+
   1 1 1 1 1    (carried digits)
 
     0 1 1 0 1
 
     0 1 1 0 1
 
  +  1 0 1 1 1
 
  +  1 0 1 1 1
Line 192: Line 187:
 
   1 0 0 1 0 0 = 36
 
   1 0 0 1 0 0 = 36
  
In this example, two numerals are being added together: 01101<sub>2</sub> (13<sub>10</sub>) and 10111<sub>2</sub> (23<sub>10</sub>). The top row shows the carry bits used. Starting in the rightmost column, {{nowrap|1=1 + 1 = 10<sub>2</sub>}}. 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 = 10<sub>2</sub>}} again; the 1 is carried, and 0 is written at the bottom. The third column: {{nowrap|1=1 + 1 + 1 = 11<sub>2</sub>}}. This time, a 1 is carried, and a 1 is written in the bottom row. Proceeding like this gives the final answer 100100<sub>2</sub> (36<sub>10</sub>).
+
In this example, two numerals are being added together: 01101<sub>2</sub> (13<sub>10</sub>) and 10111<sub>2</sub> (23<sub>10</sub>). The top row shows the carry bits used. Starting in the rightmost column, 1 + 1 = 10<sub>2</sub>. 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: 1 + 0 + 1 = 10<sub>2</sub> again; the 1 is carried, and 0 is written at the bottom. The third column: 1 + 1 + 1 = 11<sub>2</sub>. This time, a 1 is carried, and a 1 is written in the bottom row. Proceeding like this gives the final answer 100100<sub>2</sub> (36<sub>10</sub>).
 
 
===Computers===
 
[[File:Opampsumming2.svg|right|frame|Addition with an op-amp. See [[Operational amplifier applications#Summing amplifier|Summing amplifier]] for details.]]
 
[[Analog computer]]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 [[arithmetic mean|averaging]] [[lever]]. If the addends are the rotation speeds of two [[axle|shafts]], they can be added with a [[differential (mechanics)|differential]]. A hydraulic adder can add the [[pressure]]s in two chambers by exploiting [[Newton's laws of motion|Newton's second law]] to balance forces on an assembly of [[piston]]s. The most common situation for a general-purpose analog computer is to add two [[voltage]]s (referenced to [[ground (electricity)|ground]]); this can be accomplished roughly with a [[resistor]] [[Electronic circuit|network]], but a better design exploits an [[operational amplifier]].<ref>Truitt and Rogers pp. 1;44–49 and pp. 2;77–78</ref>
 
 
 
Addition is also fundamental to the operation of [[computer|digital computers]], where the efficiency of addition, in particular the [[carry (arithmetic)|carry]] mechanism, is an important limitation to overall performance.
 
 
 
[[File:BabbageDifferenceEngine.jpg|left|thumb|Part of Charles Babbage's [[Difference Engine]] 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&nbsp;BC, when it was used in [[Sumer]].<ref>{{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</ref>
 
 
 
[[Blaise Pascal]] invented the mechanical calculator in 1642;<ref name="inventor">[[Addition#MARG|Jean Marguin]], p. 48 (1994) ; Quoting [[Addition#TATON63|René Taton]] (1963)</ref> 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&nbsp;century<ref>See [[Pascal's calculator#Competing designs|Competing designs]] in Pascal's calculator article</ref> 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 [[method of complements|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|thumb|"[[Adder (electronics)|Full adder]]" logic circuit that adds two binary digits, ''A'' and ''B'', along with a carry input ''C<sub>in</sub>'', producing the sum bit, ''S'', and a carry output, ''C<sub>out</sub>''.]]
 
[[Adder (electronics)|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 bypass adder|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.<ref>Flynn and Overman pp. 2, 8</ref>
 
 
 
In practice, computational addition may be achieved via [[Exclusive or|XOR]] and [[Bitwise operation#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 [[Adder (electronics)|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|floating-point]] operations as well as such basic tasks as [[memory address|address]] generation during [[memory (computers)|memory]] access and fetching [[instruction (computer science)|instructions]] during [[control flow|branching]]. To increase speed, modern designs calculate digits in [[parallel algorithm|parallel]]; these schemes go by such names as carry select, [[carry lookahead adder|carry lookahead]], and the [[Ling adder|Ling]] pseudocarry. Many implementations are, in fact, hybrids of these last three designs.<ref>Flynn and Overman pp. 1–9</ref><ref>Yeo, Sang-Soo, et al., eds. ''Algorithms and Architectures for Parallel Processing: 10th International Conference, ICA3PP 2010, Busan, Korea, May 21–23, 2010''. Proceedings. Vol. 1. Springer, 2010. p. 194</ref> Unlike addition on paper, addition on a computer often changes the addends. On the ancient [[abacus]] and adding board, both addends are destroyed, 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.<ref>Karpinski pp. 102–103</ref> In modern times, the ADD instruction of a [[microprocessor]] often replaces the augend with the sum but preserves the addend.<ref>The identity of the augend and addend varies with architecture. For ADD in [[x86]] see Horowitz and Hill p. 679; for ADD in [[68k]] see p. 767.</ref> In a [[high-level programming language]], evaluating {{nowrap|''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 {{nowrap|1=''a'' = ''a'' + ''b''}}. Some languages such as [[C (programming language)|C]] or [[C++]] allow this to be abbreviated as {{nowrap|1=''a'' += ''b''}}.
 
 
 
<syntaxhighlight lang="c">
 
// 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);
 
}
 
</syntaxhighlight>
 
 
 
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 was a series of bugs where overflow errors occurred due to use of a 2-digit format for years.
 
  
 
==Related operations==
 
==Related operations==
Line 234: Line 193:
  
 
===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 {{mvar|x}} and subtracting {{mvar|x}} are [[inverse function]]s.
+
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 {{mvar|x}} and subtracting {{mvar|x}} are inverse functions.
  
 
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.
 
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 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}}. If ''n'' is not a natural number, the product may still make sense; for example, multiplication by {{num|−1}} yields the additive inverse of a number.
+
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}}. If ''n'' is not a natural number, the product may still make sense; for example, multiplication by −1 yields the additive inverse of a number.
  
 
[[File:Csl.JPG|thumb|A circular slide rule]]
 
[[File:Csl.JPG|thumb|A circular slide rule]]
Line 250: Line 209:
  
 
===Ordering===
 
===Ordering===
[[File:XPlusOne.svg|right|thumb|Log-log plot of {{mvar|x}} + 1 and max ({{mvar|x}}, 1) from {{mvar|x}} = 0.001 to 1000]]
 
 
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, then 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 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, then 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''.
  

Latest revision as of 18:02, 7 January 2022

3 + 2 = 5 with apples, a popular choice in 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 amount or sum of those values combined. The example in the adjacent image shows a combination of three apples and two apples, making a total of five apples. This observation is equivalent to the mathematical expression "3 + 2 = 5" (that is, "3 plus 2 is equal to 5").

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 order does not matter, and it is associative, meaning that when one adds more than two numbers, the order in which addition is performed does not matter (see Summation). Repeated addition of 1 is the same as counting. Addition of 0 does not change a number. Addition also obeys predictable rules concerning related operations such as subtraction and multiplication.

Performing addition is one of the simplest numerical tasks. Addition of very small numbers is accessible to toddlers; the most basic task, 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, starting 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.

Notation and terminology

The plus sign

Addition is written using the plus sign "+" between the terms; that is, in infix notation. The result is expressed with an equals sign. For example,

("one plus one equals two")
("two plus two equals four")
("one plus two equals three")
(see "associativity" below)
(see "multiplication" below)
Columnar addition – the numbers in the column are to be added, with the sum written below the underlined number.

There are also 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. For example,
    This notation can cause confusion, since in most other contexts, juxtaposition denotes multiplication instead.

The sum of a series of related numbers can be expressed through capital sigma notation, which compactly denotes iteration. For example,

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, 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. "Addition" and "add" are English words derived from the Latin verb addere, which is in turn a compound of ad "to" and dare "to give", from the Proto-Indo-European root *deh₃- "to give"; thus to add is to give to. Using the gerundive suffix -nd results in "addend", "thing to be added". Likewise from augere "to increase", one gets "augend", "thing to be increased".

Redrawn illustration from The Art of Nombryng, one of the first English arithmetic texts, in the 15th century.

"Sum" and "summand" derive from the Latin noun summa "the highest, the top" and associated verb 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 higher than the addends. Addere and 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.

The plus sign "+" (Unicode:U+002B; ASCII: &#43;) is an abbreviation of the Latin word et, meaning "and". It appears in mathematical works dating back to at least 1489.

Interpretations

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

AdditionShapes.svg

Possibly the most fundamental interpretation of addition lies in combining sets:

  • 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). However, it is not obvious how one should extend this version of addition to include fractional numbers 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 number-line visualization of the algebraic addition 2 + 4 = 6. A translation by 2 followed by a translation by 4 is the same as a translation by 6.
A number-line visualization of the unary addition 2 + 4 = 6. A translation by 4 is equivalent to four translations by 1.

A second interpretation of addition comes from extending an initial length by a given length:

  • 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, in an algebraic sense, 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. 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

4 + 2 = 2 + 4 with blocks

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

a + b = b + a.

The fact that addition is commutative is known as the "commutative law of addition" or "commutative property of addition". Some other binary operations are commutative, such as multiplication, but many others are not, such as subtraction and division.

Associativity

2 + (1 + 3) = (2 + 1) + 3 with segmented rods

Addition is associative, which means that when three or more numbers are added together, the order of operations does not change the result.

As an example, should the expression a + b + c be defined to mean (a + b) + c or a + (b + c)? Given that addition is associative, the choice of definition is irrelevant. For any three numbers a, b, and c, it is true that (a + b) + c = a + (b + c). For example, (1 + 2) + 3 = 3 + 3 = 6 = 1 + 5 = 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.

Identity element

5 + 0 = 5 with bags of dots

Adding zero to any number, does not change the number; this means that zero is the identity element for addition, and is also known as the additive identity. In symbols, for every a, one has

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.

Successor

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 bth successor of a, making addition iterated succession. For example, 6 + 2 is 8, because 8 is the successor of 7, which is the successor of 6, making 8 the 2nd 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: infants look longer at situations that are unexpected. A seminal experiment by Karen Wynn in 1992 involving Mickey Mouse dolls manipulated behind a screen demonstrated that five-month-old infants expect 1 + 1 to be 2, and they are comparatively surprised when a physical situation seems to imply that 1 + 1 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 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. More recently, Asian elephants have demonstrated an ability to perform basic arithmetic.

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. 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 6 + 6 = 12 and then reason that 6 + 7 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.

Table

Children are often presented with the addition table of pairs of numbers from 0 to 9 to memorize. Knowing this, children can perform any addition.

+ 0 1 2 3 4 5 6 7 8 9
0 0 1 2 3 4 5 6 7 8 9
1 1 2 3 4 5 6 7 8 9 10
2 2 3 4 5 6 7 8 9 10 11
3 3 4 5 6 7 8 9 10 11 12
4 4 5 6 7 8 9 10 11 12 13
5 5 6 7 8 9 10 11 12 13 14
6 6 7 8 9 10 11 12 13 14 15
7 7 8 9 10 11 12 13 14 15 16
8 8 9 10 11 12 13 14 15 16 17
9 9 10 11 12 13 14 15 16 17 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:

  • 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.
  • 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. 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 6 + 6 = 12 by adding one more, or from 7 + 7 = 14 but subtracting one.
  • Five and ten: Sums of the form 5 + x and 10 + x are usually memorized early and can be used for deriving other facts. For example, 6 + 7 = 13 can be derived from 5 + 7 = 12 by adding one more.
  • Making ten: An advanced strategy uses 10 as an intermediate for sums involving 8 or 9; for example, 8 + 6 = 8 + 2 + 4 = 10 + 4 = 14.

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 addition 27 + 59

  ¹
  27
+ 59
————
  86

7 + 9 = 16, and the digit 1 is the carry. 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. 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, numbers are written in the form , where is the significand and 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:

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:

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

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.

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 can be thought of as repeated addition. If a single term x appears in a sum n times, then the sum is the product of n and x. If n is not a natural number, the product may still make sense; for example, multiplication by −1 yields the additive inverse of a number.

A circular slide rule

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

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, such as the integers, distributivity over addition and the existence of a multiplicative identity is enough to uniquely determine the multiplication operation. The distributive property also provides information about addition; 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.

Division is an arithmetic operation remotely related to addition. Since a/b = a(b−1), division is right distributive over addition: (a + b) / c = a/c + b/c. However, division is not left distributive over addition; 1 / (2 + 2) is not the same as 1/2 + 1/2.

Ordering

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, then 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. 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:

which becomes more accurate as the base of the logarithm increases. The approximation can be made exact by extracting a constant h, named by analogy with Planck's constant from quantum mechanics, and taking the "classical limit" as h tends to zero:

In this sense, the maximum operation is a dequantized version of addition.

Other ways to add

Incrementation, also known as the successor operation, is the addition of 1 to a number.

Summation describes the addition of arbitrarily many numbers, usually more than just two. It includes the idea of the sum of a single number, which is itself, and the empty sum, which is zero. An infinite summation is a delicate procedure known as a series.

Counting a finite set is equivalent to summing 1 over the set.

Integration is a kind of "summation" over a continuum, or more precisely and generally, over a differentiable manifold. Integration over a zero-dimensional manifold reduces to summation.

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.

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

Licensing

Content obtained and/or adapted from: