From 11:00PM PDT on Friday, July 1 until 5:00AM PDT on Saturday, July 2, the Shmoop engineering elves will be making tweaks and improvements to the site. That means Shmoop will be unavailable for use during that time. Thanks for your patience!

# At a Glance - Factorials

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...

Use a factorial to count how many possible ways you could organize your books. In this case, you could organize your books in "six factorial" different arrangements.

The mathematical sign for factorial is "!" (that doesn't mean to shout the number excitedly)

"Six factorial" = 6! =

• You have 6 options for the first book you place on the shelf
• Once you've already placed the first book, you 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

When you have a factorial, multiply all positive integers less than or equal to the given number. Another example:

Now, back to 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 way to arrange these in alphabetical order. However, there are 6! = 720 ways to arrange them, so:

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?

#### 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.