How do you solve this?
Find out which recurrence relation involving $\dbinom{n}{r}$ is valid, and thus prove that we can compute $\dbinom{n}{r}$ in a recursive manner.
I appreciate any help. Thank You
|
How do you solve this?
I appreciate any help. Thank You |
|||||||||||||||
|
|
There are many recurrence relations for $\dbinom{n}{r}$. One of the most commonly used one is the following. $$\binom{n+1}{r} = \binom{n}{r} + \binom{n}{r-1}.$$ There are many ways to prove this and one simple way is to look at $\displaystyle (1+x)^{n+1}$. We know that $$(1+x)^{n+1} = (1+x)^{n} (1+x).$$ Now compare the coefficient of $x^r$ on both sides.
|
|||||||||||
|
|
From the familiar $\binom{n}{r}=\frac{n!}{r!(n-r)!}$, you can readily derive the formula $$\binom{n}{r}=\frac{n}{r}\binom{n-1}{r-1}.$$ This can be computationally and theoretically useful, particularly when we are interested in the expression $$\binom{n}{r}p^r(1-p)^{n-r}$$ that comes up when we are working with the Binomial Distribution. |
|||||
|
|
To prove: $$\dbinom{n}{k}=\dbinom{n-1}{k-1}+\dbinom{n-1}{k}$$ We have: $$\dbinom{n-1}{k-1}=\frac{(n-1)!}{(k-1)!(n-k)!}=\frac{(n-1)!}{(k-1)!(n-k-1)!}\frac{1}{n-k}$$ $$\dbinom{n-1}{k}=\frac{(n-1)!}{(k)!(n-k-1)!}=\frac{(n-1)!}{(k-1)!(n-k-1)!}\frac{1}{k}$$ Adding the two together: $$\dbinom{n-1}{k-1}+\dbinom{n-1}{k}=\frac{(n-1)!}{(k-1)!(n-k-1)!}(\frac{1}{n-k}+\frac{1}{k})$$ $$=\frac{(n-1)!}{(k-1)!(n-k-1)!}\frac{n}{k(n-k)}$$ $$=\frac{n!}{k!(n-k)!}$$ $$=\dbinom{n}{k}$$ |
|||
|
|