Curvingo · Made in India

Glossary

Select one of the keywords on the left…

Binomial TheoremBinomial Theorem for Positive Integral Indices

Reading time: ~60 min

Start with the expansions you already know:

(a + b)^0 = 1 \quad (a + b \neq 0)

(a + b)^1 = a + b

(a + b)^2 = a^2 + 2ab + b^2

(a + b)^3 = a^3 + 3a^2b + 3ab^2 + b^3

\begin{aligned}(a + b)^4 = {}& a^4 + 4a^3b + 6a^2b^2 \\ & + 4ab^3 + b^4\end{aligned}

Each line is the line above it multiplied by (a + b). Throughout this chapter the first term a is blue, the second term b is green, and the numbers in front of the terms — the coefficients — are purple.

The multiplying machine. Every press multiplies the expansion by (a + b) and shows the working: everything times a, everything times b, and then the like terms added up. Multiply your way up to (a + b)^5.

Look at the last press. The × a row is the old row of coefficients. The × b row is the same numbers, moved one place to the right. So each number in the new row is the sum of the two numbers stacked above it.

Three more things hold for every expansion you built.

(i) It has term than its index, the power on (a + b). For example, (a + b)^2 has index 2 and 3 terms.

(ii) From each term to the next, the power of a by 1, while the power of b goes up by 1.

(iii) In every term, the powers of a and b add up to the .

Now write down only the coefficients, one row for each index (Fig 7.1):

IndexCoefficients
01
11    1
21    2    1
31    3    3    1
41    4    6    4    1

Every row starts and ends with 1, and each number inside it is the sum of the two numbers above it — 1 + 1 makes the 2 in row 2, while 1 + 2 and 2 + 1 make the two 3s in row 3. With that one rule we can write as many rows as we like.

Pascal's Triangle

Let's keep going. Stack the rows so that every number sits between the two numbers that make it, and they grow into a triangle — Fig 7.2. Fill in rows 5 and 6. Tap a cell and the two numbers that feed it light up.

This array is called Pascal's triangle, after the French mathematician Blaise Pascal. In India it is far older: the poet and mathematician Pingala described it as Meru Prastara, the staircase of Mount Meru.

Meru Prastara

The triangle was discovered again and again, long before anyone called it Pascal's. Pingala's Chhandas Shastra, a book about the rhythms of Sanskrit verse, laid out these numbers for powers up to 7 in about 200 BCE. The Chinese mathematician Zhu Shijie (Chu Shih-chieh) drew the triangle in 1303. In Germany, Michael Stifel gave the numbers their name, binomial coefficients, around 1544. Rafael Bombelli listed the coefficients of (a + b)^n up to n = 7 in 1572, and William Oughtred up to n = 10 in 1631. Pascal's Traité du triangle arithmétique, printed in 1665 after his death, stated the theorem for whole-number powers in the form we use today.

Put these milestones in order, earliest at the top.

Bombelli lists the coefficients up to the power 7
Pingala arranges them as Meru Prastara
Pascal's book on the arithmetic triangle is printed
Zhu Shijie draws the triangle in China
Oughtred lists the coefficients up to the power 10
Stifel names them binomial coefficients

Nearly two thousand years separate the first milestone from the last, and every one of these mathematicians was looking at the same rows you have just filled in.

Expanding with a Row

A row of the triangle is all you need to expand a binomial. Take (2x + 3y)^5. Here 2x plays the part of a, 3y plays the part of b, and row 5 is 1, 5, 10, 10, 5, 1. Using (i), (ii) and (iii),

\begin{aligned}(2x + 3y)^5 = {}& (2x)^5 + 5(2x)^4(3y) \\ & + 10(2x)^3(3y)^2 + 10(2x)^2(3y)^3 \\ & + 5(2x)(3y)^4 + (3y)^5\end{aligned}

Now simplify one term at a time. Raise the number and the letter to the power:

