Section 5.5 Counting Techniques
¶Fact 5.5.1. Multiplication Rule of Counting.
If there are \(p\) selections for the first choice, \(q\) selections for the second choice, \(r\) selections for the third choice, and so on, then the selections for all choices can be done in \(pqr\) different ways.
Example 5.5.2. Committee Selection.
Three members from a 14 member committee are to be randomly selected to serve as chair, vice chair, and secretary. The first person selected is the chair, the second is the vice chair, and the third is the secretary. How many different committee structures are possible?
Example 5.5.3. Security Codes.
Outside a garage, there is a 10 digit keypad numbered 0 through 9. The correct 4 digit code will open the garage door. The numbers on the keypad can be repeated. How many codes are possible? What is the probability of getting the correct code on the first try assuming the person doesn’t know the code?
Thus a person has a one in 10,000 chance of guessing the correct code.
Example 5.5.4. Outfits.
A gentleman has 7 shirts, 3 vests and 5 suits. Assuming they all match, how many different combinations can he wear?
Fact 5.5.5. Factorials.
A collection of \(n\) different items can be arranged in \(n!\) different ways, where \(n! = n(n – 1)(n – 2) \cdots (3)(2)(1)\)
Reading Questions Reading Questions
Find the value of each factorial.
1.
\(4!\)
\(4! = 4\cdot 3\cdot 2\cdot 1 = 24\)
2.
\(12!\)
\(12! = 12\cdot 11\cdot 10\cdot 9\cdot 8\cdot 7\cdot 6\cdot 5\cdot 4\cdot 3\cdot 2\cdot 1 = 479,001,600\)
Example 5.5.6. How Many Routes?
You have just been hired as a book representative for Pearson Education. On your first day, you must travel to five schools to introduce yourself. How many different routes are possible?
\(5! = 5\cdot 4\cdot 3\cdot 2\cdot 1 = 120\)
Example 5.5.7. Scrabble Tile Combinations.
While playing Scrabble you have the letter tiles: A, E, I, S, D, P, L, R. How many tile combinations can you create?
\(8! = 8\cdot 7\cdot 6\cdot 5\cdot 4\cdot 3\cdot 2\cdot 1 = 40,320\)
Definition 5.5.8.
A permutation of objects is an ordered arrangement of the objects.
- The \(n\) objects are distinct (all different).
- Repetition of objects is not allowed.
- Order is important.
Definition 5.5.9.
A combination is a collection, without regard to order, of objects.
- The \(n\) objects are distinct.
- Repetition of objects is not allowed.
- Order is not important.
Example 5.5.10.
How many ways can different students from a class of 10 be assigned to work the first three homework problems on the board? Does order matter?
Order does matter, so we must compute the number of permutations.
Example 5.5.11. Focus Group.
How many ways can a focus group of 5 consumers be selected from a list of 25 people who purchased a particular product? Notice that order doesn’t matter since we are just forming a focus group, so changing the order in which people are selected does not change the group.
Example 5.5.12. Volleyball Teams.
A group of four friends (Alan, Becky, Curtis and Dylan) is going to play volleyball by dividing up into two teams. How many different combinations of the 4 friends taken 2 at a time are there? List all the combinations.
Notice that order does not matter, and further notice that by picking one team, the other team is also determined.
If we use the first letter of each name to represent each person, then the possible pairings are:
- \(\{(A,B), (C,D)\}\)
- \(\{(A,C), (B,D)\}\)
- \(\{(A,D), (B,C)\}\)
- \(\{(B,C), (A,D)\}\)
- \(\{(B,D), (A,C)\}\)
- \(\{(C,D), (A,B)\}\)
However, the last three pairings are repeats of the first three, so there are exactly 3 possible team pairs. Because choosing a team of two also forces the pairing of the other team, we get exactly half of \(4C2\text{.}\)
Example 5.5.13. Speed Skaters.
Suppose 24 speed skaters are competing in the Olympics. How many ways can the top 3 racers finish the race?
Definition 5.5.14. Permutations with Non Distinct Items.
- The \(n\) objects are not distinct, with \(k\) different types of objects.
- \(n_1\) is the number of the first type, \(n_2\) the number of the second type, etc.
- Repetition of objects is not allowed.
- Order is important.
Example 5.5.15. Flag Arrangements.
How many different vertical arrangements are there of 10 flags if 5 are white, 3 are blue, and 2 are red?