Intermediate Math Circles November 8, 2017 Probability II

Similar documents
4. Probability of an event A for equally likely outcomes:

Chapter 5 : Probability. Exercise Sheet. SHilal. 1 P a g e

Chapter 6: Probability The Study of Randomness

Lecture 8: Conditional probability I: definition, independence, the tree method, sampling, chain rule for independent events

If S = {O 1, O 2,, O n }, where O i is the i th elementary outcome, and p i is the probability of the i th elementary outcome, then

I - Probability. What is Probability? the chance of an event occuring. 1classical probability. 2empirical probability. 3subjective probability

Probability and Statistics Notes

3.2 Probability Rules


Probability Year 10. Terminology

4 Lecture 4 Notes: Introduction to Probability. Probability Rules. Independence and Conditional Probability. Bayes Theorem. Risk and Odds Ratio

STAT Chapter 3: Probability

The probability of an event is viewed as a numerical measure of the chance that the event will occur.

Math 1313 Experiments, Events and Sample Spaces

Chapter 7: Section 7-1 Probability Theory and Counting Principles

Probability Year 9. Terminology

Year 10 Mathematics Probability Practice Test 1

Chapter. Probability

2.6 Tools for Counting sample points

Chapter 2 PROBABILITY SAMPLE SPACE

Event A: at least one tail observed A:

Axioms of Probability. Set Theory. M. Bremer. Math Spring 2018

HW2 Solutions, for MATH441, STAT461, STAT561, due September 9th

Probability the chance that an uncertain event will occur (always between 0 and 1)

4/17/2012. NE ( ) # of ways an event can happen NS ( ) # of events in the sample space

Example. What is the sample space for flipping a fair coin? Rolling a 6-sided die? Find the event E where E = {x x has exactly one head}

Chapter 2.5 Random Variables and Probability The Modern View (cont.)

ELEG 3143 Probability & Stochastic Process Ch. 1 Probability

UNIT 5 ~ Probability: What Are the Chances? 1

Chapter 01: Probability Theory (Cont d)

Mutually Exclusive Events

Presentation on Theo e ry r y o f P r P o r bab a il i i l t i y

Axioms of Probability

14 - PROBABILITY Page 1 ( Answers at the end of all questions )

Problem # Number of points 1 /20 2 /20 3 /20 4 /20 5 /20 6 /20 7 /20 8 /20 Total /150

324 Stat Lecture Notes (1) Probability

LECTURE 1. 1 Introduction. 1.1 Sample spaces and events

1 Probability Theory. 1.1 Introduction

Conditional Probability

3 PROBABILITY TOPICS

Notes for Math 324, Part 12

Basic Concepts of Probability

CHAPTER 3 PROBABILITY TOPICS

Topic -2. Probability. Larson & Farber, Elementary Statistics: Picturing the World, 3e 1

Topic 5: Probability. 5.4 Combined Events and Conditional Probability Paper 1

MAT2377. Ali Karimnezhad. Version September 9, Ali Karimnezhad

Basic Concepts of Probability

The enumeration of all possible outcomes of an experiment is called the sample space, denoted S. E.g.: S={head, tail}

Chapter 7 Wednesday, May 26th

Compound Events. The event E = E c (the complement of E) is the event consisting of those outcomes which are not in E.

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 2 MATH00040 SEMESTER / Probability

Properties of Probability

Mathematical Foundations of Computer Science Lecture Outline October 18, 2018

Discrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Note 14

Ch 14 Randomness and Probability

Chapter 6. Probability

Chapter 2: Probability Part 1

STA 247 Solutions to Assignment #1

Dept. of Linguistics, Indiana University Fall 2015

Senior Math Circles March 3, 2010 Counting Techniques and Probability II

2011 Pearson Education, Inc

MAT Mathematics in Today's World

Elementary Discrete Probability

STAT 430/510 Probability

STA Module 4 Probability Concepts. Rev.F08 1

Set/deck of playing cards. Spades Hearts Diamonds Clubs

Exam III Review Math-132 (Sections 7.1, 7.2, 7.3, 7.4, 7.5, 7.6, 8.1, 8.2, 8.3)

Term Definition Example Random Phenomena

(a) Fill in the missing probabilities in the table. (b) Calculate P(F G). (c) Calculate P(E c ). (d) Is this a uniform sample space?

P (A B) P ((B C) A) P (B A) = P (B A) + P (C A) P (A) = P (B A) + P (C A) = Q(A) + Q(B).

Probability- describes the pattern of chance outcomes

Statistics for Engineers

UNIT NUMBER PROBABILITY 6 (Statistics for the binomial distribution) A.J.Hobson

Today we ll discuss ways to learn how to think about events that are influenced by chance.

