See How Things Work

The associative property of addition

Unit
Addition
Part
1. Addition
Lesson
1.6

To add three numbers, two of them must be added first. The associative property says that it does not matter which two: (a + b) + c = a + (b + c). This lesson proves it from the definition of addition and on the number line, and combines it with the commutative property to prove that a sum of any number of addends can be added in any order and with any grouping.

Adding three numbers

Addition, as defined in lesson 1.1, combines two numbers. To add three numbers, two of them are added first, and the third is then added to their sum. Parentheses show which addition is done first: they are grouping symbols.⁠[1] So (4 + 3) + 5 means: first 4 + 3, then that sum plus 5; and 4 + (3 + 5) means: first 3 + 5, then 4 plus that sum.

Example (Two groupings of the same three numbers).

Find (4 + 3) + 5 and 4 + (3 + 5).

  1. (4 + 3) + 5: first 4 + 3 = 7. Then 7 + 5: counting on five words after seven, eight, nine, ten, eleven, twelve. The result is 12.
  2. 4 + (3 + 5): first 3 + 5 = 8. Then 4 + 8: counting on eight words after four, five, six, …, twelve. The result is 12.
  3. The sums on the way are different, 7 in the first grouping and 8 in the second, but the results are equal.

Answer: both are 12. The next section proves that this is never a coincidence.

The associative property

Theorem (the associative property of addition).

For all whole numbers a, b and c, (a + b) + c = a + (b + c).

Proof.

Take collections A, B and C with a, b and c members, no two of which have a member in common: for example a red, b blue and c amber counters.

The joined collection of A and B has a + b members. It has no member in common with C, because each of its members is in A or in B, and neither A nor B shares a member with C. So, by the definition of the sum, (a + b) + c is the number of members of the collection obtained by joining A and B, and then joining C to the result. (By lesson 1.1, a sum does not depend on the collections chosen, so these collections may be used.)

In the same way, the joined collection of B and C has b + c members and no member in common with A, so a + (b + c) is the number of members of the collection obtained by joining B and C, and then joining A to the result.

Each of these two collections consists of exactly the things that are in A, in B or in C. So they are the same collection, and (a + b) + c = a + (b + c).

This is the associative property of addition: when three numbers are added, changing the grouping does not change the result.⁠[2] Among the basic laws of arithmetic it is called the associative law for addition.⁠[3] As with the commutative property, the proof rests on the same law for collections, which set theory writes as A ∪ (B ∪ C) = (A ∪ B) ∪ C.⁠[4]

(a) (A joined with B), then C(b) A, then (B joined with C)Same 9 counters: (4 + 2) + 3 = 4 + (2 + 3)
Figure. A has 4 red counters, B has 2 blue and C has 3 amber. In (a) A and B are joined first (dashed frame) and then C; in (b) B and C are joined first and then A. The order of joining changes which collection is formed on the way, not the collection formed at the end.

A second proof uses the number line of lesson 1.2. That lesson split a jump of 5 from 8 into a jump of 2 and a jump of 3, and announced that the general rule would be proved here.

Proof.

By lesson 1.2, a + (b + c) is the point reached from a by b + c steps. By counting on (lesson 1.1), b + c is the c-th number after b, so the steps numbered 1 to b + c are the steps numbered 1 to b followed by c more steps.

The first b steps start at a and end at a + b. The c steps after them start at a + b, so they end at (a + b) + c, again by lesson 1.2. Both descriptions are of the same b + c steps from a, so they end at the same point: a + (b + c) = (a + b) + c. (If b or c is 0, one of the two groups of steps is empty and the argument still holds.)

(a) (6 + 4) + 3: a jump of 4 from 6, then a jump of 3.

0123456789101112131415+4+3

(b) 6 + (4 + 3): one jump of 4 + 3 = 7 from 6.

