Suppose you are supposed to select and carry out oneof a collection of N tasks, and there are T K different ways to carry out task K.

Similar documents
Discrete Finite Probability Probability 1

Poker Hands. Christopher Hayes

Math 166: Topics in Contemporary Mathematics II

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

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

2.5 Sample Spaces Having Equally Likely Outcomes

More Probability: Poker Hands and some issues in Counting

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

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

Poker: Probabilities of the Various Hands

11.2. Counting Techniques and Probability

CISC-102 Fall 2017 Week 8

Unit 6: Probability. Marius Ionescu 10/06/2011. Marius Ionescu () Unit 6: Probability 10/06/ / 22

Unit 6: Probability. Marius Ionescu 10/06/2011. Marius Ionescu () Unit 6: Probability 10/06/ / 22

Chapter 5: Probability: What are the Chances? Section 5.2 Probability Rules

Elementary Combinatorics

Such a description is the basis for a probability model. Here is the basic vocabulary we use.

Poker: Probabilities of the Various Hands

Probability. The MEnTe Program Math Enrichment through Technology. Title V East Los Angeles College

4.1 Sample Spaces and Events

Section 5.4 Permutations and Combinations

5.8 Problems (last update 30 May 2018)

Grades 7 & 8, Math Circles 27/28 February, 1 March, Mathematical Magic

Section 5.4 Permutations and Combinations

Name: Exam 1. September 14, 2017

Grade 6, Math Circles 27/28 March, Mathematical Magic

Counting integral solutions

Classical vs. Empirical Probability Activity

A Probability Work Sheet

The probability set-up

Permutations and Combinations Section

Counting Poker Hands

CSE 1400 Applied Discrete Mathematics Permutations

If you roll a die, what is the probability you get a four OR a five? What is the General Education Statistics

(a) Suppose you flip a coin and roll a die. Are the events obtain a head and roll a 5 dependent or independent events?

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

Compound Probability. Set Theory. Basic Definitions

Chapter 4: Introduction to Probability

Mixed Counting Problems

7.4 Permutations and Combinations

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

The probability set-up

7.1 Experiments, Sample Spaces, and Events

I. WHAT IS PROBABILITY?

Permutations: The number of arrangements of n objects taken r at a time is. P (n, r) = n (n 1) (n r + 1) =

CS1800: Intro to Probability. Professor Kevin Gold

Section : Combinations and Permutations

3 The multiplication rule/miscellaneous counting problems

The study of probability is concerned with the likelihood of events occurring. Many situations can be analyzed using a simplified model of probability

Reading 14 : Counting

Fall 2017 March 13, Written Homework 4

Introduction to probability

Problem Set 8 Solutions R Y G R R G

CMPSCI 240: Reasoning Under Uncertainty First Midterm Exam

Probability and Statistics. Copyright Cengage Learning. All rights reserved.

CMPSCI 240: Reasoning Under Uncertainty First Midterm Exam

CISC 1400 Discrete Structures

Finite Math - Fall 2016

Chapter 1. Probability

3 The multiplication rule/miscellaneous counting problems

LAMC Junior Circle February 3, Oleg Gleizer. Warm-up

Chapter 2. Permutations and Combinations

Important Distributions 7/17/2006

UNIT 4 APPLICATIONS OF PROBABILITY Lesson 1: Events. Instruction. Guided Practice Example 1

FOURTH LECTURE : SEPTEMBER 18, 2014

ABE/ASE Standards Mathematics

13.3 Permutations and Combinations

CIS 2033 Lecture 6, Spring 2017

7.1 Chance Surprises, 7.2 Predicting the Future in an Uncertain World, 7.4 Down for the Count

Name Instructor: Uli Walther

Chapter 1: Sets and Probability

Math-Essentials. Lesson 9-2: Counting Combinations

Probability. The Bag Model

Venn Diagram Problems

Developed by Rashmi Kathuria. She can be reached at

The Multiplication Principle

Combinatorial Proofs

Section Summary. Finite Probability Probabilities of Complements and Unions of Events Probabilistic Reasoning

Lecture 18 - Counting

Theory of Probability - Brett Bernstein

10 Game. Chapter. The PV Unit comes with two built-in games for your enjoyment. The games are named Game-1 and Game-2.

Simple Probability. Arthur White. 28th September 2016

TEST A CHAPTER 11, PROBABILITY

Define and Diagram Outcomes (Subsets) of the Sample Space (Universal Set)

Conditional Probability Worksheet

Probability Exercise 2

Math 1111 Math Exam Study Guide

EXAM. Exam #1. Math 3371 First Summer Session June 12, 2001 ANSWERS

POKER (AN INTRODUCTION TO COUNTING)

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

Unit 9: Probability Assignments

CS Project 1 Fall 2017

Item Description - MC Phi - Please note: any activity that is not completed during class time may be set for homework or undertaken at a later date.

MC215: MATHEMATICAL REASONING AND DISCRETE STRUCTURES

Introductory Probability

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

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Probability and Counting Techniques

COUNTING AND PROBABILITY

Chapter 1. Probability

Transcription:

Addition Rule Counting 1 Suppose you are supposed to select and carry out oneof a collection of N tasks, and there are T K different ways to carry out task K. Then the number of different ways to select and carry out one of the tasks is just the sum of the numbers of ways to carry out the individual tasks. That is, the number of ways to complete the sequence of tasks is: N T T T K= 1 K 1 2 = + + + T N

Poker Deck Counting 2 A standard poker deck: contains 52 cards, divided into 4 suites (spades, clubs, hearts, diamonds), with 13 values in each suite (Ace, 2, 3, &, 9, 10, Jack, Queen, King)

