How many different ways are there to permute three letters from the set From the Permutation Counting Formula there are different orderings of three letters from
Section 2.4 Combinations and the Binomial Theorem
Subsection 2.4.1 Combinations
In Section 2.1 we investigated the most basic concept in combinatorics, namely, the rule of products. It is of paramount importance to keep this fundamental rule in mind. In Section 2.2 we saw a subclass of rule-of-products problems, permutations, and we derived a formula as a computational aid to assist us. In this section we will investigate another counting formula, one that is used to count combinations, which are subsets of a certain size.
In many rule-of-products applications the ordering is important, such as the batting order of a baseball team. In other cases it is not important, as in placing coins in a vending machine or in the listing of the elements of a set. Order is important in permutations. Order is not important in combinations.
Example 2.4.1. Counting Permutations.
Example 2.4.2. Counting with No Order.
How many ways can we select a set of three letters from Note here that we are not concerned with the order of the three letters. By trial and error, abc, abd, acd, and bcd are the only listings possible. To repeat, we were looking for all three-element subsets of the set Order is not important in sets. The notation for choosing 3 elements from 4 is most commonly or occasionally either of which is read β4 choose 3β or the number of combinations for four objects taken three at a time.
Definition 2.4.3. Binomial Coefficient.
Let and be nonnegative integers. The binomial coefficient represents the number of combinations of objects taken at a time, and is read β choose β
We would now like to investigate the relationship between permutation and combination problems in order to derive a formula for
Let us reconsider the Counting with No Order. There are different orderings for each of the three-element subsets. The table below lists each subset of and all permutations of each subset on the same line.
Hence,
We generalize this result in the following theorem:
Theorem 2.4.4. Binomial Coefficient Formula.
Proof.
Proof 1: There are ways of ordering the elements of any element set. Therefore,
Proof 2: To βconstructβ a permutation of objects from a set of elements, we can first choose one of the subsets of objects and second, choose one of the permutations of those objects. By the rule of products,
and solving for we get the desired formula.
Example 2.4.5. Flipping Coins.
Assume an evenly balanced coin is tossed five times. In how many ways can three heads be obtained? This is a combination problem, because the order in which the heads appear does not matter. We can think of this as a situation involving sets by considering the set of flips of the coin, 1 through 5, in which heads comes up. The number of ways to get three heads is
Example 2.4.6. Counting five ordered flips two ways.
We determine the total number of ordered ways a fair coin can land if tossed five consecutive times. The five tosses can produce any one of the following mutually exclusive, disjoint events: 5 heads, 4 heads, 3 heads, 2 heads, 1 head, or 0 heads. For example, by the previous example, there are sequences in which three heads appear. Counting the other possibilities in the same way, by the law of addition we have:
ways to observe the five flips.
Of course, we could also have applied the extended rule of products, and since there are two possible outcomes for each of the five tosses, we have ways.
You might think that counting something two ways is a waste of time but solving a problem two different ways often is instructive and leads to valuable insights. In this case, it suggests a general formula for the sum In the case of we get so it is reasonable to expect that the general sum is and it is. A logical argument to prove the general statment simply involves generalizing the previous example to coin flips.
Example 2.4.7. A Committee of Five.
A committee usually starts as an unstructured set of people selected from a larger membership. Therefore, a committee can be thought of as a combination. If a club of 25 members has a five-member social committee, there are different possible social committees. If any structure or restriction is placed on the way the social committee is to be selected, the number of possible committees will probably change. For example, if the club has a rule that the treasurer must be on the social committee, then the number of possibilities is reduced to
If we further require that a chairperson other than the treasurer be selected for the social committee, we have different possible social committees. The choice of the four non-treasurers accounts for the factor while the need to choose a chairperson accounts for the 4.
Example 2.4.8. Binomial Coefficients - Extreme Cases.
By simply applying the definition of a Binomial Coefficient as a number of subsets we see that there is way of choosing a combination of zero elements from a set of In addition, we see that there is way of choosing a combination of elements from a set of
We could compute these values using the formula we have developed, but no arithmetic is really needed here. Other properties of binomial coefficients that can be derived using the subset definition will be seen in the exercises
Subsection 2.4.2 The Binomial Theorem
The binomial theorem gives us a formula for expanding where is a nonnegative integer. The coefficients of this expansion are precisely the binomial coefficients that we have used to count combinations. Using high school algebra we can expand the expression for integers from 0 to 5:
In the expansion of we note that the coefficient of the third term is and that of the sixth term is We can rewrite the expansion as
In summary, in the expansion of we note:
- The first term is
and the last term is - With each successive term, exponents of
decrease by 1 as those of increase by 1. For any term the sum of the exponents is - The coefficient of
is - The triangular array of binomial coefficients is called Pascalβs triangle after the seventeenth-century French mathematician Blaise Pascal. Note that each number in the triangle other than the 1βs at the ends of each row is the sum of the two numbers to the right and left of it in the row above.
Theorem 2.4.9. The Binomial Theorem.
Proof.
This theorem will be proven using a logical procedure called mathematical induction, which will be introduced in Chapter 3.
Example 2.4.10. Identifying a term in an expansion.
Find the third term in the expansion of The third term, when is
Example 2.4.11. A Binomial Expansion.
Expand If we replace and in the Binomial Theorem with and respectively, we get
Subsection 2.4.3 SageMath Note
A bridge hand is a 13 element subset of a standard 52 card deck. The order in which the cards come to the player doesnβt matter. From the point of view of a single player, the number of possible bridge hands is which can be easily computed with
xxxxxxxxxx
binomial(52,13)
In bridge, the location of a hand in relation to the dealer has some bearing on the game. An even truer indication of the number of possible hands takes into account playerβs possible hand. It is customary to refer to bridge positions as West, North, East and South. We can apply the rule of product to get the total number of bridge hands with the following logic. West can get any of the hands identified above. Then North get 13 of the remaining 39 cards and so has possible hands. East then gets 13 of the 26 remaining cards, which has possibilities. South gets the remaining cards. Therefore the number of bridge hands is computed using the Product Rule.
xxxxxxxxxx
binomial(52,13)*binomial(39,13)*binomial(26,13)
Exercises 2.4.4 Exercises
1.
The judiciary committee at a college is made up of three faculty members and four students. If ten faculty members and 25 students have been nominated for the committee, how many judiciary committees could be formed at this point?
Answer.
2.
Suppose that a single character is stored in a computer using eight bits.
a. How many bit patterns have exactly three 1βs?
b. How many bit patterns have at least two 1βs?
Hint.
Think of the set of positions that contain a 1 to turn this is into a question about sets.
3.
How many subsets of contain at least seven elements?
Answer.
4.
The congressional committees on mathematics and computer science are made up of five representatives each, and a congressional rule is that the two committees must be disjoint. If there are 385 members of congress, how many ways could the committees be selected?
5.
The image below shows a 6 by 6 grid and an example of a lattice path that could be taken from to which is a path taken by traveling along grid lines going only to the right and up. How many different lattice paths are there of this type? Generalize to the case of lattice paths from to for any nonnegative integers and

