Jump to content

Pascal's rule

From Wikipedia, the free encyclopedia

Template:Short description Template:Distinguish In mathematics, Pascal's rule (or Pascal's formula) is a combinatorial identity about binomial coefficients. The binomial coefficients are the numbers that appear in Pascal's triangle. Pascal's rule states that for positive integers n and k, <math display="block">{n-1\choose k} + {n-1\choose k-1} = {n\choose k},</math> where <math>\tbinom{n}{k}</math> is the binomial coefficient, namely the coefficient of the Template:Math term in the expansion of Template:Math. There is no restriction on the relative sizes of Template:Mvar and Template:Mvar;[1] in particular, the above identity remains valid when Template:Math since <math>\tbinom{n}{k} = 0</math> whenever Template:Math.

Together with the boundary conditions <math>\tbinom{n}{0} = \tbinom{n}{n}= 1</math> for all nonnegative integers n, Pascal's rule determines that <math display="block">\binom{n}{k} = \frac{n!}{k!(n-k)!}, </math> for all integers Template:Math. In this sense, Pascal's rule is the recurrence relation that defines the binomial coefficients.

Pascal's rule can also be generalized to apply to multinomial coefficients.

Combinatorial proof

File:Pascal's rule 4c1 plus 4c2 equals 5c2.svg
Illustrates combinatorial proof: <math>\binom 4 1+\binom 4 2=\binom 5 2.</math>

Pascal's rule has an intuitive combinatorial meaning, that is clearly expressed in this counting proof.[2]Template:Rp

Proof. Recall that <math>\tbinom{n}{k}</math> equals the number of subsets with k elements from a set with n elements. Suppose one particular element is uniquely labeled X in a set with n elements.

To construct a subset of k elements containing X, include X and choose k − 1 elements from the remaining n − 1 elements in the set. There are <math>\tbinom{n-1}{k-1}</math> such subsets.

To construct a subset of k elements not containing X, choose k elements from the remaining n − 1 elements in the set. There are <math>\tbinom{n-1}{k}</math> such subsets.

Every subset of k elements either contains X or not. The total number of subsets with k elements in a set of n elements is the sum of the number of subsets containing X and the number of subsets that do not contain X, <math>\tbinom{n-1}{k-1} + \tbinom{n-1}{k}</math>.

This equals <math>\tbinom{n}{k}</math>; therefore, <math>\tbinom{n}{k} = \tbinom{n-1}{k-1} + \tbinom{n-1}{k}</math>.

Algebraic proof

Alternatively, the algebraic derivation of the binomial case follows. <math display="block">\begin{align} { n-1 \choose k } + { n-1 \choose k-1} & = \frac{(n-1)!}{k! (n - 1 - k)!} + \frac{(n-1)!}{(k - 1)!(n - k)!} \\ & = (n-1)! \left[ \frac{n - k}{k!(n - k)!} + \frac{k}{k!(n - k)!}\right] \\ & = (n-1)! \frac{n}{k!(n - k)!} \\ & = \frac{n!}{k!(n - k)!} \\ & = \binom{n}{k}. \end{align}</math>

An alternative algebraic proof using the alternative definition of binomial coefficients: <math> \tbinom{n}{k} = \frac{n(n-1)\cdots(n - k + 1)}{k!}</math>. Indeed

<math display="block">\begin{align} { n-1 \choose k } + { n-1 \choose k-1} & = \frac{(n-1)\cdots((n-1)-k + 1)}{k!} + \frac{(n-1)\cdots((n-1)-(k-1)+1)}{(k - 1)!} \\ & = \frac{(n-1)\cdots(n-k)}{k!} + \frac{(n-1)\cdots(n-k+1)}{(k - 1)!} \\ & = \frac{(n-1)\cdots(n-k+1)}{(k-1)!}\left[ \frac{n - k}{k} + 1\right] \\ & = \frac{(n-1)\cdots(n-k+1)}{(k-1)!} \cdot \frac{n}{k} \\ & = \frac{n(n-1)\cdots(n - k + 1)}{k!} \\ & = \binom{n}{k}. \end{align}</math>

Since <math> \tbinom{z}{k} = \frac{z(z-1)\cdots(z - k + 1)}{k!}</math> is used as the extended definition of the binomial coefficient when z is a complex number, thus the above alternative algebraic proof shows that Pascal's rule holds more generally when n is replaced by any complex number.

Generalization

Pascal's rule can be generalized to multinomial coefficients.[2]Template:Rp For any integer p such that <math>p \ge 2</math>, <math>k_1, k_2, k_3, \dots, k_p \in \mathbb{Z}^{+}\!,</math> and <math>n = k_1 + k_2 + k_3 + \cdots + k_p \ge 1</math>, <math display="block">{n-1\choose k_1-1,k_2,k_3, \dots, k_p}+{n-1 \choose k_1,k_2-1,k_3,\dots, k_p}+\cdots+{n-1\choose k_1,k_2,k_3,\dots,k_p-1} = {n\choose k_1, k_2, k_3, \dots, k_p}</math> where <math>{n\choose k_1, k_2, k_3, \dots , k_p}</math> is the coefficient of the <math>x_1^{k_1}x_2^{k_2}\cdots x_p^{k_p}</math> term in the expansion of <math>(x_1 + x_2 + \dots + x_p)^{n}</math>.

