Applied Combinatorics, 4th Ed. Alan Tucker

Slides:



Advertisements
Similar presentations
Tucker, Applied Combinatorics1 SECTION 5.2 Simple Arrangements and Selections Aaron Desrochers and Ben Epstein.
Advertisements

Chapter 8 Counting Principles: Further Probability Topics Section 8.3 Probability Applications of Counting Principles.
5.4 Counting Methods Objectives: By the end of this section, I will be able to… 1) Apply the Multiplication Rule for Counting to solve certain counting.
Counting Techniques: Combinations
Counting II: Recurring Problems And Correspondences Great Theoretical Ideas In Computer Science Steven RudichCS Spring 2004 Lecture 10Feb 12, 2004Carnegie.
4/5/05Tucker, Sec Applied Combinatorics, 4rth Ed. Alan Tucker Section 5.4 Distributions Prepared by Jo Ellis-Monaghan.
Applied Combinatorics, 4th Ed. Alan Tucker
1 The game of poker You are given 5 cards (this is 5-card stud poker) The goal is to obtain the best hand you can The possible poker hands are (in increasing.
College Algebra Fifth Edition
Chapter 8 Counting Principles: Further Probability Topics Section 8.2 Combinations.
Copyright © Cengage Learning. All rights reserved. CHAPTER 9 COUNTING AND PROBABILITY.
7 Further Topics in Algebra © 2008 Pearson Addison-Wesley. All rights reserved Sections 7.4–7.7.
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 =
1 Melikyan/DM/Fall09 Discrete Mathematics Ch. 6 Counting and Probability Instructor: Hayk Melikyan Today we will review sections 6.4,
Basic Counting. This Lecture We will study some basic rules for counting. Sum rule, product rule, generalized product rule Permutations, combinations.
Chapter 6 With Question/Answer Animations 1. Chapter Summary The Basics of Counting The Pigeonhole Principle Permutations and Combinations Binomial Coefficients.
Permutations and Combinations
Slide 7- 1 Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
10.3 – Using Permutations and Combinations Permutation: The number of ways in which a subset of objects can be selected from a given set of objects, where.
Section 10-3 Using Permutations and Combinations.
Probability Permutations and Combinations.  Permutations are known as any arrangement of distinct objects in a particular _________. Permutations order.
Simple Arrangements & Selections. Combinations & Permutations A permutation of n distinct objects is an arrangement, or ordering, of the n objects. An.
Sullivan Algebra and Trigonometry: Section 14.2 Objectives of this Section Solve Counting Problems Using the Multiplication Principle Solve Counting Problems.
COMPSCI 102 Discrete Mathematics for Computer Science.
Discrete Mathematics for Computer Science. + + ( ) + ( ) = ? Counting II: Recurring Problems and Correspondences Chapter 9 slides 1-54.
Permutations and Combinations Section 2.2 & 2.3 Finite Math.
Counting II: Recurring Problems And Correspondences Great Theoretical Ideas In Computer Science John LaffertyCS Fall 2005 Lecture 7Sept 20, 2005Carnegie.
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.
MATH 2311 Section 2.1. Counting Techniques Combinatorics is the study of the number of ways a set of objects can be arranged, combined, or chosen; or.
CS Lecture 8 Developing Your Counting Muscles.
Copyright © Peter Cappello 2011 Simple Arrangements & Selections.
Section The Pigeonhole Principle If a flock of 20 pigeons roosts in a set of 19 pigeonholes, one of the pigeonholes must have more than 1 pigeon.
MATHPOWER TM 12, WESTERN EDITION Chapter 8 Probability
13 Lesson 1 Let Me Count the Ways Fundamental Counting Principle, Permutations & Combinations CP Probability and Statistics FA 2014 S-ID.1S-CP.3S-CP.5.
Section 6.3. Section Summary Permutations Combinations.
Permutations & Combinations
The Multiplication Rule
Permutations and Combinations
Chapter 10 Counting Methods.
Introduction to Discrete Mathematics
Developing Your Counting Muscles
What Is Probability?.
MATH 2311 Section 2.1.
CSE15 Discrete Mathematics 04/19/17
Permutations and Combinations
Probability and Combinatorics
Sequences, Series, and Probability
Permutations and Combinations
Unit 4 – Combinatorics and Probability Section 4
How to Count Things “There are three kinds of people in the world: those who can count and those who cannot.” 11/21/2018.
Chapter 7 Logic, Sets, and Counting
Combinatorics: Combinations
Permutations and Combinations
Basic Counting.
Permutations and Combinations
COUNTING AND PROBABILITY
Permutations and Combinations
Counting II: Recurring Problems And Correspondences
Combinations.
MATH 2311 Section 2.1.
Chapter 10 Counting Methods.
Using Permutations and Combinations
Applied Combinatorics, 4th Ed. Alan Tucker
Counting II: Recurring Problems And Correspondences
Permutations and Combinations
Standard DA-5.2 Objective: Apply permutations and combinations to find the number of possibilities of an outcome.
Permutations and Combinations
Permutations and Combinations
10.3 – Using Permutations and Combinations
9.1 Basic Combinatorics.
Presentation transcript:

Applied Combinatorics, 4th Ed. Alan Tucker Section 5.2 Simple Arrangements and Selections Prepared by Patrick Asaba and Patrick Scanlon 5/22/2019 Tucker Sec. 5.2 Section 3.3

Definitions Permutation of n distinct objects is an arrangement, or ordering, of the n objects. r-Permutation of n distinct objects is an arrangement using r of the n objects. We use P (n, r) to denote the number of r-permutations of a set of n objects. r-Combination of n distinct objects is an unordered selection, or subset, of r out of the n objects. We use C (n, r) to denote the number of r-combinations of a set of n objects. 5/22/2019 Tucker Sec. 5.2

Definitions From the multiplication principle we obtain. P (n,2) = n(n-1), P (n,3) = n(n-1)(n-2), P (n, n) = n(n-1)(n-2) x …x 3 x 2 x 1 In enumerating all permutations of n objects, we have n choices for the first position in the arrangement, n – 1 choices (the n – 1 remaining objects) for the second position,…, and finally one choice for the last position. 5/22/2019 Tucker Sec. 5.2

Definitions Using the notation n! = n (n – 1)(n – 2) … x 3 x 2 x 1, we have the formulas P (n, n) = n! and and P (n, r) = n (n – 1)(n – 2) x … x [n – (r – 1)] = This formula can be used to derive a formula for C (n, r). All r-permutation can be generate by first picking r-combination of the n objects and then arranging these r objects in any order. Thus , and solving for C (n, r); C (n, r) = = The numbers C (n, r) are frequently called binomial coefficients because of their role in the binomial expansion 5/22/2019 Tucker Sec. 5.2

Examples Ranking Wizards Ranking is simply an arrangement, or permutation, of the n things. Arrangements with Repeated Letters r would be the letters that are not repeated n would be the total number of letters. 5/22/2019 Tucker Sec. 5.2

Example 1 – Arrangements with Repeated Letters In the word SYSTEMS how many ways can you arrange the letters so that all three S’s appear consecutively? First, we must find all possible ways for the letters that are not S (E, M, T, Y). This can be done by permutation: P(7,4) = 7!/3! = 840 different ways. 5/22/2019 Tucker Sec. 5.2

Example 1 cont’d Next, we find out where the S’s go. The “trick” to doing this is to group the S’s as one letter. So the possible letters are E, M, T, Y, and SSS. These letters can be grouped in 5!, or 120, ways. Another approach is to use only one S and add the other two in after computing. 5/22/2019 Tucker Sec. 5.2

Example 2 – Poker Probabilities How many 5-card hands can be formed from a standard 52-card deck? A 5-card hand is a subset of the whole 52-card deck, so there are C(52,5) = 52! / (47!5!) = 2,598,960 possible 5-card hands. 5/22/2019 Tucker Sec. 5.2

Example 2 cont’d What is the probability that a random 5-card hand from a standard deck will result in a flush (all cards of the same suit)? First, find all subsets of 5-cards within the same suit: C(13,5) = 13! / (5!8!) = 1287 possible flushes for one suit. Multiply that result by 4 (for the 4 suits in a deck): 1287 x 4 = 5148 possible flushes. 5/22/2019 Tucker Sec. 5.2

Example 2 cont’d To find the probability of getting a flush randomly, take the number of possible flushes and divide by the total number of possible hands: 5148 / 2,598,960 = 0.00198, or roughly 0.2% 5/22/2019 Tucker Sec. 5.2

Example 2 cont’d What is the probability of getting 3, but not 4, aces in a 5-card hand? First, you must pick 3 of the four aces, done in C(4,3) = 4 ways. Next, fill your hand with any 2 of the 48 other cards in the deck: C(48,2) = 1128 ways. Multiply the results to get 1128 x 4 = 4512 ways you can get 3 aces. 5/22/2019 Tucker Sec. 5.2

Example 2 cont’d To find the probability, divide by the total number of possible hands: 4512 / 2,598,960 = 0.00174, or roughly 0.17% 5/22/2019 Tucker Sec. 5.2

Example 3 – Forming Committees A committee of k people is to be chosen from a set of 7 women and 4 men. How many ways can you form a committee if: The committee consists of 3 women and 2 men? The committee consists of 4 people, and Mr. Baggins must be on it? 5/22/2019 Tucker Sec. 5.2

Example 3 cont’d In case 1, you must simply pick between two subsets, men and women. Since there are three women and 2 men, the numbers are as follows: C(7,3) x C(4,2) = 35 x 6 = 210 different ways 5/22/2019 Tucker Sec. 5.2

Example 3 cont’d In case 2, Mr. Baggins forced entry into the committee lessens our choices for who else is on the committee. But since there were no other restrictions (no gender restrictions), we can simply choose 3 from the remaining 10: C(10,3) = 120 An easy mistake to make is to assume gender constrictions; read the problems carefully 5/22/2019 Tucker Sec. 5.2

Poker Probabilities Example 1 How many 5-card hands can be formed from a standard 52-card deck? First we must ask will the hands be ordered or unordered. In this example let’s suppose we want unordered 5-card hands. So it is simply 5/22/2019 Tucker Sec. 5.2

Example 2 If a 5-card hand is chosen at random, what is the probability of obtaining a flush (all cards having the same suit)? 5/22/2019 Tucker Sec. 5.2