Example. Proving the binomial theorem by mathematical induction [01FM]
- October 31, 2026
- Marcelo Fiore, Jon Sterling
Theorem The Binomial Theorem [01BG]
- September 29, 2026
- Marcelo Fiore, Jon Sterling
Let x,y be elements of a commutative semiring {\mathopen {}\left (A,+,0,\cdot ,1\right )\mathclose {}}. For all n\in \mathbb {N}, we have {\mathopen {}\left (x+y\right )\mathclose {}}^n = \sum _{k=0}^n \binom {n}{k}\cdot x^{n-k}\cdot y^k \text {.}
Lemma A useful identity for binomial coefficients [01FL]
- October 31, 2026
- Marcelo Fiore
For any natural numbers n and k, we have \binom {n+1}{k} = \binom {n}{k} + \binom {n}{k-1}
After attempting to prove this yourself, you may click this text to see my proof.
Proof.
- October 31, 2026
- Marcelo Fiore
The combination on the left represents the process of choosing k members of a set of n+1 elements. There are two possibilities:
- We ignore the last element, so we in fact choose k elements from among n elements.
- We do choose the last element, and so it remains to choose k-1 elements from among the remaining n elements.
Summing these two possibilities gives exactly the right-hand side.
Proof of the binomial theorem [01FK]
- October 31, 2026
- Marcelo Fiore, Jon Sterling
Let x,y be elements of a commutative semiring {\mathopen {}\left (A,+,0,\cdot ,1\right )\mathclose {}}. We let P be the following predicate on the natural numbers:
P{\mathopen {}\left (n\right )\mathclose {}} \Longleftrightarrow {\mathopen {}\left (x+y\right )\mathclose {}}^n = \sum _{k=0}^n \binom {n}{k}\cdot x^{n-k}\cdot y^kWe will prove \forall n:\mathbb {N}\mathpunct {.} P{\mathopen {}\left (n\right )\mathclose {}} using the principle of mathematical induction.
- In the base case, we verify P{\mathopen {}\left (0\right )\mathclose {}} as follows: {\mathopen {}\left (x+y\right )\mathclose {}}^0 = 1 = \binom {0}{0}\cdot x^0\cdot y^0 = \sum _{k=0}^0 \binom {0}{k}\cdot x^{0-k}\cdot y^k
- In the inductive step, we fix n:\mathbb {N} and assume that {\mathopen {}\left (x+y\right )\mathclose {}}^n = \sum _{k=0}^n \binom {n}{k}\cdot x^{n-k} \cdot y^k and we must prove {\mathopen {}\left (x+y\right )\mathclose {}}^{n+1} = \sum _{k=0}^{n+1} \binom {n+1}{k}\cdot x^{{\mathopen {}\left (n+1\right )\mathclose {}}-k} \cdot y^k \text {.} We calculate as follows: \begin {aligned} &\sum _{k=0}^{n+1}\binom {n+1}{k}\cdot x^{{\mathopen {}\left (n+1\right )\mathclose {}}-k}\cdot y^k \\ &\quad = x^{n+1} + {\mathopen {}\left ( \sum _{k=1}^n \binom {n+1}{k}\cdot x^{n-k+1}\cdot y^k \right )\mathclose {}} + y^{n+1} \end {aligned} Now we apply a useful identity: \begin {aligned} &\quad = x^{n+1} + {\mathopen {}\left ( \sum _{k=1}^n {\mathopen {}\left (\binom {n}{k}+\binom {n}{k-1}\right )\mathclose {}} \cdot x^{n-k+1}\cdot y^k \right )\mathclose {}} + y^{n+1} \\ &\quad = x^{n+1}+{\mathopen {}\left ( \sum _{k=1}^n \binom {n}{k} \cdot x^{n-k+1} \cdot y^k \right )\mathclose {}}+{\mathopen {}\left ( \sum _{k=1}^n \binom {n}{k-1} \cdot x^{n-k+1} \cdot y^k \right )\mathclose {}} + y^{n+1} \\ &\quad = {\mathopen {}\left ( \sum _{k=0}^n \binom {n}{k} \cdot x^{n-k+1} \cdot y^k \right )\mathclose {}}+{\mathopen {}\left ( \sum _{j=0}^n \binom {n}{j} \cdot x^{n-j} \cdot y^{j+1} \right )\mathclose {}} \\ &\quad = x\cdot {\mathopen {}\left ( \sum _{k=0}^n \binom {n}{k} \cdot x^{n-k} \cdot y^k \right )\mathclose {}} + y\cdot {\mathopen {}\left ( \sum _{j=0}^n \binom {n}{j} \cdot x^{n-j} \cdot y^{j} \right )\mathclose {}} \\ &\quad = {\mathopen {}\left (x+y\right )\mathclose {}}\cdot \sum _{i=0}^n\binom {n}{i}\cdot x^{n-i}\cdot y^i \end {aligned} By our induction hypothesis, we have: \begin {aligned} {\mathopen {}\left (x+y\right )\mathclose {}}\cdot \sum _{i=0}^n\binom {n}{i}\cdot x^{n-i}\cdot y^i &= {\mathopen {}\left (x+y\right )\mathclose {}}\cdot {\mathopen {}\left (x+y\right )\mathclose {}}^n \\ &= {\mathopen {}\left (x+y\right )\mathclose {}}^n \end {aligned}