DOC PREVIEW
PSCC MATH 1630 - Chapter 7.4 Lecture Notes - Logic, Sets, and Counting

This preview shows page 1-2-3-26-27-28 out of 28 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 28 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 28 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 28 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 28 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 28 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 28 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 28 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Chapter 7 Logic, Sets, and Counting7.4 Permutations and CombinationsDefinition of n Factorial (n !)ExampleSolutionTwo Problems Illustrating Combinations and PermutationsSlide 7Slide 8Difference Between Permutations and CombinationsPermutationsSlide 11More ExamplesSlide 13More Examples (continued)P (n, n) = n (n – 1)(n – 2)…1 = n !Slide 16Slide 17CombinationsSlide 19GeneralizationExamplesExamples SolutionCombinations or Permutations?Combinations or Permutations? (continued)Permutations or Combinations? (continued)Slide 26Lottery ProblemSlide 28Chapter 7 Logic, Sets, and CountingSection 4Permutations and Combinations27.4 Permutations and CombinationsFor more complicated problems, we will need to develop two important concepts: permutations and combinations. Both of these concepts involve what is called the factorial of a number.3Definition of n Factorial (n !)n! = n(n – 1)(n – 2)(n – 3)…1 For example, 5! = 5(4)(3)(2)(1) = 120 n! = n(n – 1)!0! = 1 by definition. Most calculators have an n! key or the equivalent.n! grows very rapidly, which may result in overload on a calculator.4ExampleThe simplest protein molecule in biology is called vasopressin and is composed of 8 amino acids that are chemically bound together in a particular order. The order in which these amino acids occur is of vital importance to the proper functioning of vasopressin. If these 8 amino acids were placed in a hat and drawn out randomly one by one, how many different arrangements of these 8 amino acids are possible?5SolutionSolution: Let A, B, C, D, E, F, G, H symbolize the 8 amino acids. They must fill 8 slots: ___ ___ ___ ___ ___ ___ ___ ___ There are 8 choices for the first position, leaving 7 choices for the second slot, 6 choices for the third slot and so on. The number of different orderings is 8(7)(6)(5)(4)(3)(2)(1) = 8! = 40,320.6Two Problems Illustrating Combinations and PermutationsProblem 1: Consider the set {p, e, n}. How many two-letter “words” (including nonsense words) can be formed from the members of this set, if two different letters have to be used?7Two Problems Illustrating Combinations and PermutationsProblem 1: Consider the set {p, e, n}. How many two-letter “words” (including nonsense words) can be formed from the members of this set, if two different letters have to be used? Solution: We will list all possibilities: pe, pn, en, ep, np, ne, a total of 6. Problem 2: Now consider the set consisting of three males: {Paul, Ed, Nick}. For simplicity, denote the set by {p, e, n}. How many two-man crews can be selected from this set?8Two Problems Illustrating Combinations and PermutationsProblem 1: Consider the set {p, e, n}. How many two-letter “words” (including nonsense words) can be formed from the members of this set, if two different letters have to be used? Solution: We will list all possibilities: pe, pn, en, ep, np, ne, a total of 6. Problem 2: Now consider the set consisting of three males: {Paul, Ed, Nick}. For simplicity, denote the set by {p, e, n}. How many two-man crews can be selected from this set?Solution: pe (Paul, Ed), pn (Paul, Nick) and en (Ed, Nick), and that is all!9Difference Between Permutations and CombinationsBoth problems involved counting the numbers of arrangements of the same set {p, e, n}, taken 2 elements at a time, without allowing repetition. However, in the first problem, the order of the arrangements mattered since pe and ep are two different “words”. In the second problem, the order did not matter since pe and ep represented the same two-man crew. We counted this only once.The first example was concerned with counting the number of permutations of 3 objects taken 2 at a time. The second example was concerned with the number of combinations of 3 objects taken 2 at a time.10Permutations The notation P(n, r) represents the number of permutations (arrangements) of n objects taken r at a time, where r is less than or equal to n. In a permutation, the order is important. P(n, r) may also be written Pn,r In our example with the number of two letter words from {p, e, n}, the answer is P(3, 2), which represents the number of permutations of 3 objects taken 2 at a time. P(3, 2) = 6 = (3)(2)11Permutations In general, P(n, r) = n(n – 1)(n – 2)(n – 3)…(n – r + 1)or Pn,rn!n  r !0 r n12More Examples  Find P(5, 3)13More Examples  Find P(5, 3)Here n = 5 and r = 3, so we have P(5, 3) = (5)(5 – 1)(5 – 2) = 5(4)3 = 60. This means there are 60 permutations of 5 items taken 3 at a time.  Application: A park bench can seat 3 people. How many seating arrangements are possible if 3 people out of a group of 5 sit down?14More Examples(continued) Solution: Think of the bench as three slots ___ ___ ___ . There are 5 people that can sit in the first slot, leaving 4 remaining people to sit in the second position and finally 3 people eligible for the third slot. Thus, there are 5(4)(3) = 60 ways the people can sit. The answer could have been found using the permutations formula P(5, 3) = 60, since we are finding the number of ways of arranging 5 objects taken 3 at a time.15Find P(5, 5), the number of arrangements of 5 objects taken 5 at a time. P (n, n) = n (n – 1)(n – 2)…1 = n !16Find P(5, 5), the number of arrangements of 5 objects taken 5 at a time. Answer: P(5, 5) = 5(4)(3)(2)(1) = 120. Application: A bookshelf has space for exactly 5 books. How many different ways can 5 books be arranged on this bookshelf? P (n, n) = n (n – 1)(n – 2)…1 = n !17Find P(5, 5), the number of arrangements of 5 objects taken 5 at a time. Answer: P(5, 5) = 5(4)(3)(2)(1) = 120. Application: A bookshelf has space for exactly 5 books. How many different ways can 5 books be arranged on this bookshelf? Answer: Think of 5 slots, again. There are five choices for the first slot, 4 for the second and so on until there is only 1 choice for the final slot. The answer is 5(4)(3)(2)(1), which is the same as P(5, 5) = 120. P (n, n) = n (n – 1)(n – 2)…1 = n !18CombinationsIn the second problem, the number of two man crews that can be selected from {p, e, n} was found to be 6. This corresponds to the number of combinations of 3 objects taken 2 at a time or C(3, 2). We will use a variation of the formula for permutations to derive a formula for combinations.Note: C(n, r) may also be written Cn,r or .


View Full Document

PSCC MATH 1630 - Chapter 7.4 Lecture Notes - Logic, Sets, and Counting

Download Chapter 7.4 Lecture Notes - Logic, Sets, and Counting
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Chapter 7.4 Lecture Notes - Logic, Sets, and Counting and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Chapter 7.4 Lecture Notes - Logic, Sets, and Counting 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?