Virtual Laboratories > Combinatorics > 1 [2] 3 4 5

2. Permutations


Permutations

Consider a set D with n elements. A permutation of length k from D is an ordered sequence

(x1, x2, ..., xk)

of k distinct elements of D (of course, k cannot be larger than n). Statistically, a permutation of length k from D corresponds to an ordered sample of size k chosen without replacement.

The Number of Permutations

Mathematical Exercise 1. Use the multiplication principle to show that the number of permutations of length k from an n element set is

(n)k = n(n - 1) ··· (n - k + 1)

Mathematical Exercise 2. Show that the number of permutations of length n from the n element set D (these are called simply permutations of D) is

n! = (n)n = n(n - 1) ··· (1)

Mathematical Exercise 3. Show that

(n)k = n! / (n - k)!

Mathematical Exercise 4. In a race with 10 horses, the first, second, and third place finishers are noted. How many outcomes are there?

Mathematical Exercise 5. Eight persons, consisting of four married couples, are to be seated in a row of eight chairs. How many seating arrangements are there if:

  1. There are no other restrictions
  2. The men must sit together and the women must sit together
  3. The men must sit together
  4. The spouses in each married couple must sit together

Mathematical Exercise 6. Suppose that n people are to be seated at a round table. Show that there are (n - 1)! distinct seating arrangements. Hint: the mathematical significance of a round table is that there is no dedicated first chair.

Mathematical Exercise 7. Twelve books, consisting of 5 math books, 4 science books, and 3 history books are randomly arranged on a bookshelf.

  1. How many outcomes are there?
  2. Find the probability that the books of each type are together.
  3. Find the probability that the math books are together.

Mathematical Exercise 8. The birthday problem. Suppose that n persons are chosen at random and their birthdays noted.

  1. Find the probability that all the birthdays are distinct.
  2. State clearly the assumptions that you made in part (a).
  3. Compute the probability in (a) explicitly when n = 10, 20, 30, and 40.

Mathematical Exercise 9. Run the birthday experiment 1000 times for the following values of n. In each case, compare the relative frequency of the event that the birthdays are distinct with the theoretical values in Exercise 8.

Mathematical Exercise 10. Suppose that there are 5 duck hunters, each a perfect shot. A flock of 10 ducks fly over, and each hunter selects one duck at random and shoots. Find the probability that 5 ducks are killed.

Mathematical Exercise 11. Show that the number of permutations of the cards in a standard deck is

52! = 8.0658 × 1068.

The number in Exercise 10 is enormous. Indeed if you perform the experiment of dealing all 52 cards from a well-shuffled deck, you will probably generate a pattern of cards that has never been generated before.

Mathematical Exercise 12. Suppose that 8 rooks are randomly placed on a chessboard. Show that the probability that no rook can capture another is

8! 8! / (64)8.

Mathematical Exercise 13. Suppose that 5 fair dice are rolled. Find the probability that the scores are all different.

Mathematical Exercise 14. A license tag consists of 2 letters and 5 digits. Find the probability that the letters and digits are all different.

The Generalized Permutation Formula

The formula for (n)k in Exercise 1 makes sense for any real number n and nonnegative integer k. The resulting expression is called the generalized permutation formula.

Mathematical Exercise 15. Compute each of the following

  1. (-5)3
  2. (1 / 2)4
  3. (-1 / 3)5