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

Slides:



Advertisements
Similar presentations
Discrete Probability Rosen 5.1.
Advertisements

Discrete Probability Chapter 7.
Discrete Mathematics and Its Applications Sixth Edition By Kenneth Rosen Chapter 6 Discrete Probability 歐亞書局.
1 Copyright © Cengage Learning. All rights reserved. 4 Probability.
COUNTING AND PROBABILITY
Section 16.1: Basic Principles of Probability
1 Discrete Structures & Algorithms Discrete Probability.
1 Many people debate basic questions of chance in games such as lotteries. The Monty Hall problem is a fun brain teaser that Marilyn vos Savant addressed.
1 Discrete Math CS 280 Prof. Bart Selman Module Probability --- Part a) Introduction.
1 Copyright M.R.K. Krishna Rao 2003 Chapter 5. Discrete Probability Everything you have learned about counting constitutes the basis for computing the.
1 Section 5.1 Discrete Probability. 2 LaPlace’s definition of probability Number of successful outcomes divided by the number of possible outcomes This.
Learning Goal 13: Probability Use the basic laws of probability by finding the probabilities of mutually exclusive events. Find the probabilities of dependent.
Copyright © Cengage Learning. All rights reserved. CHAPTER 9 COUNTING AND PROBABILITY.
Chapter Probability © 2010 Pearson Prentice Hall. All rights reserved 3 5.
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.
Stochastic Methods A Review (Mostly). Relationship between Heuristic and Stochastic Methods  Heuristic and stochastic methods useful where –Problem does.
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.
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.
Copyright © Cengage Learning. All rights reserved. CHAPTER 9 COUNTING AND PROBABILITY.
Counting and Probability. Counting Elements of Sets Theorem. The Inclusion/Exclusion Rule for Two or Three Sets If A, B, and C are finite sets, then N(A.
College Algebra Sixth Edition James Stewart Lothar Redlin Saleem Watson.
9.3 Addition Rule. The basic rule underlying the calculation of the number of elements in a union or difference or intersection is the addition rule.
Chapter 7 With Question/Answer Animations. Section 7.1.
Section 7.2. Section Summary Assigning Probabilities Probabilities of Complements and Unions of Events Conditional Probability Independence Bernoulli.
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
Topic 2: Intro to probability CEE 11 Spring 2002 Dr. Amelia Regan These notes draw liberally from the class text, Probability and Statistics for Engineering.
PROBABILITY (Theoretical) Predicting Outcomes. What is probability? Probability refers to the chance that an event will happen. Probability is presented.
ICS 253: Discrete Structures I Discrete Probability King Fahd University of Petroleum & Minerals Information & Computer Science Department.
Natural Language Processing Giuseppe Attardi Introduction to Probability IP notice: some slides from: Dan Jurafsky, Jim Martin, Sandiway Fong, Dan Klein.
Discrete Mathematics, 1st Edition Kevin Ferland Chapter 6 Basic Counting 1.
Introduction Lecture 25 Section 6.1 Wed, Mar 22, 2006.
Introduction to Discrete Probability Epp, section 6.x CS 202.
Week 21 Rules of Probability for all Corollary: The probability of the union of any two events A and B is Proof: … If then, Proof:
3.4 Elements of Probability. Probability helps us to figure out the liklihood of something happening. The “something happening” is called and event. The.
1 Learning Objectives Bayes’ Formula The student will be able to solve problems involving finding the probability of an earlier event conditioned on the.
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.
3/7/20161 Now it’s time to look at… Discrete Probability.
Ch 11.7 Probability. Definitions Experiment – any happening for which the result is uncertain Experiment – any happening for which the result is uncertain.
1 What Is Probability?. 2 To discuss probability, let’s begin by defining some terms. An experiment is a process, such as tossing a coin, that gives definite.
Chapter 7. Section 7.1 Finite probability  In a lottery, players win a large prize when they pick four digits that match, in the correct order, four.
1 COMP2121 Discrete Mathematics Principle of Inclusion and Exclusion Probability Hubert Chan (Chapters 7.4, 7.5, 6) [O1 Abstract Concepts] [O3 Basic Analysis.
Essential Ideas for The Nature of Probability
Now it’s time to look at…
Introduction to Discrete Probability
ICS 253: Discrete Structures I
The Pigeonhole Principle
What Is Probability?.
Chapter 6: Discrete Probability
Probability Axioms and Formulas
Probability Imagine tossing two coins and observing whether 0, 1, or 2 heads are obtained. It would be natural to guess that each of these events occurs.
What is Probability? Quantification of uncertainty.
Applied Discrete Mathematics Week 7: Probability Theory
CS104:Discrete Structures
BASIC PROBABILITY Probability – the chance of something (an event) happening # of successful outcomes # of possible outcomes All probability answers must.
Discrete Probability Chapter 7 With Question/Answer Animations
Now it’s time to look at…
Now it’s time to look at…
Now it’s time to look at…
The Monty Hall Game PLAY Teacher’s Notes.
Now it’s time to look at…
Agenda Lecture Content: Discrete Probability
Presentation transcript:

Section 7.1

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

Probability of an Event We first study Pierre-Simon Laplace’s classical theory of probability, which he introduced in the 18 th century, when he analyzed games of chance. We first define these key terms: 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. Here is how Laplace defined the probability of an event: Definition: 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 of E is p(E) = |E|/|S|. For every event E, we have 0 ≤ p(E) ≤ 1. This follows directly from the definition because 0 ≤ p(E) = |E|/|S| ≤ |S|/|S| ≤ 1, since 0 ≤ |E| ≤ |S|. Pierre-Simon Laplace ( )

Applying Laplace’s Definition Example: An urn contains four blue balls and five red balls. What is the probability that a ball chosen from the urn is blue? Solution: The probability that the ball is chosen is 4 / 9 since there are nine possible outcomes, and four of these produce a blue ball. Example: What is the probability that when two dice are rolled, the sum of the numbers on the two dice is 7 ? Solution: By the product rule there are 6 2 = 36 possible outcomes. Six of these sum to 7. Hence, the probability of obtaining a 7 is 6 / 36 = 1 / 6.

Applying Laplace’s Definition Example: In a lottery, a player wins a large prize when they pick four digits that match, in correct order, four digits selected by a random mechanical process. What is the probability that a player wins the prize? Solution: By the product rule there are 10 4 = 10,000 ways to pick four digits. Since there is only 1 way to pick the correct digits, the probability of winning the large prize is 1/10,000 = A smaller prize is won if only three digits are matched. What is the probability that a player wins the small prize? Solution: If exactly three digits are matched, one of the four digits must be incorrect and the other three digits must be correct. For the digit that is incorrect, there are 9 possible choices. Hence, by the sum rule, there a total of 36 possible ways to choose four digits that match exactly three of the winning four digits. The probability of winning the small price is 36/10,000 = 9/2500 =

Applying Laplace’s Definition Example: There are many lotteries that award prizes to people who correctly choose a set of six numbers out of the first n positive integers, where n is usually between 30 and 60. What is the probability that a person picks the correct six numbers out of 40 ? Solution: The number of ways to choose six numbers out of 40 is C( 40,6 ) = 40 !/( 34 ! 6 !) = 3,838,380. Hence, the probability of picking a winning combination is 1 / 3,838,380 ≈ Can you work out the probability of winning the lottery with the biggest prize where you live?

Applying Laplace’s Definition Example: What is the probability that the numbers 11, 4, 17, 39, and 23 are drawn in that order from a bin with 50 balls labeled with the numbers 1,2, …, 50 if a) The ball selected is not returned to the bin. b) The ball selected is returned to the bin before the next ball is selected. Solution: Use the product rule in each case. a) Sampling without replacement: The probability is 1/254,251,200 since there are 50 ∙49 ∙47 ∙46 = 254,251,200 ways to choose the five balls. b) Sampling with replacement: The probability is 1 / 50 5 = 1/312,500,000 since 50 5 = 312,500,000.