What is Probability? Probability. Sample Spaces and Events. Simple Event

Intro to Probability Day 3 (Compound events & their probabilities)

(6, 1), (5, 2), (4, 3), (3, 4), (2, 5), (1, 6)

AP Statistics Ch 6 Probability: The Study of Randomness

an event with one outcome is called a simple event.

P [(E and F )] P [F ]

Chapter 8 Sequences, Series, and Probability

Probability Rules. MATH 130, Elements of Statistics I. J. Robert Buchanan. Fall Department of Mathematics

Probability. Chapter 1 Probability. A Simple Example. Sample Space and Probability. Sample Space and Event. Sample Space (Two Dice) Probability

Lecture 6 Probability

LECTURE NOTES by DR. J.S.V.R. KRISHNA PRASAD

Week 2. Section Texas A& M University. Department of Mathematics Texas A& M University, College Station 22 January-24 January 2019

Independence. P(A) = P(B) = 3 6 = 1 2, and P(C) = 4 6 = 2 3.

The Geometric Distribution

Probability, For the Enthusiastic Beginner (Exercises, Version 1, September 2016) David Morin,

Introduction to Probability Theory

CHAPTER 4 PROBABILITY AND PROBABILITY DISTRIBUTIONS

Discussion 01. b) What is the probability that the letter selected is a vowel?

Stat 225 Week 1, 8/20/12-8/24/12, Notes: Set Theory

4. Suppose that we roll two die and let X be equal to the maximum of the two rolls. Find P (X {1, 3, 5}) and draw the PMF for X.

Math 243 Section 3.1 Introduction to Probability Lab

Previous Exam Questions, Chapter 2

STT When trying to evaluate the likelihood of random events we are using following wording.

TOPIC 12 PROBABILITY SCHEMATIC DIAGRAM

Probability (special topic)

(i) Given that a student is female, what is the probability of having a GPA of at least 3.0?

Transcription:

Intersection of Events and Independence Consider two groups of pairs of events Intermediate Math Circles November 8, 017 Probability II Group 1 (Dependent Events) A = {a sales associate has training} B = {a sales associate is very helpful} (or if a pair of standard dice are rolled) A = {6 is rolled on first die} B = {6 is rolled on both dice} Group (Independent Events) A = {a person is right handed} B = {a person is a brunette} (or if a pair of standard dice are rolled) A = {5 is rolled on first die} B = {5 is rolled on second die} What do the pairs A and B in each group have in common? In Group 1 the events are related so the occurrence of A affects the chances of B occurring. In Group whether A occurs or not has no effect on B s occurrence. We can formalize this in a definition Definition Events A and B are independent if and only if P (A B) = P (A) P (B) If they are not independent, we call the events dependant. If events are independent and have positive probabilities then their intersection must be nonempty. Therefore, independent events are normally not mutually exclusive. Example 1: Consider two events A and B where P (A) = 0.6, P (B) = 0.35 and P (A B) = 0.5. Are A and B independent? If A and B are independent, then P (A B) = P (A) P (B) must hold true. Since P (A) P (B) = 0.6 0.35 = 0.1 0.5 we conclude that A and B are not independent. 1

The definition of independence can be extended to a finite group of events. For example, Definition Events A, B, and C are mutually independent if and only if P (A B C) = P (A) P (B) P (C) P (A B) = P (A) P (B) P (A C) = P (A) P (C) P (B C) = P (B) P (C) Example : Find the probability of rolling doubles three times in a row with a pair of dice. First, P (doubles) = 6 36 = 1. Since each roll is independent of the others, we have 6 Example 3: P (doubles doubles doubles) = P (doubles) P (doubles) P (doubles) = 1 6 1 6 1 6 = 1 16 Three cards are drawn, with replacement, from an ordinary deck. Find the probability that exactly of the cards are hearts. ( ) 3 P (exactly hearts) = P (H H other) ( )( )( ) 1 1 3 = 3 4 4 4 = 9 64

Example 4: If the two events A and B are independent, prove that A C and B are also independent. P (A B) = P (A) P (B) ( ) = 1 P (A C ) P (B) P (A B) = P (B) P (A C ) P (B) P (A C ) P (B) = P (B) P (A B) P (A C ) P (B) = P (A C B) Since P (A C ) P (B) = P (A C B), by definition A C and B are independent events. Exercises 1. A die is rolled and a card is randomly drawn from a standard deck of 5 playing cards. (a) Determine the probability of rolling a prime number, then drawing a club. (b) Determine the probability of not rolling a 1, then drawing a face card.. Two weighted dice have P (1) = P (3) = P (5) = 0.1, P () = P (4) = 0. and P (6) = 0.3. (a) A pair of dice are rolled. What is the probability that the total is 8? (b) A pair of dice are rolled twice. What is the probability that the total will be 8 on both throws? (c) A pair of dice are rolled three times. What is the probability the total will be 8 on exactly 1 of the 3 throws? 3. Prove that A C and B C are independent if and only if A C and B are independent by completing the following two steps. (a) Prove A C and B are independent if you know that A C and B C are independent. (b) Prove A C and B C are independent if you know that A C and B are independent. Answers 1. (a) 1 8 5 (b) 6. (a) P (sum = 8) = 0.18 (b) P (sum = 8 on both throws) = 0.034 (c) P (sum = 8 on exactly 1 of 3 throws) = 0.3631 3

