To expand a product such as 4(2x − 5) is to multiply every term inside the parentheses by the factor, so that the parentheses disappear: 8x − 20. This lesson proves the distributive law for expressions, uses it with negative, fractional and variable factors and with groups of several terms, explains a minus sign in front of parentheses, and corrects the common mistakes.
The distributive law for expressions
Lesson 1.6 read the distributive law from right to left, to collect like terms: 6t + 2t = (6 + 2)t (Combining like terms). This lesson reads it from left to right. The law was proved for whole numbers in Multiplication 1.7, it decided the sign of a product of two negative integers in Integers 3.2, and it holds for all rational numbers (Rational Numbers 1.4), together with its form for a difference, x(y − z) = xy − xz. Textbooks state it for all numbers a, b, c as a(b + c) = ab + ac, with the forms (b + c)a = ba + ca, a(b − c) = ab − ac and (b − c)a = ba − ca beside it.[1]
Let A, B and C be expressions. At every value of the variables at which all three have a value,
A(B + C) = AB + AC, A(B − C) = AB − AC, (B + C)A = BA + CA, (B − C)A = BA − CA.
In particular, when no variable stands in a denominator, each left side is equivalent to its right side.
Fix values of the variables at which A, B and C have values, and call those values a, b and c. They are rational numbers, so a(b + c) = ab + ac and a(b − c) = ab − ac by the distributive law and its form for a difference (Rational Numbers 1.4). With the factor on the right, the commutative law turns the product around first: (b + c)a = a(b + c) = ab + ac = ba + ca, and the same for a difference. So the two sides of each identity have the same value. When no variable stands in a denominator, every expression has a value at every value of its variables (lesson 1.3), so the two sides are equivalent (lesson 1.4).
To expand a product of a factor and a sum or difference is to replace it, by the distributive law, with the sum or difference of the products of the factor with each term. The parentheses disappear.[2]
By the Theorem, expanding gives an equivalent expression: the value never changes, only the way of writing it. Every term of the group is multiplied by the factor, the first and the last alike.[4] In the result each product is written as one term, number first (lesson 1.2): 7 · 3k becomes 21k, and x · 9 becomes 9x.[5]
A picture shows why the law holds when the numbers are lengths. A rectangle of height a and width b + c splits into a rectangle of width b and one of width c; its area a(b + c) is the sum of their areas, ab + ac. This is the area model of the distributive property.[6]
a(b + c) = ab + ac
3(x + 2) = 3x + 6
3(x + 2)
3(x − 2)
Expand 7(n + 4).
- Multiply each term of the group by 7: 7(n + 4) = 7n + 7 × 4.
- Work out the product of the numbers: 7 × 4 = 28.
- Check at n = 2: 7(2 + 4) = 7 × 6 = 42, and 7 × 2 + 28 = 14 + 28 = 42.
Answer: 7n + 28.
Expand (3k − 8) · 4.
- By the form (b − c)a = ba − ca: (3k − 8) · 4 = 3k · 4 − 8 × 4.
- Write each product as one term, number first: 3k · 4 = (3 × 4)k = 12k, and 8 × 4 = 32.
- Check at k = 5: (15 − 8) × 4 = 7 × 4 = 28, and 12 × 5 − 32 = 60 − 32 = 28.
Answer: 12k − 32.
Expand x(x + 9) and 3p(2p − 5q).
- x(x + 9) = x · x + x · 9. By the definition of a square, x · x = x², and x · 9 = 9x: the result is x² + 9x.
- 3p(2p − 5q) = 3p · 2p − 3p · 5q. Reordering the factors (lesson 1.2), 3p · 2p = (3 × 2)p · p = 6p², and 3p · 5q = 15pq.
- Check the second at p = 2, q = 1: 3 × 2 × (4 − 5) = 6 × (−1) = −6, and 6 × 4 − 15 × 2 = 24 − 30 = −6.
Answer: x² + 9x and 6p² − 15pq.
Negative and fractional factors
The Theorem holds for every rational value of the factor, so a negative number or a fraction is distributed in exactly the same way. With a negative factor the signs need care.[7] The rules are those of Rational Numbers 1.4: (−x)y = −(xy), and the product of two negative numbers is positive (Integers 3.2). So a negative factor changes the sign of every term it multiplies.
A quotient by a number is a product too. Dividing by a nonzero number d is multiplying by its reciprocal 1d (Rational Numbers 1.4), so a sum over a fraction bar is the reciprocal times the sum, and it expands term by term: B + Cd = 1d · (B + C) = Bd + Cd.
Expand −6(2w − 3).
- By the form for a difference: −6(2w − 3) = (−6)(2w) − (−6)(3).
- (−6)(2w) = −12w, and (−6)(3) = −18.
- Subtracting −18 is adding 18 (Integers 2.3): −12w − (−18) = −12w + 18.
- Check at w = 1: −6(2 − 3) = −6 × (−1) = 6, and −12 + 18 = 6.
Answer: −12w + 18. Both signs inside the parentheses changed: the 2w became negative and the −3 became +18.
Expand 34(8z − 12), 10a + 155 and 12(3t + 5).
- 34 · 8z = (34 × 8)z = 6z, and 34 × 12 = 9: the result is 6z − 9. Check at z = 2: 34 × (16 − 12) = 3, and 12 − 9 = 3.
- 10a + 155 = 15(10a + 15) = 2a + 3. Check at a = 1: 25 ÷ 5 = 5, and 2 + 3 = 5.
- 12(3t + 5) = 32t + 52. The coefficients need not be whole numbers. Check at t = 1: 12 × 8 = 4, and 32 + 52 = 82 = 4.
Answer: 6z − 9, 2a + 3 and 32t + 52.
Someone expands −4(x − 2) as −4x − 8. Find and correct the mistake.
- Test one value. At x = 0: −4(0 − 2) = −4 × (−2) = 8, but −4 × 0 − 8 = −8. The two expressions differ, so the expansion is wrong.
- The factor −4 multiplies both terms, 2 included: (−4)(x) = −4x, and (−4)(−2) = 8.
Answer: −4(x − 2) = −4x + 8. The minus sign of the factor was applied to the first term only.
Expand 1(y − 7), 0(y − 7) and (−1)(y − 7).
- 1 · y − 1 × 7 = y − 7: multiplying by 1 changes nothing (identity law).
- 0 · y − 0 × 7 = 0 − 0 = 0: a product with 0 is 0 (Rational Numbers 1.4).
- (−1)y − (−1) × 7 = −y − (−7) = −y + 7: the factor −1 gives the opposite of each term.
Answer: y − 7, 0 and −y + 7. The law holds in each case; the last one is the subject of Section 4.
Groups of several terms
A group may hold more than two terms, and the distributive law applies to it as well.[8] The law with two terms is enough to prove it, applied once for each extra term.
For expressions A, B, C, D, at every value of the variables at which all of them have a value, A(B + C + D) = AB + AC + AD. The same holds with any of the signs + replaced by −, and for any number of terms in the group: the factor multiplies each term, and each product keeps the sign of its term.
A sum of three terms is grouped from the left: B + C + D = (B + C) + D. Treat B + C as one expression and apply the two-term law: A((B + C) + D) = A(B + C) + AD. Apply it again to the first part: A(B + C) = AB + AC. So A(B + C + D) = AB + AC + AD. A term after a minus sign is the opposite of that term, added (Integers 2.3), and A times the opposite of a term is the opposite of A times the term (Rational Numbers 1.4), so each product keeps the sign of its term. With more terms, the same step is repeated once per extra term.
2x(3x + 4y + 5)
Expand 2x(3x + 4y + 5).
- 2x · 3x + 2x · 4y + 2x · 5, by the Theorem.
- Each product as one term: 2x · 3x = 6x², 2x · 4y = 8xy, 2x · 5 = 10x.
- Check at x = 1, y = 1: 2 × (3 + 4 + 5) = 24, and 6 + 8 + 10 = 24.
Answer: 6x² + 8xy + 10x. The three terms are unlike, so nothing combines.
Expand −3(2a² − a + 7).
- The products: (−3)(2a²) = −6a²; (−3)(−a) = 3a; (−3)(7) = −21.
- Add them, writing a negative term with a minus sign: −6a² + 3a − 21.
- Check at a = 1: −3 × (2 − 1 + 7) = −3 × 8 = −24, and −6 + 3 − 21 = −24.
Answer: −6a² + 3a − 21. All three signs changed.
A minus sign before parentheses
A minus sign directly in front of parentheses, as in −(x + 5), takes the opposite of the whole group. Multiplying by −1 gives the opposite,[9] so −(x + 5) = (−1)(x + 5), and the factor −1 can be distributed like any other.
For all expressions A, B and P, at every value of the variables at which they have values:
- −(A + B) = −A − B and −(A − B) = −A + B;
- P − (A + B) = P − A − B and P − (A − B) = P − A + B.
(1) −(A + B) = (−1)(A + B) = (−1)A + (−1)B = −A + (−B), which is −A − B, since adding the opposite is subtracting. In the same way −(A − B) = (−1)A − (−1)B = −A − (−B) = −A + B.
(2) Subtracting is adding the opposite: P − (A + B) = P + (−(A + B)), which by (1) is P + (−A − B), that is, P − A − B by the associative law. The second form follows in the same way.
In words: parentheses after a minus sign may be dropped if the sign of every term inside is changed. Wu states the same rule as “the removal of parentheses” by −(a − b) = −a + b.[10] Lesson 1.4 proved the case a − (b − c) = a − b + c (Equivalent expressions). A minus sign before a product, as in 10 − 3(y − 2), works the same way after the product is expanded: by the order of operations the multiplication comes before the subtraction (Order of Operations 1.3), so the parentheses are removed by distributing first.[11]
Expand −(5 − 2y).
- By part (1), change the sign of each term: −(5 − 2y) = −5 + 2y.
- The terms may be added in either order: −5 + 2y = 2y − 5.
- Check at y = 4: −(5 − 8) = −(−3) = 3, and 8 − 5 = 3.
Answer: 2y − 5. The opposite of 5 − 2y is 2y − 5: the two terms trade places.
Expand and simplify 10 − 3(y − 2).
- The product first: 3(y − 2) = 3y − 6.
- Subtract the whole product, by part (2): 10 − (3y − 6) = 10 − 3y + 6.
- Combine the constants (lesson 1.6): 10 + 6 = 16, so the result is 16 − 3y.
- Check at y = 2: 10 − 3 × 0 = 10, and 16 − 6 = 10.
Answer: 16 − 3y. Subtracting first, (10 − 3)(y − 2) = 7y − 14, breaks the order of operations: at y = 2 it gives 0, not 10.
Someone writes 12 − (3m + 5) = 12 − 3m + 5 = 17 − 3m. Find the error.
- At m = 0: 12 − (0 + 5) = 7, but 17 − 0 = 17. The values differ.
- The whole group 3m + 5 is subtracted, so both of its terms are: 12 − 3m − 5, by part (2).
- Combine: 12 − 5 = 7. Check at m = 0: 7.
Answer: 12 − (3m + 5) = 7 − 3m. The 5 must be subtracted, not added.
Expand it
- Round
- 1
- Score
- 0
- Streak
- 0
Expand: multiply every term in the parentheses by the factor, and type the coefficient of each product. Use a minus sign for a negative coefficient; a fraction may be typed as 3/2.
A product of two groups, such as (x + 2)(x + 3), is expanded by distributing twice: every term of the first group times every term of the second, as Multiplication 1.7 did for numbers. Products of this kind are the subject of the unit Polynomials, lesson 1.4, “Multiplying polynomials”. Read from right to left, the distributive law takes a common factor out of a sum: lesson 1.8, “Factoring out a common factor”. Lesson 1.9, “Simplifying expressions”, combines expanding with combining like terms (lesson 1.5, lesson 1.6). Expanding and factoring are among the properties of operations used to rewrite expressions.[12]
Exercises
Expand: (a) 9(p + 2); (b) 4(3c − 7); (c) (2u + 5) · 6; (d) y(4 − y).
▸ Show solution
(a) 9p + 18; (b) 12c − 28; (c) 12u + 30, since (2u + 5) · 6 = 2u · 6 + 5 × 6; (d) 4y − y², since y · 4 = 4y and y · y = y².
Expand: (a) −5(3h + 2); (b) −(8 − k); (c) −2(−4n − 9).
▸ Show solution
(a) (−5)(3h) + (−5)(2) = −15h − 10. (b) −(8 − k) = −8 + k = k − 8. (c) (−2)(−4n) − (−2)(9) = 8n + 18. Check (c) at n = 0: −2 × (−9) = 18.
Expand: (a) 23(6r + 9); (b) 14s − 217; (c) 14(2v − 1).
▸ Show solution
(a) 23 × 6 = 4 and 23 × 9 = 6: 4r + 6. (b) 17(14s − 21) = 2s − 3. (c) 14 · 2v − 14 × 1 = 12v − 14. Check (c) at v = 2: 14 × 3 = 34, and 1 − 14 = 34.
Expand 5b(2a − 3b + 1) and check the result at one value of the variables.
▸ Show solution
5b · 2a − 5b · 3b + 5b · 1 = 10ab − 15b² + 5b, writing 5b · 2a = 10ab with the variables in alphabetical order. Check at a = 2, b = 1: 5 × (4 − 3 + 1) = 10, and 20 − 15 + 5 = 10.
Someone writes −3(2x − 7) = −6x − 21. Show with one value that this is wrong, and correct it.
▸ Show solution
At x = 0 the left side is −3 × (−7) = 21 and the right side is −21, so the expansion is wrong. The factor −3 multiplies both terms: (−3)(2x) = −6x and (−3)(−7) = 21. Correct: −3(2x − 7) = −6x + 21.
Expand and simplify 15 − 4(2d − 3), and check at d = 1.
▸ Show solution
Multiplication first: 4(2d − 3) = 8d − 12. Then 15 − (8d − 12) = 15 − 8d + 12 = 27 − 8d. Check at d = 1: 15 − 4 × (−1) = 19, and 27 − 8 = 19.
Prove that −(A − B) = B − A for all expressions A and B (at every value where both have a value), and give an example.
▸ Show solution
−(A − B) = −A + B by the Proposition, and −A + B = B + (−A) = B − A by the commutative law and because adding the opposite is subtracting. So −(A − B) = B − A.
For example, −(x − 3) = 3 − x: at x = 10 both sides are −7.
For which rational numbers a, b, c is a(b + c) = ab + c true? Prove your answer.
▸ Show solution
By the distributive law a(b + c) = ab + ac, so the equation says ab + ac = ab + c. Adding −ab to both sides gives ac = c, and adding −c gives ac − c = 0, that is, (a − 1)c = 0 by the distributive law read backwards. By the zero-product property (Rational Numbers 1.4), this holds exactly when a − 1 = 0 or c = 0.
So a(b + c) = ab + c is true exactly when a = 1 or c = 0, and false otherwise: the mistake of multiplying only the first term gives the right value only in these special cases. For example, at a = 2, b = 1, c = 1: 2 × 2 = 4, but 2 + 1 = 3.
Summary
- The distributive law holds for expressions: A(B + C) = AB + AC and A(B − C) = AB − AC, also with the factor on the right. Expanding replaces a product by these sums, and the result is equivalent.
- The factor multiplies every term of the group, however many there are; each product keeps the sign of its term and is written as one term, number first.
- A negative factor changes the sign of every term; a fraction factor multiplies each coefficient by the fraction, and a sum over a fraction bar splits term by term.
- A minus sign before parentheses is the factor −1: −(A − B) = −A + B, and P − (A + B) = P − A − B. A product after a minus sign is expanded before anything is subtracted.
- Every expansion can be checked at one value of the variables; a value at which the two sides differ proves a mistake.
Sources
- 1.Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Elementary Algebra (2nd ed., OpenStax, Rice University, 2020).Chapter 1, “Foundations”, section 1.9, “Properties of Real Numbers” (“Simplify Expressions Using the Distributive Property”), p. 155 (the whole topic: pp. 155–159).
“If a, b, c are real numbers, then a(b + c) = ab + ac”
Used for: the distributive property for all numbers a, b, c; the same box lists the forms (b + c)a = ba + ca, a(b − c) = ab − ac and (b − c)a = ba − ca. - 2.Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Elementary Algebra (2nd ed., OpenStax, Rice University, 2020).Chapter 1, “Foundations”, section 1.9, “Properties of Real Numbers” (“Simplify Expressions Using the Distributive Property”), p. 155 (the whole topic: pp. 155–159).
“In algebra, we use the distributive property to remove parentheses as we simplify expressions.”
Used for: expanding uses the distributive law to remove parentheses. - 3.H. Wu, Introduction to School Algebra (draft of July 24, 2010, Department of Mathematics, University of California, Berkeley, 2010).Chapter 1, “Symbolic Expressions”, section “Mersenne primes and the finite geometric series”, p. 18 (the whole topic: pp. 16–18).
“If we use the distributive law to expand both expressions in the numbers a and b,”
Used for: the word expand, for rewriting a product by the distributive law (p. 18). - 4.Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Elementary Algebra (2nd ed., OpenStax, Rice University, 2020).Chapter 6, “Polynomials”, section 6.3, “Multiply Polynomials” (“Multiply a Polynomial by a Monomial”), p. 714 (the whole topic: pp. 714–716).
“You multiplied both terms in the parentheses, x and 3, by 2, to get 2x −6.”
Used for: in an expansion every term in the parentheses is multiplied by the factor. - 5.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.3, “Distributive Property” (“Simplify Expressions Using the Distributive Property”), p. 561 (the whole topic: pp. 557–563).
“the product of a number and a variable, we write the number first.”
Used for: when a term is the product of a number and a variable, the number is written first (the sentence begins on p. 560: “When a term is”); so after distributing, each product of a number and a variable is written with the number first (x · 9 = 9x). - 6.National Governors Association Center for Best Practices and Council of Chief State School Officers, “Common Core State Standards for Mathematics”, Common Core State Standards Initiative (2010).Section “Measurement and Data, standard 3.MD.7c (p. 25)”. corestandards.org/wp-content/uploads/2023/09/Math_Standards1.pdf · open at the quoted passage.
“Use area models to represent the distributive property in mathematical reasoning.”
Used for: the area model of the distributive property: a rectangle of width b + c split into two rectangles. - 7.Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Elementary Algebra (2nd ed., OpenStax, Rice University, 2020).Chapter 1, “Foundations”, section 1.9, “Properties of Real Numbers” (“Simplify Expressions Using the Distributive Property”), p. 157 (the whole topic: pp. 155–159).
“When we distribute a negative number, we need to be extra careful to get the signs correct!”
Used for: distributing a negative factor needs care with the signs. - 8.H. Wu, Introduction to School Algebra (draft of July 24, 2010, Department of Mathematics, University of California, Berkeley, 2010).Chapter 1, “Symbolic Expressions”, section “Polynomials and order of operations”, p. 20 (the whole topic: pp. 20–21).
“If we apply the distributive law, then the computation becomes easier:”
Used for: the distributive law applies to three products at once: (18 × 53) + (53 × 23) + (69 × 53) = (18 + 23 + 69) × 53 (Wu’s example, p. 20). - 9.Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Elementary Algebra (2nd ed., OpenStax, Rice University, 2020).Chapter 1, “Foundations”, section 1.9, “Properties of Real Numbers” (“Simplify Expressions Using the Distributive Property”), p. 158 (the whole topic: pp. 155–159).
“Multiplying by −1 results in the opposite.”
Used for: a minus sign before parentheses is multiplication by −1, which gives the opposite. - 10.H. Wu, Introduction to School Algebra (draft of July 24, 2010, Department of Mathematics, University of California, Berkeley, 2010).Chapter 1, “Symbolic Expressions”, section “Expressions and identities”, p. 15 (the whole topic: pp. 14–15).
“the distributive law for a difference, a(b −c) = ab −ac for all numbers a, b, c, and the removal of parentheses by −(a −b) = −a + b for all a, b.”
Used for: the distributive law for a difference, and the removal of parentheses after a minus sign, −(a − b) = −a + b (p. 15). - 11.Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Elementary Algebra (2nd ed., OpenStax, Rice University, 2020).Chapter 1, “Foundations”, section 1.9, “Properties of Real Numbers” (“Simplify Expressions Using the Distributive Property”), p. 158 (the whole topic: pp. 155–159).
“If the expression inside the parentheses cannot be simplified, the next step would be multiply using the distributive property, which removes the parentheses.”
Used for: within the order of operations, a product with a group is expanded (multiplication) before the subtraction in front of it. - 12.National Governors Association Center for Best Practices and Council of Chief State School Officers, “Common Core State Standards for Mathematics”, Common Core State Standards Initiative (2010).Section “Expressions and Equations, standard 7.EE.1 (p. 49)”. corestandards.org/wp-content/uploads/2023/09/Math_Standards1.pdf · open at the quoted passage.
“Apply properties of operations as strategies to add, subtract, factor, and expand linear expressions with rational coefficients.”
Used for: expanding and factoring are uses of the properties of operations to rewrite expressions.