3.8 Counting Techniques: Combinations. If you are dealt a hand in poker (5 cards), does it matter in which order the cards are dealt to you? A  K  J.

Slides:



Advertisements
Similar presentations
Discrete Probability Rosen 5.1.
Advertisements

Combinatorics & Probability Section 3.4. Which Counting Technique? If the problem involves more than one category, use the Fundamental Principle of Counting.
Jacqueline Wroughton Joseph Nolan Northern Kentucky University.
Combinations A combination is a grouping of things ORDER DOES NOT MATTER.
4/16/2015 MATH 224 – Discrete Mathematics Counting Basic counting techniques are important in many aspects of computer science. For example, consider the.
Chapter 8 Counting Principles: Further Probability Topics Section 8.3 Probability Applications of Counting Principles.
Thinking Mathematically Combinations. A combination of items occurs when: The item are selected from the same group. No item is used more than once. The.
Dealer Comm Hand Player makes Ante bet and optional Bonus bet. Five cards are dealt to each player from the shuffler. Five cards are dealt from the shuffler.
Probability – Page 1CSCI 1900 – Discrete Structures CSCI 1900 Discrete Structures Probability Reading: Kolman, Section 3.4.
CSCE 2100: Computing Foundations 1 Combinatorics Tamara Schneider Summer 2013.
Counting Principles The Fundamental Counting Principle: If one event can occur m ways and another can occur n ways, then the number of ways the events.
Chapter 3b Counting Rules. Permutations  How many ways can 5 students in a class of 30 be assigned to the front row in the seating chart?  There are.
1 Counting Rules. 2 The probability of a specific event or outcome is a fraction. In the numerator we have the number of ways the specific event can occur.
1 Counting Rules. 2 The probability of a specific event or outcome is a fraction. In the numerator we have the number of ways the specific event can occur.
1 Section 5.1 Discrete Probability. 2 LaPlace’s definition of probability Number of successful outcomes divided by the number of possible outcomes This.
Intro to Probability & Games
Chapter 7 - Part Two Counting Techniques Wednesday, March 18, 2009.
Chapter 5 Section 5 Permutations and Combinations.
1 Permutations and Combinations CS/APMA 202 Epp section 6.4 Aaron Bloomfield.
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.
Permutations and Combinations
3.4 Counting Principles Statistics Mrs. Spitz Fall 2008.
P ERMUTATIONS AND C OMBINATIONS Homework: Permutation and Combinations WS.
Probability – Models for random phenomena
Chapter 11: Counting Methods
Poker Solutions.
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 =
Mixed arrangements There are five different ways to systematically determine the number of outcomes in a multi stage event: * Write a list of all possibilities.
Finding Probability Using Tree Diagrams and Outcome Tables
Advanced Mathematics Counting Techniques. Addition Rule Events (tasks) A and B are mutually exclusive (no common elements/outcomes) and n(A) = a, n(B)
Warm up The Leafs have won 45% of their games this season. When Phil Kessel scores, the Leafs win 30% of the time. What is the probability that Phil Kessel.
6.1 Probability exercises. Def Def: If S is a finite sample space of equally likely outcomes, and E is an event, that is, a subset of S, then the probability.
Counting Techniques 0.4.
Do Now: Review 10.4 Multiple Choice 1.) What does mean? a.) b.) c.) Short Answer 2.) Find the number of arrangements of 3 #’s for a locker with a total.
Counting Subsets of a Set: Combinations Lecture 31 Section 6.4 Wed, Mar 21, 2007.
Chapter  Determine how many different possibilities are possible:  1. There are 3 different ice cream flavors and 5 different toppings. You.
2 Permutations and Combinations Lesson 8 HAND OUT REFERENCE SHEET AND GO OVER IT.
15.3 Counting Methods: Combinations ©2002 by R. Villar All Rights Reserved.
Prob/Stats Definition A permutation is an ordered arrangement of objects. (For example, consider the permutations of the letters A, B, C and D.)
Honors Precalculus Counting and Probability Section 12.2: Permutations and Combinations IBTWW: 10/23/2015.
Basic Probability Section 7.1. Definitions Sample Space: The set of all possible outcomes in a given experiment or situation Often denoted by S Event:
Homework Homework due now. Reading: relations
Probability What are the chances?.
Use the Counting Rules to compute Probabilities. 2 of these and 4 of those A classic type of problem You have various subgroups. When you pick 6, what.
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.
6.7 Permutations & Combinations. Factorial: 4! = 4*3*2*1 On calculator: math ==> PRB ==> 4 7! = 5040 Try 12!
Probability and Counting Rules
37. Permutations and Combinations. Fundamental Counting Principle Fundamental Counting Principle states that if an event has m possible outcomes and another.
7.3 Combinations Math A combination is a selection of a group of objects taken from a larger pool for which the kinds of objects selected is of.
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.
MAT 142 Lecture Video Series. Combinatorics and Probability.
L14: Permutations, Combinations and Some Review EECS 203: Discrete Mathematics.
6/9/2016MATH 106, Section 51 Section 5 Combinations Questions about homework? Submit homework!
Quiz: Draw the unit circle: Include: (1)All “nice” angles in degrees (2) All “nice” angles in radians (3) The (x, y) pairs for each point on the unit circle.
Texas Holdem A Poker Variant vs. Flop TurnRiver. How to Play Everyone is dealt 2 cards face down (Hole Cards) 5 Community Cards Best 5-Card Hand Wins.
Warm up How many ways can 8 children be placed on a 8- horse Merry-Go-Round? 7! = What if Simone insisted on riding the red horse? Here we are only.
Probability Intro. Coin toss u Toss two coins 10 times keeping track of the results (head/tails) u Now toss 3 coins 10 times u Make a chart of all the.
MAT 142 Lecture Video Series
Multiplication Rule Combinations Permutations
Unit 4 – Combinatorics and Probability Section 4
Discrete Math for CS CMPSC 360 LECTURE 27 Last time: Counting.
How to Count Things “There are three kinds of people in the world: those who can count and those who cannot.” 11/21/2018.
Combinations Lesson 4.7.
Permutation – The number of ways to ARRANGE ‘n’ items ‘r’ at
Counting II: Recurring Problems And Correspondences
Combinations.
Section 6.4 Counting and Combinations with Multiple Cases
3.7 Counting Techniques: Permutations
Presentation transcript:

