Where we are headed

(a+b)2(a + b)^2 and (a+b)3(a + b)^3 you already know by heart. But (a+b)10(a + b)^{10}? Nobody mul­ti­plies that out by hand. The good news is that its coef­fi­cients are sim­ply counts of ways to choose. We will build Pas­cal's tri­an­gle, prove the bino­mial the­o­rem for pos­i­tive inte­ger pow­ers, and then put it to work: expand­ing brack­ets, work­ing out pow­ers quickly, and decid­ing which of two large num­bers is big­ger.

Pas­cal's tri­an­gle

11112113311464115101051\begin{array}{c} 1 \\ 1\quad 1 \\ 1\quad 2\quad 1 \\ 1\quad 3\quad 3\quad 1 \\ 1\quad 4\quad 6\quad 4\quad 1 \\ 1\quad 5\quad 10\quad 10\quad 5\quad 1 \end{array}

Look at any entry: it is the sum of the two num­bers just above it. That is Pas­cal's rule, nCr−1+nCr=n+1Cr^nC_{r-1} + {}^nC_r = {}^{n+1}C_r. Row nn sim­ply lists nC0,nC1,…,nCn^nC_0, {}^nC_1, \ldots, {}^nC_n. Long before Pas­cal, Pin­gala knew this pat­tern and called it the Meru Pras­tara.

Pascal's triangle from row 0 to row 5 with each number in a circle; in row 4 the entries 4 and 6 are highlighted with arrows to the 10 below them in row 5, showing 4 + 6 = 10.
Pas­cal's tri­an­gle: each entry is the sum of the two above it

The bino­mial the­o­rem

For a pos­i­tive inte­ger nn,

(a+b)n=∑k=0nnCk an−kbk=nC0an+nC1an−1b+⋯+nCnbn.\displaystyle (a + b)^n = \sum_{k=0}^{n} {}^nC_k\, a^{n-k} b^k = {}^nC_0 a^n + {}^nC_1 a^{n-1} b + \cdots + {}^nC_n b^n.

