|
|
|
|
|
|
|
|
Each of the coefficients in an expansion of (a+b)^n is called a binomial coefficient.
The symbol for a binomial coefficient is {n \choose r}.
It has the same meaning as _n C _r : the number of subsets of size r contained in a set of size n
|
|
|
|
Here is a list comprehension that will create a list of binomial coefficients for a given value of n:
|
|
The pattern of binomial coefficients is given in Pascal's Triangle.
|
|
\binom{n}{r} = \binom{n-1}{r-1} + \binom{n-1}{r}
|
|
|
|
(a + b)^n = \sum^{n}_{r=0} {\binom{n}{r} a^{n-r} b^{r}}
Click to the left again to hide and once more to show the dynamic interactive window |
Newton's Expansion:
(a+b)^n = a^{n} + n \cdot a^{n-1} \cdot b^{1} + n \cdot \frac{n-1}{2} \cdot a^{n-2}b^{2} + \frac{n \cdot (n-1)}{2} \cdot \frac{(n-2)}{3} \cdot a^{n-3}b^{3} + \frac{n \cdot (n-1) \cdot (n-2)}{6} \cdot \frac{n-3}{4} \cdot a^{n-4} \cdot b^{4} + ...
|
|
|
|
|
|
|
|
|
|
|
|
If p is the probability that something will occur and q is the probability that it won't,
then the expansion of (p + q)^n is a binomial probability distribution.
|
|
|
|
Suppose you are taking a multiple choice test with 4 choices per question.
In this situationa p = \frac{1}{4} and q = \frac{3}{4}.
Each term in the expansion has the structure _{n}C_{r} \cdot (\frac{1}{4})^{r} \cdot (\frac{3}{4})^{4-r}.
_{n}C_{r} tells us how many ways we could get r questions correct and 4-r questions incorrect.
|
|
Click to the left again to hide and once more to show the dynamic interactive window |
|
|