When writing permutations, we use the notation nPr, where n represents the number of items to choose from, P stands for permutation and r stands for how many items you are choosing. To calculate the permutation using this formula, you would use nPr = n! / (n - r)!.
John is still playing poker and enjoying a lot of success. The dealer asks the group of six players if four of them would like to join a private game. John is excited but curious about how many different ways the four players can be selected. Using the formula nPr, n would represent the total number of players, which is 6. The r term would represent the number of players that are being chosen, which is 4. So, this equation would look like 6P4.
To solve this equation, John will calculate 6! and divide it by (6 - 4)!. The first thing John must do is subtract the (6 - 4) in the denominator to get 2. John's equation now looks like 6! / 2!. To calculate 6!, John will multiply 6 * 5 * 4 * 3 * 2 * 1 = 720, and 2! = 2 * 1 = 2. So, we now have 720 / 2, which equals 360. There are 360 ways that four players from John's table can be selected to play at a private table.
Example
Before heading to the private poker game, John stops by the snack bar. The snack bar makes pizzas and has a total of ten toppings. The snack bar sells pizzas with a maximum number of four toppings. How many different types of pizzas can John make?
To calculate the number of choices, you would need to use the equation 10P4 = 10! / (10 - 4)! The first step that John must do is subtract (10 - 4) = 6. So, 10! / (10 - 4)! = 10! / 6!. To calculate 10!, you would multiply 10 * 9 * 8 * 7 * 6 * 5 * 4 * 3 * 2 * 1. To calculate the 6!, you would multiply 6 * 5 * 4 * 3 * 2 * 1. The easiest way to calculate the total number of choices is to cancel out common terms. Since 6 * 5 * 4 * 3 * 2 * 1 appears on both the top and bottom, these terms can be cancelled out. So, this would leave (10 * 9 * 8 * 7 ) / 1, which equals 5,040 / 1, which equals 5,040. John can choose from 5,040 different types of pizza.
Lesson Summary
So, let's review what we've learned about permutations. A permutation is an arrangement of items or events in which order is important. Permutations help us find the total number of ways that items can be chosen when order does matter. A key tool in calculating permutations is factorials. Factorials are written with an exclamation point - for example, n!. To find the factorial of a number, multiply all of the positive integers equal to or less than that number. For example, 7! = 7 * 6 * 5 * 4 * 3 * 2 * 1 = 5,040.
To calculate permutations, we use the equation nPr, where n is the total number of choices and r is the amount of items being selected. To solve this equation, use the equation nPr = n! / (n - r)!.