Skip to content
Tutorials Center
My learning

Topics

Lesson 4 of 37 ยท Getting Started

The Distributive Property

Learn how the distributive property lets you multiply across brackets, handle negative signs, and simplify expressions, with examples and a runnable checker.

Imagine buying 3 tickets, where each ticket costs 12 dollars for entry plus 5 dollars for a snack. You can compute the cost as 3 ร— (12 + 5) = 3 ร— 17 = 51, or as 3 ร— 12 + 3 ร— 5 = 36 + 15 = 51. Same answer. This is the distributive property: multiplication distributes over addition.

It is one of the most used tools in algebra. It lets you remove brackets, and later it will let you do the reverse, called factoring.

The rule

For any numbers (or expressions) a, b and c:

Text
a(b + c) = ab + ac
a(b - c) = ab - ac

Multiply the outside factor by every term inside the brackets. Removing brackets this way is also called expanding.

Example 1. 4(x + 6) = 4x + 24.

Example 2. 3(2y - 5) = 6y - 15.

Example 3. -2(a + 7) = -2a - 14. The negative sign belongs to the 2, so it multiplies both terms.

Example 4. x(x + 3) = xยฒ + 3x, because x ยท x = xยฒ.

A picture with areas

A rectangle with height 4 and width x + 6 has area 4(x + 6). Cut it into two rectangles: one 4 by x (area 4x) and one 4 by 6 (area 24). The total area is 4x + 24.

flowchart LR
    A["4(x + 6)"] --> B["4 ยท x = 4x"]
    A --> C["4 ยท 6 = 24"]
    B --> D["4x + 24"]
    C --> D

The outside factor multiplies each term in the brackets, and the results are added.

Negative signs in front of brackets

A minus sign in front of brackets means multiply by -1, so it changes the sign of every term inside.

Example 5. -(x - 4) = -x + 4.

Example 6. 5 - 2(x + 3). First distribute: -2(x + 3) = -2x - 6. Then 5 - 2x - 6 = -2x - 1.

Do not subtract 2 from 5 first. The order of operations says multiplication comes before subtraction.

The most common error is to multiply only the first term: 3(x + 4) = 3x + 4 is wrong. The correct answer is 3x + 12.

Python Test the distributive property

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

This is a spot check, not a proof. A proof needs a general argument, such as the area picture above.

Combining distribution with like terms

Many problems expand first and then collect like terms (previous lesson).

Example 7. Simplify 3(x + 2) + 2(x - 5).

  • Expand: 3x + 6 + 2x - 10
  • Combine: 5x - 4

Example 8. Simplify 4(2a - 1) - 3(a + 2).

  • Expand: 8a - 4 - 3a - 6
  • Combine: 5a - 10

Notice the second bracket: -3(a + 2) = -3a - 6. The minus sign goes into both terms.

Python Expand with SymPy and check by substitution

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Distributing a fraction or a decimal

The rule works with any number. 1/2 (6x + 10) = 3x + 5. And 0.5(8 - 2y) = 4 - y.

Common mistakes

  1. Missing a term: 2(x + y + 3) is 2x + 2y + 6, with three products.
  2. Sign errors: -3(x - 2) = -3x + 6, because (-3)(-2) = +6.
  3. Distributing over multiplication: 2(3x) is just 6x. You do not multiply the 2 into more than one term, because there is only one term inside.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. Expand 5(x + 3).

    Multiply 5 by both terms: 5x + 15.
  2. 2. Expand -2(y - 4).

    (-2)(y) = -2y and (-2)(-4) = +8.
  3. 3. Simplify 3(x + 1) + 2(x - 4).

    Expand to 3x + 3 + 2x - 8, then combine: 5x - 5.
  4. 4. Simplify 6 - (2x - 3).

    The minus sign flips both signs: 6 - 2x + 3 = 9 - 2x.

Summary

  • a(b + c) = ab + ac: multiply the outside factor by every term inside.
  • A minus sign before brackets changes the sign of every term inside.
  • Expand first, then combine like terms.
  • Always count your terms: each term inside gives one product.

Next: Translating Words into Algebra