How many ways can 7 students finish a race in 1st 2nd and 3rd place?

I’ve always confused “permutation” and “combination” — which one’s which?

Here’s an easy way to remember: permutation sounds complicated, doesn’t it? And it is. With permutations, every little detail matters. Alice, Bob and Charlie is different from Charlie, Bob and Alice (insert your friends’ names here).

Combinations, on the other hand, are pretty easy going. The details don’t matter. Alice, Bob and Charlie is the same as Charlie, Bob and Alice.

Permutations are for lists (order matters) and combinations are for groups (order doesn’t matter).

You know, a "combination lock" should really be called a "permutation lock". The order you put the numbers in matters.

How many ways can 7 students finish a race in 1st 2nd and 3rd place?

A true "combination lock" would accept both 10-17-23 and 23-17-10 as correct.

Permutations: The hairy details

Let’s start with permutations, or all possible ways of doing something. We’re using the fancy-pants term “permutation”, so we’re going to care about every last detail, including the order of each item. Let’s say we have 8 people:

1: Alice 2: Bob 3: Charlie 4: David 5: Eve 6: Frank 7: George 8: Horatio

How many ways can we award a 1st, 2nd and 3rd place prize among eight contestants? (Gold / Silver / Bronze)

How many ways can 7 students finish a race in 1st 2nd and 3rd place?

We’re going to use permutations since the order we hand out these medals matters. Here’s how it breaks down:

  • Gold medal: 8 choices: A B C D E F G H (Clever how I made the names match up with letters, eh?). Let’s say A wins the Gold.
  • Silver medal: 7 choices: B C D E F G H. Let’s say B wins the silver.
  • Bronze medal: 6 choices: C D E F G H. Let’s say… C wins the bronze.

We picked certain people to win, but the details don’t matter: we had 8 choices at first, then 7, then 6. The total number of options was $8 * 7 * 6 = 336$.

Let’s look at the details. We had to order 3 people out of 8. To do this, we started with all options (8) then took them away one at a time (7, then 6) until we ran out of medals.

We know the factorial is:

How many ways can 7 students finish a race in 1st 2nd and 3rd place?

Unfortunately, that does too much! We only want $8 * 7 * 6$. How can we “stop” the factorial at 5?

This is where permutations get cool: notice how we want to get rid of $5 * 4 * 3 * 2 * 1$. What’s another name for this? 5 factorial!

So, if we do 8!/5! we get:

How many ways can 7 students finish a race in 1st 2nd and 3rd place?

And why did we use the number 5? Because it was left over after we picked 3 medals from 8. So, a better way to write this would be:

How many ways can 7 students finish a race in 1st 2nd and 3rd place?

where 8!/(8-3)! is just a fancy way of saying “Use the first 3 numbers of 8!”. If we have n items total and want to pick k in a certain order, we get:

How many ways can 7 students finish a race in 1st 2nd and 3rd place?

And this is the fancy permutation formula: You have n items and want to find the number of ways k items can be ordered:

How many ways can 7 students finish a race in 1st 2nd and 3rd place?

Combinations, Ho!

Combinations are easy going. Order doesn’t matter. You can mix it up and it looks the same. Let’s say I’m a cheapskate and can’t afford separate Gold, Silver and Bronze medals. In fact, I can only afford empty tin cans.

How many ways can I give 3 tin cans to 8 people?

Well, in this case, the order we pick people doesn’t matter. If I give a can to Alice, Bob and then Charlie, it’s the same as giving to Charlie, Alice and then Bob. Either way, they’re equally disappointed.

This raises an interesting point — we’ve got some redundancies here. Alice Bob Charlie = Charlie Bob Alice. For a moment, let’s just figure out how many ways we can rearrange 3 people.

Well, we have 3 choices for the first person, 2 for the second, and only 1 for the last. So we have $3 * 2 * 1$ ways to re-arrange 3 people.

Wait a minute… this is looking a bit like a permutation! You tricked me!

