See How Things Work

The commutative property of addition

Unit
Addition
Part
1. Addition
Lesson
1.5

Changing the order of the addends never changes a sum: a + b = b + a for all whole numbers a and b. This lesson proves this commutative property from the definition of addition, shows it on the number line, uses it to count on from the larger addend and to nearly halve the table of basic facts, and marks where order does matter.

Order does not change a sum

Lesson 1.1 defined the sum a + b of two whole numbers as the number of members of the joined collection of disjoint collections with a and b members, and proved that this number does not depend on which collections are chosen. The table of basic facts in lesson 1.3 showed a pattern: the entry in row a and column b equals the entry in row b and column a. That lesson did not rely on the pattern. Here it is proved for all whole numbers.

Theorem (the commutative property of addition).

For all whole numbers a and b, a + b = b + a.

Proof.

Take a collection A with a members and a collection B with b members, chosen disjoint. By definition, a + b is the number of members of the joined collection of A and B.

The collections B and A are disjoint too, since “disjoint” only says that no thing is in both. B has b members and A has a members, so, because a sum does not depend on the collections chosen (lesson 1.1), b + a is the number of members of the joined collection of B and A.

The members of the joined collection of A and B are the things that are in A or in B. The members of the joined collection of B and A are the things that are in B or in A. These are the same things, so the two joined collections are one and the same collection. Its number of members is both a + b and b + a, so a + b = b + a.

This is the commutative property of addition: changing the order of the addends does not change their sum.⁠[1] Among the basic laws of arithmetic it is called the commutative law for addition.⁠[2] The proof rests on the same law for collections: joining A to B gives the same collection as joining B to A, which set theory writes as A ∪ B = B ∪ A.⁠[3]

From the left: 5 red, then 3 blue: 5 + 3From the right: 3 blue, then 5 red: 3 + 5
Figure. The same eight counters read in two directions. Reading from the other end changes the order of the two collections, but no counter is added or removed: 5 + 3 and 3 + 5 count the same collection, so both are 8.

The number line of lesson 1.2 shows the same fact in a less obvious way. The sum 5 + 3 is reached by 3 steps from 5, and 3 + 5 by 5 steps from 3: different starting points and different numbers of steps. That both end at the same point is a consequence of the Theorem, not something the steps make plain.

(a) 5 + 3: start at 5 and take 3 steps.

012345678910123

(b) 3 + 5: start at 3 and take 5 steps.

01234567891012345
Figure. On the number line the two sums are reached in different ways, from different starting points and with different numbers of steps, yet both end at 8. The line shows that this happens; the proof in the text shows why it always happens.
Example (One sum, two counts).

Find 2 + 9 and 9 + 2 by counting on, and compare.

  1. 2 + 9: start just after two and say nine words: three, four, five, six, seven, eight, nine, ten, eleven. The last is “eleven”.
  2. 9 + 2: start just after nine and say two words: ten, eleven. The last is again “eleven”.
  3. The two counts are different, but by the Theorem they must end at the same word.

Answer: 2 + 9 = 9 + 2 = 11. The second count needed two words instead of nine.

Example (Zero, and an addend added to itself).

What does the Theorem say when one addend is 0, or when the two addends are equal?

  1. Lesson 1.4 proved a + 0 = a and 0 + a = a separately. With the Theorem the second follows from the first: 0 + a = a + 0 = a. For example, 0 + 15 = 15 + 0 = 15.
  2. When b = a, the Theorem says a + a = a + a, which is true but tells nothing new: there is only one order.

Answer: the property holds for every pair of whole numbers, 0 included; for equal addends it is trivially true.

Using the property

Counting on from the larger addend. Counting on finds a + b by saying b words after a. When the first addend is the smaller one, the Theorem allows the addends to be exchanged first, so that only the smaller number of words is said.

Example (Counting on from 48).

Find 3 + 48.

  1. Counting on 48 words after three is long and easy to get wrong.
  2. By the commutative property, 3 + 48 = 48 + 3.
  3. Count on three words after forty-eight: forty-nine, fifty, fifty-one.

Answer: 3 + 48 = 51.

Half of the table of basic facts. In the table of lesson 1.3, the entry in row a and column b is a + b.⁠[4] The entry in row b and column a is b + a, which is the same number. So the table is symmetric about its main diagonal, and every fact off the diagonal comes with a partner that has the same sum.

Example (How many facts must be learned?).

Using the commutative property, how many of the one hundred basic facts are enough to know all of them?

  1. The main diagonal holds the 10 facts 0 + 0, 1 + 1, …, 9 + 9. Each has no partner.
  2. Above the diagonal, row 0 has 9 entries, row 1 has 8, and so on down to row 8, which has 1. Counting them one by one gives 45 entries.
  3. Each entry below the diagonal is the partner of exactly one entry above it, and has the same sum.
  4. So the diagonal and the entries above it, 10 + 45 = 55 facts, give all one hundred.

