Suppose you draw two cards from a standard deck (one after the other without replacement).

- How many outcomes are there?
- How many ways are there to choose an ace and then a four?
- What is the probability that you choose an ace and then a four?

### Permutations and Combinations

In order to compute the probability of an event, you need to know the *number of outcomes in the sample space* and the *number of outcomes in the event*. Sometimes, determining the number of outcomes takes some work! Here, you will look at three techniques for counting outcomes.

**Technique #1: The Fundamental Counting Principle:** *Use this when there are multiple independent events, each with their own outcomes, and you want to know how many outcomes there are for all the events together*.

At the local ice cream shop, there are 5 flavors of homemade ice cream -- vanilla, chocolate, strawberry, cookie dough, and coffee. You can choose to have your ice cream in a dish or in a cone. How many possible ice cream orders are there?

If you list them all out, you will see that there are 10 ice cream orders. For each of the 5 flavors, there are 2 choices for how the ice cream is served (dish or cone).

Vanilla Dish |
Chocolate Dish |
Strawberry Dish |
Cookie Dough Dish |
Coffee Dish |

Vanilla Cone |
Chocolate Cone |
Strawberry Cone |
Cookie Dough Cone |
Coffee Cone |

This idea generalizes to a principle called the **Fundamental Counting Principle**:

**Fundamental Counting Principle:** For independent events and , if there are outcomes in event and outcomes in event , then there are outcomes for events and together.

The Fundamental Counting Principle works similarly for more than two events - multiply the number of outcomes in each event together to find the total number of outcomes.

**Technique #2: Permutations:** *Use this when you are counting the number of ways to choose and arrange a given number of objects from a set of objects*.

Your sister's 3rd grade class with 28 students recently had a science fair. The teacher chose 1st, 2nd, and 3rd place winners from the class. In how many ways could she have chosen the 1st, 2nd, and 3rd place winners?

This is called a **permutation** problem because it is asking for the number of ways to **choose and arrange** 3 students from a set of 28 students.

In this problem, event is the teacher choosing 1st place, event is the teacher choosing 2nd place after 1st place has been chosen, and event is the teacher choosing 3rd place after 1st and 2nd place have been chosen.

- Event has 28 outcomes because there are 28 students in the class. The teacher has 28 choices for 1st place.
- Event has 27 outcomes because once 1st place has been chosen, there are 27 students left in the class that could get 2nd place.
- Event has 26 outcomes because once 1st place and 2nd place have been chosen, there are 26 students left in the class that could get 3rd place.

By the Fundamental Counting Principle, the teacher has ways in which she could choose the 3 winners. Note that:

This is the idea behind the permutation formula. (*Recall that the factorial symbol, !, means to multiply every whole number up to and including that whole number together. For example,* *.)*

**Permutation Formula:** The number of ways to **choose** **and arrange** objects from a group of objects is:

**Technique #3: Combinations:** *Use this when you are counting the number of ways to choose a certain number of objects from a set of objects (the order/arrangement of the objects doesn't matter)*.

A teacher has a classroom of 28 students, she wants 3 of them to do a presentation, and she wants to know how many choices she has for the three students.

This is called a **combination** problem because it is asking for the number of ways to **choose** 3 students from a set of 28 students. With combinations, the **order doesn't matter**. Choosing Bobby, Sarah, and Matt for the presentation is the same as choosing Sarah, Bobby, and Matt for the presentation.

From permutations, you know that there are 19656 ways to choose and arrange 3 students from the class of 28. This calculation will be counting each group of 3 people more than once. How many times is each group of three being counted? From permutations, 3 chosen people can be **arranged** in ways.

This means that every group of three has been counted 6 times in the 19656 calculation. To determine the number of ways the teacher could choose 3 students **where the order doesn't matter**, take 19656 and divide by 6.

The teacher has 3276 choices for the three students to make a presentation.

In general, the permutation formula can be turned into the combination formula by dividing by the number of ways to arrange objects, which is .

**Combination Formula:** The number of ways to **choose** objects from a group of objects is:

In the problems below you will see how to use the **fundamental counting principle, permutations,** and **combinations** to help you compute probabilities. *Note that whenever you can use permutations you can also use the fundamental counting principle, because the permutation formula is derived from the fundamental counting principle.*

#### Using the Fundamental Counting Principle

Suppose you are ordering a sandwich at the deli. There are 5 choices for bread, 4 choices for meat, 12 choices for vegetables, and 3 choices for a sauce. How many different sandwiches can be ordered? If you choose a sandwich at random, what's the probability that you get turkey and mayonnaise on your sandwich?

In order to answer this probability question you need to know:

- The total number of sandwiches that can be ordered.
- The number of sandwiches that can be ordered that involve turkey and mayonnaise.

In each case, you can use the **fundamental counting principle** to help.

- A sandwich is made by choosing a bread, a meat, a vegetable, and a sauce. There are 5 outcomes for the event of choosing bread, 4 outcomes for the event of choosing meat, 12 outcomes for the event of choosing vegetables, and 3 outcomes for the event of choosing a sauce. The total number of sandwiches that can be ordered is:
- A sandwich with turkey and mayonnaise is made by choosing a bread, turkey, a vegetable, and mayonnaise. There are 5 outcomes for the event of choosing bread, there is 1 outcome for the event of choosing turkey, there are 12 outcomes for the event of choosing vegetables, and there is 1 outcome for the event of choosing mayonnaise. The total number of sandwiches with turkey and mayonnaise that can be ordered is:

The probability of a sandwich with turkey and mayonnaise is .

**Using Permutations **

In your class of 35 students, there are 20 girls and 15 boys. There is a class competition and 1st, 2nd, and 3rd place winners are decided. What is the probability that all of the winners are boys?

In order to answer this probability question you need to know:

- The total number of 1st, 2nd, 3rd place winners that can be chosen.
- The number of 1st, 2nd, 3rd place winners that are all boys that can be chosen.

In each case, you are dealing with **permutations**, *because the order of the people for 1st, 2nd, and 3rd place matters*.

1. There are 35 students and 3 need to be chosen and arranged into 1st, 2nd, and 3rd place.

2. There are 15 boys and 3 need to be chosen and arranged.

The probability of all boy winners is **.**

Now, let's look at some problems involving combinations

In your class of 35 students, there are 20 girls and 15 boys. 5 students are chosen at random for a presentation. What is the probability that the group is made of all boys?

In order to answer this probability question you need to know:

- The total number of groups that can be formed.
- The number of groups with all boys.

In each case, you are dealing with **combinations**, *because the order of the people for the presentation doesn't matter*.

1. There are 35 students in the class and 5 to be chosen. The number of ways the 5 could be chosen are:

2. There are 15 boys in the class and 5 boys to be chosen. The number of ways the 5 could be chosen are:

The probability of an all boy group is .

**Examples**

**Example 1**

Earlier, you were given a problem on a standard deck of cards.

Suppose you draw two cards from a standard deck (one after the other without replacement) and record the results.

- How many outcomes are there?
- How many ways are there to choose an ace and then a four?
- What is the probability that you choose an ace and then a four?

a) This is an example of a permutation, because the order matters. You are choosing 2 cards from a set of 52 cards.

b) Choosing an ace and choosing a four are independent events. There are 4 aces and 4 fours. By the fundamental counting principle, there are ways to choose an ace and then a four.

c) The probability that you choose an ace and then a four is .

#### Example 2

Calculate and . Interpret each calculation.

. This is the number of ways to choose and arrange four objects from a set of 10 objects.

. This is the number of ways to choose four objects from a set of 10 objects.

#### Example 3

You are driving your friends to the beach in your car. Your car has room for 4 additional passengers besides yourself. You have 10 friends (not including yourself) going to the beach. In how many ways could the friends who will ride in your car be chosen?

This is a combination problem, because there is no indication that the order of the friends within the car matters. (from #1). There are 210 different combinations of 4 friends that could be chosen.

#### Example 4

Make up a probability question that could be solved with the calculation .

The total number of outcomes in the sample space is , which is the number of ways to choose 2 objects from a set of 15. The number of outcomes in the event that you are calculating the probability of is , which is the number of ways to choose 2 objects from a set of 3. Here is one possible question:

The math club has 15 members. 12 are upperclassmen and 3 are freshman. 2 members of the club need to be chosen to make a morning announcement. What is the probability that the 2 who are chosen are both freshmen?

### Review

Calculate each and interpret each calculation in words.

1.

2.

3.

4.

5. Will always be larger than for a given pair?

6. Your graphing calculator has the combination and permutation formulas built in. Push the MATH button and scroll to the right to the PRB list. You should see and as options. In order to use these: 1) On your home screen type the value for ; 2) Select or ; 3) Type the value for ( on the calculator). Use your calculator to verify that .

First, state whether each problem is a **permutation** or **combination** problem. Then, solve.

7. Suppose you need to choose a new combination locker. You have to choose 3 numbers, each different and between 0 and 40. How many choices do you have for the combination? If you choose at random, what is the probability that you choose 0, 1, 2 for your combination?

8. You just won a contest where you can choose 2 friends to go with you to a concert. You have five friends (Amy, Bobby, Jen, Whitney, and David) who are available and want to go. If you choose two friends at random, what is the probability that you choose Bobby and David?

9. There are 12 workshops at a conference and Michael has to choose 4 to attend. In how many ways can he choose the 4 to attend?

10. 10 girls and 4 boys are finalists in a contest where 1st, 2nd, and 3rd place winners will be chosen. What is the probability that all winners are boys?

11. Using the information from the previous problem, what is the probability that all winners are girls?

12. You visit 12 colleges and want to apply to 4 of them. 5 of the colleges are within 100 miles of your house. If you choose the colleges to apply to at random, what is the probability that all 4 colleges that you apply to are within 100 miles of your house?

13. For the 12 colleges you visited, you rank your top five. In how many ways could you do this? Your friend Jesse randomly tries to guess the five colleges that you choose and the order that you ranked them in. What is the probability that he guesses correctly?

14. For the special at a restaurant you can choose 3 different items from the 10 item menu. How many different combinations of meals could you get? If the waiter chooses your 3 items at random, what's the probability that you get the soup, the salad, and the pasta dish?

15. In a typical poker game, each player is dealt 5 cards. A **royal flush** is when the player has the 10, Jack, Queen, King, and Ace *all of the same suit .* What is the probability of a royal flush?

*Hint: How many 5 card hands are there? How many royal flushes are there?*

### Review (Answers)

To see the Review answers, open this PDF file and look for section 11.8.