(2x)^5 = 32x^5

5(2x)^4(3y) = 5 \times 16 \times 3\,x^4y = x^4y

10(2x)^3(3y)^2 = 10 \times 8 \times 9\,x^3y^2 = x^3y^2

10(2x)^2(3y)^3 = 10 \times 4 \times 27\,x^2y^3 = x^2y^3

5(2x)(3y)^4 = 5 \times 2 \times 81\,xy^4 = xy^4

and (3y)^5 = 243y^5. So

\begin{aligned}(2x + 3y)^5 = {}& 32x^5 + 240x^4y + 720x^3y^2 \\ & + 1080x^2y^3 + 810xy^4 + 243y^5\end{aligned}

Choosing from Brackets

Now try (2x + 3y)^{12} the same way. You would first have to write out every row of the triangle down to row 12 — and for bigger powers, even more. We want a way to jump straight to any row. The trick is to ask where the numbers come from.

(a + b)^4 means (a + b)(a + b)(a + b)(a + b). To multiply it out, you pick a or b from each bracket, multiply your four picks together, and do this for every possible set of picks. Tap a bracket to switch its pick between a and b. Find every way to make a^2b^2.

Six ways — and 6 is exactly the middle number of row 4. You get one a^2b^2 for every way of choosing which 2 of the 4 brackets give b. Counting choices is the job of combinations, which you met in Chapter 6: {}^4C_2 = 6. In the same way, a^3b turns up {}^4C_1 = times.

In general, the coefficient of a^{n-r}b^r in (a + b)^n is the number of ways to choose the r brackets that give b:

{}^nC_r = \dfrac{n!}{r!\,(n - r)!}, \quad 0 \le r \le n

where n is a integer. Also {}^nC_0 = 1 = {}^nC_n: there is exactly one way to choose no bracket at all, and one way to choose all of them.

So every entry of Pascal's triangle can be written as a combination (Fig 7.3):

IndexCoefficients
0{}^{0}C_{0}
1{}^{1}C_{0}   {}^{1}C_{1}
2{}^{2}C_{0}   {}^{2}C_{1}   {}^{2}C_{2}
3{}^{3}C_{0}   {}^{3}C_{1}   {}^{3}C_{2}   {}^{3}C_{3}
4{}^{4}C_{0}   {}^{4}C_{1}   {}^{4}C_{2}   {}^{4}C_{3}   {}^{4}C_{4}
5{}^{5}C_{0}   {}^{5}C_{1}   {}^{5}C_{2}   {}^{5}C_{3}   {}^{5}C_{4}   {}^{5}C_{5}

Now any row can be written down without the rows above it. Row 7, for instance, is {}^7C_0, {}^7C_1, \ldots, {}^7C_7, so

\begin{aligned}(a + b)^7 = {}& {}^7C_0\,a^7 + {}^7C_1\,a^6b + {}^7C_2\,a^5b^2 \\ & + {}^7C_3\,a^4b^3 + {}^7C_4\,a^3b^4 \\ & + {}^7C_5\,a^2b^5 + {}^7C_6\,ab^6 + {}^7C_7\,b^7\end{aligned}

Tip

You never need the rows above. Counting places from 0, the number in place r of row n is {}^nC_r. For example, the middle of row 10 is {}^{10}C_5 = .

Speed Round: Read the Triangle

Every number in Pascal's triangle is some {}^nC_r. Work these out in your head. The triangle is symmetric, so {}^nC_r = {}^nC_{n-r} — use whichever keeps the numbers small, and cancel before you multiply.

Get five right to move on.

7.2.1 Binomial theorem for any positive integer n

Everything you have found so far fits into one statement.

Binomial theorem. For every positive integer n,

\begin{aligned}(a + b)^n = {}& {}^nC_0\,a^n + {}^nC_1\,a^{n-1}b \\ & + {}^nC_2\,a^{n-2}b^2 + \cdots \\ & + {}^nC_{n-1}\,ab^{n-1} + {}^nC_n\,b^n\end{aligned}