Answer: 55 facts. Exercise 5 lowers the number further with the identity property.

Example (A sentence that needs no computing).

Which number makes 1,386 + 2,705 = 2,705 + □ true?

  1. The left side has the addends 1,386 and 2,705. The right side has 2,705 and the box.
  2. By the commutative property, 1,386 + 2,705 = 2,705 + 1,386, so □ = 1,386 makes the sentence true.
  3. No other number does. If □ were greater than 1,386, the right side would be greater than 2,705 + 1,386 (“longer jumps go further”, lesson 1.2); if it were less, the right side would be less.

Answer: □ = 1,386, found without computing either sum.

Game

Balance the bars

Round
1
Score
0
Streak
0

Which number makes the sentence true? Try to answer without computing either sum.

5 + 3 = □ + 5

Left side53Right side?5

Where order matters

The commutative property is a statement about adding numbers. It says nothing about other things that are done in a certain order. In a numeral, for example, the order of the digits matters, because the value of a digit depends on its place.⁠[5]

Example (A mistake: exchanging digits).

Someone reasons: “3 + 7 = 7 + 3, so 37 = 73.” Find the error.

  1. The digits of a numeral are not addends. In 37 the 3 counts tens and the 7 counts ones: 3 tens and 7 ones (Place Value, lesson 1.1).
  2. In 73 the 7 counts tens and the 3 counts ones: 7 tens and 3 ones.
  3. Comparing by places as in The Number Line, lesson 1.2: both numerals have two digits, and the tens digits differ, 3 against 7. Since 3 < 7, 37 < 73.

Answer: 37 and 73 are different numbers. The commutative property changes the order of addends, never the order of digits.

Looking ahead.

Subtraction, the subject of the unit Subtraction, is not commutative: changing the order of the numbers changes the result.⁠[6] Its lesson 1.6, Subtraction is not commutative or associative, studies this.

Looking ahead.

In more advanced mathematics there are number systems in which order does matter. William Rowan Hamilton’s quaternions obey all the fundamental laws of ordinary arithmetic except the commutative law: there, exchanging the two factors of a product can change the product.⁠[7]

Historical note.

The name is about two hundred years old. The French mathematician François-Joseph Servois introduced the words “commutative” and “distributive” in a memoir published in 1814;⁠[8][9] the words have been used ever since.⁠[10]

Looking ahead.

A sum of three numbers needs one more law, about which two numbers are added first. That is the associative property, lesson 1.6.

Exercises

Exercise .

Without computing any sum, find the number in the box: (a) 8 + □ = 5 + 8; (b) □ + 34 = 34 + 19; (c) 2,071 + 586 = 586 + □.

▸ Show solution

(a) □ = 5: by the commutative property, 8 + 5 = 5 + 8.

(b) □ = 19: 19 + 34 = 34 + 19.

(c) □ = 2,071: 2,071 + 586 = 586 + 2,071.

In each case no other number works: by “longer jumps go further” (lesson 1.2), a larger number in the box gives a larger side and a smaller number a smaller one.

Exercise .

Find each sum by exchanging the addends and counting on from the larger one: (a) 4 + 27; (b) 1 + 99; (c) 3 + 58.

▸ Show solution

(a) 4 + 27 = 27 + 4: twenty-eight, twenty-nine, thirty, thirty-one. So 4 + 27 = 31.

(b) 1 + 99 = 99 + 1, the successor of 99, which is 100.

(c) 3 + 58 = 58 + 3: fifty-nine, sixty, sixty-one. So 3 + 58 = 61.

Exercise .

Which statements are true? Which follow from the commutative property? (a) 6 + 9 = 9 + 6; (b) 69 = 96; (c) (2 + 5) + 4 = 4 + (2 + 5); (d) 7 + 0 = 0 + 7.

▸ Show solution

(a) True, by the commutative property with addends 6 and 9.

(b) False. 69 is 6 tens and 9 ones, 96 is 9 tens and 6 ones; their tens digits differ and 6 < 9, so 69 < 96. The digits of a numeral are not addends.

(c) True. The commutative property applies to any two whole numbers, and 2 + 5 is one: with the addends 2 + 5 and 4, it says (2 + 5) + 4 = 4 + (2 + 5). Both sides are 11.

(d) True, by the commutative property (or by the identity property: both sides are 7).

Exercise .

Write the word HOUSE followed by BOAT, and then BOAT followed by HOUSE. Are the results the same? Are their numbers of letter positions the same? Explain the difference.

▸ Show solution

The word HOUSEBOAT is not the word BOATHOUSE: the letters come in a different order. Writing one word after another is not commutative.

The numbers of letters agree: HOUSE has 5 letters and BOAT has 4, and the letter positions of the two words together form a joined collection of 5 + 4 = 9 members in one order and 4 + 5 = 9 in the other. Counting does not see order; the words do.

Exercise .

Using both the commutative property and the identity property of lesson 1.4, how many basic facts must be learned to know all one hundred?

