evan's notes
cal 3discreteodeenv systems
中文

On this page

  • The induction principle
  • Example: the sum of the first nnn positive integers
  • Example: when an exponential outruns a line
  • Pascal's triangle and the binomial pattern
  • The binomial theorem
  • Example: extracting one coefficient
  • Proof of the binomial theorem by induction
  • Why a row sums to 2n2^n2n

Discrete Structures

§9 Induction and the Binomial Theorem

Evan Luo · Oct 8, 2026

Discrete Structures

§9 Induction and the Binomial Theorem

Evan LuoOct 8, 2026

6 min read

Mathematical induction proves a statement for every integer in a consecutive range. The base case starts the chain, and the induction step shows that each true case forces the next one.

The induction principle

Let P(n)P(n)P(n) be a proposition defined for every integer n≥n0n\ge n_0n≥n0​. To prove that all of these propositions are true:

  1. Base case: prove P(n0)P(n_0)P(n0​).
  2. Induction hypothesis: let n≥n0n\ge n_0n≥n0​ be arbitrary and temporarily assume P(n)P(n)P(n).
  3. Induction step: use that assumption to prove P(n+1)P(n+1)P(n+1).
  4. Conclude that P(n)P(n)P(n) holds for every integer n≥n0n\ge n_0n≥n0​.

The induction step proves the implication P(n)⇒P(n+1)P(n)\Rightarrow P(n+1)P(n)⇒P(n+1) for an arbitrary allowed nnn. It does not assume the whole theorem. Together with the base case, it creates the chain

P(n0)⇒P(n0+1)⇒P(n0+2)⇒⋯ .P(n_0) \Rightarrow P(n_0+1) \Rightarrow P(n_0+2) \Rightarrow\cdots. P(n0​)⇒P(n0​+1)⇒P(n0​+2)⇒⋯.

This forward scheme covers a natural-number range such as n≥n0n\ge n_0n≥n0​. One base case and one forward step do not automatically cover all integers, rationals, or real numbers.

Example: the sum of the first nnn positive integers

We will prove

1+2+⋯+n=n(n+1)2(n≥1).1+2+\cdots+n=\frac{n(n+1)}2 \qquad(n\ge1). 1+2+⋯+n=2n(n+1)​(n≥1).

Base case. At n=1n=1n=1,

1=1(1+1)2.1=\frac{1(1+1)}2. 1=21(1+1)​.

Induction hypothesis. Let n≥1n\ge1n≥1 and assume

1+2+⋯+n=n(n+1)2.1+2+\cdots+n=\frac{n(n+1)}2. 1+2+⋯+n=2n(n+1)​.

Induction step. Add the next integer and use the hypothesis on the part already known:

1+2+⋯+n+(n+1)=n(n+1)2+(n+1)=n(n+1)+2(n+1)2=(n+1)(n+2)2=(n+1)((n+1)+1)2.\begin{aligned} 1+2+\cdots+n+(n+1) &=\frac{n(n+1)}2+(n+1)\\ &=\frac{n(n+1)+2(n+1)}2\\ &=\frac{(n+1)(n+2)}2\\ &=\frac{(n+1)((n+1)+1)}2. \end{aligned} 1+2+⋯+n+(n+1)​=2n(n+1)​+(n+1)=2n(n+1)+2(n+1)​=2(n+1)(n+2)​=2(n+1)((n+1)+1)​.​

This is exactly P(n+1)P(n+1)P(n+1). Therefore the formula holds for every integer n≥1n\ge1n≥1.

Example: when an exponential outruns a line

We will prove

2n+1<2n(n≥3).2n+1<2^n \qquad(n\ge3). 2n+1<2n(n≥3).

The starting index matters: the inequality fails at n=0,1,2n=0,1,2n=0,1,2.

Base case. At n=3n=3n=3,

2(3)+1=7<8=23.2(3)+1=7<8=2^3. 2(3)+1=7<8=23.

Induction hypothesis. Let n≥3n\ge3n≥3 and assume 2n+1<2n2n+1<2^n2n+1<2n.

Induction step. Then

