math.wiki
Number › Irrational and real numbers › Properties of real numbers › Commutative, associative and distributive properties
Open on the map
Algebra 1 · 3.OA.B.5 · 7.NS.A.2A

Commutative, associative and distributive properties

You swap two terms, move a bracket, or multiply a bracket out. How can you be sure the expression is still worth the same, whatever numbers the letters stand for?

Where you are 3 in Properties of real numbers

Why this exists

Algebra is mostly rewriting: a sum put in a handier order, a bracket multiplied out, a common factor pulled to the front. Each rewrite promises that the new expression is worth exactly what the old one was, for every number the letters could stand for.

Trying numbers cannot keep that promise, since a thousand trials leave infinitely many real numbers untested. A short list of laws true of all real numbers at once does keep it, and three of them do most of the work: the commutative, associative and distributive properties. With whole numbers they are counting facts, met in the properties of addition. Here they are stated with letters for every real number, so that every step of a simplification can name the law that allows it.

Definition

The letters a, b and c stand for any real numbers: whole numbers, negatives, fractions, decimals, and irrational numbers such as \displaystyle \sqrt{2}. Each law says two expressions are equal for every choice of them.

The commutative properties: order does not matter. Two numbers may be added, or multiplied, in either order.

a + b = b + a \qquad\qquad ab = ba

The associative properties: grouping does not matter. Adding or multiplying three numbers, it does not matter which two are combined first. The numbers keep their order; only the brackets move.

\begin{aligned} (a + b) + c &= a + (b + c) \\ (ab)c &= a(bc) \end{aligned}

The distributive property: multiplication spreads over addition. A number times a sum equals the sum of the separate products.

a(b + c) = ab + ac

It is the only one of the three that joins two operations: the factor a is handed out, or distributed, to each term of the sum. Commutative is about order, as in commuting back and forth; associative is about which numbers are associated in a bracket.

Intuition

a b
a + b
b a
b + a
Figure 1The same two lengths laid end to end in either order reach the same point, so a + b = b + a.

Think of a positive number as a length. Adding two lengths lays them end to end, and in either order the rods in Figure 1 reach the same point: the commutative property of addition. With a third rod, (a + b) + c joins the first two and then the third, while a + (b + c) joins the last two first; it is the same line of rods either way.

a b ab b a ba
Figure 2Turning a rectangle does not change its area, so ab = ba.

Multiplying two lengths gives the area of a rectangle. Turning it on its side changes which side is called the width, not its area. For three numbers, picture a box a long, b wide and c tall: its volume is the base times the height, (ab)c, or the length times the end, a(bc).

a b c ab ac
b + c
Figure 3One rectangle, measured whole and in two parts. Its area is a(b + c), and it is also ab + ac.

Figure 3 is a tall and b + c wide, so its area is a(b + c). The dashed line cuts it into an a by b piece and an a by c piece, so its area is also ab + ac. It is the area picture behind the distributive property of arithmetic, now with letters.

The pictures show positive lengths only. The laws hold for every real number, negatives and zero included.

Results

Any order, any grouping. A sum of any number of terms has the same total in every order and every grouping, and so does a product of any number of factors. That is why a + b + c and abc need no brackets.

The distributive property in both directions. Left to right it expands a product into a sum; right to left it factors a common factor out of a sum:

ab + ac = a(b + c)

Forms that follow from it. For all real numbers a, b, c and d,

\begin{aligned} (b + c)a &= ba + ca \\ a(b - c) &= ab - ac \\ a(b + c + d) &= ab + ac + ad \end{aligned}

The first is why combining like terms works: 8q + 6q = (8 + 6)q = 14q.

Subtraction and division have neither property. In general,

\begin{aligned} a - b &\neq b - a \\ (a - b) - c &\neq a - (b - c) \\ a \div b &\neq b \div a \\ (a \div b) \div c &\neq a \div (b \div c) \end{aligned}

“In general” means the two sides can differ. For a few particular numbers they agree, and Example 2 finds exactly which.

Why it is true

For whole numbers the laws are counting facts. Two piles pushed together make the same pile whichever comes first. An array of a rows of b dots, turned a quarter turn, is b rows of a dots; cut between two columns, an a by (b + c) array is an a by b array beside an a by c array.

For all real numbers they are the starting rules. Counting cannot reach -\tfrac{3}{7} or \displaystyle \sqrt{2}. The arithmetic of the real numbers is set up so that these laws keep holding, and in a formal treatment they are taken as basic rules (axioms). The other rules of algebra, such as the sign rules, are proved from them together with the laws of zero, one, opposites and reciprocals.

New laws follow from these. The right-hand form of the distributive property needs no law of its own:

ExpressionReason
(b + c)a
= a(b + c)commutative property of multiplication
= ab + acdistributive property
= ba + cacommutative property of multiplication, twice

In the same way, any order of three terms is reached one swap at a time:

ExpressionReason
(a + b) + c
= a + (b + c)associative property of addition
= a + (c + b)commutative property of addition
= (a + c) + bassociative property of addition

Chains like this give the “any order, any grouping” result for any number of terms.

Worked examples

Example 1

Naming the property

Name the property that makes each statement true for all real numbers.

(a) m + 4.5 = 4.5 + m

(b) (-3 \cdot p) \cdot q = -3 \cdot (p \cdot q)

(c) \displaystyle (z + 11) \cdot \sqrt{2} = \sqrt{2}\,(z + 11)

(d) \displaystyle \sqrt{2}\,(z + 11) = \sqrt{2}\,z + 11\sqrt{2}

(e) (t + 6) + u = t + (6 + u)

Solution

Ask of each one: did the order change, or only the brackets? Was anything multiplied out?

(a) The two terms swap places: the commutative property of addition.

(b) The factors -3, p, q keep their order and only the brackets move: the associative property of multiplication.

(c) Nothing is multiplied out. The sum z + 11 is one number, and it trades places with \displaystyle \sqrt{2}: the commutative property of multiplication.

(d) The factor \displaystyle \sqrt{2} is handed to each term of the sum: the distributive property. Writing the second product as \displaystyle 11\sqrt{2} uses the commutative property of multiplication too.

(e) The order t, 6, u is unchanged and the bracket moves: the associative property of addition.

The irrational \displaystyle \sqrt{2} changes nothing: the laws do not care what kind of real number a letter is.

Example 2

Subtraction and division break both laws

Test whether subtraction and division are commutative and associative. Then find exactly when (a - b) - c and a - (b - c) are equal.

Solution

A law claims something for all real numbers, so one counterexample, a choice of numbers where the two sides differ, shows the law fails.

Subtraction, order: 11 - 5 = 6 but 5 - 11 = -6.

Subtraction, grouping: (11 - 5) - 2 = 6 - 2 = 4 but 11 - (5 - 2) = 11 - 3 = 8.

Division, order: 30 \div 5 = 6 but 5 \div 30 = \tfrac{1}{6}.

Division, grouping: (30 \div 5) \div 3 = 6 \div 3 = 2 but 30 \div (5 \div 3) = 30 \cdot \tfrac{3}{5} = 18.

Now the two groupings. (a - b) - c takes away b and then c, so it is a - b - c. In a - (b - c), taking away b - c takes away b but gives c back, so it is a - b + c. These are equal exactly when -c = c, that is, when c = 0, whatever a and b are. Agreement for some numbers is not a law.

Example 3

Choosing an easy order

Work out each value without a calculator, naming each property used.

(a) \tfrac{5}{8} \cdot 37 \cdot 16

(b) (14.6 + 27) + 5.4

Solution

(a) \tfrac{5}{8} and 16 go together, so bring them side by side. With no brackets the product is read left to right, as \left(\tfrac{5}{8} \cdot 37\right) \cdot 16:

ExpressionReason
\left(\tfrac{5}{8} \cdot 37\right) \cdot 16
= \tfrac{5}{8} \cdot (37 \cdot 16)associative property of multiplication
= \tfrac{5}{8} \cdot (16 \cdot 37)commutative property of multiplication
= \left(\tfrac{5}{8} \cdot 16\right) \cdot 37associative property of multiplication
= 10 \cdot 37 = 370arithmetic

(b) The decimals 14.6 and 5.4 make a whole number, so put them together:

ExpressionReason
(14.6 + 27) + 5.4
= (27 + 14.6) + 5.4commutative property of addition
= 27 + (14.6 + 5.4)associative property of addition
= 27 + 20 = 47arithmetic

These are the mental strategies of whole-number arithmetic, now with names for why the answer is still right.

Example 4

A simplification with a reason for every step

Simplify 2(9 + 4q) + 6q, giving the property behind each step.

Solution
ExpressionReason
2(9 + 4q) + 6q
= \bigl(2 \cdot 9 + 2(4q)\bigr) + 6qdistributive property
= \bigl(18 + (2 \cdot 4)q\bigr) + 6qarithmetic; associative property of multiplication
= (18 + 8q) + 6qarithmetic
= 18 + (8q + 6q)associative property of addition
= 18 + (8 + 6)qdistributive property, read right to left
= 18 + 14qarithmetic
= 14q + 18commutative property of addition

Each line equals the one above it for every q. Combining 8q and 6q is the distributive property read backwards, not a new rule. In ordinary work several lines happen at once, as in distributing and combining like terms; writing them out is justifying each step.