We have checked it for small powers. To be sure it holds for every n, we prove it by the principle of mathematical induction.

The idea of induction. Think of a long line of dominoes. Knock over the first one, and make sure that every domino, as it falls, knocks over the one. Then all of them fall. For our theorem: check it for n = 1, then show that whenever it is true for some n = k, it must also be true for n = k + 1.

Proof. Let P(n) be the statement of the theorem.

Step 1: the first domino. For n = 1, the right-hand side is {}^1C_0\,a + {}^1C_1\,b = a + b, which is (a + b)^1. So P(1) is .

Step 2: suppose one domino falls. Suppose P(k) is true for some positive integer k, that is,

\begin{aligned}(a + b)^k = {}& {}^kC_0\,a^k + {}^kC_1\,a^{k-1}b + \cdots \\ & + {}^kC_{k-1}\,ab^{k-1} + {}^kC_k\,b^k \qquad (1)\end{aligned}

Step 3: the next one falls. Write (a + b)^{k+1} = (a + b)(a + b)^k and multiply (1) once by a and once by b — exactly what the multiplying machine did:

\begin{aligned}a(a + b)^k = {}& {}^kC_0\,a^{k+1} + {}^kC_1\,a^kb \\ & + \cdots + {}^kC_k\,ab^k\end{aligned}

\begin{aligned}b(a + b)^k = {}& {}^kC_0\,a^kb + \cdots \\ & + {}^kC_{k-1}\,ab^k + {}^kC_k\,b^{k+1}\end{aligned}

Add the two lines and collect like terms. Each bracket takes one coefficient from each line, just like the × a and × b rows:

\begin{aligned}(a + b)^{k+1} = {}& {}^kC_0\,a^{k+1} \\ & + ({}^kC_1 + {}^kC_0)\,a^kb \\ & + ({}^kC_2 + {}^kC_1)\,a^{k-1}b^2 + \cdots \\ & + ({}^kC_k + {}^kC_{k-1})\,ab^k \\ & + {}^kC_k\,b^{k+1}\end{aligned}

Each bracket is the "add the two numbers above" rule of the triangle, written with combinations. It is called Pascal's rule:

{}^kC_r + {}^kC_{r-1} = {}^{k+1}C_r

Check it on row 5: {}^5C_2 + {}^5C_1 = 10 + 5 = , and {}^6C_2 is 15 too.

Using Pascal's rule, together with {}^kC_0 = 1 = {}^{k+1}C_0 and {}^kC_k = 1 = {}^{k+1}C_{k+1},

\begin{aligned}(a + b)^{k+1} = {}& {}^{k+1}C_0\,a^{k+1} + {}^{k+1}C_1\,a^kb \\ & + \cdots + {}^{k+1}C_k\,ab^k \\ & + {}^{k+1}C_{k+1}\,b^{k+1}\end{aligned}

which is exactly P(k + 1). So P(k + 1) is true whenever P(k) is true. As P(1) is true, the principle of mathematical induction tells us that P(n) is true for positive integer n.

Put the steps of the proof in order.

Multiply the expansion of the k-th power by a and by b
Check the statement for n = 1
Conclude that it is true for n = k + 1, and so for every n
Assume the statement is true for some n = k
Collect like terms and use Pascal's rule

That is the shape of every induction proof: a first case, and a step that carries any case on to the next one.

Term by Term

Let's put the theorem to work on (x + 2)^6. Here a = x, b = 2 and n = 6, so the terms are {}^6C_0\,x^6, {}^6C_1\,x^5 \cdot 2, {}^6C_2\,x^4 \cdot 2^2, and so on up to {}^6C_6 \cdot 2^6. The first term is done for you. Simplify the other six: tap the right answer in each row.

So

