Finite Math - Fall 2016

Similar documents
7.4 Permutations and Combinations

Math 166: Topics in Contemporary Mathematics II

Permutations and Combinations. MATH 107: Finite Mathematics University of Louisville. March 3, 2014

Block 1 - Sets and Basic Combinatorics. Main Topics in Block 1:

Slide 1 Math 1520, Lecture 15

Permutations and Combinations Section

Course Learning Outcomes for Unit V

Using a table: regular fine micro. red. green. The number of pens possible is the number of cells in the table: 3 2.

W = {Carrie (U)nderwood, Kelly (C)larkson, Chris (D)aughtry, Fantasia (B)arrino, and Clay (A)iken}

Finite Math Section 6_4 Solutions and Hints

Elementary Combinatorics

Reading 14 : Counting

Section 5.4 Permutations and Combinations

Counting and Probability Math 2320

Permutations and Combinations Problems

CIS 2033 Lecture 6, Spring 2017

Probability. Engr. Jeffrey T. Dellosa.

COUNTING AND PROBABILITY

Discrete Structures Lecture Permutations and Combinations

Chapter 2. Permutations and Combinations

Poker Hands. Christopher Hayes

Mathematical Foundations of Computer Science Lecture Outline August 30, 2018

Section : Combinations and Permutations

ACTIVITY 6.7 Selecting and Rearranging Things

n! = n(n 1)(n 2) 3 2 1

Question 1: How do you count choices using the multiplication principle?

Section 5.4 Permutations and Combinations

Tree Diagrams and the Fundamental Counting Principle

Counting Methods and Probability

Permutations. Used when "ORDER MATTERS"

Combinatorial Proofs

Slide 1 Math 1520, Lecture 13

Math 42, Discrete Mathematics

Permutations. describes the permutation which sends 1! 2, 2! 1, 3! 3.

Combinations and Permutations

CS100: DISCRETE STRUCTURES. Lecture 8 Counting - CH6

JUST THE MATHS UNIT NUMBER PROBABILITY 2 (Permutations and combinations) A.J.Hobson

Permutations and Combinations. Quantitative Aptitude & Business Statistics

Section 6.4 Permutations and Combinations: Part 1

CHAPTER 8 Additional Probability Topics

Chapter Permutations and Combinations. Section 4 Permutations and Combinations. Example. Definition of n Factorial (n!)

Math 1116 Probability Lecture Monday Wednesday 10:10 11:30

Poker: Further Issues in Probability. Poker I 1/29

CISC-102 Fall 2017 Week 8

Name: Exam 1. September 14, 2017

Learning Objectives for Section 7.4 Permutations and Combinations. 7.4 Permutations and Combinations

Compound Probability. Set Theory. Basic Definitions

LAMC Junior Circle January 22, Oleg Gleizer. The Hanoi Tower. Part 2

Permutations and Combinations

DISCRETE STRUCTURES COUNTING

Introductory Probability

Permutations and Combinations

November 6, Chapter 8: Probability: The Mathematics of Chance

Section Summary. Permutations Combinations Combinatorial Proofs

Discrete Mathematics: Logic. Discrete Mathematics: Lecture 15: Counting

More Probability: Poker Hands and some issues in Counting

Theory of Probability - Brett Bernstein

Topics to be covered

CSE 21 Mathematics for Algorithm and System Analysis

CISC 1400 Discrete Structures

Unit 5 Radical Functions & Combinatorics

Chapter 5 - Elementary Probability Theory

Unit on Permutations and Combinations (Counting Techniques)

Lecture 18 - Counting

MATH 2420 Discrete Mathematics Lecture notes

6/24/14. The Poker Manipulation. The Counting Principle. MAFS.912.S-IC.1: Understand and evaluate random processes underlying statistical experiments

{ a, b }, { a, c }, { b, c }

Grade 7/8 Math Circles November 8 & 9, Combinatorial Counting

Probability Theory. Mohamed I. Riffi. Islamic University of Gaza

1111: Linear Algebra I

Sets, Venn Diagrams & Counting

Introduction. Firstly however we must look at the Fundamental Principle of Counting (sometimes referred to as the multiplication rule) which states:

WEEK 7 REVIEW. Multiplication Principle (6.3) Combinations and Permutations (6.4) Experiments, Sample Spaces and Events (7.1)

Finite Math B, Chapter 8 Test Review Name

MATH 22. Lecture B: 9/4/2003 COUNTING. I counted two and seventy stenches, All well-defined, and several stinks.

Probability MAT230. Fall Discrete Mathematics. MAT230 (Discrete Math) Probability Fall / 37

Permutations and Combinations

Probability Rules 3.3 & 3.4. Cathy Poliak, Ph.D. (Department of Mathematics 3.3 & 3.4 University of Houston )

Week 3-4: Permutations and Combinations

Counting (Enumerative Combinatorics) X. Zhang, Fordham Univ.

Fundamentals of Probability

Contents 2.1 Basic Concepts of Probability Methods of Assigning Probabilities Principle of Counting - Permutation and Combination 39

Probability and Counting Techniques

Mixed Counting Problems