Check. At q = 1: 2(9 + 4) + 6 = 32, and 14 + 18 = 32.

Example 5

Factoring out a common factor

Use the distributive property from right to left.

(a) Write 12m + 30 as a product with the largest whole-number factor outside the bracket.

(b) Write x \cdot y + 9x as a product.

(c) Work out 47 \cdot 13 + 47 \cdot 87 without a calculator.

Solution

(a) The largest whole number dividing both 12 and 30 is 6, so

12m + 30 = 6 \cdot 2m + 6 \cdot 5 = 6(2m + 5)

The form 3(4m + 10) is also equal, but its bracket still has a common factor 2, so 3 is not the largest factor.

(b) The common factor x stands on the right in the second term, so move it to the front by the commutative property of multiplication, then use the distributive property right to left:

x \cdot y + 9x = x \cdot y + x \cdot 9 = x(y + 9)

(c) Both products share the factor 47:

47 \cdot 13 + 47 \cdot 87 = 47(13 + 87) = 47 \cdot 100 = 4700

Factoring out the greatest common factor develops this move in full.

Example 6

The product of two sums

Show that for all real numbers a, b, c and d,

(a + b)(c + d) = ac + ad + bc + bd

naming the property used at each step.

Solution

The sum a + b is one real number, so it can be the factor outside c + d.

ExpressionReason
(a + b)(c + d)
= (a + b)c + (a + b)ddistributive property
= c(a + b) + d(a + b)commutative property of multiplication
= (ca + cb) + (da + db)distributive property, twice
= (ac + bc) + (ad + bd)commutative property of multiplication
= ac + ad + bc + bdassociative and commutative properties of addition

Each of a and b is multiplied by each of c and d: four products in all.

Check with a = 2, b = 3, c = 4, d = 5: (2 + 3)(4 + 5) = 5 \cdot 9 = 45, and 8 + 10 + 12 + 15 = 45.

This identity is where multiplying two binomials starts.

Boundaries

Only addition and multiplication. Subtraction and division are neither commutative nor associative (Example 2). To move terms in a difference, first write subtraction as adding the opposite, a - b = a + (-b); then each term moves with its sign attached:

9 - w + 4 = 9 + (-w) + 4 = 9 + 4 + (-w) = 13 - w

Multiplication distributes over addition, not the other way round. With a = 1, b = 2, c = 3:

\begin{aligned} a + bc &= 1 + 6 = 7 \\ (a + b)(a + c) &= 3 \cdot 4 = 12 \end{aligned}

Multiplication does not distribute over multiplication. 2(3 \cdot 5) = 30, while (2 \cdot 3)(2 \cdot 5) = 60.

Division distributes from one side only. For d \neq 0, (b + c) \div d = b \div d + c \div d, because dividing by d is multiplying by \tfrac{1}{d}. A sum underneath does not split: 12 \div (2 + 4) = 2, while 12 \div 2 + 12 \div 4 = 9.

Powers have none of these properties. 2^5 = 32 but 5^2 = 25; (3^2)^3 = 729 but 3^{(2^3)} = 6561; (3 + 4)^2 = 49 but 3^2 + 4^2 = 25.

These are laws about real numbers. Later operations need not obey them: multiplying matrices or composing functions in the other order usually gives a different answer.

Where this goes next

These three laws are half of the rules the real numbers obey. The rest, about 0, 1, opposites and reciprocals, are in identity and inverse elements, with closure alongside; together they are the properties of real numbers.

The distributive property carries most of the everyday work: forwards in distributing over a sum, backwards in factoring out a common factor and combining like terms, and twice over in multiplying two binomials. Naming a law for each step is also the first form of proof in algebra; solving equations adds the properties of equality to the list of reasons.

Exercises

Naming the property

Name the property that makes each statement true for all real numbers.

  1. p + (-9) = (-9) + p
  2. (2.5 \cdot r) \cdot 8 = 2.5 \cdot (r \cdot 8)
  3. \tfrac{1}{2}(6c + 10) = \tfrac{1}{2}(6c) + \tfrac{1}{2}(10)
  4. (d + 4)(d - 1) = (d - 1)(d + 4)

True for every real number?

Is each statement true for every real number? If so, name the properties that make it true. If not, give a counterexample.

  1. x - 8 = 8 - x
  2. (y \div 4) \div 2 = y \div (4 \div 2)
  3. 3(5w) = (3 \cdot 5)(3 \cdot w)
  4. (k + 2) \cdot 7 = 7k + 14

Making the arithmetic easy