2(n+1)+1=(2n+1)+2<2n+2by the induction hypothesis<2n+2nbecause 2<2n for n≥3=2n+1.\begin{aligned} 2(n+1)+1 &=(2n+1)+2\\ &<2^n+2 &&\text{by the induction hypothesis}\\ &<2^n+2^n &&\text{because }2<2^n\text{ for }n\ge3\\ &=2^{n+1}. \end{aligned} 2(n+1)+1​=(2n+1)+2<2n+2<2n+2n=2n+1.​​by the induction hypothesisbecause 2<2n for n≥3​

So the inequality holds for every integer n≥3n\ge3n≥3.

Pascal's triangle and the binomial pattern

The coefficients in the first few powers of x+yx+yx+y form the rows of Pascal's triangle:

(x+y)1=x+y,(x+y)2=x2+2xy+y2,(x+y)3=x3+3x2y+3xy2+y3,(x+y)4=x4+4x3y+6x2y2+4xy3+y4.\begin{aligned} (x+y)^1&=x+y,\\ (x+y)^2&=x^2+2xy+y^2,\\ (x+y)^3&=x^3+3x^2y+3xy^2+y^3,\\ (x+y)^4&=x^4+4x^3y+6x^2y^2+4xy^3+y^4. \end{aligned} (x+y)1(x+y)2(x+y)3(x+y)4​=x+y,=x2+2xy+y2,=x3+3x2y+3xy2+y3,=x4+4x3y+6x2y2+4xy3+y4.​

The coefficient rows are

111121133114641.\begin{array}{ccccccccc} &&&&1&&&&\\ &&&1&&1&&&\\ &&1&&2&&1&&\\ &1&&3&&3&&1&\\ 1&&4&&6&&4&&1. \end{array} 1​1​14​13​126​13​14​1​1.​

Each interior entry is the sum of the two above it. This is Pascal's identity:

(nk)+(nk−1)=(n+1k)(1≤k≤n).\binom nk+\binom n{k-1}=\binom{n+1}k \qquad(1\le k\le n). (kn​)+(k−1n​)=(kn+1​)(1≤k≤n).

One way to prove it is to count the kkk-element subsets of an (n+1)(n+1)(n+1)-element set. Fix one special element. A subset either excludes it, giving (nk)\binom nk(kn​) choices, or includes it and chooses the remaining k−1k-1k−1 elements from the other nnn, giving (nk−1)\binom n{k-1}(k−1n​) choices.

The binomial theorem

For every nonnegative integer nnn,

(x+y)n=∑k=0n(nk)xn−kyk.\boxed{ (x+y)^n=\sum_{k=0}^{n}\binom nk x^{n-k}y^k }. (x+y)n=k=0∑n​(kn​)xn−kyk​.

The term with index kkk contains kkk copies of yyy and n−kn-kn−k copies of xxx. Its coefficient is (nk)\binom nk(kn​) because we choose which kkk of the nnn factors contribute yyy.

Example: extracting one coefficient

In

(2x+y)25=∑k=025(25k)(2x)25−kyk,(2x+y)^{25} =\sum_{k=0}^{25}\binom{25}{k}(2x)^{25-k}y^k, (2x+y)25=k=0∑25​(k25​)(2x)25−kyk,

the term containing y13y^{13}y13 has k=13k=13k=13. Its xxx-power is 25−13=1225-13=1225−13=12:

(2513)(2x)12y13=(2513)212x12y13.\binom{25}{13}(2x)^{12}y^{13} =\binom{25}{13}2^{12}x^{12}y^{13}. (1325​)(2x)12y13=(1325​)212x12y13.

Therefore the coefficient of x12y13x^{12}y^{13}x12y13 is

(2513)212.\boxed{\binom{25}{13}2^{12}}. (1325​)212​.

Proof of the binomial theorem by induction

Let P(n)P(n)P(n) be the displayed binomial identity.

Base case. For n=0n=0n=0, both sides are the constant polynomial 111:

(x+y)0=1=(00)x0y0.(x+y)^0=1 =\binom00x^0y^0. (x+y)0=1=(00​)x0y0.

Induction hypothesis. Assume for some n≥0n\ge0n≥0 that

