QlarIITy

MathematicsJEE Main 2023 · 11 AprilInteger

Let the probability of getting head for a biased coin be 14\frac{1}{4}. It is tossed repeatedly until a head appears. Let NN be the number of tosses required. If the probability that the equation64x2+5Nx+1=064x^2 + 5Nx + 1 = 0has no real root is pq\frac{p}{q}, where pp and qq are co-prime, then q−pq - p is equal to ______

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. A condition on the roots turns into a range for the random variable, whose probability is then found.

Concept refresher. A quadratic equation ax2+bx+c=0ax^2 + bx + c = 0 with real coefficients has no real root exactly when

b2−4ac<0b^2 - 4ac < 0

Picture the situation. The coin shows a head with probability 14\dfrac{1}{4}, and NN is the number of tosses up to the first head. The quadratic has no real root when its discriminant is negative, which limits NN. The probability asked is that of NN being within that limit.

Approach. Find the allowed values of the number of tosses from the discriminant, then their total probability.

  1. Step 1: The condition

    No real root needs (5N)2−4×64<0(5N)^2 - 4 \times 64 < 0, that is 25N2<25625N^2 < 256, so N<3.2N < 3.2. Since NN is a positive integer, N≤3N \leq 3.

  2. Step 2: The probability

    The first head comes within three tosses unless all three are tails, so P(N≤3)=1−(34)3=3764P(N \leq 3) = 1 - \left(\dfrac{3}{4}\right)^3 = \dfrac{37}{64}. This is in lowest terms, so q−p=64−37=27q - p = 64 - 37 = 27.

Answer. 27

Sanity check. Directly: 14+316+964=16+12+964=3764\dfrac{1}{4} + \dfrac{3}{16} + \dfrac{9}{64} = \dfrac{16 + 12 + 9}{64} = \dfrac{37}{64}.

Common wrong answers

  • 9: Taking N<3N < 3 gives 1−916=7161 - \dfrac{9}{16} = \dfrac{7}{16} and q−p=9q - p = 9; the value N=3N = 3 also makes the discriminant negative.

Key takeaway

The trap. The largest allowed whole number must be included when the inequality holds for it.

How toppers think. They use the complement, all tails, for the first head within a given number of tosses.

Remember. P(N≤3)=1−(34)3P(N \leq 3) = 1 - \left(\dfrac{3}{4}\right)^3

More on Independent Events