See How Things Work

The associative property of multiplication

Unit
Multiplication
Part
1. Multiplication
Lesson
1.6

To multiply three numbers, two of them must be multiplied first. This lesson proves that the choice does not change the result, (a × b) × c = a × (b × c), by counting dots in trays in two ways, and shows how order and grouping together make products of several numbers easy to find.

Products of three numbers

Multiplication combines two numbers at a time. A product of three numbers, such as 2 × 3 × 4, is therefore found in two steps, and there are two ways to group the steps. Parentheses show which product is found first: they are grouping symbols that indicate which operation is done first.⁠[1]

  • (2 × 3) × 4: first 2 × 3 = 6, then 6 × 4 = 4 + 4 + 4 + 4 + 4 + 4 = 24.
  • 2 × (3 × 4): first 3 × 4 = 12, then 2 × 12 = 12 + 12 = 24.

The two groupings take different steps, through 6 in one case and through 12 in the other, and reach the same number.

Example (Two groupings of 3 × 4 × 5).

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

  1. (3 × 4) × 5: first 3 × 4 = 4 + 4 + 4 = 12. Then 12 × 5 = 5 × 12 by the commutative property (lesson 1.5), and 5 × 12 = 12 + 12 + 12 + 12 + 12, with running totals 12, 24, 36, 48, 60.
  2. 3 × (4 × 5): first 4 × 5 = 5 + 5 + 5 + 5 = 20. Then 3 × 20 = 20 + 20 + 20 = 60.

Answer: both groupings give 60.

Is this so for every three whole numbers? As with the commutative property, examples cannot decide the question; a proof can.

The associative property

Theorem (associative property of multiplication).

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

Proof.

If one of the three numbers is 0, both sides are 0, because a product with a factor 0 is 0 (lesson 1.4). If a = 0: (0 × b) × c = 0 × c = 0 and 0 × (b × c) = 0. If b = 0: (a × 0) × c = 0 × c = 0 and a × (0 × c) = a × 0 = 0. If c = 0: (a × b) × 0 = 0 and a × (b × 0) = a × 0 = 0.

Now let a, b and c all be at least 1. By the definition of lesson 1.1, a × (b × c) is the sum of a addends, each equal to b × c, and each b × c is itself the sum of b addends, each equal to c:

a × (b × c) = (c + ⋯ + c) + (c + ⋯ + c) + ⋯ + (c + ⋯ + c),  a brackets of b addends each.

Changing the grouping of addends does not change their sum,⁠[2] so the brackets can be dropped: a × (b × c) is a single sum whose addends all equal c. There are b of them from each of the a brackets, so their number is b + b + ⋯ + b with a addends, which is a × b. So a × (b × c) is the sum of a × b addends, each equal to c, and by the definition of multiplication that is (a × b) × c.

The proof is a count of objects packed in two levels. In the figure below, the brackets are the trays and the addends c are the rows: counting tray by tray gives a × (b × c), and counting row by row gives (a × b) × c.

(a)3 × 4 = 123 × 4 = 122 × (3 × 4)= 2 × 12 = 24(b)123456(2 × 3) × 4= 6 × 4 = 24
Figure. Two trays, each holding 3 rows of 4 dots. (a) Counted tray by tray: each tray holds 3 × 4 = 12 dots, so there are 2 × (3 × 4) = 24. (b) The same dots counted row by row: the two trays hold 2 × 3 = 6 rows of 4, so there are (2 × 3) × 4 = 24.

The theorem is called the associative property of multiplication: when three numbers are multiplied, changing the grouping does not change the result.⁠[3] In other words, when three whole numbers are multiplied in a given order, the way they are grouped to multiply two at a time does not affect the product.⁠[4] Addition has the same property, the associative property of addition, used in the proof above;⁠[2] it is proved in lesson 1.6 of the unit Addition, “The associative property of addition”. In the axioms for the real numbers, the two are listed as the associative laws.⁠[5]

Example (Boxes of pencils).

