Discrete Finite Probability Probability 1

Similar documents
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.

2.5 Sample Spaces Having Equally Likely Outcomes

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

Poker Hands. Christopher Hayes

Math 166: Topics in Contemporary Mathematics II

5.8 Problems (last update 30 May 2018)

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

3 The multiplication rule/miscellaneous counting problems

PROBABILITY Case of cards

Name Instructor: Uli Walther

Classical vs. Empirical Probability Activity

The probability set-up

MC215: MATHEMATICAL REASONING AND DISCRETE STRUCTURES

Venn Diagram Problems


The point value of each problem is in the left-hand margin. You must show your work to receive any credit, except on problems 1 & 2. Work neatly.

TEST A CHAPTER 11, PROBABILITY

Section continued: Counting poker hands

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

Homework 8 (for lectures on 10/14,10/16)

DISCUSSION #8 FRIDAY MAY 25 TH Sophie Engle (Teacher Assistant) ECS20: Discrete Mathematics

11.2. Counting Techniques and Probability

Important Distributions 7/17/2006

The probability set-up

The Product Rule can be viewed as counting the number of elements in the Cartesian product of the finite sets

PROBLEM SET 2 Due: Friday, September 28. Reading: CLRS Chapter 5 & Appendix C; CLR Sections 6.1, 6.2, 6.3, & 6.6;

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

3 The multiplication rule/miscellaneous counting problems

Solutions - Problems in Probability (Student Version) Section 1 Events, Sample Spaces and Probability. 1. If three coins are flipped, the outcomes are

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

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

Page 1 of 22. Website: Mobile:

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

Math Exam 2 Review. NOTE: For reviews of the other sections on Exam 2, refer to the first page of WIR #4 and #5.

Math Exam 2 Review. NOTE: For reviews of the other sections on Exam 2, refer to the first page of WIR #4 and #5.

Before giving a formal definition of probability, we explain some terms related to probability.

Activity 1: Play comparison games involving fractions, decimals and/or integers.

Chapter 8: Probability: The Mathematics of Chance

Conditional Probability Worksheet

Unit 9: Probability Assignments

Section 5.4 Permutations and Combinations

Counting Poker Hands

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

Name: Exam 1. September 14, 2017

Fall 2017 March 13, Written Homework 4

Section 5.4 Permutations and Combinations

Developed by Rashmi Kathuria. She can be reached at

STANDARD COMPETENCY : 1. To use the statistics rules, the rules of counting, and the characteristic of probability in problem solving.

Discrete Random Variables Day 1

Probability. The Bag Model

I. WHAT IS PROBABILITY?

Math 1313 Section 6.2 Definition of Probability

4.1 Sample Spaces and Events

Conditional Probability Worksheet

Math 1070 Sample Exam 1

Today s Topics. Sometimes when counting a set, we count the same item more than once

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

7.1 Experiments, Sample Spaces, and Events

Poker: Probabilities of the Various Hands

Introduction to probability

Lesson 3 Dependent and Independent Events

Counting integral solutions

Basic Concepts of Probability and Counting Section 3.1

Probability Exercise 2

Distinguishable Boxes

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

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

For this assignment, your job is to create a program that plays (a simplified version of) blackjack. Name your program blackjack.py.

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

CS Project 1 Fall 2017

A Probability Work Sheet

Mr. Orchard s Math 141 WIR Test 3 Review Week 11

Contemporary Mathematics Math 1030 Sample Exam I Chapters Time Limit: 90 Minutes No Scratch Paper Calculator Allowed: Scientific

Independent and Mutually Exclusive Events

Jong C. Park Computer Science Division, KAIST

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

Section 6.5 Conditional Probability

Math-Essentials. Lesson 9-2: Counting Combinations

Independent Events. 1. Given that the second baby is a girl, what is the. e.g. 2 The probability of bearing a boy baby is 2

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

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

Pan (7:30am) Juan (8:30am) Juan (9:30am) Allison (10:30am) Allison (11:30am) Mike L. (12:30pm) Mike C. (1:30pm) Grant (2:30pm)

CSC/MTH 231 Discrete Structures II Spring, Homework 5

COUNTING AND PROBABILITY

FreeCell Puzzle Protocol Document

Poker: Probabilities of the Various Hands

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

6) A) both; happy B) neither; not happy C) one; happy D) one; not happy

Compound Probability. Set Theory. Basic Definitions

Objectives. Determine whether events are independent or dependent. Find the probability of independent and dependent events.

Chapter 1: Sets and Probability

TEXAS HOLD EM BONUS POKER

CS 237 Fall 2018, Homework SOLUTION

FLOP POKER. Rank-- or ranking means the relative position of a card or hand as set forth in Section 5.

Mixed Counting Problems

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

