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³.
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³