To determine the value of
p+q, let's first analyze the given probabilities for an unbiased coin being tossed
n times.
The probability of getting at least one tail when an unbiased coin is tossed
n times is given by:
p=1− Probability of getting all heads
Since the probability of getting all heads (which is
H H H . . . H ) on
n coin tosses is
(21)n, we have:
p=1−(21)nThe probability of getting at least two tails is:
q=1− Probability of zero tails - Probability of one tail
The probability of zero tails is
(21)n, and the probability of exactly one tail (which can occur in any of the
n positions) is
n⋅(21)⋅(21)n−1=n⋅(21)n. Therefore,
q=1−(21)n−n⋅(21)nWe are given that:
p−q=325Substituting the expressions for
p and
q, we get:
(1−(21)n)−(1−(21)n−n⋅(21)n)=325Simplifying the equation above:
1−(21)n−1+(21)n+n⋅(21)n=325n⋅(21)n=325 We need to solve for
n :
Let's say
n=5, then:
5⋅(21)5=325Which simplifies to:
325=325This shows that our assumption
n=5 is correct. Now, substituting
n=5 back into the expressions for
p and
q :
p=1−(21)5=1−321=3231q=1−(21)5−5⋅(21)5=1−321−325=1−326=3226Adding
p and
q :
p+q=3231+3226=3257