An example of a lattice path consisting of seven parallel horizontal line segments, equally spaced together with seven parallel vertical line segments, equally spaced. Together they form a square that is divided into 36 small squares. The bottom left point of intersection of lines is the origin and the top right is the point A path is traced by traveling along the lines starting a the origin and ending at
Hint.
Think of each path as a sequence of instructions to go right (R) and up (U).
Answer.
Each path can be described as a sequence or Rβs and Uβs with exactly six of each. The six positions in which Rβs could be placed can be selected from the twelve positions in the sequence ways. We can generalize this logic and see that there are paths from to
6.
7.
A poker game is played with 52 cards. At the start of a game, each player gets five of the cards. The order in which cards are dealt doesnβt matter.
- How many βhandsβ of five cards are possible?
- If there are four people playing, how many initial five-card βhandsβ are possible, taking into account all players and their positions at the table? Position with respect to the dealer does matter.
Answer.
8.
A flush in a five-card poker hand is five cards of the same suit. The suits are spades, clubs, diamonds and hearts. How many spade flushes are possible in a 52-card deck? How many flushes are possible in any suit?
9.
How many five-card poker hands using 52 cards contain exactly two aces?
Answer.
10.
In poker, a full house is three-of-a-kind and a pair in one hand; for example, three fives and two queens. How many full houses are possible from a 52-card deck? You can use the sage cell in the SageMath Note to do this calculation, but also write your answer in terms of binomial coefficients.
11.
A class of twelve computer science students are to be divided into three groups of 3, 4, and 5 students to work on a project. How many ways can this be done if every student is to be in exactly one group?
Answer.
12.
Explain in words why the following equalities are true based on number of subsets, and then verify the equalities using the formula for binomial coefficients.
13.
There are ten points, on a plane, no three on the same line.
- How many lines are determined by the points?
- How many triangles are determined by the points?
Answer.
14.
15.
Answer.
Assume If we let in the Binomial Theorem, we obtain with the right side of the equality counting all subsets of containing elements. Hence
16.
- A stateβs lottery involves choosing six different numbers out of a possible 36. How many ways can a person choose six numbers?
- What is the probability of a person winning with one bet?
17.
Use the binomial theorem to calculate
Hint.
Answer.
18.
In the card game Blackjack, there are one or more players and a dealer. Initially, each player is dealt two cards and the dealer is dealt one card down and one facing up. As in bridge, the order of the hands, but not the order of the cards in the hands, matters. Starting with a single 52 card deck, and three players, how many ways can the first two cards be dealt out? You can use the sage cell in the SageMath Note to do this calculation.
You have attempted 1 of 1 activities on this page.