MATH 13150: Freshman Seminar Unit 4

CSC/MATA67 Tutorial, Week 12

Nwheatleyschaller s The Next Step...Conditional Probability

Sec$on Summary. Permutations Combinations Combinatorial Proofs

Discrete Mathematics with Applications MATH236

CS1800: Permutations & Combinations. Professor Kevin Gold

CSE 312: Foundations of Computing II Quiz Section #2: Inclusion-Exclusion, Pigeonhole, Introduction to Probability (solutions)

CSE 312: Foundations of Computing II Quiz Section #1: Counting (solutions)

Sec. 4.2: Introducing Permutations and Factorial notation

Determine the number of permutations of n objects taken r at a time, where 0 # r # n. Holly Adams Bill Mathews Peter Prevc

Math 14 Lecture Notes Ch. 3.6

Unit 2 Lesson 2 Permutations and Combinations

MAT3707. Tutorial letter 202/1/2017 DISCRETE MATHEMATICS: COMBINATORICS. Semester 1. Department of Mathematical Sciences MAT3707/202/1/2017

X = {1, 2,...,n} n 1f 2f 3f... nf

The Product Rule The Product Rule: A procedure can be broken down into a sequence of two tasks. There are n ways to do the first task and n

PERMUTATIONS AND COMBINATIONS

Transcription:

Finite Math - Fall 206 Lecture Notes - /28/206 Section 7.4 - Permutations and Combinations There are often situations in which we have to multiply many consecutive numbers together, for example, in examples of the form from a pool of 8 letters, make words consisting of 5 letters without any repetition. There are 8 7 6 5 4 of these. Let s define a notation that will simplify writing these quantities down: Definition (Factorial). For a natural number n, From this definition, we can see that n(n )(n 2) 2 0! n (n )! n(n ) (n 2)!, that is, we can explicitly write out as many of the largest numbers as we need, then write the rest as a smaller factorial. For example, we could write 0! 0 9 8 7 6! if we wanted to bring special attention to 0 through 7. The following example shows how this is useful. Example. Find (a) 6! (b) 0! 9! (c) 0! 7! (d) 5! 0!3! (e) 20! 3!7! (a) 6! 6 5 4 3 2 720

2 (b) 0! 9! 0 9! 9! 0 (c) 0! 7! 0 9 8 7! 7! 0 9 8 720 (d) 5! 0!3! 5 4 3! 5 4 20 3! (e) 20! 3!7! 20 9 8 7! 3!7! 20 9 8 3 2 20 9 3 40 Example 2. Find (a) 7! (b) 8! 4! (c) 8! 4!(8 4)! 0.. Permutations. Suppose we have 5 people to be seated along one side of a long table. There are many possible arrangements of the people, and each of these arrangements is called a permutation. Definition 2 (Permutation). A permutation of a set of distinct objects is an arrangement of the objects in a specific order without repetition. In the set up problem, we have 5 people, and 5 seats to fill. If we fill in the seats from left to right, we can put one of 5 people in the first, one of the remaining 4 in the second, one of 3 in the third, one of 2 in the fourth, and then there is only one person left to fill the fifth seat. Using the multiplication principle, we see that there are possible arrangements, or permutations. 5 4 3 2 5! Theorem (Permutations of n Objects). The number of permutations of n distinct objects without repetition, denoted by n P n, is np n n(n ) 2.

Sometimes we don t want to use all of the available options, such as when we re making 5 letter words without repetition out of a pool of 8 letters. Definition 3 (Permutation of n Objects Taken r at a Time). 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. If we have n things, and we want to create a permutation using r of them we have: n choices for the first slot, n choices for the second, n 2 for the third, all the way up to n r + options for the r th slot. This gives us n (n ) (n 2) (n r + ) possible permutations. We can also write out the product of all numbers n though, then divide out the stuff we don t want: n r though by using factorials # of perm. n (n ) (n 2) (n r + ) n (n ) (n 2) (n r + )(n r)(n r ) 2 (n r)(n r ) 2 n (n ) (n 2) (n r + )(n r)! (n r)! (n r)! 3 Theorem 2 (Number of Permutations of n Objects Taken r at a Time). The number of permutations of n distinct objects taken r at a time without repetition is given by np r n(n )(n 2) (n r + ) (n r)! Remark. Some other notations instead of n P r are P n r, P n,r, and P (n, r). Also note that this notation agrees with the previous formula since np n (n n)! 0!. Example 3. Given the set {A, B, C, D}, how many permutations are possible for this set of 4 objects taken 2 at a time? Answer the question using (a) A tree diagram (b) The multiplication principle (c) The two formulas for n P r