Indeed I did. If you have N people and you want to know how many arrangements there are for all of them, it’s just N factorial or N!

So, if we have 3 tin cans to give away, there are 3! or 6 variations for every choice we pick. If we want to figure out how many combinations we have, we just create all the permutations and divide by all the redundancies. In our case, we get 336 permutations (from above), and we divide by the 6 redundancies for each permutation and get 336/6 = 56.

The general formula is

How many ways can 7 students finish a race in 1st 2nd and 3rd place?

which means “Find all the ways to pick k people from n, and divide by the k! variants”. Writing this out, we get our combination formula, or the number of ways to combine k items from a set of n:

How many ways can 7 students finish a race in 1st 2nd and 3rd place?

Sometimes C(n,k) is written as:

How many ways can 7 students finish a race in 1st 2nd and 3rd place?

which is the the binomial coefficient.

A few examples

Here’s a few examples of combinations (order doesn’t matter) from permutations (order matters).

  • Combination: Picking a team of 3 people from a group of 10. $C(10,3) = 10!/(7! * 3!) = 10 * 9 * 8 / (3 * 2 * 1) = 120$.

    Permutation: Picking a President, VP and Waterboy from a group of 10. $P(10,3) = 10!/7! = 10 * 9 * 8 = 720$.

  • Combination: Choosing 3 desserts from a menu of 10. C(10,3) = 120.

    Permutation: Listing your 3 favorite desserts, in order, from a menu of 10. P(10,3) = 720.

Don’t memorize the formulas, understand why they work. Combinations sound simpler than permutations, and they are. You have fewer combinations than permutations.

How many ways can 7 students finish a race in 1st 2nd and 3rd place?

How many ways can 7 students finish a race in 1st 2nd and 3rd place?

Enjoy the article? There's plenty more to help you build a lasting, intuitive understanding of math. Join the newsletter for bonus content and the latest updates.

Permutations and Combinations

Permutations

When you have to take a smaller group of items from a larger group, you often need to know how many different ways there are of making a selection (this comes in handy when studying probability).

In some situations, the order of the items in the smaller group is important.  For example, the diagram below shows all possible results for the top three dogs at a dog show:

How many ways can 7 students finish a race in 1st 2nd and 3rd place?

Each arrangement lists the same dogs, but the order of first-, second-, and third-place winners differ.  Arrangements such as these are called permutations.  A permutation is an arrangement is which order is important.  You can use the counting principle to count permutations.

Counting Permutations

Example 1

You have just downloaded 5 new songs.  You can use the counting principle to count the different permutations of those 5 songs.  This is the number of different sequences in which you can listen to the new songs on your playlist.

How many ways can 7 students finish a race in 1st 2nd and 3rd place?

You can listen to the songs in 120 different orders.

Factorials!

In the last example, you evaluated 5 × 4 × 3 × 2 × 1.  When you multiply a number by the number 1 less than itself, then by the number 1 less than that, and so on, all the way down to 1, this is known as a factorial.  You can write "5 × 4 × 3 × 2 × 1" as "5!" which is read as "5 factorial."

5!  =  5 × 4 × 3 × 2 × 1

n!  =  n × (n − 1) × (n − 2) × ... × 1

Note:  The value of 0! is defined as 1.

Example 2

Twelve marching bands entered a competition.  In how many different ways can first, second, and third places be awarded?

How many ways can 7 students finish a race in 1st 2nd and 3rd place?

There are 1,320 different ways to award the three places.

Permutation Notation

The previous example shows how to find the number of permutations of 12 items taken 3 at a time.  We can write this as 12P3.  In general, the permutation formula is defined as follows:

The number of permutations of n objects taken r at a time = nPr =

Example: 

How many ways can 7 students finish a race in 1st 2nd and 3rd place?

In permutations, the order in which something is arranged is important. 

combination, on the other hand, is a group of items whose order is not important. For example, suppose you go to lunch with a friend. You choose milk, soup, and a salad. Your friend chooses soup, a salad, and milk. The order in which the items are chosen does not matter. You both have same meal.