A crate holds 4 boxes. Each box holds 3 rows of 5 pencils. Count the pencils in two ways.

  1. By boxes: each box holds 3 × 5 = 5 + 5 + 5 = 15 pencils, so the crate holds 4 × (3 × 5) = 4 × 15 = 15 + 15 + 15 + 15 = 60.
  2. By rows: the 4 boxes hold 4 × 3 = 3 + 3 + 3 + 3 = 12 rows of 5 pencils, so the crate holds (4 × 3) × 5 = 12 × 5. By the commutative property, 12 × 5 = 5 × 12 = 12 + 12 + 12 + 12 + 12 = 60.

Answer: 60 pencils, by either count.

Example (The edge cases: a factor 0 or 1).

Find both groupings of 7 × 0 × 9 and of 1 × 8 × 6.

  1. (7 × 0) × 9 = 0 × 9 = 0, and 7 × (0 × 9) = 7 × 0 = 0. One factor 0 makes every grouping 0.
  2. (1 × 8) × 6 = 8 × 6 = 48, and 1 × (8 × 6) = 1 × 48 = 48. A factor 1 changes nothing in either grouping.

Answer: 0 and 48, each the same for both groupings, as the theorem says.

Game

Count the trays

Round
1
Score
0
Streak
0

How many dots are in the 3 trays? Group them by trays or by rows to count them quickly.

Group:

Any order, any grouping

Because of the associative property, a product of three factors is often written without parentheses, as a × b × c. Such a product is found by multiplying the first two factors and then multiplying their product by the next factor:⁠[6] a × b × c means (a × b) × c. By the theorem it is also a × (b × c), so leaving out the parentheses causes no ambiguity.

The commutative property allows the order of the factors to change as well. Together, the two properties give a stronger rule.

Proposition .

The product of three whole numbers is the same in whichever order they are written and however they are grouped.

Proof.

Each order has two groupings, which are equal by the associative property. So it is enough to show that each of the six orders of a, b and c, multiplied from the left, gives (a × b) × c. Each step below uses the commutative property (C) or the associative property (A):

  • (b × a) × c = (a × b) × c (C, inside the parentheses).
  • (a × c) × b = a × (c × b) (A) = a × (b × c) (C) = (a × b) × c (A).
  • (b × c) × a = a × (b × c) (C) = (a × b) × c (A).
  • (c × a) × b = c × (a × b) (A) = (a × b) × c (C).
  • (c × b) × a = (b × c) × a (C) = a × (b × c) (C) = (a × b) × c (A).

Together with the order a, b, c itself, that covers all six orders.

Since the order does not matter when three or more numbers are multiplied, the factors can be rearranged and regrouped to make the work easier.⁠[7] Applied step by step, the same two properties show this for four or more factors too. The most useful rearrangements bring together factors whose product is 10 or 100, because 10 × b is simply b tens (lesson 1.3).

Example (Making a ten).

Find 5 × 9 × 2.

  1. Change the order: 5 × 9 × 2 = 9 × 5 × 2, by the commutative property applied to the first two factors.
  2. Change the grouping: (9 × 5) × 2 = 9 × (5 × 2) = 9 × 10.
  3. 9 × 10 = 10 × 9, which is 9 tens: 90.

Answer: 90. Check from the left: 5 × 9 = 45, and 45 × 2 = 2 × 45 = 45 + 45 = 90.

Example (Making a hundred).

Find 4 × 7 × 25.

  1. Rearrange so that 4 and 25 are multiplied first: 4 × 7 × 25 = 7 × (4 × 25).
  2. 4 × 25 = 25 + 25 + 25 + 25. Running totals: 25, 50, 75, 100.
  3. 7 × 100 = 100 + 100 + 100 + 100 + 100 + 100 + 100 = 700.

Answer: 700. Check from the left: 4 × 7 = 28, then 28 × 25 = (20 + 8) × 25 = 20 × 25 + 8 × 25 by splitting the groups (lesson 1.3). Here 20 × 25 = 10 × 25 + 10 × 25 = 250 + 250 = 500, and 8 × 25 = 200 (running totals 25, 50, …, 200), so 28 × 25 = 700.

Example (Doubling twice).

Find 4 × 15 by writing 4 as 2 × 2.

  1. 4 × 15 = (2 × 2) × 15 = 2 × (2 × 15), by the associative property.
  2. 2 × 15 = 15 + 15 = 30, and 2 × 30 = 30 + 30 = 60.