4 (a) A B C D B C D A C D A B D A B C AB AC AD BA BC BD CA CB CD DA DB DC So we see there are 2 possible permutations of 4 objects taken 2 at a time. (b) Using the multiplication principle, we have that there are two choices to make. The first choice has 4 options and the second choice has 3 options, thus there are 4 3 2 permutations. (c) In this situation, n 4 and r 3, so n r + 4 2 + 3 and Using the second formula, we have 4P 2 4P 2 4 3 2. 4! (4 2)! 4! 2! 4 3 2. Example 4. Find the number of permutations of 30 objects taken 4 at a time. 30P 4 30! (30 4)! 30! 26! 30 29 28 27 657, 720 Example 5. Given the set {A, B, C, D}, how many permutations are possible for this set of 4 objects taken 3 at a time? Answer the question using (a) A tree diagram (b) The multiplication principle (c) The two formulas for n P r Example 6. Find the number of permutations of 67 objects taken 5. Combinations. Suppose there is a bag that has 0 jelly beans, each with a different flavors. How many different combinations of 3 flavors can you draw from the bag? Notice that this does not take the order of the flavors into account, but the flavors themselves. In other words, if you draw cherry-grape-apple versus grape-cherry-apple, this difference is not a different combination of flavors. Definition 4 (Combinations). 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 arrangement of the elements in the subset does not matter.

If we have n objects, and we wanted to permutations of r objects at a time, we could think of that as happening in two steps: Step : Choose the r elements from among the n. This is the number of combinations that we are looking for, and we will call this number n C r. Step 2: Put the r elements into a specific order. This is just a permutation of r elements, so there are r! ways to do this. Thus, using the multiplication principle, we can see that the number of permutations of n objects taken r at a time is np r n C r r! So, we can solve for n C r to get nc r n P r r! r!(n r)!. 5 Theorem 3 (Number of Combinations of n Objects Taken r at a Time). The number of combinations of n distinct objects taken r at a time without repetition is given by nc r n P r r! r!(n r)! Remark 2. ( While ) the textbook will stick with the notation n C r, a far more common n notation is, which is read as n choose r. Some other notations for this are Cr n, r C n,r, and C(n, r). Example 7. Form a committee of 2 people. (a) In how many ways can we choose a chairperson, a vice-chairperson, a secretary, and a treasurer, assuming that one person cannot hold more than one position? (b) In how many ways can we choose a subcommittee of 4 people? (a) We can this of this as choosing 4 people from among the 2 in a particular order (filling in the positions in order). This means we have 2P 4 2! (2 4)! 2! 8! ways of filling these positions. 2 0 9, 880 (b) In this case, we just want to form a group of 4 people, so the order we choose people in is irrelevant, that means we want 2C 4 2! 4!(2 4)! 2! 4!8! 2 0 9 4!, 880 24 495. So there are 495 ways of choosing a subcommittee of 4 people from among the 2.

6 Example 8. Find the number of combinations of 30 objects taken 4 at a time. 30C 4 30! 4!(30 4)! 30! 4!26! 30 29 28 27 24 27, 405 Example 9. How many ways can a 3-person subcommittee be selected from a committee of 7 people? How many ways can a president, vice-president, and secretary be chosen from a committee of 7 people? Example 0. Find the number of combinations of 67 objects taken 5 at a time. Example. Suppose we ave a standard 52-card deck and we are considering 5-card poker hands. (a) How many hands have 3 hearts and 2 spades? (b) How many hands have all the same suit? (I.e., what is the number of different flushes?) (c) How many possible pairs are there? (The other three cards have a different number from the pair and each other.) (d) How many possible 3 of a kinds are there? (The other two cards have a different number from the 3 of a kind and from each other.) (e) How many full houses are possible? (A full house consists of a three of a kind and a pair, each from a different number.) (a) Here, there are two decisions: which 3 hearts to choose and which 2 spades to choose. Each suit has only 3 cards, so there are a total of ( )( ) 3 3 286 78 22, 308 3 2 hands with 3 hearts and 2 spades. (b) This time, there are also two choices to be made. First we have to choose the suit, then we have to choose 5 cards from among the cards in that suit. Thus, there are ( ) 3 4 287 5, 48 5 possible flushes. (c) This time, there are several choices to make: ( ) 3 (a) Choose the number in the pair: choices

(b) Choose the suits in the pair: 2 choices (c) Choose the numbers of the other three cards: (d) Choose the suit of the third card: choices (e) Choose the suit of the fourth card: choices (f) Choose the suit of the fifth card: choices ( ) 2 3 choices This gives a total of ( )( )( )( )( )( ) 3 4 2 4 4 4 3 6 220 4 3, 098, 240 2 3 7 possible pairs. (d) The number of three of a kinds is computed similarly to pairs, but is slightly easier: ( ) 3 (a) Choose the number in the triple: choices (b) Choose the suits in the pair: choices 3 ( ) 2 (c) Choose the numbers of the other two cards: choices 2 (d) Choose the suit of the fourth card: choices (e) Choose the suit of the fifth card: choices This gives a total of ( )( )( )( )( ) 3 4 2 4 4 3 2 possible three of a kinds. 3 4 66 4 2 54, 92 (e) For a three of a kind, there is a pair and a three of a kind from different numbers in the hand. ( ) 3 (a) Choose the number in the three of a kind: choices

8 (b) Choose the suits in the three of a kind: choices 3 ( ) 2 (c) Choose the number in the pair: choices (d) Choose the suits in the pair: choices 2 This gives a total of ( )( 3 4 3 )( 2 )( 4 2 ) 3 4 2 6 3, 744 possible pairs.