Permutations Number of Permutations Factorial Number of R-Permutations

Permutations Number of Permutations Factorial Number of R-Permutations

5 ways 4 ways 3 ways 2 ways 1 ways 5 ∗ 4 ∗ 3 ∗ 2 ∗ 1 = 120 ways 5 ways 4 ways 3 ways 5 ∗ 4 ∗ 3 = 60 ways n ways n − 1 ways n − 2 ways n − r + 1 ways n ∗ (n − 1) ∗ · · · ∗ (n − r + 1) Permutations Number of Permutations A permutation of n distinct objects is an arrangement or ordering of the n objects. The permutations of the letters “abc” are: How many permutations are there of the letters “abcde”? abc, acb, bac, bca, cab, and cba. Action 1: Pick a letter In general we could only use some of the objects. Action 2: Pick a letter Action 3: Pick a letter A r-permutation of n distinct objects is an arrangement using r Action 4: Pick a letter of the n objects. Action 5: Pick a letter Total The 1-permutations of the letters “abc” are: a, b, and c. The 2-permutations of the letters “abc” are: ab, ac, ba, bc, ca, and cb. Factorial Number of r-Permutations We will see products of the form 5 ∗ 4 ∗ 3 ∗ 2 ∗ 1 frequently. How many 3-permutations are there of the letters “abcde”? The product of consecutive integers from 1 to some n is called a Action 1: Pick a letter factorial and is denoted n!. Action 2: Pick a letter Action 3: Pick a letter Total n! = n ∗ (n − 1) ∗ (n − 2) ∗ · · · ∗ 2 ∗ 1 5! = 5 ∗ 4 ∗ 3 ∗ 2 ∗ 1 = 120 0! = 1 Note that this is like a factorial but we stop before reaching 1. There are n! permutations of a set of size n. Number of r-Permutations Number of r-Permutations The number of r-permutations is denoted by P (n, r). How many r-permutations are there of a set of size n? P (n, r) = n ∗ (n − 1) ∗ (n − 2) ∗ · · · ∗ (n − r + 1) n! = (n−r)! Action 1: Pick the first item Action 2: Pick the second item P (3, 1) = 3 Action 3: Pick the third item . P (3, 2) = 6 Action r: Pick the rth item Total P (3, 3) = 6 P (n, 1) = n P (n, n − 1) = P (n, n) = n! r! ways n! P (n, r) = (n−r)! Number of Distinguishable Permutations Number of Distinguishable Permutations How many permutations of the letters “aabc” are there? How many permutations of the letters “systems” are there? Note that we can not distinguish the 2 a’s from one another. Suppose we could distinguish the a’s then the total number of Note that we can not distinguish the 3 s’s from one another. permutations would be P (4, 4) = 4! = 24. aabc, aacb, abac, abca, acab, acba, If we could distinguish the s’s then the total number of aabc, aacb, abac, abca, acab, acba, permutations would be P (7, 7) = 7! = 5040. baac, baca, caab, caba, bcaa, cbaa baac, baca, caab, caba, bcaa, cbaa However, since we cannot tell the s’s apart we have over counted by a factor of 3! = 6 (the number of permutations of the s’s). However, since we cannot tell the a’s apart we have over counted by a factor of 2! = 2 (the number of permutations of the a’s). 7! Thus, there are only 3! = 840 distinguishable permutations of the 4! letters “systems”. Thus, there are only 2! = 12 distinguishable permutations of the letters “aabc”. Number of Distinguishable Permutations Number of Distinguishable Permutations Suppose a coin is tossed seven times. How many sequences of 4 In general if we have a total of n objects of which n1 are of one heads and 3 tails are possible? type n2 of another type, . , and nk of another type, then the number of distinguishable permutations is: This question is asking how many distinguishable permutations are n! there of “HHHHTTT”. n1! ∗ n2! ∗ · · · ∗ nk! The are 4 objects of type “head” and 3 objects of type “tail”. Note n1 + n2 + ··· + nk = n. 7! The number of distinguishable permutations is 4!∗3! = 35. Combinations The Number of r-Combinations With permutations order is important. A r-permutation can be formed by choosing any r- combination of the n objects and then arranging them in some order. With combinations we are looking at a subset of the objects. Number of r-permutations A r-combination of n distinct objects is an unordered selection or “subset” of r of the objects. Action 1: Choose a r-combination C(n, r) ways Action 2: Pick an ordering The 2-combinations of the letters “abc” are: Total ab, ac, and bc. The number of r-combinations of n objects is denoted C(n, r) or n P (n,r) n! . Thus, C(n, r) = r! = r!(n−r)! . r.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    2 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us