0123456789101112131415+7
Figure. The two groupings of 6 + 4 + 3. In (a) the jump stops at 10 = 6 + 4 on the way; in (b) the 4 and the 3 are put together first into one jump of 7. Both end at 13, because 7 steps from 6 are 4 steps followed by 3 more.
Example (Making a ten, explained).

Lesson 1.3 found 8 + 5 by moving 2 from the 5 to the 8. Write each step with the properties of addition.

  1. 5 = 2 + 3 (a basic fact), so 8 + 5 = 8 + (2 + 3).
  2. By the associative property, 8 + (2 + 3) = (8 + 2) + 3.
  3. 8 + 2 = 10 (a basic fact), so (8 + 2) + 3 = 10 + 3, which is one ten and three ones: 13.

Answer: 8 + 5 = 13. Making a ten is the associative property applied to a split addend.

Example (Moving one, again).

Lesson 1.3 proved the Proposition “moving one”: (a + 1) + b = a + (b + 1). Derive it from the commutative and associative properties, and check it for a = 6, b = 7.

  1. By the associative property, (a + 1) + b = a + (1 + b).
  2. By the commutative property (lesson 1.5), 1 + b = b + 1, so a + (1 + b) = a + (b + 1).
  3. Check: (6 + 1) + 7 = 7 + 7 = 14 and 6 + (7 + 1) = 6 + 8 = 14.

Answer: (a + 1) + b = a + (b + 1) follows from the two properties; for a = 6 and b = 7 both sides are 14.

Any order, any grouping

With four or more addends there are more ways to group: four numbers in a given order can be grouped as ((a + b) + c) + d, (a + (b + c)) + d, (a + b) + (c + d), a + ((b + c) + d) and a + (b + (c + d)). The commutative property also allows the addends to be put in any order. One theorem covers all these cases.

Theorem (any order, any grouping).

Let several whole numbers be added two at a time, in any order and with any grouping, each number being used exactly once. The result is always the same: the number of members of the joined collection of collections with those numbers of members, no two of which share a member.

Proof.

Choose one collection for each addend, with that number of members, no two of the collections sharing a member. At the start of the calculation, each addend is the number of members of its own collection.

Suppose that at some stage every number in the calculation is the number of members of the joined collection of the collections of the addends that have gone into it. The next addition adds two such numbers. Different addends have gone into them, so their two joined collections share no member, and by the definition of the sum (and lesson 1.1), the result is the number of members of the joined collection of all the collections of the addends that have gone into either number. So the same description holds after this addition, and therefore after every addition.

At the end, every addend has gone into the final number, so it is the number of members of the collection of all the things that are in at least one of the chosen collections. That collection does not depend on the order or on the grouping, so neither does the result.

Because of this theorem, a sum of several addends is written without parentheses, as a + b + c + d: its value does not depend on how it is bracketed, a fact known in algebra as the generalized associative law.⁠[5] Its terms may also be rearranged and regrouped to make the work easier.⁠[6] The same convention is used for collections: since the joined collection does not depend on the grouping, the joined collection of A, B and C needs no parentheses.⁠[7]

Example (Five groupings, one sum).

Find 2 + 7 + 8 + 3 with each of the five groupings of the addends in this order, and then with a better order.

  1. ((2 + 7) + 8) + 3 = (9 + 8) + 3 = 17 + 3 = 20.
  2. (2 + (7 + 8)) + 3 = (2 + 15) + 3 = 17 + 3 = 20.
  3. (2 + 7) + (8 + 3) = 9 + 11 = 20.
  4. 2 + ((7 + 8) + 3) = 2 + (15 + 3) = 2 + 18 = 20.
  5. 2 + (7 + (8 + 3)) = 2 + (7 + 11) = 2 + 18 = 20.
  6. Reordering first: (2 + 8) + (7 + 3) = 10 + 10 = 20, with no counting on past a ten.

Answer: 20 every time, as the Theorem guarantees. The last order is the easiest.

Example (Reversing three addends with the two properties).

