P - Permutations and Combinations Lesson
Permutations and Combinations
You probably have used the Fundamental Counting Principle before. It states that if there are n ways of doing one thing and m ways of doing another, then there are nm ways of doing both things.
Example 1
You are at a Taco Bar and there are three options for the type of shell, 4 options for the type of filling, and 6 options for toppings. That means there are 3⋅4⋅6=72 different types of tacos you could make!
Example 2
Let's consider another type of problem: Georgia license plates consist of 3 letters and 4 numbers. Each letter and number can repeat. How many different Georgia license plates can be made? Watch this video to determine the answer:
You Try: You have 4 paintings, in how many different ways can you hang them on the wall?
Answer: 24
Let's discuss the painting problem from above. To get 24, we multiplied, 4⋅3⋅2⋅1. For the first painting there were 4 options, the next 3 options, then 2, and then 1. In math, we have another way of writing
4⋅3⋅2⋅1 and it is 4!
For example, if we have 16 pool balls, how many different ways can we order them?
We have 16 options for the first spot, let's say the 8 ball gets chosen first.
Now for the next spot, we only have 15 options because the 8 ball has already gotten picked.
So, our answer is 16⋅15⋅14⋅13⋅12⋅11⋅10⋅9⋅8⋅7⋅6⋅5⋅4⋅3⋅2⋅1, which is the same as writing 16! 16! = 20,922,789,888,000. That's a lot of ways!
This is a type of permutation. A permutation represents the number of ways to order a group of items. So, there are 20,922,789,888,000 ways to order 16 pool balls. But, what if we only wanted to order 5 of the balls? Then we would only need to multiply 16⋅15⋅14⋅13⋅12 so using 16! may seem like it wouldn't work, but in fact, we have a special formula for permutations that helps us out.
So, if we have 10 books, we can arrange 4 of them on a shelf in 5,040 ways. There are 10 choices for the first slot, 9 for the second, 8 for the third, and 7 for the fourth space. However, what if we just wanted to know how many groups of 4 could we take on a road trip? We wouldn't need to worry about the order the books were placed in the bag, because they are all going on the trip. If this is the case, we would not use a permutation, but a combination.
So, that would be 10C4=10!6!⋅4!=210
This formula looks similar to the permutation, but it divides out the 4! because that takes out the ways to arrange 4 things!
IMAGES CREATED BY GAVS