Conditional Probability In many cases we want to determine the probability of some event A, while knowing that some other event B has already occurred. Example 5: Find the probability of drawing a 7 from a deck of cards and then drawing a jack on the next draw. Out of 5 cards 4 are 7 s. P (draw 7) = 4 5 = 1 13 Out of the 51 cards that are left, 4 are jacks. Therefore, P (draw J after7) = 4 51 P (draw 7) P (draw J after 7) = 1 13 4 51 = 4 663 Notice that the probability of drawing a jack changes because it is dependent on the card that is chosen first. Let P (A B) represents the probability that event A occurs when we know that B occurs. We call this the conditional probability of A given B. Definition The conditional probability of event A, given event B, is P (A B) = P (A B), provided P (B) 0 P (B) NOTE: If A and B are independent, P (A B) = P (A B) P (B) = P (A)P (B) P (B) = P (A) This makes sense and we can use this as an equivalent definition of independence. That is, A and B are independent if and only if P (A B) = P (A). 4

Example 6: If a fair coin is tossed 3 times and you know that at least 1 head occurs. Find the probability that exactly 1 head occurs. P (exactly 1 H at least 1 H) = = P (exactly 1 H at least 1 H) P (at least 1 H) 3 8 7 8 = 3 8 7 8 = 3 7 Example 7: What is the probability that you roll a 1 with the throw of dice, given that you know the second die is a 6. If the sum of the two dice is 1 and the second die is a 6, then we know that we are looking for the first die to also be a 6. Since the two events are independent, we can use the alternative definition for independent events, that is P (A B) = P (A). P (first = 6 second = 6) = P (first = 6) = 1 6 Alternatively, if you did not notice that the two events were independent and worked through using the conditional probability formula, you would get the same answer. P (first = 6 second = 6) P (first = 6 second = 6) = P (second = 6) 1 = 36 1 6 = 1 36 1 6 = 1 6 5

Example 8: The probability that a randomly selected male is colour-blind is 0.07 whereas the probability a female is colour-blind is only 0.005. If the population is 45% male, what percent of the population is colour-blind? Let C = person selected is colour-blind M = person selected is male F = person selected is female We are given that P (C M) = 0.07 P (C F ) = 0.005 P (M) = 0.45 P (F ) = 0.55 We want to find P (C), which we can represent as P (C) = P (C M) + P (C F ) = P (C M)P (M) + P (C F )P (F ) = 0.07(0.45) + 0.005(0.55) = 0.0315 + 0.001375 = 0.03875 6

Problem Set 1. (a) In a coin toss, what is the probability that heads is flipped exactly two times out of three tosses? There are ( 3 ) ways to arrange heads and 1 tail and each toss of the coin is independent from the other two. Therefore, ( )( 3 1 P (exactly heads) = ( ) 1 = 3 8 = 3 8 = 0.375 )( 1 )( ) 1 (b) What if the coin is weighted so that the probability that heads occurs is 0.6? There are still ( 3 ) ways to arrange heads and 1 tail and each toss of the coin is independent from the other two. Therefore, ( ) 3 P (exactly heads) = (0.6)(0.6)(0.4) = 3(0.36)(0.4) = 0.43. Three digits are chosen at random (with replacement) from 0, 1,..., 9. Find the probability of each of the following events. (a) A: all three digits are the same Each of the three draws is independent from the others. Therefore, P (A) = P (any number) P (same number) P (same number) = 1 1 10 1 10 = 1 100 = 0.01 7

(b) B: all three digits are different Each of the three draws is independent from the others. Therefore, P (B) = P (any number) P (different number) P (another different number) = 1 9 10 8 10 = 7 100 = 0.7 (c) C: the digits all exceed 4 Each of the three draws is independent from the others. Therefore, P (C) = P (number > 4) P (number > 4) P (number > 4) = 1 1 1 = 1 8 = 0.15 (d) D: digits are either all even or all odd First we note that the digits being all even or all odd are mutually exclusive events. Within each event, each of the three draws is independent from the others. Therefore, P (D) = P (all even) + P (all odd) ( )( )( ) ( 1 1 1 1 = + = 1 8 + 1 8 )( 1 )( ) 1 = 1 4 = 0.5 8

