Factorials help count things like arrangements of items or order of events.
Let's say that you have six books to organize on your bookshelf...
We're not just looking for all possible outcomes this time; we want those outcomes sorted in a specific order. We want the books arranged into six different spots.
Let's think about how this works:
- We have 6 options for the first book we place on the shelf
- Once we've already placed the first book, we have 5 remaining options for the second book
- Then, 4 options for the third
- Then, 3 options for the fourth
- Then, 2 options for the fifth
- Then, only 1 option for the sixth
Multiplying the options for each slot together gives us the total possible arrangements. This would be .
Luckily, there is a button on our calculator that does the work for us. It looks like an exclamation mark and is called factorial.
The mathematical sign for factorial is "!" but that doesn't mean to shout the number excitedly. "Six factorial" is written 6! and it means .
We can use a factorial to count how many possible ways we could organize our books. In this case, we could organize our books in "six factorial" different arrangements.
Now, let's throw some probability into our book example. If these books are randomly arranged, what is the probability that they will be in alphabetical order?
Answer: there is only one desired outcome, or one way to arrange these books in alphabetical order. However, there are 6! = 720 ways to arrange them, so the probability that they will be in alphabetical order is:
Look Out: factorials give you the number of ways to arrange ALL of the items in a group, not just a portion of them.
Example 1
Maisy is working the counter at Shmaskin Robbins. A hungry customer orders a triple scoop ice cream cone with strawberry, chocolate, and vanilla ice cream. How many different ways could she stack the ice cream flavors on top of each other? |
Example 2
Tom, Tristan, Luca, and Pablo are lined up and ready to be picked for kickball teams. How many different ways can they be picked from first to last? |
Example 3
You have 9 antique glass vases and want to display 3 on a shelf. How many different ways are there to do this? |
Exercise 1
How many ways can you arrange 10 different items?
Exercise 2
Your mom has framed photos of you from 1st grade to 7th. She is going to hang them in the hall in a long row. How many ways can she display them?
Exercise 3
If she hangs these randomly, what is the probability that they will be in chronological order from left to right or right to left.