Conditional probability and partitions

Click For Summary
The discussion revolves around solving a probability problem involving three identical coins with different probabilities of showing heads. The first question calculates the overall probability of flipping a head when a coin is chosen at random, yielding a result of 1/2. For the second question, the probability of flipping three heads in sequence is determined to be 3/32, indicating that the events are not independent. The third question explores conditional probability after flipping two heads, leading to a final answer of 9/16 for the probability of having chosen the coin with a 3/4 chance of heads. The discussion emphasizes the use of the partition theorem and the importance of understanding conditional probabilities in this context.
Kate2010
Messages
134
Reaction score
0

Homework Statement



I'm currently trying to revise for exams and really struggling on this problem:

Suppose you have 3 coins that look identical (ie don't know which is which) with probabilites of 1/4, 1/2 and 3/4 of showing a head.

1. If you pick a coin at random and flip it, what is the probability of a head?
2. If you flip all 3 coins 1 after the other what is the probability of getting 3 heads? Are the three events Aj that the jth coin shows a head for j=1,2,3 independent?
3. You pick a coin at random and flip it twice and get a head both times. What is the conditional probability that you picked the coin with a probability of 3/4 of getting a head?
4. You pick one of the other 2 coins at random and flip it. What is the probability of a head?

Homework Equations



Partition Theorem P(A) = \sum P(A | Bi)P(Bi)

P(B|A) = P(A|B)P(B)/P(A)

The Attempt at a Solution



1. I think this is 1/2, by adding up the probabilities and dividing by 3.

2. Would I get the probability of all heads by doing 1/4 x 1/2 x 3/4 = 3/32? As I assume that getting a head on one coin does not affect the other coins?

But then I'm not sure about the next part of (2). Is P(A1) = 1/2 by (1). The I tried to use the partition theorem for P(A2)

P(A2) = P(A2|A1)P(A1) + P(A2|not A1) P(not A1)
P(A1) = 1/2 = P(not A1) but apart from this I don't know.

3. P(3/4 coin | 2 heads) = P (2 heads| 3/4 coin)P(3/4 coin) / P(2 heads) = 3/4 x 3/4 x 1/3 / P(2 heads), but I don't know P(2 heads). Would drawing a probability tree work to find this?

4. I have not yet attempted this as I wanted to be clear on the rest of the question 1st.

Thanks :)
 
Physics news on Phys.org
1) Yes, fine.

2) Yes, the probability of getting all heads if you flip all three coins is 3/32. For that part, flipping the coins one after the others is equivalent to flipping them all at once, because you're not going to stop or distinguish one flip from the others.

Now for this second part.
Suppose that the Ajs were independent. Then the probability of getting three heads would be (1/2)3 = 1/8. But that doesn't match your answer above. So clearly they aren't independent.

To calculate p(A2 | A1), the probability that if flip 1 were a head, flip 2 will then be a head, try using the following questions:

What is the probability (given that the first coin was a head) that the first coin's inherent heads probability is 1/4? 1/2? 3/4? What do those probabilities sum to? If the first coin was the 1/4 coin, what is the probability of A2? Likewise for the other coins. If you have all these facts, then you should be able to figure out p(A2 | A1).

3) A tree would help you out in finding P(2 heads), but you can probably do it in your head. What's the probability that you get 2 heads in a row if your coin is 1/4? 1/2? 3/4? What are the a priori probabilities that you have these coins (ignoring your given outcomes)?

4) Just an extension of the last problem.
 
Thanks, that's really helpful.

For question 2, the first part of your answer seems to make it unnecessary to calculate P(A2 | A1) but as I'm still finding it hard to do I shall persevere. Or do I still need to do it for the question?

I get P(1/4 | A1) = P(A1 | 1/4) P(1/4)/P(A1) = (1/4)(1/3)/(1/2) = 1/6. P(1/2 | A1) = 1/3, P(3/4 | A1) = 1/2. These sum to 1.

The next bit I'm more unsure of:
P(A2| 1/4 coin 1st) = (1/2 + 3/4) / 2 = 5/8
P(A2 | 1/2 coin 1st) = (1/4 + 3/4) / 2 = 1/2
P(A2 | 3/4 coin 1st) = (1/4 + 1/2) / 2 = 3/8
These don't sum to 1?

Then, again kind of guessing, P(A2 | A1) = P(A1|A2)P(A2)/P(A1) = P(A2) as P(A1 | A2) = P(A1)?

P(A2) = (1/6)(5/8) + (1/2)(3/8) + (1/2)(1/3) = 11/24

And for 3:

P(2 heads | 1/4 coin) = 1/16
P(2 heads | 1/2 coin) = 1/4
P(2 heads | 3/4 coin) = 9/16

We choose each coin with probability 1/3 as they look identical, so using the partition theorem we get P(2 heads) = 1/3 (1/16 + 1/4 + 9/16) = 1/3

Then my final answer for 3 is 9/16
 
Last edited:
Kate2010 said:
Thanks, that's really helpful.

For question 2, the first part of your answer seems to make it unnecessary to calculate P(A2 | A1) but as I'm still finding it hard to do I shall persevere. Or do I still need to do it for the question?

I get P(1/4 | A1) = P(A1 | 1/4) P(1/4)/P(A1) = (1/4)(1/3)/(1/2) = 1/6. P(1/2 | A1) = 1/3, P(3/4 | A1) = 1/2. These sum to 1.

Yup, good so far.

Kate2010 said:
The next bit I'm more unsure of:
P(A2| 1/4 coin 1st) = (1/2 + 3/4) / 2 = 5/8
P(A2 | 1/2 coin 1st) = (1/4 + 3/4) / 2 = 1/2
P(A2 | 3/4 coin 1st) = (1/4 + 1/2) / 2 = 3/8
These don't sum to 1?

Yup, they don't sum to one, because they are conditional on all different things. Imagine there were 1000 coins which all impacted A2 by just a little bit away from 1/2. Those 1000 numbers wouldn't sum to 1 either. :>

Kate2010 said:
Then, again kind of guessing, P(A2 | A1) = P(A1|A2)P(A2)/P(A1) = P(A2) as P(A1 | A2) = P(A1)?

OK, off track now.

Don't use Bayes' Theorem for this one.

Try P(A2 | A1) = P (A2 \cap A1) / P(A1). You'll need to figure out how to calculate P (A2 \cap A1), but you've already got all the pieces you need for that.




Kate2010 said:
And for 3:

P(2 heads | 1/4 coin) = 1/16
P(2 heads | 1/2 coin) = 1/4
P(2 heads | 3/4 coin) = 9/16

We choose each coin with probability 1/3 as they look identical, so using the partition theorem we get P(2 heads) = 1/3 (1/16 + 1/4 + 9/16) = 1/3

Then my final answer for 3 is 9/16

1/3(1/16 + 1/4 + 9/16) is not 1/3.
 
Thank you very much for clearing some things up :)
I still don't totally understand but I think I'll just wait for my class.
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 15 ·
Replies
15
Views
5K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
6
Views
1K
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 23 ·
Replies
23
Views
3K