(x+y)n=∑k=0n(nk)xn−kyk.(x+y)^n=\sum_{k=0}^{n}\binom nkx^{n-k}y^k. (x+y)n=k=0∑n​(kn​)xn−kyk.

Induction step. Multiply by x+yx+yx+y and use the hypothesis:

(x+y)n+1=(x+y)(x+y)n=x∑k=0n(nk)xn−kyk+y∑k=0n(nk)xn−kyk=∑k=0n(nk)xn+1−kyk+∑k=1n+1(nk−1)xn+1−kyk.\begin{aligned} (x+y)^{n+1} &=(x+y)(x+y)^n\\ &=x\sum_{k=0}^{n}\binom nkx^{n-k}y^k +y\sum_{k=0}^{n}\binom nkx^{n-k}y^k\\ &=\sum_{k=0}^{n}\binom nkx^{n+1-k}y^k +\sum_{k=1}^{n+1}\binom n{k-1}x^{n+1-k}y^k. \end{aligned} (x+y)n+1​=(x+y)(x+y)n=xk=0∑n​(kn​)xn−kyk+yk=0∑n​(kn​)xn−kyk=k=0∑n​(kn​)xn+1−kyk+k=1∑n+1​(k−1n​)xn+1−kyk.​

For an interior exponent 1≤k≤n1\le k\le n1≤k≤n, the monomial xn+1−kykx^{n+1-k}y^kxn+1−kyk comes from both sums. Its coefficient is

(nk)+(nk−1)=(n+1k).\binom nk+\binom n{k-1}=\binom{n+1}k. (kn​)+(k−1n​)=(kn+1​).

The endpoints have only one source. When k=0k=0k=0, the first sum contributes xn+1x^{n+1}xn+1. When k=n+1k=n+1k=n+1, the second contributes yn+1y^{n+1}yn+1. Since

(n+10)=(n+1n+1)=1,\binom{n+1}{0}=\binom{n+1}{n+1}=1, (0n+1​)=(n+1n+1​)=1,

we obtain

(x+y)n+1=xn+1+∑k=1n(n+1k)xn+1−kyk+yn+1=∑k=0n+1(n+1k)xn+1−kyk.\begin{aligned} (x+y)^{n+1} &=x^{n+1} +\sum_{k=1}^{n}\binom{n+1}kx^{n+1-k}y^k +y^{n+1}\\ &=\sum_{k=0}^{n+1}\binom{n+1}kx^{n+1-k}y^k. \end{aligned} (x+y)n+1​=xn+1+k=1∑n​(kn+1​)xn+1−kyk+yn+1=k=0∑n+1​(kn+1​)xn+1−kyk.​

Thus P(n+1)P(n+1)P(n+1) follows, so the theorem holds for every n≥0n\ge0n≥0.

Why a row sums to 2n2^n2n

For every n≥0n\ge0n≥0,

∑k=0n(nk)=2n.\boxed{\sum_{k=0}^{n}\binom nk=2^n}. k=0∑n​(kn​)=2n​.

There are two useful proofs.

Count subsets by size. An nnn-element set has 2n2^n2n subsets because each element is either included or excluded. It has (nk)\binom nk(kn​) subsets of size kkk. The size classes k=0,1,…,nk=0,1,\ldots,nk=0,1,…,n are disjoint and include every subset, so their counts add to 2n2^n2n.

Use the binomial theorem. Set x=y=1x=y=1x=y=1:

2n=(1+1)n=∑k=0n(nk)1n−k1k=∑k=0n(nk).2^n=(1+1)^n =\sum_{k=0}^{n}\binom nk1^{n-k}1^k =\sum_{k=0}^{n}\binom nk. 2n=(1+1)n=k=0∑n​(kn​)1n−k1k=k=0∑n​(kn​).

The endpoint n=0n=0n=0 also works: the empty set has exactly one subset, itself.

Source: https://notes.ohevan.com/notes/discrete-structures/09-induction-and-the-binomial-theorem

© 2026 Evan Luo. All rights reserved.

Back to Discrete Structures

0 reads

·Last edited Today
  • newsletter

  • about me

  • sponsor

© 2026 Evan Luo. All rights reserved.