Applied Discrete Mathematics Week 7: Probability Theory

Slides:



Advertisements
Similar presentations
Section 5.1 and 5.2 Probability
Advertisements

March 31, 2015Applied Discrete Mathematics Week 8: Advanced Counting 1 Discrete Probability Example I: A die is biased so that the number 3 appears twice.
MAT 103 Probability In this chapter, we will study the topic of probability which is used in many different areas including insurance, science, marketing,
1 1 PRESENTED BY E. G. GASCON Introduction to Probability Section 7.3, 7.4, 7.5.
Mathematics.
April 2, 2015Applied Discrete Mathematics Week 8: Advanced Counting 1 Random Variables In some experiments, we would like to assign a numerical value to.
Probability Of An Event Dhon G. Dungca, M.Eng’g..
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.
Set, Combinatorics, Probability & Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Set,
The Addition Rule and Complements 5.2. ● Venn Diagrams provide a useful way to visualize probabilities  The entire rectangle represents the sample space.
Chapter 9 Introducing Probability - A bridge from Descriptive Statistics to Inferential Statistics.
Sets, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProbability.
Sets, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProbability.
Copyright © 2000 by the McGraw-Hill Companies, Inc. Barnett/Ziegler/Byleen College Algebra: A Graphing Approach Chapter Six Sequences, Series, and Probability.
Math 409/409G History of Mathematics
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.
The Basics of Probability Theory Section 13.1 NCSCOS 2.02.
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.
Section 7.2. Section Summary Assigning Probabilities Probabilities of Complements and Unions of Events Conditional Probability Independence Bernoulli.
Advanced Precalculus Advanced Precalculus Notes 12.3 Probability.
Chapter 12 Probability © 2008 Pearson Addison-Wesley. All rights reserved.
Discrete Structures By: Tony Thi By: Tony Thi Aaron Morales Aaron Morales CS 490 CS 490.
ICS 253: Discrete Structures I Discrete Probability King Fahd University of Petroleum & Minerals Information & Computer Science Department.
Sixth lecture Concepts of Probabilities. Random Experiment Can be repeated (theoretically) an infinite number of times Has a well-defined set of possible.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 5 Section 2 – Slide 1 of 21 Chapter 5 Section 2 The Addition Rule and Complements.
SECTION 11-2 Events Involving “Not” and “Or” Slide
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:
© 2010 Pearson Prentice Hall. All rights reserved. CHAPTER 11 Counting Methods and Probability Theory.
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.
Chapter 7 Sets & Probability Section 7.3 Introduction to Probability.
Chance Experiments with Outcomes that are not Equally Likely.
Reviews of probability Question 1: Suppose we have a “ABCDE” litters how many words we can compose from them with 4 litters without repetition.
 Page 568: Insurance Rates  Probability theory  Chance or likelihood of an event happening  Probability  Each even is assigned a number between.
Introduction to probability (3) Definition: - The probability of an event A is the sum of the weights of all sample point in A therefore If A1,A2,…..,An.
Section 13.2 Complements and Union of Events. Objective 1.Finding the probability that an event will not occur. 2.Find the probability of one event or.
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.
Section 5.1 and 5.2 Probability
Now it’s time to look at…
Introduction to Discrete Probability
ICS 253: Discrete Structures I
The Pigeonhole Principle
Chapter 11 Probability.
Chapter 6: Discrete Probability
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.
PROBABILITY AND PROBABILITY RULES
Sequences, Series, and Probability
What is Probability? Quantification of uncertainty.
CS104:Discrete Structures
Probability and Statistics Chapter 3 Notes
Conditional Probability
Recursively Defined Functions
Discrete Probability Chapter 7 With Question/Answer Animations
Now it’s time to look at…
Set, Combinatorics, Probability & Number Theory
Probability Models Section 6.2.
Section 3-3 Mutually exclusive events are events that cannot both happen at the same time. The Addition Rule (For “OR” probabilities) “Or” can mean one.
Honors Statistics From Randomness to Probability
Now it’s time to look at…
Representations of Integers
Now it’s time to look at…
Counting Methods and Probability Theory
Mrs.Volynskaya Alg.2 Ch.1.6 PROBABILITY
Applied Discrete Mathematics Week 12: Discrete Probability
Counting Methods and Probability Theory
Now it’s time to look at…
Agenda Lecture Content: Discrete Probability
Sets, Combinatorics, Probability, and Number Theory
Presentation transcript:

Applied Discrete Mathematics Week 7: Probability Theory Complementary Events Let E be an event in a sample space S. The probability of an event –E, the complementary event of E, is given by p(-E) = 1 – p(E). This can easily be shown: p(-E) = (|S| - |E|)/|S| = 1 - |E|/|S| = 1 – p(E). This rule is useful if it is easier to determine the probability of the complementary event than the probability of the event itself. March 9, 2017 Applied Discrete Mathematics Week 7: Probability Theory

