Here's a problem from Prof. Blitzstein's Stat 110 textbook. Please see my solution below.
A fair coin is flipped 3 times. The toss results are recorded on separate slips of paper (writing “H” if Heads and “T” if Tails), and the 3 slips of paper are thrown into a hat.
(a) Find the probability that all 3 tosses landed Heads, given that at least 2 were Heads.
(b) Two of the slips of paper are randomly drawn from the hat, and both show the letter H. Given this information, what is the probability that all 3 tosses landed Heads?
The binomial distribution of the number of heads (#H) is as follows:
$\mathbb{P}(\#H=0) = 1/8 $
$\mathbb{P}(\#H=1) = 3/8 $
$\mathbb{P}(\#H=2) = 3/8 $
$\mathbb{P}(\#H=3) = 1/8 $
a) Probability of 3 heads given at least 2 heads = $\mathbb{P}(\#H=3)/\mathbb{P}(\#H \ge 2 ) = (1/8)/(1/2)=1/4$
b) But I'm not able to understand how (b) is different from (a). To me it's the same problem and has the same answer.
Can anyone help please?
Maybe it is the same problem. But intuition can be unreliable in these matters, so let us compute.
Let $A$ be the event "three heads" and let $B$ be the event "first two slips drawn were heads." We want $\Pr(A\mid B)$, which is $\Pr(A\cap B)/\Pr(B)$. Now let us compute $\Pr(B)$.
The event $B$ can happen in two ways: (i) all three were heads and (ii) two were heads, and the first two slips drawn were heads. The probability of (1) is $1/8$.
For (ii), the probability of $2$ heads is $3/8$. Given we have a total of $2$ heads, the probability the first two slips are head is $(2/3)(1/2)$. So the probability of (ii) $(3/8)(2/3)(1/2)$, that is, $1/8$.
It follows that $\Pr(A\mid B)=\frac{1/8}{1/8+1/8}=\frac{1}{2}$.
Remark: In retrospect, this should be almost obvious, for putting aside and then looking is probabilistically equivalent to looking. So here we are basically calculating the probability the third toss is head given the first two are. This is $1/2$.