TABLE GAMES RULES OF THE GAME

Intermediate Math Circles November 1, 2017 Probability I

Review. Natural Numbers: Whole Numbers: Integers: Rational Numbers: Outline Sec Comparing Rational Numbers

CARIBBEAN. The Rules

Transcription:

Discrete Finite Probability Probability 1 In these notes, I will consider only the finite discrete case. That is, in every situation the possible outcomes are all distinct cases, which can be modeled by integers, and there are a finite number of such outcomes. The discussion that follows was drawn from a number of sources, including: Probability by G E Bates, Addison-Wesley, 1965 0-201-00405-4 Puzzle-based Learning by Michalewicz & Michalewicz, Hybrid, 2008 978-1-876462-5

A Challenge Probability 2 Suppose we have an urn that contains 300 white balls and 400 black balls: 300W 400B Suppose we draw 2 balls. The probability that we get 1 black ball and 1 white ball is: 400 300 1 1 400 300 = 700 ( 700 699 )/2 2 0.49

Analysis Probability 3 Here are the details of that last example: Note the use of the Multiplication Rule here # ways to choose # ways to choose 400 300 1 black ball 1 white ball 1 1 = # ways to choose 2 balls 700 w/o restrictions 2 400 400! 400! = = = 1 1!(400 1)! 399! 400 700 700! 700! 700 699 = = = = 2 2!(700 2)! 2 698! 2 244650

Examples Probability 4 With an urn that contains 300 white balls and 400 black balls: Suppose we draw 5 balls. The probability that we get 2 black balls and 3 white balls is: 400 300 400! 300! 400 399 300 299 298 2 3 = 2!398! 3!297! = 2 6 700 700! 700 699 698 697 696 5 5!695! 120 200 399 50 299 298 = 0.257 35 699 698 697 116

Examples Probability 5 With an urn that contains 300 white balls and 400 black balls: Suppose we draw 5 balls. What's the probability that we get at least 3 black balls? The key question is: in how many ways can we choose 5 balls and include at least 3 black balls? So, we have three distinct (nonoverlapping) cases: - 3B and 2W - 4B and 1W - 5B and 0W Note the use of the Addition Rule here 400 300 400 300 400 300 + + 3 2 4 1 5 0

Examples Probability 6 So, the probability that we get at least 3 black balls is: 400 300 400 300 400 300 + + 3 2 4 1 5 0 700 5 And, the probability that we get fewer than 3 black balls is: 1 400 300 400 300 400 300 + + 3 2 4 1 5 0 700 5

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

Counting Poker Hands Probability 8 A full house is 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 Probability 9 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 Probability 10 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 incorrect8 but the error is subtle.

Number of Two Pairs Probability 11 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 was8

Number of Two Pairs Probability 12 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

A Puzzle Probability 13 There are three cards in a bag. One card has the symbol X written on both sides; one card has the symbol O written on both sides; one card has the symbol X on one side and the symbol O on the other side. You draw one card at random and examine one side of the card. You see the symbol X on that side of the card. What is the probability that there is also an X on the other side?

Solution Probability 14 There are three cards in the bag: XX OO XO Now, we know we did not draw the card OO. So, the probability is 1/2, right? Nope. (Although we're right to eliminate OO.) We could be seeing any of three different Xs: XX XO If we're seeing either of the first two, then there's an X on the other side. If we're seeing the third X, there's an O on the other side. So, the probability is 2/3, not 1/2.

Solution Probability 15 A clearer way of saying this is that we are thinking of the sample space (the set of all possible outcomes) incorrectly: XX XO We are looking at one side of a card, and we know that's an X. A precise description of the sample space is that when we have the following possible cases: X on front of another X X on back of another X X on front of an O So, in 2 cases out of 3, we're looking at the card with 2 X's.

Expectation Probability 16 Suppose we have a probabilistic experiment that has a sample space {e 1, e 2,, e N } and that for each outcome in the sample space we have a probability p(e K ). And, suppose that corresponding to each outcome in the sample space we have an associated value v K. Then the expectation or expected value of the experiment is the weighted average of the values, using the outcome probabilities as weights: N K= 1 pe ( ) v K K

Example Probability 17 A game is played by drawing balls out of an urn; the players gain $2 when a green ball is drawn and lose $1 when a red ball is drawn. Suppose the urn contains 30 green balls and 70 red balls. What is the expected payoff for a round of this game?

Solution Probability 18 The probability of drawing a green ball is 0.3 and the probability of drawing a red ball is 0.7. The value of drawing a green ball is +2 and the value of drawing a red ball is -1. So, the expectation for a single draw would be 0.3 * 2 + 0.7 * -1 = -0.1 Hence, you'd expect, on average, to lose 10 cents each time you play the game.