The algebraic derivation for this general case is as follows.[2]Template:Rp Let p be an integer such that <math>p \ge 2</math>, <math>k_1, k_2, k_3, \dots, k_p \in \mathbb{N}^{+}\!,</math> and <math>n = k_1 + k_2 + k_3 + \cdots + k_p \ge 1</math>. Then <math display="block"> \begin{align} & {} \quad {n-1 \choose k_1-1,k_2,k_3, \dots, k_p}+{n-1 \choose k_1,k_2-1,k_3,\dots, k_p} + \cdots + {n-1 \choose k_1,k_2,k_3,\dots,k_p-1} \\ & = \frac{(n-1)!}{(k_1-1)!k_2!k_3! \cdots k_p!} + \frac{(n-1)!}{k_1!(k_2-1)!k_3!\cdots k_p!} + \cdots + \frac{(n-1)!}{k_1!k_2!k_3! \cdots (k_p-1)!} \\ & = \frac{k_1(n-1)!}{k_1!k_2!k_3! \cdots k_p!} + \frac{k_2(n-1)!}{k_1!k_2!k_3! \cdots k_p!} + \cdots + \frac{k_p(n-1)!}{k_1!k_2!k_3! \cdots k_p!} = \frac{(k_1+k_2+\cdots+k_p) (n-1)!}{k_1!k_2!k_3!\cdots k_p!} \\ & = \frac{n(n-1)!}{k_1!k_2!k_3! \cdots k_p!} = \frac{n!}{k_1!k_2!k_3! \cdots k_p!} = {n \choose k_1, k_2, k_3, \dots, k_p}. \end{align} </math>

See also

References

Template:Reflist

Bibliography

{{#if: | This article incorporates material from the following PlanetMath articles, which are licensed under the Creative Commons Attribution/Share-Alike License: {{#if: PascalsTriangle | Pascal's triangle | {{#if: | Pascal's triangle | [{{{sourceurl}}} Pascal's triangle] }} }}, {{#if: | {{{title2}}} | {{#if: | {{{title2}}} | [{{{sourceurl2}}} {{{title2}}}] }} }}{{#if: | , {{#if: | {{{title3}}} | {{#if: | {{{title3}}} | [{{{sourceurl3}}} {{{title3}}}] }} }} }}{{#if: | , {{#if: | {{{title4}}} | {{#if: | {{{title4}}} | [{{{sourceurl4}}} {{{title4}}}] }} }} }}{{#if: | , {{#if: | {{{title5}}} | {{#if: | {{{title5}}} | [{{{sourceurl5}}} {{{title5}}}] }} }} }}{{#if: | , {{#if: | {{{title6}}} | {{#if: | {{{title6}}} | [{{{sourceurl6}}} {{{title6}}}] }} }} }}{{#if: | , {{#if: | {{{title7}}} | {{#if: | {{{title7}}} | [{{{sourceurl7}}} {{{title7}}}] }} }} }}{{#if: | , {{#if: | {{{title8}}} | {{#if: | {{{title8}}} | [{{{sourceurl8}}} {{{title8}}}] }} }} }}{{#if: | , {{#if: | {{{title9}}} | {{#if: | {{{title9}}} | [{{{sourceurl9}}} {{{title9}}}] }} }} }}. | This article incorporates material from {{#if: PascalsTriangle | Pascal's triangle | Pascal's triangle}} on PlanetMath, which is licensed under the Creative Commons Attribution/Share-Alike License. }}

{{#if: | This article incorporates material from the following PlanetMath articles, which are licensed under the Creative Commons Attribution/Share-Alike License: {{#if: pascalsruleproof | Pascal's rule proof | {{#if: | Pascal's rule proof | [{{{sourceurl}}} Pascal's rule proof] }} }}, {{#if: | {{{title2}}} | {{#if: | {{{title2}}} | [{{{sourceurl2}}} {{{title2}}}] }} }}{{#if: | , {{#if: | {{{title3}}} | {{#if: | {{{title3}}} | [{{{sourceurl3}}} {{{title3}}}] }} }} }}{{#if: | , {{#if: | {{{title4}}} | {{#if: | {{{title4}}} | [{{{sourceurl4}}} {{{title4}}}] }} }} }}{{#if: | , {{#if: | {{{title5}}} | {{#if: | {{{title5}}} | [{{{sourceurl5}}} {{{title5}}}] }} }} }}{{#if: | , {{#if: | {{{title6}}} | {{#if: | {{{title6}}} | [{{{sourceurl6}}} {{{title6}}}] }} }} }}{{#if: | , {{#if: | {{{title7}}} | {{#if: | {{{title7}}} | [{{{sourceurl7}}} {{{title7}}}] }} }} }}{{#if: | , {{#if: | {{{title8}}} | {{#if: | {{{title8}}} | [{{{sourceurl8}}} {{{title8}}}] }} }} }}{{#if: | , {{#if: | {{{title9}}} | {{#if: | {{{title9}}} | [{{{sourceurl9}}} {{{title9}}}] }} }} }}. | This article incorporates material from {{#if: pascalsruleproof | Pascal's rule proof | Pascal's rule proof}} on PlanetMath, which is licensed under the Creative Commons Attribution/Share-Alike License. }}