Permutations and combinations
What is a permutation?
In order to answer many probability questions, we need to understand permutations and combinations.
A permutation is the number of ways you can arrange a set of things, and the order matters.
Hi! I'm krista.
I create online courses to help you rock your math class. Read more.
The formula for a permutation is
where is the total number of items we have, and is the number of items we want to arrange.
The difference between permutations and combinations, and how to calculate both
Take the course
Want to learn more about Probability & Statistics? I have a step-by-step course for that. :)
Permutation example problem
Example
I have scoops of ice cream: chocolate, strawberry, vanilla, and mint. I want to eat only of the scoops. How many different ways can I eat of the scoops if I consider both which scoops I eat and the order in which I eat them?
This is a permutation question, since I care about the order in which I eat the scoops. There are total scoops, but I only want to eat of them. Therefore, the number of ways I could eat three of the scoops of ice cream is
There are different ways that I could eat of the scoops. For example, chocolate-strawberry-vanilla would be of the options, but since order matters, chocolate-vanilla-strawberry would be another option.
On the other hand, a combination is the number of ways you can arrange a set of things, but the order doesn’t matter. The formula for a combination is
where is the total number of items we have, and is the number of items we want to choose. Sometimes people write as
which is called the binomial coefficient, and read as “ choose .”
So to continue with the example from earlier, chocolate-strawberry-vanilla and chocolate-vanilla-strawberry would not count separately, because we don’t care about the order when we’re talking about combinations. All we care about is which items we picked, so chocolate-strawberry-vanilla and chocolate-vanilla-strawberry would count as the same thing.
On the other hand, a combination is the number of ways you can arrange a set of things, but the order doesn’t matter.
Example
I have the same scoops of ice cream: chocolate, strawberry, vanilla, and mint. I want to eat only of the scoops, and I don’t care about the order in which I eat my scoops. How many different combinations of scoops can I create?
This is a combination question, since I don’t care about the order in which I eat the scoops. There are total scoops, but I only want to eat of them. Therefore, the number of ways I could eat three of the scoops of ice cream is
There are different ways that I could eat of the scoops. For example, chocolate-strawberry-vanilla would be of the options, but since order doesn’t matter, chocolate-vanilla-strawberry would be the same combination, and wouldn’t count as another one of the combinations.