Skip to content
Official PYQ · 2026

GATE CS 2026 Set 2 Q53 — Conditional Probability and Bayes Theorem

Explain with AI
Suppose an unbiased coin is tossed 66 times. Each coin toss is independent of all previous coin tosses. Let E1E_{1} be the event that among the second, fourth, and sixth coin tosses, there are at least two heads. Let E2E_{2} be the event that among the first, second, third, and fifth coin tosses, there are equal number of heads and tails.

The conditional probability P(E1∣E2)\mathrm{P}\left(E_{1} \mid E_{2}\right) is equal to _______\_\_\_\_\_\_\_. (rounded off to one decimal place)
View worked solution

Answer: 0.5:0.5

We want to find the conditional probability P(E1∣E2)P(E_1 \mid E_2). Let the outcomes of the six tosses be T1,T2,T3,T4,T5,T6∈{H,T}T_1, T_2, T_3, T_4, T_5, T_6 \in \{H, T\}.

The events are defined as:

  • E1E_1: At least two heads among {T2,T4,T6}\{T_2, T_4, T_6\}.
  • E2E_2: Exactly two heads and two tails among {T1,T2,T3,T5}\{T_1, T_2, T_3, T_5\}.

Since T2T_2 is the only common coin toss between E1E_1 and E2E_2, we can partition the conditional probability based on the value of T2T_2:

P(E1∣E2)=P(E1∣T2=H,E2)P(T2=H∣E2)+P(E1∣T2=T,E2)P(T2=T∣E2)P(E_1 \mid E_2) = P(E_1 \mid T_2 = H, E_2) P(T_2 = H \mid E_2) + P(E_1 \mid T_2 = T, E_2) P(T_2 = T \mid E_2)

Step 1: Find P(T2=H∣E2)P(T_2 = H \mid E_2) and P(T2=T∣E2)P(T_2 = T \mid E_2)

For E2E_2 to occur, we need exactly 22 heads out of {T1,T2,T3,T5}\{T_1, T_2, T_3, T_5\}:

  • If T2=HT_2 = H, we need exactly 11 head from {T1,T3,T5}\{T_1, T_3, T_5\}, which can happen in (31)=3\binom{3}{1} = 3 ways.
  • If T2=TT_2 = T, we need exactly 22 heads from {T1,T3,T5}\{T_1, T_3, T_5\}, which can happen in (32)=3\binom{3}{2} = 3 ways.

Since both cases are equally likely, P(T2=H∣E2)=P(T2=T∣E2)=0.5P(T_2 = H \mid E_2) = P(T_2 = T \mid E_2) = 0.5.

Step 2: Find the conditional probabilities of E1E_1

Given T2T_2, the event E1E_1 depends only on the independent tosses T4T_4 and T6T_6:

  • If T2=HT_2 = H, then E1E_1 (at least two heads in {T2,T4,T6}\{T_2, T_4, T_6\}) requires at least one head in {T4,T6}\{T_4, T_6\}: P(E1∣T2=H,E2)=1−P(T4=T,T6=T)=1−14=34P(E_1 \mid T_2 = H, E_2) = 1 - P(T_4 = T, T_6 = T) = 1 - \frac{1}{4} = \frac{3}{4}
  • If T2=TT_2 = T, then E1E_1 requires both T4T_4 and T6T_6 to be heads: P(E1∣T2=T,E2)=P(T4=H,T6=H)=14P(E_1 \mid T_2 = T, E_2) = P(T_4 = H, T_6 = H) = \frac{1}{4}

Step 3: Calculate the final probability

P(E1∣E2)=(34×0.5)+(14×0.5)=0.5P(E_1 \mid E_2) = \left(\frac{3}{4} \times 0.5\right) + \left(\frac{1}{4} \times 0.5\right) = 0.5

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Conditional Probability and Bayes Theorem questions