3.8 Counting Techniques: Combinations

If you are dealt a hand in poker (5 cards), does it matter in which order the cards are dealt to you? A  K  J 10 Q  A  J 10 Q  K  10 Q  K  A  J K  J 10 Q  A  Are these hands the same or different? The same: order doesn’t matter

Combinations Permutation: –Arrangement of r objects (out of n) in which the order matters –E.g.: choosing first, second, third place Combination: –Number of ways of choosing r objects from a set of n when order doesn’t matter –E.g.: choosing a group of 3 people

What’s the pattern? Choosing 3 objects from, A, B, C, D, E ABCABD ABE ACDABCABD ABE ACD BCA BDABEACDABCA BDABEACDA ACB ADBAEBADC etc. There are P(5,3) ways of arranging 3 objects from 5 There are 3! ways of arranging those three objects

However, those 3! ways are “identical” –CAB is just ABC in a different order So we have ways to choose 3 objects from 5: There are 10 ways to choose 3 objects from a set of 5.

Combinations We say “n choose r” We write C(n, r) or Note: it is NOT

Example 1a How many ways can you choose a president and vice-president from a group of 5 people? Does order matter? Yes! We use permutations There are 20 ways to choose a president and vice-president from a group of 5 people.

Example 1b How many ways can you choose a committee of 2 from a group of 5 people? Does order matter? No! We use combinations There are 10 ways to choose a committee of 2 from a group of 5 people.

Example 2 You can also use the n C r button on your calculator. How many ways can we choose 30 objects from a group of 100? Error on the calculator! Type: 100 nCrnCr 30 =

Example 3 How many ways can you choose a hand of 5 cards from a regular deck… a) with no restrictions? b) so that exactly one card is an ace? c) so that all 5 are hearts? d) so that you have 4 of a kind?

Example 3 sol’ns a) no restrictions: b) exactly one card is an ace: First we choose the ace: Then we choose the rest of the cards: So the number of ways is

Example 3 sol’ns c) all 5 are hearts: How many hearts? d) 4 of a kind: Choose the value first: Then choose the suits: Choose 5 of those cards: Then choose the last card: So number of ways to get 4 of a kind: 13

0! What is 0! ? We define 0! = 1 How many ways can you select 0 people from a group of 4? 1 Check:

Types of Reasoning When working out problems, two types of reasoning can be used Direct reasoning –All suitable outcomes are totaled Indirect reasoning –All undesired outcomes are subtracted from total Why would we do this? Sometimes the calculations are easier!

Example 4 In how many ways can you pick 5 people from a group of 6 adults and 8 children if the group must contain at least 2 adults? This means we have a group with –exactly 2 adults –or a group with exactly 3 adults –or a group with exactly 4 adults –or a group with exactly 5 adults !

Direct: # ways to have at least 2 adults = # ways to have exactly 2 adults + # ways to have exactly 3 adults + etc. Example 4 solution Indirect: # ways to have at least 2 adults = total # of groups of 5 – # groups with no adults – # of groups with 1 adult

Example 5 What is the probability of a specific set of numbers winning Lotto 6/49? We choose 6 numbers from a set of 49 For those of you planning your future, this is very, very small.

Poker What is the probability of being dealt the following hands: –1 pair (2 of a kind, 3 different)? –2 different pairs (2 of a kind, 2 of a different kind, 1 different)? –3 of a kind (3 the same and 2 different)? –Straight? (a run of consecutive values, at least one card is a different suit (A can be high or low)) –Flush? (all five cards are of the same suit, but not all consecutive)

Poker What is the probability of being dealt the following hands: –Full house? (1 pair and 3 of a kind) –4 of a kind? –Straight flush? (a run of cards of the same suit, but not 10, J, Q, K, A) –Royal flush? (10, J, Q, K, A of the same suit) –None of the above?