Counting before expanding
The binomial theorem is often remembered as a formula, but the formula is a
counting statement. When expanding , each term comes from choosing
either x or y from each of the n factors. The coefficient records how many
different choices lead to the same power of x and the same power of y.
That is why factorials and combinations appear before the theorem.
Factorials, permutations, and combinations
Definition
Factorial
For a positive integer n,
By convention, .
Definition
Permutation
A k-permutation of n distinct objects is an ordered arrangement of k of
those objects. The number of such arrangements is
Order matters for permutations. Choosing A,B,C and choosing C,B,A are
different ordered arrangements.
Definition
Binomial coefficient
For integers ,
It counts the number of k-element subsets of an n-element set.
Order does not matter for combinations. The factor k! in the denominator
removes the internal ordering of the selected objects.
Worked example
Arrange objects with a restriction
Suppose m girls and n boys are seated in a row, with , and no two boys
may sit together.
First arrange the m girls. This can be done in m! ways. The girls create
possible gaps where boys may be placed: before the first girl, between
two consecutive girls, or after the last girl.
Choose and order n of those gaps for the boys:
Thus the total number of arrangements is
Pascal's identity
Theorem
Basic binomial identities
For ,
For ,
The last identity is Pascal's identity. It explains why the entries of Pascal's triangle are obtained by adding the two entries above.
Proof
Algebraic proof of Pascal's identity
Worked example
Lattice paths
How many paths go from (0,0) to (5,3) if each step is either one unit right
or one unit up?
The path has 8 steps total: 5 right steps and 3 up steps. Choosing which
5 of the 8 steps are right determines the path, so the number is
The binomial theorem
Theorem
Binomial theorem
For every positive integer n,
The term with occurs when y is chosen from exactly k of the n
factors, and x is chosen from the remaining factors. There are
ways to choose those k factors.
Worked example
Expand a small power
For ,
The coefficient 3 in front of appears because exactly one of the
three factors contributes y, and there are choices.
Coefficient extraction
The binomial theorem is especially useful when only one term is needed.
Worked example
Find a constant term
Find the constant term of
The general term is
The exponent is zero when , which has no integer solution. Therefore this expansion has no constant term.
The method is more important than this particular answer:
- write the general term;
- compute the exponent of the variable;
- solve for the exponent required by the question;
- check whether the resulting
kis an integer in the range .
Common mistake
The binomial index must be an integer in range
Solving for a desired exponent may produce a non-integer or an integer outside . In that case the requested term does not appear.
Quick checks
Quick check
Why is C(n,k) divided by k! while P(n,k) is not?
Compare ordered and unordered selection.
Solution
Answer
Quick check
How many paths go from (0,0) to (4,2) using only right and up steps?
Count the right-step positions.
Solution
Answer
Quick check
What is the coefficient of in ?
Use the binomial theorem.
Solution
Answer
Exercises
- Compute and explain its counting meaning.
- Prove using the factorial formula.
- Find the coefficient of in .
- Find the coefficient of in
(x^2+1/x)^6.
Guided solutions
- . It counts the number of three-element subsets of a seven-element set.
- Substitute into the formula:
\binom{n}{n-k}=n!/((n-k)!k!)=\binom nk. - The general term is . To get , set , so . The coefficient is .
- The general term is . Set , so . The coefficient is .