Show that (a + b) + c = (c + b) + a using only the commutative and associative properties, and check it with a = 4, b = 2, c = 3.

  1. (a + b) + c = c + (a + b), by the commutative property applied to the two addends a + b and c.
  2. c + (a + b) = c + (b + a), by the commutative property applied to a and b.
  3. c + (b + a) = (c + b) + a, by the associative property.
  4. Check: (4 + 2) + 3 = 6 + 3 = 9 and (3 + 2) + 4 = 5 + 4 = 9.

Answer: (a + b) + c = (c + b) + a; for 4, 2 and 3 both sides are 9.

Game

Make a ten first

Round
1
Score
0
Streak
0

Find 4 + 6 + 2. Tap the two addends that make a ten, so that they are added first; then write the sum.

Tap two addends (0 of 2 chosen).
462

Mistakes and limits

Example (A mistake: adding a number that was not there).

Someone finds 9 + 7 + 6 like this: “9 needs 1 to make 10, so (9 + 1) + 7 + 6 = 10 + 13 = 23.” Find the error.

  1. The 1 that completes the ten was added, but not taken from any addend: the sum now has the addends 9, 1, 7 and 6.
  2. Regrouping may only split an addend into parts and move the parts. Split 7 = 1 + 6: 9 + 7 + 6 = 9 + 1 + 6 + 6.
  3. Group: (9 + 1) + (6 + 6) = 10 + 12 = 22.

Answer: 9 + 7 + 6 = 22, not 23. Every addend must be used exactly once, as in the Theorem.

Caution.

The associative property is about the final result. The sums found on the way usually differ: in (4 + 3) + 5 the sum on the way is 7, in 4 + (3 + 5) it is 8. Two calculations that agree at the end need not agree at any earlier step.

Looking ahead.

The unit Subtraction asks the same questions about subtraction. Subtraction is not commutative,⁠[8] and its lesson 1.6, Subtraction is not commutative or associative, examines grouping as well.

Looking ahead.

In the construction of the natural numbers from the successor alone, addition is defined one step at a time, and all the familiar rules of addition, the associative law among them, must then be proved, by mathematical induction.⁠[9] That approach is followed in the unit Mathematical Induction; this lesson proved the same law from collections.

Historical note.

The word “associative” seems to be due to William Rowan Hamilton, in his work on quaternions.⁠[10][11] His quaternions keep the associative law while giving up the commutative law, a choice often regarded as a stroke of genius.⁠[12]

Looking ahead.

The two properties are the reason behind every method for adding larger numbers: expanded form (lesson 1.7), the column method (lesson 1.8) and mental strategies (lesson 1.9).

Exercises

Exercise .

Find both groupings and compare: (a) (6 + 9) + 1 and 6 + (9 + 1); (b) (12 + 5) + 5 and 12 + (5 + 5).

▸ Show solution

(a) (6 + 9) + 1 = 15 + 1 = 16, and 6 + (9 + 1) = 6 + 10 = 16.

(b) (12 + 5) + 5 = 17 + 5 = 22, and 12 + (5 + 5) = 12 + 10 = 22.

In both, the second grouping passes through a ten and is easier.

Exercise .

Reorder and regroup to make tens, then add: (a) 7 + 6 + 3; (b) 4 + 8 + 6 + 2; (c) 9 + 5 + 1 + 5.

▸ Show solution

(a) 7 + 6 + 3 = (7 + 3) + 6 = 10 + 6 = 16.

(b) 4 + 8 + 6 + 2 = (4 + 6) + (8 + 2) = 10 + 10 = 20.

(c) 9 + 5 + 1 + 5 = (9 + 1) + (5 + 5) = 10 + 10 = 20.

Exercise .

Someone writes 6 + 8 = (6 + 4) + 8 = 18. Find the mistake and correct it.

▸ Show solution

The 4 that completes the ten was added without being taken from the 8, so the calculation found 6 + 4 + 8. Split 8 = 4 + 4: 6 + 8 = 6 + (4 + 4) = (6 + 4) + 4 = 10 + 4 = 14.