Answer: 60. Multiplying by 4 is doubling twice. Check: 15 + 15 + 15 + 15, with running totals 15, 30, 45, 60.

Game

Make it easy

Round
1
Score
0
Streak
0

Find 20 × 4 × 5. Tap the two factors you will multiply first, then type the product.

Pick two factors.

What the property does not say

The associative property is about one operation used twice. It does not allow a factor to be used twice, and it does not mix multiplication with addition.

Example (A common mistake: multiplying into both factors).

Someone writes 2 × (3 × 4) = (2 × 3) × (2 × 4). Is this right?

  1. The left side: 3 × 4 = 12, and 2 × 12 = 24.
  2. The right side: 2 × 3 = 6, 2 × 4 = 8, and 6 × 8 = 48.
  3. The right side uses the factor 2 twice, so it is twice too large: 24 + 24 = 48.

Answer: no. 2 × (3 × 4) = (2 × 3) × 4 = 24. Multiplying each part by 2 is right for a sum, as lesson 1.7 shows, but not for a product.

Example (A common mistake: moving parentheses across + and ×).

Compare (2 + 3) × 4 with 2 + (3 × 4).

  1. (2 + 3) × 4 = 5 × 4 = 4 + 4 + 4 + 4 + 4 = 20.
  2. 2 + (3 × 4) = 2 + 12 = 14.

Answer: 20 and 14 are different. The associative property regroups three numbers joined by the same operation, all × or all +; with one + and one ×, moving the parentheses can change the value.

Looking ahead.

The law can look too obvious to need a proof, but obvious-looking laws can fail: matrices, met in the units on linear algebra, obey the associative law, yet their products depend on the order of the factors.⁠[8] In the octonions, a number system that John Graves found within three months of Hamilton’s quaternions (lesson 1.5), multiplication is not even associative.⁠[9]

Looking ahead.

Trays of rows are a flat picture of a box built from cubes. The volume of a box is measured by how many cubes fill it,⁠[10] and breaking the box into layers makes the cubes easy to count:⁠[11] the number of layers times the number of cubes in a layer. Volume is the subject of the units on geometry and measurement.

Exercises

Exercise .

Find (3 × 2) × 5 and 3 × (2 × 5).

▸ Show solution

(3 × 2) × 5 = 6 × 5 = 5 + 5 + 5 + 5 + 5 + 5 = 30, and 3 × (2 × 5) = 3 × 10 = 10 + 10 + 10 = 30. Both are 30.

Exercise .

Find 2 × 7 × 5 in the easiest way, and check your answer by multiplying from the left.

▸ Show solution

Multiply 2 and 5 first: 2 × 7 × 5 = 7 × (2 × 5) = 7 × 10, which is 7 tens: 70. Check from the left: 2 × 7 = 14, and 14 × 5 = 5 × 14 = 14 + 14 + 14 + 14 + 14 = 70.

Exercise .

Find 25 × 3 × 4.

▸ Show solution

25 × 3 × 4 = 3 × (25 × 4). 25 × 4 = 4 × 25 = 25 + 25 + 25 + 25 = 100, and 3 × 100 = 100 + 100 + 100 = 300.

Exercise .

A building has 3 floors, each with 4 rooms, and each room has 6 chairs. Count the chairs in two ways, and write each count as a product with parentheses.

▸ Show solution

By floors: each floor has 4 × 6 = 24 chairs, so the building has 3 × (4 × 6) = 3 × 24 = 24 + 24 + 24 = 72 chairs.

By rooms: there are 3 × 4 = 12 rooms, each with 6 chairs, so (3 × 4) × 6 = 12 × 6 = 6 × 12 = 72, with running totals 12, 24, 36, 48, 60, 72. Both counts give 72.

Exercise .

Someone writes 3 × (2 × 5) = (3 × 2) × (3 × 5) = 6 × 15 = 90. Find the mistake and the correct value.

▸ Show solution

The work multiplies by 3 twice. The correct value is 3 × (2 × 5) = 3 × 10 = 30. The written value, (3 × 2) × (3 × 5) = 6 × 15 = 90, is three times too large: 30 + 30 + 30 = 90.

Exercise .

Prove that (a × b) × c = (a × c) × b for all whole numbers a, b and c, naming the property used in each step.