\begin{aligned}(x + 2)^6 = {}& x^6 + 12x^5 + 60x^4 + 160x^3 \\ & + 240x^2 + 192x + 64\end{aligned}

Observations

Here is what every expansion has in common. Keep these in mind and most slips get caught on their own.

1. The sigma form. The theorem can be written in one short line with the sigma sign, which means "add up the terms for k = 0, 1, 2, …, n":

(a + b)^n = \sum_{k=0}^{n} {}^nC_k\,a^{n-k}b^k

where a^0 and b^0 are read as 1.

2. Binomial coefficients. The numbers {}^nC_r that appear in the expansion are called the binomial coefficients.

3. The number of terms. (a + b)^n has terms.

4. The powers. The power of a starts at n and falls by 1 from term to term, down to in the last term; at the same time the power of b rises from 0 up to n.

5. The sum of the powers. In every term the powers of a and b add up to n: n + 0, then (n - 1) + 1, and so on to 0 + n.

Quick check: which of these could be a term of (a + b)^9?

126a4b4
84a4b5
126a4b5
9a8b2

Right: the powers add up to 4 + 5 = 9, and the coefficient is {}^9C_5 = {}^9C_4 = 126.

Some special cases

(i) A minus sign inside the bracket. Put a = x and b = -y. Odd powers of -y are negative and even powers are positive, so the signs of the terms alternate:

\begin{aligned}(x - y)^n = {}& {}^nC_0\,x^n - {}^nC_1\,x^{n-1}y \\ & + {}^nC_2\,x^{n-2}y^2 - \cdots \\ & + (-1)^n\,{}^nC_n\,y^n\end{aligned}

Try it on (x - 2y)^5. Watch the signs as well as the numbers.

\begin{aligned}(x - 2y)^5 = {}& x^5 - 10x^4y + 40x^3y^2 \\ & - 80x^2y^3 + 80xy^4 - 32y^5\end{aligned}

Every other term is negative: exactly the terms with an odd power of -2y.

(ii) When the first term is 1. Put a = 1 and b = x:

\begin{aligned}(1 + x)^n = {}& {}^nC_0 + {}^nC_1\,x + {}^nC_2\,x^2 \\ & + \cdots + {}^nC_n\,x^n\end{aligned}

Now put x = 1:

2^n = {}^nC_0 + {}^nC_1 + {}^nC_2 + \cdots + {}^nC_n

(iii) A minus sign as well. Put a = 1 and b = -x:

\begin{aligned}(1 - x)^n = {}& {}^nC_0 - {}^nC_1\,x + {}^nC_2\,x^2 \\ & - \cdots + (-1)^n\,{}^nC_n\,x^n\end{aligned}

and putting x = 1 gives

0 = {}^nC_0 - {}^nC_1 + {}^nC_2 - \cdots + (-1)^n\,{}^nC_n

So every row of Pascal's triangle adds up to a power of 2, and with alternate signs it adds up to 0.

Test both claims on the triangle.

Row n = ${n}

Row 8 is the one: (1 + 1)^8 = 256 and (1 - 1)^8 = 0. There is a counting reason too: in the bracket game, every one of 8 brackets can give a or b, so there are 2^8 = 256 sets of picks in all — and row 8 just sorts them by how many b's they contain.

Worked Examples

Example 1 : Expand \left(x^2 + \dfrac{3}{x}\right)^4, x \neq 0.

Solution : Here a = x^2, b = \dfrac{3}{x} and row 4 is 1, 4, 6, 4, 1. So

\begin{aligned}\left(x^2 + \frac{3}{x}\right)^4 = {}& (x^2)^4 + 4(x^2)^3\left(\frac{3}{x}\right) \\ & + 6(x^2)^2\left(\frac{3}{x}\right)^2 + 4(x^2)\left(\frac{3}{x}\right)^3 \\ & + \left(\frac{3}{x}\right)^4\end{aligned}

Simplify the three middle terms:

4 \cdot x^6 \cdot \dfrac{3}{x} =

6 \cdot x^4 \cdot \dfrac{9}{x^2} =

4 \cdot x^2 \cdot \dfrac{27}{x^3} =

The first term is x^8 and the last is \dfrac{81}{x^4}, so

\begin{aligned}\left(x^2 + \frac{3}{x}\right)^4 = {}& x^8 + 12x^5 + 54x^2 \\ & + \frac{108}{x} + \frac{81}{x^4}\end{aligned}

Example 2 : Compute (98)^5.

Solution : Powers of 98 are awkward, but powers of 100 and of 2 are easy. So write 98 = 100 - 2 and expand (100 - 2)^5: six easy terms instead of four hard multiplications. Because 2 is subtracted, the terms alternate in sign.

Give each term its sign and watch the total build up.

Written out in full:

\begin{aligned}(98)^5 = {}& (100 - 2)^5 \\ = {}& {}^5C_0(100)^5 - {}^5C_1(100)^4(2) \\ & + {}^5C_2(100)^3(2)^2 - {}^5C_3(100)^2(2)^3 \\ & + {}^5C_4(100)(2)^4 - {}^5C_5(2)^5\end{aligned}

\begin{aligned}= {}& 10000000000 - 1000000000 \\ & + 40000000 - 800000 + 8000 - 32 \\ = {}& 10040008000 - 1000800032 \\ = {}& 9039207968\end{aligned}

Example 3 : Which is larger, (1.01)^{1000000} or 10,000?

Make your call before you calculate.

10,000
(1.01)1000000
They are equal

Solution : Split 1.01 as 1 + 0.01 and write only the first two terms of the expansion. All the other terms are positive:

\begin{aligned}(1.01)^{1000000} &= (1 + 0.01)^{1000000} \\ &= {}^{1000000}C_0 + {}^{1000000}C_1(0.01) \\ &\quad + \text{other positive terms} \\ &= 1 + 1000000 \times 0.01 + \cdots \\ &= 1 + 10000 + \text{other positive terms} \\ &> 10000\end{aligned}

Hence (1.01)^{1000000} > 10000.

Tip

To compare (1 + x)^n with a number when x > 0, the first two terms are often enough: (1 + x)^n \geq 1 + nx, because every term after them is positive.

Example 4 : Using binomial theorem, prove that 6^n - 5n always leaves remainder 1 when divided by 25.

A proof has to cover every n at once. Before proving the claim, test it.

Test it: change n and check the remainder each time.

n = ${n}

Solution : When a = bq + r, we say that dividing a by b gives quotient q and remainder r. So we have to show that 6^n - 5n = 25k + 1 for some whole number k.

By special case (ii),

\begin{aligned}(1 + a)^n = {}& {}^nC_0 + {}^nC_1\,a + {}^nC_2\,a^2 \\ & + \cdots + {}^nC_n\,a^n\end{aligned}

Put a = :

\begin{aligned}6^n = {}& 1 + 5n + 5^2\,{}^nC_2 \\ & + 5^3\,{}^nC_3 + \cdots + 5^n\end{aligned}

Every term after 5n contains the factor 5^2 = , so

\begin{aligned}6^n - 5n &= 1 + 25\big({}^nC_2 + 5\,{}^nC_3 \\ &\qquad + \cdots + 5^{n-2}\big) \\ &= 25k + 1\end{aligned}

where k = {}^nC_2 + 5\,{}^nC_3 + \cdots + 5^{n-2} is a whole number. So 6^n - 5n leaves remainder when divided by 25, for every positive integer n.

Speed Round: Coefficient Detective

The last challenge of the chapter: no full expansions allowed. In (x + k)^n the term with x^{n-r} is {}^nC_r\,x^{n-r}k^r, so its coefficient is {}^nC_r\,k^r. Watch the sign when k is negative.

Get five right to move on.

Sina