The Probability of Complements and Unions of Events Theorem 1 : Let E be an event in sample space S. The probability of the event = S − E, the complementary event of E, is given by Proof: Using the fact that | | = |S| − |E|,

The Probability of Complements and Unions of Events Example: A sequence of 10 bits is chosen randomly. What is the probability that at least one of these bits is 0 ? Solution: Let E be the event that at least one of the 10 bits is 0. Then is the event that all of the bits are 1 s. The size of the sample space S is Hence,

The Probability of Complements and Unions of Events Theorem 2 : Let E 1 and E 2 be events in the sample space S. Then Proof: Given the inclusion-exclusion formula from Section 2.2, | A ∪ B | = | A | + | B | − | A ∩ B |, it follows that

Example: What is the probability that a positive integer selected at random from the set of positive integers not exceeding 100 is divisible by either 2 or 5 ? Solution: Let E 1 be the event that the integer is divisible by 2 and E 2 be the event that it is divisible 5 ? Then the event that the integer is divisible by 2 or 5 is E 1 ∪ E 2 and E 1 ∩ E 2 is the event that it is divisible by 2 and 5. It follows that: p(E 1 ∪ E 2 ) = p(E 1 ) + p(E 2 ) – p(E 1 ∩ E 2 ) = 50/ /100 − 10/100 = 3/5. The Probability of Complements and Unions of Events

Monty Hall Puzzle Example: You are asked to select one of the three doors to open. There is a large prize behind one of the doors and if you select that door, you win the prize. After you select a door, the game show host opens one of the other doors (which he knows is not the winning door). The prize is not behind the door and he gives you the opportunity to switch your selection. Should you switch? Solution: You should switch. The probability that your initial pick is correct is 1 / 3. This is the same whether or not you switch doors. But since the game show host always opens a door that does not have the prize, if you switch the probability of winning will be 2/3, because you win if your initial pick was not the correct door and the probability your initial pick was wrong is 2/ ( This is a notoriously confusing problem that has been the subject of much discussion. Do a web search to see why!)