Proof of the binomial theorem [01FK]

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^k

We 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}