Example Counting 3 In how many different ways could you lay out a Jack or a Heart? You have: 4 choices for a Jack 13 choices for a Heart So, the number of ways to lay out a Jack or a Heart would be: 4 + 13 = 17

Multiplication Rule Counting 4 Suppose you are supposed to carry out a sequence of Ntasks, and there are T K different ways to carry out task K no matter how the other tasks are carried out. Then the number of different ways to complete the sequence of tasks is just the product of the numbers of ways to carry out the individual tasks. That is, the number of ways to complete the sequence of tasks is: N T 1 K = T K 1 T T = 2 N

Example Counting 5 Suppose you have a standard poker deck. In how many different ways could you lay out a sequence of 5 cards: You have: 52 choices for card 1 51 choices for card 2 (no matter what card 1 was) 50 choices for card 3 49 choices for card 4 48 choices for card 5 So, the number of ways to lay out the sequence would be: 52 x 51 x 50 x 49 x 48 = 311,875,200

Counting Permutations Counting 6 Suppose you are given a collection of Ndifferent objects (you can tell them apart). Then an arrangement of all Nof the objects in a row is called a permutation of the set of objects. The number of different permutations of N things equals: N K= 1 K = 1 2 N = N! The last expression is read "N factorial", and is very convenient shorthand for the expressions that precede it.

Counting Permutations Counting 7 Suppose you are given a collection of Ndifferent objects (you can tell them apart). Then an arrangement of a subset of Rof the objects in a row is called a permutationof the N objects, taken R at a time. The number of different permutations of Nthings taken Rat a time equals: P( N, R) = N ( N 1) ( N R+ 1) = N! ( N R)!

Counting Combinations Counting 8 Suppose you are given a collection of Ndifferent objects (you can tell them apart). Then a selection of a subset of Rof the Nobjects is called a combination of the N objects taken R at a time. The number of different combinations of Nthings taken R at a time equals: P( N, R) N! C( N, R) = = R! R!( N R)! This makes intuitive sense because there are R!permutations of Rthings, and each of those corresponds to the same combination. The more common notation is: C( N, R) N = R

Urns and Balls Counting 9 Suppose we have an urn that contains 3 white balls and 4 black balls: 3W 4B Our first experimentis to draw a single ball from the urn. There are 7 possible outcomes, since we could draw any of 3 white balls or any of 4 black balls, so the sample spaceis: {w 1, w 2, w 3, b 1, b 2, b 3, b 4 } The eventof interest is that we draw a white ball: {w 1, w 2, w 3 }

Example Counting 10 Suppose we draw out two balls. How many ways are there to draw out one white ball and one black ball? 3W 4B The possible outcomes are pairs of balls. There are a lot of such pairs: {w 1, b 1 } {w 1, b 2 } {w 1, b 3 } {w 1, b 4 } {w 2, b 1 } {w 2, b 2 } {w 2, b 3 } {w 2, b 4 } {w 3, b 1 } {w 3, b 2 } {w 3, b 3 } {w 3, b 4 }

Applying Counting Formulas Counting 11 Suppose we draw out two balls. How many ways are there to draw out one white ball and one black ball? 3W 4B We need a different approach: - choose one white ball - choose one black ball 3 4 1 1

More Choices Counting 12 Suppose we have an urn that contains 30 white balls and 40 black balls: 30W 40B We reach into the urn and draw out 10 balls. In how many different ways could we get 6 white balls and 4 black balls? 30 40 6 4

Card Example Counting 13 A full houseis a poker hand that consists of 3 cards of one value and 2 cards of another value. For example: 3ofHearts, 3ofClubs,3ofDiamonds,JackofSpades,JackofClubs So, how many different full houses are there? (Not all at once.)

Number of Full Houses Counting 14 We can construct a full house by carrying out the following sequence of tasks: - choose the value for the three-of-a-kind - choose 3 cards of that value - choose a different value for the pair - choose 2 cards of that value Hence, using the Multiplication Rule: 13 4 12 4 1 3 1 2

Number of Two Pairs Counting 15 This one's tricky. If you pick the values for the two pairs separately, you will double-count: - choose a value for one pair - choose 2 cards of that value - choose a different value for the other pair - choose 2 cards of that value - choose a different value for the fifth card - choose 1 card of that value 13 4 12 4 11 4 1 2 1 2 1 1 That's incorrect& but the error is subtle.

Number of Two Pairs Counting 16 This one's tricky. If you pick the values for the two pairs separately, you will double-count: - choose a value for one pair - choose 2 cards of that value - choose a different value for the other pair - choose 2 cards of that value - choose a different value for the fifth card - choose 1 card of that value This logic would treat this sequence of choices 3ofHearts, 3ofClubs,5ofDiamonds,5ofSpades,JackofClubs as being different from this sequence 5ofDiamonds,5ofSpades, 3ofHearts, 3ofClubs,JackofClubs

Number of Two Pairs Counting 17 What if you try to pick the value for the higher pair first, then pick the value for the lower pair? - choose a value for the higher pair - choose 2 cards of that value - choose a lower value for the other pair - choose 2 cards of that value - choose a different value for the fifth card - choose 1 card of that value 12 4? 1 2 The problem is that we don't know how many possible values we have left to choose from unless we know what the higher value was&

Number of Two Pairs Counting 18 Two pairs consists of two cards of one value, two cards of another value, and a fifth card of a third value. We can construct such a hand by: - choose the values for the two pairs - choose 2 cards of the higher value - choose 2 cards of the lower value - choose a different value for the fifth card - choose 1 card of that value Hence, using the Multiplication Rule: 13 4 4 11 4 2 2 2 1 1