

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Discrete Probability Worksheet 3 Solutions. 1. Suppose you flip two fair coins. Let A be the event that the first coin is heads, B the event.
Typology: Exercises
1 / 2
This page cannot be seen from the preview
Don't miss anything!


Math 10B Spring 2018 Discrete Probability Worksheet 3 Solutions
Solution: At first, it might seem that only A and B are independent. But often our intuition about probability can be misleading. So let’s try directly checking which are independent using the definition of independence. Let’s define our sample space to be all pairs of tails and heads. So there are 4 outcomes and since the coins are fair, each outcome is equally likely. Now observe that each of the events A, B, and C consists of two outcomes (the two outcomes for C are HH and T T ). So each of these events has probability 1/2. In other words,
The event A ∩ B just means that both coins show heads. The event A ∩ C means that the first coin is heads and both coins are the same—in other words, A ∩ C just means that both coins are heads. And so does the event B ∩ C. So A ∩ B, A ∩ C and B ∩ C are actually all the same event, and all have the same probability, 1/4. In other words,
The event A ∩ B ∩ C means that the first coin is heads, the second coin is heads, and both coins are the same. But this, too, is just equivalent to saying that both coins are heads. So we also have P (A ∩ B ∩ C) =
Using the definition of independence, all of this means that the following are independent:
A and B A and C B and C
but A, B, and C are not independent.
Solution: Using the definitions of conditional probability and independence,
P (A | B ∩ C) =
Math 10B Spring 2018 Discrete Probability Worksheet 3 Solutions
Solution: Let Ω be all unordered sets of five distinct cards. Let A be the event that there are exactly three red cards. Since each outcome in Ω is equally likely, P (A) = ||AΩ||. To pick a set of five cards with exactly three red cards, we need to choose 3 cards out of the 26 red cards and 2 black cards out of the 26 black cards. So |A| =
And since Ω is all ways to choose 5 cards from 52 where order doesn’t matter,
Therefore P (A) =
3
2
5
(b) Now suppose that if you don’t get exactly three red cards, you replace all five cards, reshuffle the deck, and try again. You keep doing this until you do get exactly three red cards. What is the probability that you have to repeat this exactly seven times?
Solution: Let p be the answer to part (a)—i.e. the probability of success. In order for it to take exactly 7 attempts, we need to fail exactly six times and then succeed once. Since we reshuffle the cards, each attempt is independent. Thus we can multiply the probabilities to get (1 − p)^6 p.
(c) The two parts above are examples of what two types of distributions?
Solution: The first one is an example of a hypergeometric distribution and the second is an example of a geometric distribution (where the parameter is the answer to part (a)).
Comment: This is known as the St. Petersburg paradox.