▸ Show solution

By the Example on the table, 55 facts are enough: the 10 on the diagonal and the 45 above it. Among these, the facts with first addend 0 are 0 + 0, 0 + 1, …, 0 + 9: ten facts, all given by the identity property (lesson 1.4).

The remaining facts are those a + b with 1 ≤ a ≤ b ≤ 9: row 1 from column 1 to 9 (9 facts), row 2 from column 2 to 9 (8 facts), and so on to row 9, column 9 (1 fact). Counting them gives 45. So 45 facts must be learned; the commutative and identity properties give the other 55.

Exercise .

Prove that if a + c = b + c, then a = b.

▸ Show solution

Suppose a + c = b + c. By the commutative property, c + a = a + c and b + c = c + b. So c + a = a + c = b + c = c + b, that is, c + a = c + b.

Exercise 7 of lesson 1.2 proved that if c + a = c + b, then a = b. So a = b. (Without the commutative property, that exercise gives this only when the common addend is written first.)

Summary

  1. The commutative property of addition: a + b = b + a for all whole numbers a and b.
  2. Proof: the joined collection of A and B and the joined collection of B and A are the same collection.
  3. On the number line, a + b and b + a are reached by different steps but end at the same point.
  4. Uses: count on from the larger addend; the addition table is symmetric, so 55 facts give all one hundred.
  5. The property concerns the order of addends only: the order of digits in a numeral matters (37 ≠ 73), and subtraction is not commutative.

Sources

  1. 1.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 1, “Whole Numbers”, section 1.2, “Add Whole Numbers” (“Add Whole Numbers Without Models”, Commutative Property of Addition), p. 27 (the whole topic: pp. 26–28).
    “This property is called the Commutative Property of Addition, which states that changing the order of the addends does not change their sum.”
    Used for: the name of the commutative property of addition: changing the order of the addends does not change their sum.
  2. 2.
    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).
    “Two additional algebraic axioms tell us that the order in which we add or multiply two numbers does not matter; these are the commutative laws.”
    Used for: among the basic laws of arithmetic, the property is called the commutative law for addition.
  3. 3.
    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, “Commutative laws”), p. 136 (the whole topic: pp. 136–137).
    “A ∪ B = B ∪ A”
    Used for: joining A to B gives the same collection as joining B to A (the commutative law for the union of sets).
  4. 4.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 1, “Whole Numbers”, section 1.2, “Add Whole Numbers” (“Add Whole Numbers Without Models”, Table 1.1), p. 26 (the whole topic: pp. 26–27).
    “Imagine filling in Table 1.1 by adding each row number along the left side to each column number across the top.”
    Used for: in the table of basic facts, the entry in row a and column b is a + b.
  5. 5.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 1, “Whole Numbers”, section 1.1, “Introduction to Whole Numbers” (“Model Whole Numbers”), p. 8 (the whole topic: pp. 8–10).
    “Our number system is called a place value system because the value of a digit depends on its position, or place, in a number.”
    Used for: in a numeral the order of the digits matters, because the value of a digit depends on its place.
  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” (“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: changing the order of the numbers changes the result.
  7. 7.
    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).
    “Hamilton’s quaternion algebra obeys all the fundamental laws of traditional arithmetic except for the commutative law.”
    Used for: Hamilton’s quaternions obey all the fundamental laws of ordinary arithmetic except the commutative law; the sentence before the quote notes that the product qq′ of two quaternions does not in general equal q′q.
  8. 8.
    Jeff Miller, “Earliest Known Uses of Some of the Words of Mathematics (C)”, MacTutor History of Mathematics Archive, University of St Andrews.
    “COMMUTATIVE and DISTRIBUTIVE were used (in French) by François Joseph Servois (1768-1847) in a memoir published in Annales de Gergonne (volume V, no. IV, October 1, 1814).”
    Used for: François-Joseph Servois introduced the words “commutative” and “distributive” (in French) in a memoir published in 1814.
  9. 9.
    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.
    “It was F. Servois who introduced the names commutative and distributive in Gergonne’s Annales, Vol. 5, 1814–15, p. 93.”
    Used for: Servois introduced the words “commutative” and “distributive”, in a memoir in volume 5 of Gergonne’s Annales (1814–15).
  10. 10.
    Florian Cajori, A History of Mathematical Notations (two volumes bound as one, Dover (first published by Open Court, 1928–1929), 1993).
    Vol. II, Chapter II, “Symbols in Modern Analysis”, section “Finite Differences”, §641, “Later notations”, p. 266 (the whole topic: pp. 263–266).
    “Servois studied the laws of the calculus with symbols and showed that Δ, D, Σ, ∫ possessed the propriété commutative, propriété distributive, expressions which have secured permanent adoption.”
    Used for: the words “commutative” and “distributive”, used by Servois for the laws of the calculus of operations (the source’s footnote dates his memoir 1814–15), have been used ever since.