Let \((p,n) \in \hspace{0.05em}\mathbb{N}^2 \) be two natural numbers with \( p \leqslant n \).
We call \(\binom{n}{p} \) ("\( p \) among \( n \)") to number of ways to take \( p \) elements among a set of \( n \) elements.
We also call it the binom, and meets the following definition:
$$ \binom{n}{0} = \binom{n}{n} = 1$$
$$ \binom{n}{1} = n$$
$$ \binom{n}{p} = \binom{n}{n-p} $$
$$ \binom{n}{p} = \frac{n}{p} \binom{n -1}{p-1} $$
$$ \binom{n}{p} = \binom{n -1}{p -1 } + \binom{n - 1}{p} \qquad (Pascal) $$
$$ \sum_{p = 0}^n \binom{n}{p} = \hspace{0.2em} 2^n $$
$$ \sum_{k=r}^n \binom{k}{r} = \binom{n+1}{r +1} $$
Recap table of the formulas of the binom
Let \((p,n) \in \hspace{0.05em}\mathbb{N}^2 \) be two natural numbers.
There is only one way to take none or all elements in a \( n \) elements set.
Otherwise, by the binom's formula, we do have:
The same thing happen with \(n\), we do have:
And finally,
$$ \binom{n}{0} = \binom{n}{n} = 1$$
By the binom's formula, we do have:
And finally,
$$ \binom{n}{1} = n$$
The Pascal's triangle definitely illustrates the symmetry between \( p\) and \( (n-p) \) elements among \(n\).
In addition, we can see by calculation that:
So,
$$ \binom{n}{p} = \binom{n}{n-p} $$
By the binom's formula, we do have:
Now, we notice that for the denominator:
Therefore,
As a result we do have,
$$ \binom{n}{p} = \frac{n}{p} \binom{n -1}{p-1} $$
To retrieve the Pascal's triangle, we add the each case's value with its left neighbor to find the upwards neighbor.
Moreover, if we consider the \( (n-1)\) and \(n\) ranks of the Pascal's triangle, the formula clearly appears.
By visualising we found out that,
$$ \binom{n}{p} = \binom{n -1}{p -1 } + \binom{n - 1}{p} \qquad (Pascal) $$
Let consider a \( E \) set containing \(n\) elements.
In this set, the number possible part containing \( p \) elements is \( \binom{n}{p} \).
Let split this set in two subsets: \( E_1 \) and \( E_2 \).
$$ E_1 = \begin{Bmatrix} \Bigl \{ e_1 , e_2, e_3, \ ... \ , e_n \Bigr \} \\ \Bigl\{ e_1 , e_3, e_4, \ ... \ , e_n \Bigr \} \\ \Bigl\{ e_1 , e_2, e_4, \ ... \ , e_n \Bigr \} \\ \Bigl\{................ \Bigr \} \\ \Bigl \{ \underbrace { e_1 , e_2, e_4, \ ... \ , e_n} _\text{ \(p\) elements } \Bigr \} \\ \end{Bmatrix} $$
Being said that all these parts contain\( e_n \), the \( E_1 \) set can be simplified:
$$ E_1 = \begin{Bmatrix} \Bigl \{ e_1 , e_2, e_3, \ ... \ , e_n \Bigr \} \\ \Bigl\{ e_1 , e_3, e_4, \ ... \ , e_n \Bigr \} \\ \Bigl\{ e_1 , e_2, e_4, \ ... \ , e_n \Bigr \} \\ \Bigl\{................ \Bigr \} \\ \Bigl \{ \underbrace { e_1 , e_2, e_4, \ ... \ , e_n} _\text{ \(p\) elements } \Bigr \} \\ \end{Bmatrix} \enspace \Longrightarrow \enspace \begin{Bmatrix} \Bigl \{ e_1 , e_2, e_3, \ ... \ \Bigr \} \\ \Bigl\{ e_1 , e_3, e_4, \ ... \ \Bigr \} \\ \Bigl\{ e_1 , e_2, e_4, \ ... \ \Bigr \} \\ \Bigl\{............. \Bigr \} \\ \Bigl \{ \underbrace { e_1 , e_2, e_4, \ .... } _\text{ \((p -1)\) elements } \Bigr \} \\ \end{Bmatrix} $$
Then, the number of elements of \( E_1 \) is reduced to the number of ways to take \( (p -1) \) elements among \( (n-1) \) elements in \( E\), that is to say \( \binom{n -1}{p -1} \).
$$ E_2 = \underbrace { \begin{Bmatrix} { e_1 , e_2, e_3, \ ... } \\ { e_1 , e_3, e_4, \ ... } \\ { e_1 , e_2, e_4, \ ... } \\ {............. } \\ { e_1 , e_2, e_4, \ ... } \\ \end{Bmatrix} } _\text{ \(p\) elements } $$
As \( E_2 \) does not contain \(e_n\), so there is a \( (n-1) \) elements choice left to take \( p \) elements in it. That is to say \( \binom{n -1}{p} \).
We thus showed that:
$$ \binom{n}{p} = \binom{n -1}{p -1 } + \binom{n - 1}{p} \qquad (Pascal) $$
Let us calculate \( \binom{n -1}{p -1} + \binom{n -1}{p} \):
Now, we have to make both terms on a common denominator:
Then we factorize it:
As a result we do have,
$$ \binom{n}{p} = \binom{n -1}{p -1 } + \binom{n - 1}{p} \qquad (Pascal) $$
Let \( n \in \mathbb{N}\) be a natural number.
We want to compute the \( \binom{n}{k} \) sum, from \( 0\) to \( n\).
The Newton's binomal tells us that:
Taking the values \( \{ a = 1, \enspace b = 1 \}\), we do have:
And as a result,
$$ \sum_{p = 0}^n \binom{n}{p} = \hspace{0.2em} 2^n $$
So:
Let show that the following statement \((S_n)\) is true:
$$ \binom{n}{0} + \binom{n}{1} \enspace + ... + \enspace \binom{n}{n-1} + \binom{n}{n} = \hspace{0.02em} 2^n \qquad (S_n) $$
Let verify if this is the case for the first term, that is to say when \( n = 0 \).
But,
We definitely do have:
\((S_0)\) is true.
Let \( k \in \mathbb{N} \) be a natural number.
Let us assume that the following statement \((S_k)\) is true for all \( k \).
And let verify if it is also the case for \((S_{k + 1})\).
Let us calculate the right member of \(( S_{k + 1} ) \):
But thanks to the Pascal's formula, we know that:
So also that:
$$ \textcolor{#606B9E}{\binom{k + 1}{0}} + \textcolor{#446e4f}{\binom{k + 1}{1}} + \textcolor{#8E5B5B}{ \binom{k + 1}{2}} \enspace + ... + \enspace \textcolor{#7C578A}{\binom{k + 1}{k}} + \textcolor{#606B9E}{\binom{k + 1}{k + 1}} $$
Then, thanks to \( (Pascal^*) \), we do have:
$$ \textcolor{#606B9E}{\binom{k + 1}{0}} + \textcolor{#446e4f}{\binom{k}{0} + \binom{k}{1}} + \textcolor{#8E5B5B}{\binom{k}{1} + \binom{k}{2}} \enspace + ... + \enspace \textcolor{#7C578A}{\binom{k}{k - 1} + \binom{k}{k}} + \textcolor{#606B9E}{\binom{k + 1}{k + 1}} $$
Now, the first term equals the second one.
As well, the last equals to the second to last one.
That leads us to:
$$ \binom{k}{0} + \binom{k}{0} + \binom{k}{1} + \binom{k}{1} + \binom{k}{2} \enspace + ... + \enspace \binom{k}{k - 1} + \binom{k}{k} +\binom{k}{k} $$
And finally:
$$ 2 \left[ \binom{k}{0} + \binom{k}{1} + \binom{k}{2} \enspace + ... + \enspace \binom{k}{k - 1} + \binom{k}{k} \right] $$
But, our hypothesis was that:
Thus, we deduce from it that:
So:
Therefore, \((S_{k + 1})\) is true.
The statement \((S_n)\) is true for its first terme \(n_0 = 0\) and it is hereditary from terms to terms for all \(k \in \mathbb{N}\).
By the recurrence principle, that statement is true for all \(n \in \mathbb{N}\).
We thus showed by recurrence that:
$$ \sum_{p = 0}^n \binom{n}{p} = \hspace{0.2em} 2^n $$
Let \( (r, n) \in \hspace{0.05em} \mathbb{N}^2\) be two natural numbers.
We want to calculalte the vertical sum of \( \binom{k}{r} \), from \( r\) until \( n\).
We know from the Pascal's formula, that:
But it can also be written as:
Therefore, replacing by what we want to calculate,
And,
Performing the wished sum, we firstly extract the first term of it:
Now we can inject the value of \((1) \):
And we notice that we have a case of a telescopic sum, we then have after simplification:
And finally,
$$ \sum_{k=r}^n \binom{k}{r} = \binom{n+1}{r +1} $$