Calculating Binomial Probability for Coin Tosses with At Least 1 Head

AI Thread Summary
The discussion focuses on calculating the conditional probability of obtaining exactly 2 heads in 5 coin tosses, given that at least 1 head appears. The problem is framed within the context of binomial distribution, using the formula for conditional probability P(A|B) = P(A∩B) / P(B). The probability of getting exactly 2 heads is calculated as P(A) = 0.3125, while the probability of getting at least 1 head is derived as P(B) = 0.96875. Consequently, the conditional probability P(A|B) is approximately 0.323. This approach effectively clarifies the relationship between the events in question.
mtingt
Messages
13
Reaction score
0
A fair coin is tossed 5 times. What is the probability of obtaining exactly 2 heads if it is known that at least 1 head appeared?
 
Physics news on Phys.org
Prob(exactly 2 heads)/(1 - Prob(0 heads))
 
The way I see it, this is a conditional probability problem that involves the binomial distribution. That is, "what is the probability of getting exactly 2 heads given that at least 1 head occurs".

The formula for the probabilty of event A given B, written as P(A|B), is:
P(A|B) = \frac{P(A\bigcap B)}{P(B)}.

In this case, P(A) = probability of exactly 2 heads, and P(B) = probability of ≥ 1 head.
Since P(A) fulfills P(B) as well, P(A\bigcapB) = P(A)= (10 choose 2)(0.5^5)
= 0.3125.

P(B) is a bit trickier. It's basically the P(1 H) + P(2 H) + P(3 H) + P(4 H) + P(5 H), which can also be written as 1 - P(0 heads) = 1 - (0.5)^5 = 0.96875.

Therefore, P(A|B) = 0.3125 / 0.96875 ≈ 0.323


EDIT - this is basically the full solution to what mathman just said.
 
thanks pshooter that explained so much better!
 
I tried to combine those 2 formulas but it didn't work. I tried using another case where there are 2 red balls and 2 blue balls only so when combining the formula I got ##\frac{(4-1)!}{2!2!}=\frac{3}{2}## which does not make sense. Is there any formula to calculate cyclic permutation of identical objects or I have to do it by listing all the possibilities? Thanks
Since ##px^9+q## is the factor, then ##x^9=\frac{-q}{p}## will be one of the roots. Let ##f(x)=27x^{18}+bx^9+70##, then: $$27\left(\frac{-q}{p}\right)^2+b\left(\frac{-q}{p}\right)+70=0$$ $$b=27 \frac{q}{p}+70 \frac{p}{q}$$ $$b=\frac{27q^2+70p^2}{pq}$$ From this expression, it looks like there is no greatest value of ##b## because increasing the value of ##p## and ##q## will also increase the value of ##b##. How to find the greatest value of ##b##? Thanks
Back
Top