Listing Combinations

Example 

You have 4 tickets to the county fair and can take 3 of your friends. You can choose from Abby (A), Brian (B), Chloe (C), and David (D). How many different choices of groups of friends do you have?


Solution

List all possible arrangements of three friends. Then cross out any duplicate groupings that represent the same group of friends.

How many ways can 7 students finish a race in 1st 2nd and 3rd place?

You have 4 different choices of groups to take to the fair.

Combination Notation 

In Example 1, after you cross out the duplicate groupings, you are left with the number of combinations of 4 items chosen 3 at a time. Using notation, this is written 4C3.


To find the number of combinations of n objects taken r at a time, divide the number of permutations of n objects taken r at a time by r !.

Formula:                        Example: 

How many ways can 7 students finish a race in 1st 2nd and 3rd place?
                   
How many ways can 7 students finish a race in 1st 2nd and 3rd place?

Evaluating Combinations 

Find the number of combinations if you select 3 items from a group of 8.


8C3

How many ways can 7 students finish a race in 1st 2nd and 3rd place?


Find the number of combinations if you select 7 items from a group of 9.

9C7

How many ways can 7 students finish a race in 1st 2nd and 3rd place?

Distinguishing Permutations and Combinations

Examples

State whether the possibilities can be counted using a permutation or combination. Then write an expression for the number of possibilities. 

a. There are 8 swimmers in the 400 meter freestyle race. In how many ways can the swimmers finish first, second, and third? 

Solution: Because the swimmers can finish first, second, or third, order is important. So the possibilities can be counted by evaluating 8P3. 


b. Your track team has 6 runners available for the 4-person relay event. How many different 4-person teams can be chosen? 

Solution: Order is not important in choosing the team members, so the possibilities can be counted by evaluating 6C4. 

Practice

1. A(n) _?_ is a grouping of objects in which the order is not important. 

2. A(n) _?_ is an arrangement of a group of objects in a particular order.

3.   There are 12 members of a track team who want to run one of the legs in a 4 person relay race. Choose the calculation that you can use to find the number of ways that runners can be chosen for each of the legs of the relay race. 

A. 

B. 

C. 

4.  You want to choose 3 different colors of balloons for a party.  The balloons are available in 24 colors.  How many ways can you choose 3 different colors of balloons?


5.    There are 8 students participating in a car wash. How many ways can 2 of the students be chosen to hold signs advertising the car wash?

A. 8        B. 16    

C. 28      D. 56

6.   A bag contains 1 green marble, 1 blue marble, 1 red marble, and 1 white marble. How many ways can 3 marbles be randomly chosen from the bag, if the order in which the marbles are chosen is important?

Determine whether each situation below describes a permutation or combination. Then find the number of arrangements.

7.   Ways to arrange the letters in the word GUITAR.

8.   Ways to arrange 7 comic books on a shelf.

9.  Ways to choose 4 different fish from 26 kinds of fish.

10. Ways to choose a president, vice-president, treasurer, and secretary from 18 members of a club.

11. Ways to choose 8 students to be extras in a play from 14 students.

12.  Ways a coach can arrange the batting order of the 9 starting players of a baseball team

13.  A door can be opened only with a security code that consists of five buttons: 1, 2, 3, 4, 5.  A code consists of pressing any one button, or any two, or any three, or any four, or all five.  How many possible codes are there?  (You are to press all the buttons at once, so the order doesn't matter.)

14.  How many different 3 digit numbers can you make using the digits 1, 4, 5, 6, 8, and 9, if no digit appears more than once in the number?

Answers

1.  combination

2.  permutation ("factorial" is also acceptable)

3.  A

4.  2024

5.  C

6.  24

7.  permutation; 720

8.  permutation; 5040

9.  combination; 14,950

10.  permutation; 73,440

11.  combination; 3003

12.  permutation; 362,880

13.  31

14.  120