Three rows of five chairs and five rows of three chairs are the same number of chairs. This lesson proves that a × b = b × a for all whole numbers by counting one array in two ways, shows what the commutative property says and what it does not, and uses it to halve the work of learning the multiplication table.
Two sums with the same value
Lesson 1.1 defined a × b as the sum of a addends, each equal to b. Exchanging the two factors gives a different sum. For example, 3 × 5 = 5 + 5 + 5 has three addends, while 5 × 3 = 3 + 3 + 3 + 3 + 3 has five. Yet both sums are 15.
Find 4 × 6 and 6 × 4 from the definition.
- 4 × 6 = 6 + 6 + 6 + 6. Running totals: 6, 12, 18, 24.
- 6 × 4 = 4 + 4 + 4 + 4 + 4 + 4. Running totals: 4, 8, 12, 16, 20, 24.
Answer: both are 24, although one sum has four addends of 6 and the other six addends of 4.
Is this always so? Checking more examples cannot settle the question. There are infinitely many whole numbers, so not every case can be checked, and examples alone never explain why a property holds for all of them.[1] What is needed is a reason that works for every pair of whole numbers at once: a proof.
The commutative property
For all whole numbers a and b, a × b = b × a.
If a = 0 or b = 0, both sides are 0, by the theorem on multiplying by 0 of lesson 1.4: 0 × n = 0 and n × 0 = 0 for every whole number n.
Now let a ≥ 1 and b ≥ 1, and take an array of objects with a rows and b columns, as in lesson 1.2. Counted row by row, it has a × b objects: each of the a rows adds b.
Count the same array column by column. The objects of the rows line up in columns, so every row has exactly one object in each column. Hence each of the b columns holds exactly a objects, one from each row, and every object lies in exactly one column. The columns have no object in common, so the number of objects in all of them together is the sum of their numbers, as in “What addition means”. Counting column by column therefore adds a once for each of the b columns: the total is a + a + ⋯ + a with b addends, which is b × a by definition.
Both counts count the same collection of objects, and every correct count of a collection gives the same number (“What counting is”). So a × b = b × a.
The fact is called the commutative property of multiplication: when the order of the factors is reversed, the product does not change.[2] In other words, switching the order in which two whole numbers are multiplied does not affect the product.[3] Addition has the same property: changing the order of the addends does not change their sum.[4] That is the commutative property of addition, proved in lesson 1.5 of the unit Addition, “The commutative property of addition”. In the axioms for the real numbers both are listed as the commutative laws, which say that the order in which two numbers are added or multiplied does not matter.[5]
The proof can also be pictured as a turn. Turn an a × b array a quarter turn: its columns become rows, and it becomes an array of b rows of a, a b × a array. Turning moves the objects without adding or removing any, so the two arrays have the same number of objects.
In lesson 1.1, which factor counts the groups was a convention: this site reads a × b as b added a times, and some books read it as a added b times. The theorem shows that the two readings always give the same number, so the choice never changes a value. In this unit a × b still means a groups of b when a picture is drawn.
In rigorous treatments of the whole numbers, multiplication is defined by adding one group at a time, and every familiar rule of multiplication, this one included, has to be proved.[6] Those proofs use mathematical induction, the subject of the unit Mathematical Induction. The proof above uses counting instead.
An array has 3 rows of 8 dots. Count it by rows and by columns.
- By rows: 3 × 8 = 8 + 8 + 8. Running totals: 8, 16, 24.
- By columns: there are 8 columns, each with 3 dots, one from each row. So the count is 8 × 3 = 3 + 3 + ⋯ + 3 with 8 addends.
- Running totals: 3, 6, 9, 12, 15, 18, 21, 24.
Answer: 24 dots either way, so 3 × 8 = 8 × 3 = 24.
Check the theorem for 0 × 9 and 9 × 0, and for 1 × 9 and 9 × 1.
- 0 × 9 has no addends, so it is 0. 9 × 0 is nine addends, each 0; adding 0 changes nothing, so it is 0 too.
- 1 × 9 is the single addend 9. 9 × 1 is nine addends of 1, with running totals 1, 2, …, 9; so it is 9.
Answer: 0 × 9 = 9 × 0 = 0 and 1 × 9 = 9 × 1 = 9. These cases were proved separately in lesson 1.4, because an arrangement with no rows has no columns to count.
Turned, or only the same number?
- Round
- 1
- Score
- 0
- Streak
- 0
Compare the two arrays without counting every dot. You may turn the right array a quarter turn as often as you like.
Using the property
The property is a tool. Whenever a product is easier to find in the other order, it may be found in the other order. Two uses come up again and again.
Half the table. In the multiplication table of lesson 1.3, row a, column b holds a × b, and row b, column a holds b × a.[7] By the theorem these two boxes hold the same number, so the table is unchanged when it is flipped about its diagonal, the boxes a × a.
| × | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 1 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 2 | 0 | 2 | 4 | 6 | 8 | 10 | 12 | 14 | 16 | 18 | 20 | 22 | 24 |
| 3 | 0 | 3 | 6 | 9 | 12 | 15 | 18 | 21 | 24 | 27 | 30 | 33 | 36 |
| 4 | 0 | 4 | 8 | 12 | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 |
| 5 | 0 | 5 | 10 | 15 | 20 | 25 | 30 | 35 | 40 | 45 | 50 | 55 | 60 |
| 6 | 0 | 6 | 12 | 18 | 24 | 30 | 36 | 42 | 48 | 54 | 60 | 66 | 72 |
| 7 | 0 | 7 | 14 | 21 | 28 | 35 | 42 | 49 | 56 | 63 | 70 | 77 | 84 |
| 8 | 0 | 8 | 16 | 24 | 32 | 40 | 48 | 56 | 64 | 72 | 80 | 88 | 96 |
| 9 | 0 | 9 | 18 | 27 | 36 | 45 | 54 | 63 | 72 | 81 | 90 | 99 | 108 |
| 10 | 0 | 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90 | 100 | 110 | 120 |
| 11 | 0 | 11 | 22 | 33 | 44 | 55 | 66 | 77 | 88 | 99 | 110 | 121 | 132 |
| 12 | 0 | 12 | 24 | 36 | 48 | 60 | 72 | 84 | 96 | 108 | 120 | 132 | 144 |
The table has 13 rows and 13 columns. How many of its boxes must be found, if the commutative property is used?
- The table has 13 rows of 13 boxes, 13 × 13 in all. Splitting the groups as in lesson 1.3: 13 × 13 = 10 × 13 + 3 × 13 = 130 + 39 = 169, since 10 × 13 is 13 tens (each step along row 10 adds one ten, as lesson 1.3 showed). So there are 169 boxes.
- The diagonal has 13 boxes, one in each row: 0 × 0, 1 × 1, …, 12 × 12.
- Above the diagonal, row 0 has 12 boxes (columns 1 to 12), row 1 has 11, and so on down to row 11, which has 1, and row 12, which has none. Running totals of 12 + 11 + ⋯ + 1: 12, 23, 33, 42, 50, 57, 63, 68, 72, 75, 77, 78. So 78 boxes lie above the diagonal.
- Every box below the diagonal is the mirror image of one of these 78, so it need not be found again.
Answer: 13 + 78 = 91 boxes instead of 169. Check: 91 + 78 = 169, the 78 mirror images making up the rest.
The shorter sum. The definition finds a × b by adding b again and again, a times. When a is large and b is small, the other order needs far fewer additions.
Find 11 × 3 with as few additions as possible.
- By the definition, 11 × 3 is 3 added eleven times: eleven addends.
- By the commutative property, 11 × 3 = 3 × 11, which is 11 + 11 + 11: three addends.
- 11 + 11 = 22 and 22 + 11 = 33.
Answer: 11 × 3 = 33. Check with the long sum: the running totals of eleven 3s are 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33.
The shorter sum
- Round
- 1
- Score
- 0
- Streak
- 0
The array shows 6 × 2: 6 rows of 2. Which sum is equal to 6 × 2 and has the fewest addends?
Same number, different arrangements
The commutative property is a statement about numbers. It says that 4 boxes of 6 eggs and 6 boxes of 4 eggs hold the same number of eggs. It does not say that the two packings are the same: one uses 4 boxes and the other 6. In the same way, a 2 × 5 array and a 5 × 2 array are different arrays, one short and wide, the other tall and narrow, with the same number of objects.
A baker packs 24 rolls. Someone says: “3 bags of 8 rolls is the same as 8 bags of 3, since 3 × 8 = 8 × 3. So it does not matter how many bags I take.” What is right, and what is wrong?
- Right: 3 × 8 = 8 + 8 + 8 = 24 and 8 × 3 = 3 + 3 + ⋯ + 3 (8 addends) = 24. Both packings hold 24 rolls.
- Wrong: the packings differ. The first needs 3 bags and the second 8, and the bags hold 8 rolls and 3 rolls.
Answer: the number of rolls is the same, but the number of bags is not. The property says only that the two products are equal.
The word commutative was introduced, in French, by François-Joseph Servois in a memoir published in 1814 in Gergonne’s Annales, together with the word distributive.[8] Servois studied the rules for calculating with symbols of operations, and the names he gave to these two properties have been used ever since.[9]
The property is not true of every kind of multiplication. In 1843 William Rowan Hamilton found the quaternions,[10] the first algebra with a noncommutative multiplication to be studied.[11] They obey all the fundamental laws of ordinary arithmetic except the commutative law.[12] Matrices, studied in the units on linear algebra, are another example: for two matrices E and A, the product EA is in general not AE.[13] For whole numbers, the theorem above shows that the order never matters.
Exercises
Write 5 × 8 and 8 × 5 as sums, and find both values.
▸ Show solution
5 × 8 = 8 + 8 + 8 + 8 + 8, with running totals 8, 16, 24, 32, 40. 8 × 5 = 5 + 5 + 5 + 5 + 5 + 5 + 5 + 5, with running totals 5, 10, 15, 20, 25, 30, 35, 40. Both are 40, as the commutative property says.
Find 12 × 2 with a single addition, and say which property allows it.
▸ Show solution
12 × 2 is 2 added twelve times. By the commutative property it equals 2 × 12 = 12 + 12, a single addition: 12 + 12 = 24. So 12 × 2 = 24.
An array has 6 rows and 9 columns. Count it by rows and by columns, writing each count as a product and as a sum.
▸ Show solution
By rows: 6 rows of 9, so 6 × 9 = 9 + 9 + 9 + 9 + 9 + 9, with running totals 9, 18, 27, 36, 45, 54.
By columns: 9 columns of 6, so 9 × 6 = 6 + 6 + ⋯ + 6 with nine addends, with running totals 6, 12, 18, 24, 30, 36, 42, 48, 54. Both counts give 54.
Do a 4 × 7 array and a 7 × 4 array have the same number of dots? Are they the same array?
▸ Show solution
The number of dots is the same, 4 × 7 = 7 + 7 + 7 + 7 = 28 and 7 × 4 = 28. The arrays are different: the first has 4 rows and the second 7. Turning the first array a quarter turn gives the second, which is why they hold the same number of dots.
Lesson 1.3 proved the rule “along a row”, a × (b + 1) = a × b + a, by rearranging addends. Give a second proof that uses only the rule “one more group”, (a + 1) × b = a × b + b, and the commutative property.
▸ Show solution
By the commutative property, a × (b + 1) = (b + 1) × a. By the rule “one more group” of lesson 1.1, (b + 1) × a = b × a + a. By the commutative property again, b × a = a × b. So a × (b + 1) = a × b + a.
For example, with a = 7 and b = 8: 7 × 9 = 7 × 8 + 7 = 56 + 7 = 63.
A multiplication table runs from 0 × 0 to 20 × 20. Using the commutative property, how many of its boxes must be found? (Hint: 20 + 19 + ⋯ + 1 = 210.)
▸ Show solution
A table from 0 to 20 has 21 rows and 21 columns. The diagonal has 21 boxes, one in each row. Above it, row 0 has 20 boxes, row 1 has 19, and so on down to row 19 with 1 and row 20 with none: 20 + 19 + ⋯ + 1 = 210 boxes.
So 21 + 210 = 231 boxes must be found; the 210 boxes below the diagonal are their mirror images. Check row by row: row 0 needs its 21 boxes from column 0 to column 20, row 1 needs 20 (from column 1 on), and so on down to row 20, which needs 1. That is 21 + 20 + ⋯ + 1 = 21 + 210 = 231 boxes.
Summary
- a × b and b × a are different sums: b added a times and a added b times.
- Commutative property: a × b = b × a for all whole numbers a and b. Proof: an a × b array counted by rows has a × b objects and counted by columns has b × a; the cases with 0 follow from lesson 1.4.
- A quarter turn turns an a × b array into a b × a array with the same objects.
- The multiplication table is symmetric about its diagonal, so 91 of its 169 boxes determine the rest; and a product can be found by the shorter of its two sums.
- The property is about numbers: 3 bags of 8 and 8 bags of 3 hold the same number of objects, but they are different packings.
Sources
- 1.Michelle Manes, “Properties of Operations”, Mathematics for Elementary Teachers, University of Hawaiʻi (Pressbooks) (2018).Section “Properties of Multiplication and Division”. pressbooks.oer.hawaii.edu/mathforelementaryteachers/chapter/properties-of-operations · open at the quoted passage.
“Since there are infinitely many whole numbers, it’s impossible to check every case, so examples will never be enough to explain why these properties hold.”
Used for: examples cannot settle whether a property holds for all whole numbers: there are infinitely many, so a reason (a proof) is needed. - 2.Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).Chapter 1, “Whole Numbers”, section 1.4, “Multiply Whole Numbers”, subsection “Multiply Whole Numbers”, p. 55 (the whole topic: pp. 54–55).
“When the order of the factors is reversed, the product does not change. This is called the Commutative Property of Multiplication.”
Used for: the name commutative property of multiplication: reversing the order of the factors does not change the product. - 3.Michelle Manes, “Properties of Operations”, Mathematics for Elementary Teachers, University of Hawaiʻi (Pressbooks) (2018).Section “Multiplication is Commutative”. pressbooks.oer.hawaii.edu/mathforelementaryteachers/chapter/properties-of-operations · open at the quoted passage.
“When I multiply two whole numbers, switching the order in which I multiply them does not affect the product.”
Used for: a second statement of the property for whole numbers: switching the order of the factors does not affect the product. - 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”, p. 27 (the whole topic: pp. 27).
“Notice that when the order of the addends is reversed, the sum does not change. 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: changing the order of the addends does not change their sum: the commutative property of addition. - 5.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: in the axioms for the real numbers, the commutative laws say that the order in which two numbers are added or multiplied does not matter. - 6.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 arithmetical rules of multiplication again require proofs, for which we refer the reader to LANDAU [18], Chapter 1, §4.”
Used for: in rigorous treatments, where multiplication is defined by adding one group at a time (the formula just before the quote), every familiar rule of multiplication has to be proved. - 7.Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).Chapter 1, “Whole Numbers”, section 1.4, “Multiply Whole Numbers”, subsection “Multiply Whole Numbers”, Table 1.4, p. 53 (the whole topic: pp. 53).
“Each box shows the product of the number down the left column and the number across the top row.”
Used for: in the multiplication table, the box in row a and column b holds a × b. - 8.Jeff Miller, “Earliest Known Uses of Some of the Words of Mathematics (C)”, MacTutor History of Mathematics Archive, University of St Andrews.Section “COMMUTATIVE”. mathshistory.st-andrews.ac.uk/Miller/mathword/c · open at the quoted passage.
“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). He introduced the terms as follows”
Used for: the words commutative and distributive were introduced in French by Servois in a memoir published in 1814 in Gergonne’s Annales. - 9.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: a second source: Servois studied the rules for calculating with symbols of operations and named the properties commutative and distributive, names that have been kept (the footnote gives Gergonne’s Annales, vol. V, 1814–15). - 10.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. 637 (the whole topic: pp. 633–638).
“In a moment of insight, which occurred while he was strolling with his wife by the Royal Canal in Dublin in 1843, Hamilton suddenly realized that his difficulties would vanish if he multiplied expressions with four terms rather than three”
Used for: Hamilton found the quaternions in 1843. - 11.J. J. O’Connor and E. F. Robertson, “William Rowan Hamilton”, MacTutor History of Mathematics Archive, University of St Andrews.
“for the discovery of the quaternions, the first noncommutative algebra to be studied, was taking shape in his mind”
Used for: the quaternions were the first noncommutative algebra to be studied (the paragraph dates the discovery to 16 October 1843). - 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. 633–638).
“Hamilton’s quaternion algebra obeys all the fundamental laws of traditional arithmetic except for the commutative law.”
Used for: the quaternions obey all the fundamental laws of ordinary arithmetic except the commutative law. - 13.Gilbert Strang, Linear Algebra and Its Applications (4th ed., Thomson Brooks/Cole, 2006).Chapter 1, “Matrices and Gaussian Elimination”, section 1.4, “Matrix Notation and Matrix Multiplication”, p. 25 (the whole topic: pp. 24–26).
“But the same could be said of the “commutative law” 2×3 = 3×2—and for matrices EA is not AE.”
Used for: for matrices the product EA is in general not AE: matrix multiplication is not commutative.