COUNTING Permutations and Combinations. 2Barnett/Ziegler/Byleen College Mathematics 12e Learning Objectives for Permutations and Combinations  The student.

Slides:



Advertisements
Similar presentations
Warm-Up Problem Can you predict which offers more choices for license plates? Choice A: a plate with three different letters of the alphabet in any order.
Advertisements

How many possible outcomes can you make with the accessories?
Fall 2002CMSC Discrete Structures1 Permutations How many ways are there to pick a set of 3 people from a group of 6? There are 6 choices for the.
Counting Techniques: Combinations
1 Learning Objectives for Section 7.4 Permutations and Combinations After today’s lesson you should be able to set up and compute factorials. apply and.
Multiplication Rule. A tree structure is a useful tool for keeping systematic track of all possibilities in situations in which events happen in order.
ENM 207 Lecture 5. FACTORIAL NOTATION The product of positive integers from 1 to n is denoted by the special symbol n! and read “n factorial”. n!=1.2.3….(n-2).(n-1).n.
Combinations We should use permutation where order matters
Copyright © Ed2Net Learning Inc.1. 2 Warm Up 1.List all combinations of Roshanda, Shelli, Toshi, and Hector, taken three at a time 2. In how many ways.
Logic and Introduction to Sets Chapter 6 Dr.Hayk Melikyan/ Department of Mathematics and CS/ For more complicated problems, we will.
College Algebra Fifth Edition
How many ways are there to pass through city A where the arrows represent one-way streets? Answer: mn ways The counting principal: Suppose two experiments.
Chapter 5 Section 5 Counting Techniques.
5.5 Counting Techniques. More Challenging Stuff  The classical method, when all outcomes are equally likely, involves counting the number of ways something.
40S Applied Math Mr. Knight – Killarney School Slide 1 Unit: Probability Lesson: PR-4 Fundamental Counting Principle Fundamental Counting Principle Learning.
4. Counting 4.1 The Basic of Counting Basic Counting Principles Example 1 suppose that either a member of the faculty or a student in the department is.
Counting and Probability Sets and Counting Permutations & Combinations Probability.
Chapter 7 Logic, Sets, and Counting Section 4 Permutations and Combinations.
6.4 Permutations and combinations For more complicated problems, we will need to develop two important concepts: permutations and combinations. Both of.
College Algebra Sixth Edition James Stewart Lothar Redlin Saleem Watson.
6  Sets and Set Operations  The Number of Elements in a Finite Set  The Multiplication Principle  Permutations and Combinations Sets and Counting.
Copyright © Cengage Learning. All rights reserved. CHAPTER 9 COUNTING AND PROBABILITY.
1 Permutations and Combinations. 2 In this section, techniques will be introduced for counting the unordered selections of distinct objects and the ordered.
Chapter 4 Lecture 4 Section: 4.7. Counting Fundamental Rule of Counting: If an event occurs m ways and if a different event occurs n ways, then the events.
Counting. Techniques for counting Rule 1 Suppose we carry out have a sets A 1, A 2, A 3, … and that any pair are mutually exclusive (i.e. A 1  A 2 =
Topics to be covered: Produce all combinations and permutations of sets. Calculate the number of combinations and permutations of sets of m items taken.
Permutations and Combinations
Fall 2002CMSC Discrete Structures1 One, two, three, we’re… Counting.
Section 10-3 Using Permutations and Combinations.
March 10, 2015Applied Discrete Mathematics Week 6: Counting 1 Permutations and Combinations How many different sets of 3 people can we pick from a group.
© The McGraw-Hill Companies, Inc., Chapter 4 Counting Techniques.
Lesson Counting Techniques. Objectives Solve counting problems using the Multiplication Rule Solve counting problems using permutations Solve counting.
Introduction to Probability  Probability is a numerical measure of the likelihood that an event will occur.  Probability values are always assigned on.
Prob/Stats Definition A permutation is an ordered arrangement of objects. (For example, consider the permutations of the letters A, B, C and D.)
March 10,  Counting  Fundamental Counting principle  Factorials  Permutations and combinations  Probability  Complementary events  Compound.
Chapter 7 Logic, Sets, and Counting Section 4 Permutations and Combinations.
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Chapter 7 Review Important Terms, Symbols, Concepts 7.1. Logic A proposition is a statement (not a question.
Sullivan Algebra and Trigonometry: Section 14.2 Objectives of this Section Solve Counting Problems Using the Multiplication Principle Solve Counting Problems.
Learning Objectives for Section 7.4 Permutations and Combinations
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Learning Objectives for Section 7.4 Permutations and Combinations The student will be able to set up and.
PERMUTATIONS AND COMBINATIONS BOTH PERMUTATIONS AND COMBINATIONS USE A COUNTING METHOD CALLED FACTORIAL.
Copyright © Cengage Learning. All rights reserved. Elementary Probability Theory 4.
Discrete Mathematics, 1st Edition Kevin Ferland Chapter 6 Basic Counting 1.
Counting Principles Multiplication rule Permutations Combinations.
Some other set notation We will use the notation to mean that e is an element of A. We will use the notation to mean that e is not an element of A.
THE NATURE OF COUNTING Copyright © Cengage Learning. All rights reserved. 12.
Permutations and Combinations. 2 In this section, techniques will be introduced for counting the unordered selections of distinct objects and the ordered.
HAWKES LEARNING Students Count. Success Matters. Copyright © 2015 by Hawkes Learning/Quant Systems, Inc. All rights reserved. Section 7.2 Counting Our.
 Counting  Fundamental Counting principle  Factorials  Permutations and combinations  Probability  Complementary events  Compound events  Independent.
© 2010 Pearson Prentice Hall. All rights reserved. CHAPTER 11 Counting Methods and Probability Theory.
2/24/20161 One, two, three, we’re… Counting. 2/24/20162 Basic Counting Principles Counting problems are of the following kind: “How many different 8-letter.
Copyright © Cengage Learning. All rights reserved. Probability and Statistics.
Chapter 10 Counting Methods.
Permutations and Combinations
The Pigeonhole Principle
Permutations and Combinations
Counting Methods and Probability Theory
COCS DISCRETE STRUCTURES
12.2 Permutations and Combinations
Copyright © Cengage Learning. All rights reserved.
Permutations and Combinations
8.3 Counting Apply the fundamental counting principle
Chapter 7 Logic, Sets, and Counting
Permutations and Combinations
Counting Methods and Probability Theory
Counting Methods and Probability Theory
Counting Methods and Probability Theory
Presentation transcript:

COUNTING Permutations and Combinations

2Barnett/Ziegler/Byleen College Mathematics 12e Learning Objectives for Permutations and Combinations  The student will be able to set up and compute factorials.  The student will be able to apply and calculate permutations.  The student will be able to apply and calculate combinations.  The student will be able to solve applications involving permutations and combinations.

3Barnett/Ziegler/Byleen College Mathematics 12e Permutations and Combinations For 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.

4Barnett/Ziegler/Byleen College Mathematics 12e Definition 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.

5Barnett/Ziegler/Byleen College Mathematics 12e Example The 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?

6Barnett/Ziegler/Byleen College Mathematics 12e Solution Solution: 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.

7Barnett/Ziegler/Byleen College Mathematics 12e Two 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?

8Barnett/Ziegler/Byleen College Mathematics 12e Two 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?

9Barnett/Ziegler/Byleen College Mathematics 12e Two 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!

10Barnett/Ziegler/Byleen College Mathematics 12e Difference 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.

11Barnett/Ziegler/Byleen College Mathematics 12e Permutations  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 P n,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)

12Barnett/Ziegler/Byleen College Mathematics 12e Permutations In general, P(n, r) = n(n – 1)(n – 2)(n – 3)…(n – r + 1) or

13Barnett/Ziegler/Byleen College Mathematics 12e More Examples  Find P(5, 3)

14Barnett/Ziegler/Byleen College Mathematics 12e More 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?

15Barnett/Ziegler/Byleen College Mathematics 12e More 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.

16Barnett/Ziegler/Byleen College Mathematics 12e  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 !

17Barnett/Ziegler/Byleen College Mathematics 12e  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 !

18Barnett/Ziegler/Byleen College Mathematics 12e  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!

19Barnett/Ziegler/Byleen College Mathematics 12e Combinations  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 C n,r or.

20Barnett/Ziegler/Byleen College Mathematics 12e Combinations  Consider the six permutations of {p, e, n} which are grouped in three pairs of 2. Each pair corresponds to one combination of 2: (pe, ep), (pn, np), (en, ne)  If we want to find the number of combinations of 3 objects taken 2 at a time, we simply divide the number of permutations of 3 objects taken 2 at a time by 2 (or 2!)  We have the following result: C(3, 2) =

21Barnett/Ziegler/Byleen College Mathematics 12e Generalization General result: This formula gives the number of subsets of size r that can be taken from a set of n objects. The order of the items in each subset does not matter. The number of combinations of n distinct objects taken r at a time without repetition is given by

22Barnett/Ziegler/Byleen College Mathematics 12e Examples 1. Find C(8, 5) 2. Find C(8, 8)

23Barnett/Ziegler/Byleen College Mathematics 12e Examples Solution 1. Find C(8, 5) Solution: C(8, 5) = 2. Find C(8, 8) Solution: C(8, 8) =

24Barnett/Ziegler/Byleen College Mathematics 12e Combinations or Permutations?  In how many ways can you choose 5 out of 10 friends to invite to a dinner party?

25Barnett/Ziegler/Byleen College Mathematics 12e Combinations or Permutations? (continued)  In how many ways can you choose 5 out of 10 friends to invite to a dinner party?  Solution: Does the order of selection matter? If you choose friends in the order A,B,C,D,E or A,C,B,D,E, the same set of 5 was chosen, so we conclude that the order of selection does not matter. We will use the formula for combinations since we are concerned with how many subsets of size 5 we can select from a set of 10. C(10,5) =

26Barnett/Ziegler/Byleen College Mathematics 12e Permutations or Combinations? (continued)  How many ways can you arrange 10 books on a bookshelf that has space for only 5 books?

27Barnett/Ziegler/Byleen College Mathematics 12e Permutations or Combinations? (continued)  How many ways can you arrange 10 books on a bookshelf that has space for only 5 books?  Solution: Does order matter? The answer is yes since the arrangement ABCDE is a different arrangement of books than BACDE. We will use the formula for permutations. We need to determine the number of arrangements of 10 objects taken 5 at a time so we have P(10, 5) = 30,240.

28Barnett/Ziegler/Byleen College Mathematics 12e Lottery Problem  A certain state lottery consists of selecting a set of 6 numbers randomly from a set of 49 numbers. To win the lottery, you must select the correct set of six numbers. How many possible lottery tickets are there?

29Barnett/Ziegler/Byleen College Mathematics 12e Lottery Problem  A certain state lottery consists of selecting a set of 6 numbers randomly from a set of 49 numbers. To win the lottery, you must select the correct set of six numbers. How many possible lottery tickets are there?  Solution: The order of the numbers is not important here as long as you have the correct set of six numbers. To determine the total number of lottery tickets, we will use the formula for combinations and find C(49, 6), the number of combinations of 49 items taken 6 at a time. Using our calculator, we find that C(49, 6) = 13,983,816.

30Barnett/Ziegler/Byleen College Mathematics 12e Review  Basic Counting Principles If A and B are sets, then the number of elements in the union of A and B is given by the addition principle for counting. If the elements of a set are determined by a sequence of operations, tree diagrams can be used to list all combined outcomes. To count the number of combined outcomes without using a tree diagram, we use the multiplication principle for counting.

31Barnett/Ziegler/Byleen College Mathematics 12e Review  Permutations and Combinations The product of the first n natural numbers, denoted n!, is called n factorial: n! = n(n – 1)(n – 2)….(2)(1) 0! = 1 n! = n(n – 1)! A permutation of a set of distinct objects is an arrangement of the objets in a specific order without repetition. The number of permutations of a set of n distinct objects is given by P n,n = n!

32Barnett/Ziegler/Byleen College Mathematics 12e Review  Permutations and Combinations (continued) A permutation of a set of n distinct objects taken r at a time without repetition is an arrangement of r of the n objects in a specific order. The order of the objects matters. The number of permutations of n distinct objects taken r at a time without repetition is given by 0 < r < n

33Barnett/Ziegler/Byleen College Mathematics 12e Review  Permutations and Combinations (continued) A combination of a set of n distinct objects taken r at a time without repetition is an r-element subset of the set of n objects. The order of the objects does not matter. The number of combinations of n distinct objects taken r at a time without repetition is given by 0 < r < n