Why does this work? When you mul­ti­ply out the brack­ets, each term is made by pick­ing aa or bb from each of the nn brack­ets. So the term an−kbka^{n-k}b^k turns up once for every way of choos­ing which kk brack­ets give you bb, which means exactly nCk^nC_k times. (If you pre­fer a proof by induc­tion, Pas­cal's rule does the heavy lift­ing.)

Things worth notic­ing. You get n+1n + 1 terms. The pow­ers of aa fall from nn to 00 while the pow­ers of bb climb, and coef­fi­cients the same dis­tance from either end are equal. Put a=b=1a = b = 1 and you get ∑nCk=2n\displaystyle \sum {}^nC_k = 2^n. Take a=1a = 1, b=−1b = -1 instead and you find nC0−nC1+nC2−⋯=0^nC_0 - {}^nC_1 + {}^nC_2 - \cdots = 0.

Two cases you will use con­stantly. (a−b)n=∑(−1)k nCk an−kbk\displaystyle (a - b)^n = \sum (-1)^k\, {}^nC_k\, a^{n-k}b^k, and (1+x)n=∑nCkxk\displaystyle (1 + x)^n = \sum {}^nC_k x^k.

Putting it to work

Exam­ple 1. (2x+3)4=16x4+4(8x3)(3)+6(4x2)(9)+4(2x)(27)+81=16x4+96x3+216x2+216x+81(2x + 3)^4 = 16x^4 + 4(8x^3)(3) + 6(4x^2)(9) + 4(2x)(27) + 81 = 16x^4 + 96x^3 + 216x^2 + 216x + 81.

Exam­ple 2. (x−1x)5=x5−5x3+10x−10x+5x3−1x5\displaystyle \left(x - \tfrac{1}{x}\right)^5 = x^5 - 5x^3 + 10x - \tfrac{10}{x} + \tfrac{5}{x^3} - \tfrac{1}{x^5}.

Exam­ple 3. A neat trick for men­tal arith­metic: (99)4=(100−1)4=108−4⋅106+6⋅104−4⋅102+1=96,059,601(99)^4 = (100 - 1)^4 = 10^8 - 4 \cdot 10^6 + 6 \cdot 10^4 - 4 \cdot 10^2 + 1 = 96{,}059{,}601.

Exam­ple 4. Which is big­ger, (1.02)50(1.02)^{50} or 22? Expand just the first few terms: (1+0.02)50=1+50(0.02)+50⋅492(0.0004)+⋯=1+1+0.49+⋯>2\displaystyle (1 + 0.02)^{50} = 1 + 50(0.02) + \tfrac{50 \cdot 49}{2}(0.0004) + \cdots = 1 + 1 + 0.49 + \cdots > 2.

Exam­ple 5. (a+b)4−(a−b)4=2[4a3b+4ab3]=8ab(a2+b2)(a + b)^4 - (a - b)^4 = 2[4a^3 b + 4ab^3] = 8ab(a^2 + b^2). Now watch how quickly (3+2)4−(3−2)4=86(5)=406(\sqrt{3} + \sqrt{2})^4 - (\sqrt{3} - \sqrt{2})^4 = 8\sqrt{6}(5) = 40\sqrt{6}.

Exam­ple 6. 6n−5n6^n - 5n always leaves remain­der 11 when divided by 2525, and the expan­sion shows why: 6n=(1+5)n=1+5n+25[nC2+5 nC3+⋯ ]6^n = (1 + 5)^n = 1 + 5n + 25\left[{}^nC_2 + 5\,{}^nC_3 + \cdots\right].

Try these your­self

  1. Write row 77 of Pas­cal's tri­an­gle.
  2. Expand: (x+2y)5(x + 2y)^5; (3−x)4(3 - x)^4; (x2+2x)4\displaystyle \left(\tfrac{x}{2} + \tfrac{2}{x}\right)^4.
  3. Use the the­o­rem to work out (102)5(102)^5; (98)4(98)^4; (1.1)5(1.1)^5.
  4. Which is big­ger, (1.01)100(1.01)^{100} or 22?
  5. Find (x+1)6+(x−1)6(x + 1)^6 + (x - 1)^6 and use it to get (2+1)6+(2−1)6(\sqrt{2} + 1)^6 + (\sqrt{2} - 1)^6.
  6. Show that 9n+1−8n−99^{n+1} - 8n - 9 is divis­i­ble by 6464 for every pos­i­tive inte­ger nn.
  7. Find the sum 10C0+10C1+⋯+10C10^{10}C_0 + {}^{10}C_1 + \cdots + {}^{10}C_{10} and the sum of the even-posi­tion coef­fi­cients 10C0+10C2+⋯+10C10^{10}C_0 + {}^{10}C_2 + \cdots + {}^{10}C_{10}.
  8. Expand (1+x+x2)3(1 + x + x^2)^3 using (1+(x+x2))3(1 + (x + x^2))^3.

Answers to check against

Show answers
  1. 1,7,21,35,35,21,7,11, 7, 21, 35, 35, 21, 7, 1.
  2. x5+10x4y+40x3y2+80x2y3+80xy4+32y5x^5 + 10x^4 y + 40x^3y^2 + 80x^2y^3 + 80xy^4 + 32y^5; 81−108x+54x2−12x3+x481 - 108x + 54x^2 - 12x^3 + x^4; x416+x2+6+16x2+16x4\displaystyle \tfrac{x^4}{16} + x^2 + 6 + \tfrac{16}{x^2} + \tfrac{16}{x^4}.
  3. 11,040,808,03211{,}040{,}808{,}032; 92,236,81692{,}236{,}816; 1.610511.61051.
  4. (1.01)100>1+100(0.01)=2(1.01)^{100} > 1 + 100(0.01) = 2 (every remain­ing term is pos­i­tive).
  5. 2(x6+15x4+15x2+1)2(x^6 + 15x^4 + 15x^2 + 1); with x=2x = \sqrt{2}: 2(8+60+30+1)=1982(8 + 60 + 30 + 1) = 198.
  6. 9n+1=(1+8)n+1=1+8(n+1)+64[⋯ ]9^{n+1} = (1 + 8)^{n+1} = 1 + 8(n + 1) + 64[\cdots].
  7. 10241024; 512512.
  8. 1+3x+6x2+7x3+6x4+3x5+x61 + 3x + 6x^2 + 7x^3 + 6x^4 + 3x^5 + x^6.