The distributive property works for any number of terms in a bracket.
Example 1: (3a/2)(a − b + 1/5) = (3a/2 × a) − (3a/2 × b) + (3a/2 × 1/5) = (3/2)a² − (3/2)ab + (3/10)a.
Can any of these be joined into one term? Only like terms (terms with exactly the same letter-numbers) can be added. a², ab and a are all different, so this is as simple as it gets.
Example 2: (a + b)(a + b) = a × a + b × a + a × b + b × b = a² + ba + ab + b². Since ba = ab, these are like terms: ba + ab = 2ab. So (a + b)(a + b) = a² + 2ab + b².
Example 3: (a + b)(a² + 2ab + b²). Multiply each of a and b by each of the three terms:
- a × a² = a³, a × 2ab = 2a²b, a × b² = ab²
- b × a² = a²b, b × 2ab = 2ab², b × b² = b³
Collect like terms: a²b + 2a²b = 3a²b and ab² + 2ab² = 3ab². So the product is a³ + 3a²b + 3ab² + b³.
More practice in the same style. A number outside a bracket works the same way: (2/3)(15 + 6a) = 10 + 4a. With three terms in one bracket: (a + ab − 3b²)(4 + b) = 4a + 4ab − 12b² + ab + ab² − 3b³ = 4a + 5ab + ab² − 12b² − 3b³.
A chain of identities. Multiply (a − b) by longer and longer brackets and almost everything cancels:
- (a − b)(a + b) = a² − b²
- (a − b)(a² + ab + b²) = a³ − b³
- (a − b)(a³ + a²b + ab² + b³) = a⁴ − b⁴
The next one in the chain is (a − b)(a⁴ + a³b + a²b² + ab³ + b⁴) = a⁵ − b⁵; expand it to check.
A pinch of history. Mathematicians in ancient Egypt, Mesopotamia, Greece, China and India used this property without naming it; Euclid used it in geometric form and Āryabhaṭa in algebraic form. Brahmagupta first stated it outright in his Brahmasphuṭasiddhānta (Verse 12.55), calling it khaṇḍa-guṇanam, multiplication by parts: break the multiplier into parts, multiply by each part, and add.
Tap the diagram to enlarge it
- Only like terms can be added
- (a + b)² = a² + 2ab + b²
- (a + b)³ = a³ + 3a²b + 3ab² + b³