Combinatorics is a branch of mathematics that focuses on the study of finite or countable discrete structures. Combinatorics has applications in optimization, computer science, and statistical physics. There are times that it makes sense to count the number of ways an event could occur by looking at each possible outcome. However, when a large number of outcomes exists, this method becomes inefficient. If someone asked you how many possible regular license plates there are for the state of Oregon, it would not be feasible to count each and every one.
Instead, you could use the fact that on the typical Oregon license plate, there are 4 numbers and 3 letters. Using this information, about how many license plates could there be?
The Counting Principle
Consider choice with 3 options and choice with 2 options . If you had to choose an option from and then an option from , the overall total number of options would be . The options are .
You can see where the 6 comes from by making a decision tree and using the Fundamental Counting Principle. A decision tree is a graph that models the options possible at each stage of an experiment. To make a decision tree, you 1st need to determine how many decisions you are making. Here, there are only two decisions to make: 1) choose an option from , and 2) choose an option from , so you will have two "slots" in your decision tree. Next, think about how many possibilities there are for the 1st choice (in this case there are 3), and how many possibilities there are for the 2nd choice (in this case there are 2). The Fundamental Counting Principle says that you can multiply those numbers together to get the total number of outcomes.
The following video explains how to find the number of ways an event can occur:
Combinations and Permutations
Another type of counting question is when you have a given number of objects, you want to choose some (or all) of them, and you want to know how many ways there are to do this. For example, a teacher with a class of 30 students wants 5 of them to do a presentation, and she wants to know how many ways this could happen. These types of questions have to do with combinations and permutations. The difference between combinations and permutations is whether or not the order you are choosing the objects matters.
- A teacher choosing a group to make a presentation is a combination problem, because order does not matter.
- A teacher choosing 1st-, 2nd-, and 3rd-place winners in a science fair is a permutation problem, because the order does matter. (1st place and 2nd place are different outcomes.)
The factorial symbol, !, means to multiply every natural number up to and including that whole number together. For example, . The factorial symbol is used in the formulas for permutations and combinations.
The number of ways to choose objects from a group of objects where order does not matter is
The following video introduces combinations and explains how to evaluate combinations and solve counting problems using combinations:
Play, Learn, and Explore with Combinations: Friends at a Party
The number of ways to choose and arrange objects from a group of objects is
The following video explains how to evaluate factorials, use permutations to solve problems, and determine the number of permutations with indistinguishable items:
Play, Learn, and Explore with Permutations: Podiums
Notice that in both combination and permutation problems, you are not allowed to repeat your choices. Any time you are allowed to repeat and order does not matter, you can use the Fundamental Counting Principle. (Problems with repetition where order does not matter are more complex and not discussed in this section.)
Whenever you do a counting problem, the 1st thing you should decide is whether the problem is a Fundamental Counting Principle problem, a permutation problem, or a combination problem. You'll find that permutation problems can also be solved with the Fundamental Counting Principle, but the opposite is not true. There are many Fundamental Counting Principle problems (ones where you are allowed to repeat choices) that cannot be solved with the permutation formula.
Examples
Example 1
You are going on a road trip with 4 friends in a car that fits 5 people. How many different ways can everyone sit if you have to drive the whole way?
Solution:
The Fundamental Counting Principle is a great way of thinking about this problem. You have to sit in the driver's seat. There are 4 options for the 1st passenger seat. Once that person is seated, there are 3 options for the next passenger seat. This goes on until there is one person left with 1 seat.
Example 2
How many different ways can the gold, silver, and bronze medals be awarded in an Olympic event with 12 athletes competing?
Solution:
Since the order does matter with the 3 medals, this is a permutation problem. You will start with 12 athletes and then choose and arrange 3 different winners.
Note that you can also use the Fundamental Counting Principle to decide how many possibilities are there for gold (12), how many possibilities are there for silver (11, since one already has gold), and how many possibilities are there for bronze (10). You can use the Fundamental Counting Principle for any permutation problem.
Example 3
You are deciding which awards you are going to display in your room. You have 8 awards, but you only have room to display 4 awards. Right now you are not worrying about how to arrange the awards, so the order does not matter. How many ways could you choose the 4 awards to display?
Solution:
Since order does not matter, this is a combination problem. You start with 8 awards and then choose 4.
Note that if you try to use the Fundamental Counting Principle with this question, you will need to do an extra step of reasoning. There are 8 options you could choose 1st, then 7 left, then 6, and lastly 5.
This number is so big because it takes order into account, which you don't care about. It is the same result you would get if you used the permutation formula instead of the combination formula. To get the right answer, you need to divide this number by the number of ways 4 objects can be arranged, which is . This has to do with the connection between the combination formula and the permutation formula.
Example 4
Recall the problem from the Introduction: How many Oregon license plates could be created with 3 letters and 4 numbers?
Solution:
A license plate that has 3 letters and 4 numbers can be represented by the Fundamental Counting Principle with 7 spaces. You can use the Fundamental Counting Principle because order definitely does matter with license plates. The 1st spot is a number, the next three spots are letters, and the last three spots are numbers. Note that when choosing a license plate, repetition is allowed.
This number is only approximate because, in reality, certain letter and number combinations are not allowed, some license plates have extra symbols, and some commercial and government license plates have more numbers, fewer letters, or blank spaces.
Example 5
There are 20 hockey players on a pro NHL team, 2 of whom are goalies. How many sets of 5 skaters and 1 goalie can be on the ice at the same time?
Solution:
The question asks for how many on the ice, implying that order does not matter. This is combination problem with 2 combinations. You need to choose 1 goalie out of a possible of 2, and choose 5 skaters out of a possible 18.
Example 6
How many different ways could you score a 70% on a 10-question test, where each question is weighted equally and is either right or wrong?
Solution:
The order of the questions you got right does not matter, so this is a combination problem.
Example 7
How many different 4-digit ATM passwords are there? Assume you can repeat digits.
Solution:
Order does matter. There are 10 digits, and repetition is allowed. You can use the Fundamental Counting Principle for each of the 4 options.
Summary
- The Fundamental Counting Principle states that if one event has m possible outcomes and a 2nd event has n possible outcomes, then there are total possible outcomes for the two events together.
- A combination is the number of ways of choosing objects from a total of objects (order does not matter).
- A permutation is the number of ways of choosing and arranging objects from a total of objects (order does matter).