3. A gumball machine contains 4 colours of gumballs. If you purchase a gumball, there is a 30% chance it will be blue, a 40% chance it will be green, a 10% chance it will be red, and a 0% chance it will be yellow. All of the red gumballs are removed. What are the chances of getting a blue, green and yellow gum ball now? We want to determine P (B R C ), P (G R C ) and P (Y R C ). P (B R C ) = P (B RC ) P (R C ) = 0.3 0.9 = 1 3 P (G R C ) = P (G RC ) P (R C ) = 0.4 0.9 = 4 9 P (Y R C ) = P (Y RC ) P (R C ) = 0. 0.9 = 9 Therefore, the chance of getting blue is 1 3, the chance of getting a green is 4, and the 9 chance of getting a yellow is 9. 4. In Canada, the probability that someone plays baseball or hockey is 0.79. The probability that someone plays just hockey is 0.6 and the probability that someone plays baseball and hockey is 0.15. What is the probability that someone plays only baseball? We are given that P (B H) = 0.79, P (H) = 0.6 and P (B H) = 0.15. We also know that P (B H) = P (B) + P (H) P (B H) which we can rearrange to solve for P (B). P (B) = P (B H) + P (B H) P (H) = 0.79 + 0.15 0.6 = 0.34 So we have that P (B) = 0.34. But this is not our final answer, because we want to find the probability that someone plays only baseball. That means we want to find P (B H C ) (you can convince yourself of this by drawing a venn diagram). P (B H C ) = P (B) P (B H) = 0.34 0.15 = 0.14 Therefore, the probability that a student plays only baseball is 0.14. 9

5. Let A and B be events defined on the same sample space, with P (A) = 0.3, P (B) = 0.4 and P (A B) = 0.5. If you are given that B does not occur, what is the probability of event A occurring? We want to find P (A B C ). We know that P (A B) = 0.5. We can use the formula for conditional probability and show that P (A B) = P (A B) P (B) = 0.5 0.4 = 0. Notice that P (A) P (B) P (A B) and so the events A and B are not independent. Next, you can draw a venn diagram to convince yourself that P (A) = P (A B) + P (A B C ) P (A B C ) = P (A) p(a B) = 0.3 0. = 0.1 We can now use the formula for conditional probability and we have P (A B C ) = P (A BC ) P (B C ) = 0.1 0.6 = 1 6 Therefore, if you are given that event B does not occur, then the probability of event A occurring is 1 6. 10

6. Billy and Crystal each have a bag of 9 balls. The balls in each bag are numbered 1 to 9. Billy and Crystal each remove one ball from their own bag. Let b be the sum of the numbers on the balls remaining in Billy s bag. Let c be the sum of the numbers on the balls remaining in Crystal s bag. Determine the probability that b and c differ by a multiple of 4. Suppose that Billy removes the ball numbered x from his bag and Crystal removes the ball numbered y from her bag. Then b = 1 + + 3 + 4 + 5 + 6 + 7 + 8 + 9 x = 45 x. Also c = 1 + + 3 + 4 + 5 + 6 + 7 + 8 + 9 y = 45 y. Hence, b c = (45 x) (45 y) = y x. Since 1 x 9 and 1 y 9, we have that 8 y x 8. (This is because y x is maximized when y is largest (that is y = 9) and x is smallest (that is when x = 1), so y x 9 1 = 8. A similar argument can be made for when y x 8). Since b c = y x is between 8 and 8, in order for it to be a multiple of 4, b c = y x can be 8, 4, 0, 4, or 8. Since each of Billy and Crystal choose 1 ball from 9 balls and each ball is equally likely to be chosen, the probability of any specific ball being chosen from one if their bags is 1. Thus, the probability of any specific pair of balls being chosen (one from each bag) is 9 1 1 = 1. 9 9 81 To compute the desired probability, we must count the number of pairs (x, y) where y x is 8, 4, 0, 4, or 8 and then multiply the result by 1. 81 If y x = 8, then (x, y) must be (9, 1). If y x = 8, then (x, y) must be (1, 9). If y x = 4, then (x, y) can be (5, 1), (6, ), (7, 3), (8, 4), (9, 5). If y x = 4, then (x, y) can be (1, 5), (, 6), (3, 7), (4, 8), (5, 9). If y x = 0, then (x, y) can be (1, 1), (, ), (3, 3), (4, 4), (5, 5), (6, 6), (7, 7), (8, 8), (9, 9). Therefore, there are 1 pairs (x, y) that work, so the desired probability is 1 81 = 7 7. 11