▸ 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. Example: (4 × 7) × 5 = 28 × 5 = 140 and (4 × 5) × 7 = 20 × 7 = 140.

Exercise .

Write 8 as 2 × 2 × 2 and use the associative property to show that 8 × 125 = 1,000.

▸ Show solution

8 = 2 × 2 × 2, so 8 × 125 = 2 × (2 × (2 × 125)), by the associative property used twice. Work from the inside: 2 × 125 = 125 + 125 = 250; 2 × 250 = 250 + 250 = 500; 2 × 500 = 500 + 500 = 1,000.

So 8 × 125 = 1,000: multiplying by 8 is doubling three times.

Summary

  1. A product of three numbers is found two at a time; parentheses show which product comes first.
  2. Associative property: (a × b) × c = a × (b × c) for all whole numbers. Proof: both sides are a sum of a × b addends, each equal to c; the cases with 0 follow from lesson 1.4.
  3. So a × b × c needs no parentheses. With the commutative property, the factors of a product can be put in any order and grouped in any way.
  4. Grouping factors that make 10 or 100 makes products easy: 5 × 9 × 2 = 9 × 10 = 90; 4 × 7 × 25 = 7 × 100 = 700.
  5. The property does not let a factor be used twice, 2 × (3 × 4) ≠ (2 × 3) × (2 × 4), and does not mix + with ×.

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. 546–549).
    “Remember that parentheses are grouping symbols that indicate which operations should be done first.”
    Used for: parentheses are grouping symbols that show which operation 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. 546–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: changing the grouping of addends does not change their sum (the associative property of addition), used in the proof.
  3. 3.
    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. 546–549).
    “When multiplying three numbers, changing the grouping of the numbers does not change the result. This is known as the Associative Property of Multiplication.”
    Used for: the name associative property of multiplication: changing the grouping of three factors does not change the product.
  4. 4.
    Michelle Manes, “Properties of Operations”, Mathematics for Elementary Teachers, University of Hawaiʻi (Pressbooks) (2018).
    “When I multiply three whole numbers in a given order, the way I group them (to multiply two at a time) doesn’t affect the product.”
    Used for: a second statement for whole numbers: the way three factors in a given order are grouped two at a time does not affect the product.
  5. 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).
    “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: in the axioms for the real numbers, the associative laws for addition and multiplication.
  6. 6.
    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. 60 (the whole topic: pp. 59–60).
    “When there are three or more factors, we multiply the first two and then multiply their product by the next factor.”
    Used for: a product written without parentheses is found by multiplying the first two factors and then multiplying their product by the next factor.
  7. 7.
    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: since the order does not matter when three or more numbers are multiplied, the factors can be rearranged and regrouped to make the work easier, also for four or more factors.
  8. 8.
    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).
    “This is the whole point of an “associative law” like 2 × (3 × 4) = (2 × 3) × 4. The law seems so obvious that it is hard to imagine it could be false. But the same could be said of the “commutative law” 2×3 = 3×2—and for matrices EA is not AE.”
    Used for: the law can look too obvious to need proof; matrix multiplication obeys the associative law, but matrix products depend on the order of the factors.
  9. 9.
    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).
    “within three months of Hamilton’s creation of the quaternions, John Graves arrived at the “octonions,” a system with eight unit elements; multiplication in this algebra was not only noncommutative but not even associative.”
    Used for: in the octonions, found by John Graves within three months of Hamilton’s quaternions, multiplication is not even associative.
  10. 10.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 9, “Math Models and Geometry”, section 9.4, “Use Properties of Rectangles, Triangles, and Trapezoids”: “Understand Linear, Square, and Cubic Measure”, p. 699 (the whole topic: pp. 699–700).
    “When measuring the volume of a rectangular solid, you measure how many cubes fill the container.”
    Used for: the volume of a box is measured by how many cubes fill it.
  11. 11.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 9, “Math Models and Geometry”, section 9.6, “Solve Geometry Applications: Volume and Surface Area”: “Find Volume and Surface Area of Rectangular Solids”, p. 737 (the whole topic: pp. 736–738).
    “Breaking a rectangular solid into layers makes it easier to visualize the number of cubic units it contains.”
    Used for: breaking a box into layers makes its cubes easy to count.