Work out each value without a calculator, naming each property you use.

  1. 25 \cdot 19 \cdot 4
  2. \tfrac{2}{9} + 4.3 + \tfrac{7}{9} + 5.7
  3. 34 \cdot 96 + 34 \cdot 4

Expanding and factoring

Expand each product.

  1. -4(3t - 2.5)
  2. (6 - b) \cdot 7

Factor out the largest common factor.

  1. 18f + 24
  2. g \cdot h - 5g

A reason for every step

  1. Simplify 3(2 + 5s) + 4s, giving the property or arithmetic behind each step.
  2. Someone wrote 40 \div (8 \div 2) = (40 \div 8) \div 2 = 5 \div 2 = 2.5. Which step is not allowed, and what is the correct value?

Reasoning

  1. Division is not commutative, but sometimes a \div b = b \div a. Find every b that makes 2 \div b = b \div 2, and then say for which nonzero a and b it happens in general.
  2. Define a \star b = \dfrac{a + b}{2}, the number halfway between a and b. Is \star commutative? Is it associative? Explain.
  3. Show that a - (b + c) = (a - b) - c for all real numbers, naming each property. Explain why this does not make subtraction associative.
Answers
  1. The commutative property of addition; -9 keeps its sign as it moves.
  2. The associative property of multiplication: only the brackets move.
  3. The distributive property: \tfrac{1}{2} is handed to each term of the sum.
  4. The commutative property of multiplication: each bracket is one number, and the two swap.
  5. Not true. At x = 0 the sides are -8 and 8. They agree only when x = 8.
  6. Not true. At y = 8: (8 \div 4) \div 2 = 1, but 8 \div (4 \div 2) = 8 \div 2 = 4. The sides are \tfrac{y}{8} and \tfrac{y}{2}, which agree only at y = 0.
  7. Not true. At w = 1 the sides are 15 and 15 \cdot 3 = 45. By the associative property of multiplication the 3 multiplies once: 3(5w) = 15w.
  8. True: (k + 2) \cdot 7 = 7(k + 2) by the commutative property of multiplication, which is 7k + 14 by the distributive property.
  9. 1900. Read as (25 \cdot 19) \cdot 4, it equals 25 \cdot (19 \cdot 4), then 25 \cdot (4 \cdot 19), then (25 \cdot 4) \cdot 19 = 100 \cdot 19: the associative, commutative and again associative property of multiplication.
  10. 11. By the commutative and associative properties of addition, regroup as \left(\tfrac{2}{9} + \tfrac{7}{9}\right) + (4.3 + 5.7), which is 1 + 10.
  11. 3400. By the distributive property read right to left, 34(96 + 4) = 34 \cdot 100.
  12. -12t + 10. By the distributive property, (-4)(3t) - (-4)(2.5) = -12t - (-10).
  13. 42 - 7b. Commutative property of multiplication, 7(6 - b), then the distributive property.
  14. 6(3f + 4). The largest whole number dividing 18 and 24 is 6, and 6 \cdot 3f + 6 \cdot 4 = 6(3f + 4).
  15. g(h - 5). Write 5g as g \cdot 5 (commutative property of multiplication), then use the distributive property read right to left.
  16. 19s + 6. Distributive property and arithmetic: (6 + 3(5s)) + 4s. Associative property of multiplication and arithmetic: (6 + 15s) + 4s. Associative property of addition: 6 + (15s + 4s). Distributive property read right to left: 6 + (15 + 4)s = 6 + 19s. Commutative property of addition: 19s + 6.
  17. The first step moves the brackets in a division, as if division were associative. The correct value is 40 \div 4 = 10.
  18. b = 2 or b = -2: multiplying both sides by 2b gives b^2 = 4. In general a \div b = b \div a means a^2 = b^2, so exactly when b = a or b = -a, with a and b not zero.
  19. Commutative, yes: \tfrac{a + b}{2} = \tfrac{b + a}{2} by the commutative property of addition. Associative, no: (0 \star 0) \star 4 = 0 \star 4 = 2, but 0 \star (0 \star 4) = 0 \star 2 = 1. In general (a \star b) \star c = \tfrac{a + b + 2c}{4} and a \star (b \star c) = \tfrac{2a + b + c}{4}, which agree only when a = c.
  20. Write subtraction as adding the opposite, and the opposite as multiplying by -1: a - (b + c) = a + (-1)(b + c). The distributive property gives a + \bigl((-1)b + (-1)c\bigr) = a + \bigl((-b) + (-c)\bigr), and the associative property of addition gives \bigl(a + (-b)\bigr) + (-c), which is (a - b) - c. Associativity would need a - (b - c) = (a - b) - c, a different statement, which Example 2 shows fails whenever c \neq 0.
kg1128 · updated 2026-10-10 · CC-BY-SA-4.0