Applied Discrete Mathematics Week 7: Probability Theory Complementary Events Example I: A sequence of 10 bits is randomly generated. What is the probability that at least one of these bits is zero? Solution: There are 210 = 1024 possible outcomes of generating such a sequence. The event –E, “none of the bits is zero”, includes only one of these outcomes, namely the sequence 1111111111. Therefore, p(-E) = 1/1024. Now p(E) can easily be computed as p(E) = 1 – p(-E) = 1 – 1/1024 = 1023/1024. March 9, 2017 Applied Discrete Mathematics Week 7: Probability Theory

Applied Discrete Mathematics Week 7: Probability Theory Complementary Events Example II: What is the probability that at least two out of 36 people have the same birthday? Solution: The sample space S encompasses all possibilities for the birthdays of the 36 people, so |S| = 36536. Let us consider the event –E (“no two people out of 36 have the same birthday”). –E includes P(365, 36) outcomes (365 possibilities for the first person’s birthday, 364 for the second, and so on). Then p(-E) = P(365, 36)/36536 = 0.168, so p(E) = 0.832 or 83.2% March 9, 2017 Applied Discrete Mathematics Week 7: Probability Theory

Applied Discrete Mathematics Week 7: Probability Theory Discrete Probability Let E1 and E2 be events in the sample space S. Then we have: p(E1  E2) = p(E1) + p(E2) - p(E1  E2) Does this remind you of something? Of course, the principle of inclusion-exclusion. March 9, 2017 Applied Discrete Mathematics Week 7: Probability Theory

Applied Discrete Mathematics Week 7: Probability Theory Discrete Probability Example: What is the probability of a positive integer selected at random from the set of positive integers not exceeding 100 to be divisible by 2 or 5? Solution: E2: “integer is divisible by 2” E5: “integer is divisible by 5” E2 = {2, 4, 6, …, 100} |E2| = 50 p(E2) = 0.5 March 9, 2017 Applied Discrete Mathematics Week 7: Probability Theory

Applied Discrete Mathematics Week 7: Probability Theory Discrete Probability E5 = {5, 10, 15, …, 100} |E5| = 20 p(E5) = 0.2 E2  E5 = {10, 20, 30, …, 100} |E2  E5| = 10 p(E2  E5) = 0.1 p(E2  E5) = p(E2) + p(E5) – p(E2  E5 ) p(E2  E5) = 0.5 + 0.2 – 0.1 = 0.6 March 9, 2017 Applied Discrete Mathematics Week 7: Probability Theory

Applied Discrete Mathematics Week 7: Probability Theory Discrete Probability What happens if the outcomes of an experiment are not equally likely? In that case, we assign a probability p(s) to each outcome sS, where S is the sample space. Two conditions have to be met: (1): 0  p(s)  1 for each sS, and (2): sS p(s) = 1 This means, as we already know, that (1) each probability must be a value between 0 and 1, and (2) the probabilities must add up to 1, because one of the outcomes is guaranteed to occur. March 9, 2017 Applied Discrete Mathematics Week 7: Probability Theory

Applied Discrete Mathematics Week 7: Probability Theory Discrete Probability How can we obtain these probabilities p(s) ? The probability p(s) assigned to an outcome s equals the limit of the number of times s occurs divided by the number of times the experiment is performed. Once we know the probabilities p(s), we can compute the probability of an event E as follows: p(E) = sE p(s) March 9, 2017 Applied Discrete Mathematics Week 7: Probability Theory

Applied Discrete Mathematics Week 7: Probability Theory Discrete Probability Example I: A die is biased so that the number 3 appears twice as often as each other number. What are the probabilities of all possible outcomes? Solution: There are 6 possible outcomes s1, …, s6. p(s1) = p(s2) = p(s4) = p(s5) = p(s6) p(s3) = 2p(s1) Since the probabilities must add up to 1, we have: 5p(s1) + 2p(s1) = 1 7p(s1) = 1 p(s1) = p(s2) = p(s4) = p(s5) = p(s6) = 1/7, p(s3) = 2/7 March 9, 2017 Applied Discrete Mathematics Week 7: Probability Theory

Applied Discrete Mathematics Week 7: Probability Theory Discrete Probability Example II: For the biased die from Example I, what is the probability that an odd number appears when we roll the die? Solution: Eodd = {s1, s3, s5} Remember the formula p(E) = sE p(s). p(Eodd) = sEodd p(s) = p(s1) + p(s3) + p(s5) p(Eodd) = 1/7 + 2/7 + 1/7 = 4/7 = 57.14% March 9, 2017 Applied Discrete Mathematics Week 7: Probability Theory