- Foundation
- About 13 min
- 5 practice questions
Expanding (a + b)ⁿ and Pascal's triangle
Expand (a + b)², (a + b)³ and (a + b)⁴, spot the pattern in the powers, and read the coefficients from Pascal's triangle, including expressions with a minus sign.
If something looks wrong, please tell us.
A binomial is an expression with two terms, such as a + b, x + 2 or 2x − 3. Raising a binomial to a power, for example (x + 2)⁵, comes up again and again in algebra, in counting and in approximations. Multiplying the brackets out one by one is slow and error-prone. This first lesson finds the pattern behind these expansions, so that later lessons can turn it into one formula: the binomial theorem.
Multiplying out the small powers
You already know (a + b)² = a² + 2ab + b². Multiply once more by (a + b): (a + b)³ = (a² + 2ab + b²)(a + b) = a³ + a²b + 2a²b + 2ab² + ab² + b³ = a³ + 3a²b + 3ab² + b³. Once more gives (a + b)⁴ = a⁴ + 4a³b + 6a²b² + 4ab³ + b⁴.
Three patterns in the powers
- (a + b)ⁿ has n + 1 terms. For example, (a + b)⁴ has 5 terms.
- The power of a starts at n and goes down by 1 in each term to 0; the power of b starts at 0 and goes up by 1 to n.
- In every term the two powers add up to n. In (a + b)⁴, the term 6a²b² has 2 + 2 = 4.
Pascal's triangle
The numbers in front of the terms are called coefficients. Write them in rows, one row for each power, and a beautiful pattern appears: each row starts and ends with 1, and every other number is the sum of the two numbers just above it. This arrangement is called Pascal's triangle.
| Power n | Coefficients |
|---|---|
| 0 | 1 |
| 1 | 1 1 |
| 2 | 1 2 1 |
| 3 | 1 3 3 1 |
| 4 | 1 4 6 4 1 |
| 5 | 1 5 10 10 5 1 |
| 6 | 1 6 15 20 15 6 1 |
For example, in row 5 the number 10 comes from 4 + 6 just above it, and in row 6 the number 20 comes from 10 + 10.
Two quick checks catch most mistakes in a row. First, every row reads the same forwards and backwards: 1, 4, 6, 4, 1. Second, the numbers in row n add up to 2ⁿ: 1 + 4 + 6 + 4 + 1 = 16 = 2⁴, and 1 + 5 + 10 + 10 + 5 + 1 = 32 = 2⁵. If your row is not symmetric or does not add up to a power of 2, one of its entries is wrong and should be recomputed before you expand anything.
Each row of Pascal's triangle starts and ends with 1, and each inside number is the sum of the two numbers above it. Row n gives the coefficients of (a + b)ⁿ.
Worked example 1: (x + 2)³
Use row 3: 1, 3, 3, 1, with a = x and b = 2. (x + 2)³ = 1·x³ + 3·x²·2 + 3·x·2² + 1·2³ = x³ + 6x² + 12x + 8. Notice that the powers of 2 must be worked out too: 3·x·4 = 12x.
Worked example 2: (a − b)³
Write a − b as a + (−b). Odd powers of −b are negative and even powers are positive, so the signs alternate: (a − b)³ = a³ + 3a²(−b) + 3a(−b)² + (−b)³ = a³ − 3a²b + 3ab² − b³.
Worked example 3: (x + 3)²
Row 2 is 1, 2, 1. (x + 3)² = x² + 2·x·3 + 3² = x² + 6x + 9. A common slip is to write x² + 9, forgetting the middle term; Pascal's row reminds you there are three terms.
Worked example 4: (1 + x)⁴
Row 4 is 1, 4, 6, 4, 1, with a = 1 and b = x. Every power of 1 is just 1, so the coefficients appear unchanged: (1 + x)⁴ = 1 + 4x + 6x² + 4x³ + x⁴. Written this way, with the powers of x rising, the coefficient of each power of x can be read straight from Pascal's triangle.
Key takeaways: (a + b)ⁿ has n + 1 terms, the power of a falls from n to 0 while the power of b rises from 0 to n, and the coefficients come from row n of Pascal's triangle. With a minus sign, the signs alternate.
Check your understanding
-
1. How many terms are there in the expansion of (a + b)⁷?
- 7
- 14
- 8
- 6
Show answer
Answer: C. (a + b)ⁿ has n + 1 terms, so 7 + 1 = 8.
-
2. Using Pascal's triangle, what is the coefficient of a³b² in (a + b)⁵?
- 10
- 5
- 3
- 6
Show answer
Answer: A. Row 5 is 1, 5, 10, 10, 5, 1. The term a³b² is the third term, with coefficient 10.
-
3. What is the expansion of (x + 3)²?
- x² + 9
- x² + 3x + 9
- x² + 6x + 6
- x² + 6x + 9
Show answer
Answer: D. Row 2 is 1, 2, 1: x² + 2·x·3 + 3² = x² + 6x + 9.
-
4. What is the coefficient of x in the expansion of (x + 2)³?
- 6
- 12
- 3
- 8
Show answer
Answer: B. (x + 2)³ = x³ + 6x² + 12x + 8. The x term is 3·x·2² = 12x.
-
5. What is the coefficient of a³b in the expansion of (a − b)⁴?
- 4
- −4
- −6
- 6
Show answer
Answer: B. Row 4 is 1, 4, 6, 4, 1 and the signs alternate: a⁴ − 4a³b + 6a²b² − 4ab³ + b⁴. So the coefficient is −4.
Sign in to keep track of the lessons you finish.