Discrete Probability Rosen 5.1.

Slides:



Advertisements
Similar presentations
Permutations and Combinations
Advertisements

Unit 3: Probability 3.1: Introduction to Probability
What can we say about probability? It is a measure of likelihood, uncertainty, possibility, … And it is a number, numeric measure.
Probability of Independent Events
Probability I Introduction to Probability
What are your Chances? by Laurie Townsend.
Combinatorics & Probability Section 3.4. Which Counting Technique? If the problem involves more than one category, use the Fundamental Principle of Counting.
Beginning Probability
How to Measure Uncertainty With Probability
1 Combination Symbols A supplement to Greenleafs QR Text Compiled by Samuel Marateck ©2009.
Counting and Gambling Section 4Objectives: Understand how to use the fundamental counting principle to analyze counting problems that occur in gambling.
Chris Morgan, MATH G160 January 30, 2012 Lecture 9 Chapter 4.1: Combinations 1.
Jacqueline Wroughton Joseph Nolan Northern Kentucky University.
Lecture 18 Dr. MUMTAZ AHMED MTH 161: Introduction To Statistics.
5-1 Chapter 5 Probability 1.
An Extra Point Quiz. Are You Smarter than a Pre-Calc Student is a game in which the first 10 questions the class is playing the game together to earn.
Stat 35b: Introduction to Probability with Applications to Poker Outline for the day: 1.Midterms 2.Flushes 3.Hellmuth vs. Farha 4.Worst possible beat 5.Jackpot.
Probability Key. You are given a standard deck of 52 playing cards, which consists of 4 suits: diamonds, hearts, clubs, and spades. Each suit has 13 cards.
Counting. Counting in Algorithms How many comparisons are needed to sort n numbers? How many steps to compute the GCD of two numbers ? How many steps.
Great Theoretical Ideas in Computer Science for Some.
Tucker, Applied Combinatorics1 SECTION 5.2 Simple Arrangements and Selections Aaron Desrochers and Ben Epstein.
Probability and Casino Games
MAT 103 Probability In this chapter, we will study the topic of probability which is used in many different areas including insurance, science, marketing,
5.3 Permutations and Combinations
Discrete Mathematics Math 6A Homework 5 Solution.
Quit Introduction Cards Combining Probabilities.
Chapter 14 worksheet.
Review and Preview and Random Variables
Chapter 8 Counting Principles: Further Probability Topics Section 8.3 Probability Applications of Counting Principles.
Probability – Page 1CSCI 1900 – Discrete Structures CSCI 1900 Discrete Structures Probability Reading: Kolman, Section 3.4.
1 Discrete Math CS 280 Prof. Bart Selman Module Probability --- Part a) Introduction.
Midterm Review Solutions Math 210G-04, Spring 2011.
1 Probability Parts of life are uncertain. Using notions of probability provide a way to deal with the uncertainty.
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
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.
4. Counting 4.1 The Basic of Counting Basic Counting Principles Example 1 suppose that either a member of the faculty or a student in the department is.
1 9/8/2015 MATH 224 – Discrete Mathematics Basic finite probability is given by the formula, where |E| is the number of events and |S| is the total number.
1 Introduction to Discrete Probability Rosen, Section 6.1 Based on slides by Aaron Bloomfield and …
1 9/23/2015 MATH 224 – Discrete Mathematics Basic finite probability is given by the formula, where |E| is the number of events and |S| is the total number.
Lecture Discrete Probability. 5.1 Probabilities Important in study of complexity of algorithms. Modeling the uncertain world: information, data.
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 =
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.
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.
Chapter 3 Section 3.2 Basic Terms of Probability.
Section 7.1. Section Summary Finite Probability Probabilities of Complements and Unions of Events Probabilistic Reasoning.
Chapter 7 With Question/Answer Animations. Section 7.1.
March 10, 2015Applied Discrete Mathematics Week 6: Counting 1 Permutations and Combinations How many different sets of 3 people can we pick from a group.
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:
1 Discrete Structures – CNS2300 Text Discrete Mathematics and Its Applications (5 th Edition) Kenneth H. Rosen Chapter 5 Counting.
Homework Homework due now. Reading: relations
ICS 253: Discrete Structures I Discrete Probability King Fahd University of Petroleum & Minerals Information & Computer Science Department.
11/13 Basic probability Probability in our context has to do with the outcomes of repeatable experiments Need an Experiment Set X of outcomes (outcome.
Introduction Lecture 25 Section 6.1 Wed, Mar 22, 2006.
Introduction to Discrete Probability Epp, section 6.x CS 202.
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.
 Counting  Fundamental Counting principle  Factorials  Permutations and combinations  Probability  Complementary events  Compound events  Independent.
1 Discrete Structures - CSIS2070 Text Discrete Mathematics and Its Applications Kenneth H. Rosen Chapter 4 Counting.
Section 7.1. Probability of an Event We first define these key terms: An experiment is a procedure that yields one of a given set of possible outcomes.
MAT 142 Lecture Video Series. Combinatorics and Probability.
Probability and statistics - overview Introduction Basics of probability theory Events, probability, different types of probability Random variable, probability.
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.
Math 1320 Chapter 7: Probability 7.4 Probability and Counting Techniques.
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.
1 COMP2121 Discrete Mathematics Principle of Inclusion and Exclusion Probability Hubert Chan (Chapters 7.4, 7.5, 6) [O1 Abstract Concepts] [O3 Basic Analysis.
MAT 142 Lecture Video Series
ICS 253: Discrete Structures I
The Pigeonhole Principle
Discrete Probability Chapter 7 With Question/Answer Animations
Presentation transcript:

Discrete Probability Rosen 5.1

Finite Probability An experiment is a procedure that yields one of a given set of possible outcomes. The sample space of the experiment is the set of possible outcomes. An event is a subset of the sample space. The probability of an event E, which is a subset of a finite sample space S of equally likely outcomes, is p(E) = |E|/|S|

Dice What is the probability that when two dice are rolled, the sum of the numbers on the two dice is 7? By the product rule |S| = 6*6 = 36 |E| = 6, namely (1,6), (2,5), (3,4), (4,3), (5,2), (6,1) |E|/|S| = 6/36 = 1/6

Power Ball Pick the value, in order, for 4 balls whose values each range between 1 and 20 (and values can be repeated). P(E) = 1/(20*20*20*20) = 1/160,000

The Big Game Pick the correct value of six balls whose possible values range between 1 and 50. Order not important, but there can be no balls with duplicate values. C(50,6) = 50!/6!44! = 50*49*48*47*46*45/6*5*4*3*2 =15,890,700 There is one correct answer, so p(E) = 1/15,890,700 No duplicate values, so balls are distinct.

Poker P(13,2)C(4,3),C(4,2)/2,598,960 = 13*12*4*6/2,598,960 = ~0.0014 What is the probability that, if you are dealt five cards, you have a full house, three of one kind and two of another kind? (e.g., 3 Aces and 2 Kings) How many possible poker hands? C(52,5) = 2,598,960 How many ways to get a full house? Number of ways to pick two kinds in order: P(13,2) Number of ways to pick 3 out of 4 of the first kind: C(4,3) Number of ways to pick 2 out of 4 of the second kind: C(4,2) P(13,2)C(4,3),C(4,2)/2,598,960 = 13*12*4*6/2,598,960 = ~0.0014 P(13,2) must be used because (A,K) means 3 aces and 2 kings, whereas (K,A) means 3 kings and 2 aces. They are distinct.

Probability of Combinations of Events Let E be an event in a sample space S. The probability of the event E’, the complementary event of E, is given by p(E’) = 1 - p(E). Let E1 and E2 be events in the sample space S. Then p(E1E2) = p(E1) + p(E2) - p(E1E2).

Let’s Make a Deal! In a game show you are asked to select one of three doors. Behind one of the doors is a large prize. Once you select a door, the game show host, who knows what is behind each door, does the following. First, whether or not you select the winning door, he opens one of the other two doors that he knows is a losing door. Then he asks you whether you would like to switch doors. Should you switch doors?

Let’s Make a Deal solution YES. You should always switch doors. With three doors, the probability that you have selected the correct door is 1/3. Therefore, the probability that you have selected incorrectly is 2/3. You will always win if your initial choice was incorrect and you switch doors. So by switching doors your probability of winning is 2/3.

Example Problems What is the probability that a 5 card poker hand does not contain the queen of hearts. What is the probability that a 5 card poker hand contains at least one ace? What is the probability that a 5 card poker hand contains two pairs? (two of each of two different kinds and a fifth card of a third kind)? What is the probability that a five card poker hand contains a straight (5 in sequence)?

Example Problems What is the probability that a 5 card poker hand does not contain the queen of hearts? Number of poker hands that do not contain the queen of hearts: C(51,5) Total number of poker hands: C(52,5)

Example Problems What is the probability that a 5 card poker hand contains at least one ace? Let’s compute the probability of a hand containing no aces and subtract that from 1. What is the probability of a hand containing no aces? p(at least one ace) = 1 - 0.659 = ~0.33

Example Problems What is the probability that a 5 card poker hand contains exactly two pairs? (two of each of two different kinds and a fifth card of a third kind)? First choose what the cards in each pair will be: C(13,2) = 78 ways to do this. Which two cards of each of the kinds of pairs are included: C(4,2) = 6 for each pair. How many choices for the fifth card (must be different or we have a full house): C(44,1) = 44 Using product rule: 78*6*6*44 ways to have 2 pairs p(2 pairs) = 78*6*6*44/C(52,5) = ~0.0475 Now use C(13,2) instead of P(13,2)!

Example Problems What is the probability that a five card poker hand contains a straight (5 in sequence)? How many ways can we start a straight? C(10,1) = 10 (can start at A, 2, 3, 4, 5, 6, 7, 8, 9, 10--assuming that the Ace can be either high or low) How many choices for each of the five cards? C(4,1) =4 for each card, 45 10*45/C(52,5) = ~0.00355 What if we don’t count straight flushes? (A flush is 5 of the same kind.) There are 10*4 = 40 straight flushes, so (10*45 - 40)/C(52,5)