QlarIITy

MathematicsJEE Advanced 2015 · Paper 1Integer

The minimum number of times a fair coin needs to be tossed, so that the probability of getting at least two heads is at least 0.96, is

Try it before you look.The full solution is on this page, below the answer box, the moment you check. No sign-in needed.

Solution

Core idea. "At least two heads" fails only for zero or one head, so the condition is n+12n≤125\frac{n+1}{2^{n}}\le\frac{1}{25}.

Concept refresher. For nn tosses of a fair coin, the number of heads XX follows B(n,12)B\left(n,\frac{1}{2}\right) with P(X=r)=(nr)12nP(X=r)=\binom{n}{r}\frac{1}{2^{n}}. "At least" events are easiest through the complement.

Approach. Write P(X≥2)=1−P(X=0)−P(X=1)P(X\ge 2)=1-P(X=0)-P(X=1), form the inequality, and find the smallest nn satisfying it.

  1. Step 1: Complement

    P(X≥2)=1−12n−n2n=1−n+12nP(X\ge 2)=1-\frac{1}{2^{n}}-\frac{n}{2^{n}}=1-\frac{n+1}{2^{n}}
  2. Step 2: Form the inequality

    1−n+12n≥0.96 ⇒ n+12n≤0.04=125 ⇒ 25(n+1)≤2n1-\frac{n+1}{2^{n}}\ge 0.96\ \Rightarrow\ \frac{n+1}{2^{n}}\le 0.04=\frac{1}{25}\ \Rightarrow\ 25(n+1)\le 2^{n}
  3. Step 3: Test values

    • n=7n=7: 25×8=200>128=2725\times 8=200>128=2^{7}, fails.
    • n=8n=8: 25×9=225≤256=2825\times 9=225\le 256=2^{8}, works.

    Since n+12n\frac{n+1}{2^{n}} decreases for n≥1n\ge 1, every n≥8n\ge 8 works and n=8n=8 is the minimum.

Answer. 8

Common slips

  • Using 1−12n≥0.961-\frac{1}{2^{n}}\ge 0.96 (forgetting exactly one head) gives n=5n=5.
  • Stopping at n=7n=7 after a rough estimate: 8128=0.0625\frac{8}{128}=0.0625 is still bigger than 0.040.04.

Key takeaway

The trap. Using only the complement of "at least one head", 1−12n≥0.961-\frac{1}{2^{n}}\ge 0.96, drops the exactly-one-head term and gives n=5n=5.

How toppers think. They turn 0.040.04 into 125\frac{1}{25}, rewrite the condition as 2n≥25(n+1)2^{n}\ge 25(n+1), and test n=7n=7 (128<200128<200) and n=8n=8 (256≥225256\ge 225).

Remember. For nn fair tosses, P(X≥2)=1−P(X=0)−P(X=1)=1−n+12nP(X\ge 2)=1-P(X=0)-P(X=1)=1-\frac{n+1}{2^{n}}.

More on Random Variables & Distribution