Exercise .

Name the property used at each step: (a) 3 + (7 + 9) = (3 + 7) + 9 = 10 + 9 = 19; (b) 5 + (9 + 5) = 5 + (5 + 9) = (5 + 5) + 9 = 19.

▸ Show solution

(a) 3 + (7 + 9) = (3 + 7) + 9 by the associative property; 3 + 7 = 10 is a basic fact; 10 + 9 = 19.

(b) 5 + (9 + 5) = 5 + (5 + 9) by the commutative property; = (5 + 5) + 9 by the associative property; 5 + 5 = 10; 10 + 9 = 19.

Exercise .

Prove, using only the commutative and associative properties, that (a + b) + c = (a + c) + b.

▸ Show solution

(a + b) + c = a + (b + c) by the associative property; = a + (c + b) by the commutative property; = (a + c) + b by the associative property again.

Exercise .

Prove that (a + b) + (c + d) = (a + c) + (b + d). (This rule, adding the first parts and the second parts separately, is the key to the column method of lesson 1.8.)

▸ Show solution

Each step uses one property:

  1. (a + b) + (c + d) = a + (b + (c + d)), associative property with the addends a, b and c + d;
  2. = a + ((b + c) + d), associative property inside;
  3. = a + ((c + b) + d), commutative property;
  4. = a + (c + (b + d)), associative property;
  5. = (a + c) + (b + d), associative property with the addends a, c and b + d.

Check: (40 + 6) + (30 + 7) = 46 + 37 and (40 + 30) + (6 + 7) = 70 + 13; both are 83.

Summary

  1. Parentheses show which addition is done first. The associative property: (a + b) + c = a + (b + c) for all whole numbers.
  2. Proof: joining A and B and then C, or B and C and then A, gives the same collection. On the number line, b + c steps from a are b steps followed by c steps.
  3. Together with the commutative property: a sum of several addends gives the same result in any order and with any grouping, so it is written without parentheses.
  4. Making a ten and “moving one” are the associative property applied to a split addend.
  5. Regrouping may move parts of addends but never add or drop one; the sums on the way may differ, the result does not.

