Coin tossing, again

A fair coin is tossed n n times.

Let A A denote the event that both heads and tails appear at least once in those n n tosses. Let B B denote the event that at most one tail appears.

If A A and B B are independent events, find the value of n n .


The answer is 3.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Jordan Cahn
Dec 4, 2018

Let h h and t t denote the number of heads and tail flipped, respectively.

  • P ( B ) = P ( t = 0 ) + P ( t = 1 ) = 1 2 n + n 2 n P(B) = P(t=0) + P(t=1) = \dfrac{1}{2^n} + \dfrac{n}{2^n}
  • P ( A ) = 1 ( P ( t = 0 ) + P ( h = 0 ) ) = 1 ( 1 2 n + 1 2 n ) = 2 n 2 2 n P(A) = 1 - (P(t=0) + P(h=0)) = 1 -\left(\dfrac{1}{2^n} + \dfrac{1}{2^n}\right) = \dfrac{2^n-2}{2^n}
  • P ( B A ) = P ( B A ) P ( A ) = P ( t = 1 ) P ( A ) = n / 2 n 2 n 2 / 2 n = n 2 n 2 P(B\mid A) = \dfrac{P(B\cap A)}{P(A)} = \dfrac{P(t=1)}{P(A)} = \dfrac{^n\!/\!_{2^n}}{^{2^n-2}\!/\!_{2^n}} = \dfrac{n}{2^n-2}

By definition, if A A and B B are independent then P ( B ) = P ( B A ) P(B) = P(B\mid A) . Thus we have 1 2 n + n 2 n = n 2 n 2 2 n 2 2 n + n ( 2 n 2 ) 2 n = n 1 + n 2 n + 2 2 n = n 2 n + 2 2 n = 1 2 n + 2 = 2 n \begin{aligned} \frac{1}{2^n} + \frac{n}{2^n} &= \frac{n}{2^n-2} \\ \frac{2^n-2}{2^n} + \frac{n(2^n-2)}{2^n} &= n \\ 1 + n - \frac{2n + 2}{2^n} &= n \\ \frac{2n + 2}{2^n} &= 1 \\ 2n + 2 &= 2^n \end{aligned}

By inspection, n = 3 n=\boxed{3} is a solution. Since y = 2 x + 2 y=2x+2 intersects y = 2 x y=2^x at only one point in the first quadrant, this is the unique solution.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...