Finding the Number of Permutations of [latex]n[/latex] Distinct Objects Using the Multiplication Principle
The Multiplication Principle can be used to solve a variety of problem types. One type of problem involves placing objects in order. We arrange letters into words and digits into numbers, line up for photographs, decorate rooms, and more. An ordering of objects is called a permutation.
To solve permutation problems, it is often helpful to draw line segments for each option. That enables us to determine the number of each option so we can multiply.
Suppose we have four paintings, and we want to find the number of ways we can hang three of the paintings in order on the wall. We can draw three lines to represent the three places on the wall.There are four options for the first place, so we write a [latex]4[/latex] on the first line.After the first place has been filled, there are three options for the second place so we write a [latex]3[/latex] on the second line.
After the second place has been filled, there are two options for the third place so we write a [latex]2[/latex] on the third line. Finally, we find the product.
There are [latex]24[/latex] possible permutations of the paintings.
How To: Given [latex]n[/latex] distinct options, determine how many permutations there are.
Determine how many options there are for the first situation.
Determine how many options are left for the second situation.
Continue until all of the spots are filled.
Multiply the numbers together.
At a swimming competition, nine swimmers compete in a race.
How many ways can they place first, second, and third?
How many ways can they place first, second, and third if a swimmer named Ariel wins first place? (Assume there is only one contestant named Ariel.)
How many ways can all nine swimmers line up for a photo?
Draw lines for each place.There are [latex]9[/latex] options for first place. Once someone has won first place, there are [latex]8[/latex] remaining options for second place. Once first and second place have been won, there are [latex]7[/latex] remaining options for third place.Multiply to find that there are [latex]504[/latex] ways for the swimmers to place.
Draw lines for describing each place.We know Ariel must win first place, so there is only [latex]1[/latex] option for first place. There are [latex]8[/latex] remaining options for second place, and then [latex]7[/latex] remaining options for third place.Multiply to find that there are [latex]56[/latex] ways for the swimmers to place if Ariel wins first.
Draw lines for describing each place in the photo.There are [latex]9[/latex] choices for the first spot, then [latex]8[/latex] for the second, [latex]7[/latex] for the third, [latex]6[/latex] for the fourth, and so on until only [latex]1[/latex] person remains for the last spot.There are [latex]362,880[/latex] possible permutations for the swimmers to line up.
Analysis of the Solution
Note that in part c, we found there were [latex]9![/latex] ways for [latex]9[/latex] people to line up. The number of permutations of [latex]n[/latex] distinct objects can always be found by [latex]n![/latex].
Finding the Number of Permutations of [latex]n[/latex] Distinct Objects Using a Formula
For some permutation problems, it is inconvenient to use the Multiplication Principle because there are so many numbers to multiply. Fortunately, we can solve these problems using a formula.
Before we learn the formula, let’s look at two common notations for permutations. If we have a set of [latex]n[/latex] objects and we want to choose [latex]r[/latex] objects from the set in order, we write [latex]P\left(n,r\right)[/latex]. Another way to write this is [latex]{}_{n}{P}_{r}[/latex], a notation commonly seen on computers and calculators. To calculate [latex]P\left(n,r\right)[/latex], we begin by finding [latex]n![/latex], the number of ways to line up all [latex]n[/latex] objects. We then divide by [latex]\left(n-r\right)![/latex] to cancel out the [latex]\left(n-r\right)[/latex] items that we do not wish to line up.
Let’s see how this works with a simple example. Imagine a club of six people. They need to elect a president, a vice president, and a treasurer. Six people can be elected president, any one of the five remaining people can be elected vice president, and any of the remaining four people could be elected treasurer. The number of ways this may be done is [latex]6\times 5\times 4=120[/latex]. Using factorials, we get the same result.
There are [latex]120[/latex] ways to select [latex]3[/latex] officers in order from a club with [latex]6[/latex] members. We refer to this as a permutation of [latex]6[/latex] taken [latex]3[/latex] at a time. The general formula is as follows.
Note that the formula stills works if we are choosing all [latex]n[/latex] objects and placing them in order. In that case we would be dividing by [latex]\left(n-n\right)![/latex] or [latex]0![/latex], which we said earlier is equal to [latex]1[/latex]. So the number of permutations of [latex]n[/latex] objects taken [latex]n[/latex] at a time is [latex]\frac{n!}{1}[/latex] or just [latex]n![/latex].
formula for permutations of [latex]n[/latex] distinct objects
Given [latex]n[/latex] distinct objects, the number of ways to select [latex]r[/latex] objects from the set in order can be calculated using the permutation of [latex]r[/latex] objects out of a set of [latex]n[/latex] objects.
A professor is creating an exam of [latex]9[/latex] questions from a test bank of [latex]12[/latex] questions. How many ways can she select and arrange the questions?
Substitute [latex]n=12[/latex] and [latex]r=9[/latex] into the permutation formula and simplify.
There are [latex]79,833,600[/latex] possible permutations of exam questions!
Using Calculator: We can also use a calculator to find permutations. For this problem, we would enter [latex]12[/latex], press the [latex]{}_{n}{P}_{r}[/latex] function, enter [latex]9[/latex], and then press Enter. The [latex]{}_{n}{P}_{r}[/latex] function may be located under the MATH menu with probability commands.
Multiplication Principle: You can also find the answer using multiplication principle [latex]12\cdot 11\cdot 10\cdot 9\cdot 8\cdot 7\cdot 6\cdot 5\cdot 4[/latex] and obtained the same answer.