Sources

  1. 1.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 7, “The Properties of Real Numbers”, section 7.2, “Commutative and Associative Properties” (“Use the Commutative and Associative Properties”), p. 548 (the whole topic: pp. 547–549).
    “Remember that parentheses are grouping symbols that indicate which operations should be done first.”
    Used for: parentheses are grouping symbols: they show which addition is done first.
  2. 2.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 7, “The Properties of Real Numbers”, section 7.2, “Commutative and Associative Properties” (“Use the Commutative and Associative Properties”), p. 548 (the whole topic: pp. 547–549).
    “When adding three numbers, changing the grouping of the numbers does not change the result. This is known as the Associative Property of Addition.”
    Used for: the name of the associative property of addition: when three numbers are added, changing the grouping does not change the result.
  3. 3.
    Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).
    Chapter Appendix 1, “Axioms for the Real Numbers and the Positive Integers”, section A1.1, “Axioms for Real Numbers” (“The Field Axioms”), pp. A-1 (the whole topic: pp. A-1–A-2).
    “The next two axioms tell us that when we add or multiply three real numbers, we get the same result regardless of the order of operations; these are the associative laws.”
    Used for: among the basic laws of arithmetic, the property is called the associative law for addition.
  4. 4.
    Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).
    Chapter 2, “Basic Structures: Sets, Functions, Sequences, Sums, and Matrices”, section 2.2, “Set Operations” (2.2.2, “Set Identities”, Table 1, “Associative laws”), p. 136 (the whole topic: pp. 136–137).
    “A ∪ (B ∪ C) = (A ∪ B) ∪ C”
    Used for: the associative law for collections: joining B and C and then A gives the same collection as joining A and B and then C.
  5. 5.
    David S. Dummit and Richard M. Foote, Abstract Algebra (3rd ed., John Wiley & Sons, 2004).
    Chapter 1, “Introduction to Groups”, section 1.1, “Basic Axioms and Examples”, Proposition 1 (5), p. 18 (the whole topic: pp. 16–19).
    “the value of a₁ ⋆ a₂ ⋆ · · · ⋆ aₙ is independent of how the expression is bracketed (this is called the generalized associative law).”
    Used for: the value of a sum of several terms does not depend on how it is bracketed, which is called the generalized associative law (the source states it for an associative operation in a group; its proof, left as an exercise there, uses only the associative law).
  6. 6.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 7, “The Properties of Real Numbers”, section 7.2, “Commutative and Associative Properties” (“Evaluate Expressions using the Commutative and Associative Properties”), p. 549 (the whole topic: pp. 549–551).
    “Since order does not matter when adding or multiplying three or more terms, we can rearrange and re-group terms to make our work easier”
    Used for: the terms of a sum of several addends may be rearranged and regrouped to make the work easier.
  7. 7.
    Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).
    Chapter 2, “Basic Structures: Sets, Functions, Sequences, Sums, and Matrices”, section 2.2, “Set Operations” (2.2.3, “Generalized Unions and Intersections”), p. 139 (the whole topic: pp. 139–140).
    “Because unions and intersections of sets satisfy associative laws, the sets A ∪ B ∪ C and A ∩ B ∩ C are well defined”
    Used for: for collections, the associative law means that the joined collection of A, B and C needs no parentheses.
  8. 8.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 7, “The Properties of Real Numbers”, section 7.2, “Commutative and Associative Properties” (“Use the Commutative and Associative Properties”), p. 547 (the whole topic: pp. 546–547).
    “Addition and multiplication are commutative. Subtraction and division are not commutative.”
    Used for: subtraction is not commutative.
  9. 9.
    H.-D. Ebbinghaus et al., Numbers (trans. H. L. S. Orde, Springer (Graduate Texts in Mathematics 123), 1991).
    Chapter 1, “Natural Numbers, Integers, and Rational Numbers” (K. Mainzer), section §2, “Natural Numbers”, 3, “Addition, Multiplication and Ordering of the Natural Numbers”, p. 18 (the whole topic: pp. 17–18).
    “All the well-known rules of addition now must be proved. We shall confine ourselves to the proof of the associative law”
    Used for: when addition is defined from the successor, the familiar rules of addition, the associative law among them, must be proved (the source proves the associative law by induction).
  10. 10.
    Jeff Miller, “Earliest Known Uses of Some of the Words of Mathematics (A)”, MacTutor History of Mathematics Archive, University of St Andrews.
    “seems to be due to W. R. Hamilton”
    Used for: the word “associative” seems to be due to William Rowan Hamilton (the entry quotes his paper of 1843 on quaternions, printed in 1844).
  11. 11.
    Florian Cajori, A History of Mathematics (2nd ed., revised and enlarged, Macmillan, New York, 1919).
    Chapter “Europe during the Sixteenth, Seventeenth and Eighteenth Centuries”, section “Euler, Lagrange and Laplace”, p. 273 (the whole topic: pp. 273). Read it online.
    “The term associative seems to be due to W. R. Hamilton.”
    Used for: the word “associative” seems to be due to William Rowan Hamilton (the source quoted by the MacTutor entry).
  12. 12.
    David M. Burton, The History of Mathematics: An Introduction (7th ed., McGraw-Hill, 2011).
    Chapter 11, “Nineteenth-Century Contributions: Lobachevsky to Hilbert”, section 11.4, “Arithmetic Generalized” (“Hamilton’s Discovery of Quaternions”), p. 638 (the whole topic: pp. 636–638).
    “That he was willing to abandon the commutative law while retaining the associative law is often regarded as a stroke of genius.”
    Used for: Hamilton’s quaternions keep the associative law while giving up the commutative law, a choice often regarded as a stroke of genius.