MCQMediumJEE 2024Conditional Probability & Bayes Theorem

JEE Mathematics 2024 Question with Solution

A bag contains 88 balls, whose colours are either white or black. 44 balls are drawn at random without replacement and it was found that 22 balls are white and other 22 balls are black. The probability that the bag contains equal number of white and black balls is:

  • A

    25\frac{2}{5}

  • B

    27\frac{2}{7}

  • C

    17\frac{1}{7}

  • D

    15\frac{1}{5}

Answer

Correct answer:B

Step-by-step solution

Standard Method

Given: A bag has 88 balls with some white and some black balls. 44 balls are drawn without replacement and the observed outcome is 22 white and 22 black.

Find: The probability that the bag originally had equal numbers of white and black balls.

Use Bayes' theorem. Let AA be the event that the bag contains 44 white and 44 black balls, and let EE be the event of drawing 22 white and 22 black balls.

From the solution, the possible valid bag compositions are:

  • 2W6B2W6B
  • 3W5B3W5B
  • 4W4B4W4B
  • 5W3B5W3B
  • 6W2B6W2B

These are taken to be equally likely, so each has prior probability 15\frac{1}{5}.

Now,

P(EW=w)=(w2)(8w2)(84)P(E\mid W=w)=\frac{\binom{w}{2}\binom{8-w}{2}}{\binom{8}{4}}

In particular,

P(EA)=(42)(42)(84)=6×670=3670P(E\mid A)=\frac{\binom{4}{2}\binom{4}{2}}{\binom{8}{4}}=\frac{6\times 6}{70}=\frac{36}{70}

Using total probability,

P(E)=w=26P(EW=w)P(W=w)P(E)=\sum_{w=2}^{6} P(E\mid W=w)P(W=w)

So,

P(E)=15(84)[(22)(62)+(32)(52)+(42)(42)+(52)(32)+(62)(22)]P(E)=\frac{1}{5\binom{8}{4}}\left[\binom{2}{2}\binom{6}{2}+\binom{3}{2}\binom{5}{2}+\binom{4}{2}\binom{4}{2}+\binom{5}{2}\binom{3}{2}+\binom{6}{2}\binom{2}{2}\right]

Evaluate the terms:

(22)(62)=15,(32)(52)=30,(42)(42)=36,(52)(32)=30,(62)(22)=15\binom{2}{2}\binom{6}{2}=15,\quad \binom{3}{2}\binom{5}{2}=30,\quad \binom{4}{2}\binom{4}{2}=36,\quad \binom{5}{2}\binom{3}{2}=30,\quad \binom{6}{2}\binom{2}{2}=15

Hence,

P(E)=1515+30+36+30+1570=1512670P(E)=\frac{1}{5}\cdot\frac{15+30+36+30+15}{70}=\frac{1}{5}\cdot\frac{126}{70}

Apply Bayes' theorem:

P(AE)=P(EA)P(A)P(E)=3670151512670P(A\mid E)=\frac{P(E\mid A)P(A)}{P(E)}=\frac{\frac{36}{70}\cdot\frac{1}{5}}{\frac{1}{5}\cdot\frac{126}{70}}

Cancelling common factors,

P(AE)=36126=27P(A\mid E)=\frac{36}{126}=\frac{2}{7}

Therefore, the required probability is 27\frac{2}{7}. The correct option is B.

Bayes Theorem Expansion

Given: The observed draw is 22 white and 22 black out of 44 balls.

Find: The probability that the original bag had equal numbers of white and black balls.

Let AA denote the event 4W4B4W4B, and let EE denote the event 2W2B2W2B in the draw. Then,

P(AE)=P(A)P(EA)P(A)P(EA)+P(2W6B)P(E2W6B)+P(3W5B)P(E3W5B)+P(5W3B)P(E5W3B)+P(6W2B)P(E6W2B)P(A\mid E)=\frac{P(A)P(E\mid A)}{P(A)P(E\mid A)+P(2W6B)P(E\mid 2W6B)+P(3W5B)P(E\mid 3W5B)+P(5W3B)P(E\mid 5W3B)+P(6W2B)P(E\mid 6W2B)}

Since all five feasible compositions are equally likely,

P(2W6B)=P(3W5B)=P(4W4B)=P(5W3B)=P(6W2B)=15P(2W6B)=P(3W5B)=P(4W4B)=P(5W3B)=P(6W2B)=\frac{1}{5}

Also,

P(E2W6B)=(22)(62)(84)=1570,P(E\mid 2W6B)=\frac{\binom{2}{2}\binom{6}{2}}{\binom{8}{4}}=\frac{15}{70}, P(E3W5B)=(32)(52)(84)=3070,P(E\mid 3W5B)=\frac{\binom{3}{2}\binom{5}{2}}{\binom{8}{4}}=\frac{30}{70}, P(E4W4B)=(42)(42)(84)=3670,P(E\mid 4W4B)=\frac{\binom{4}{2}\binom{4}{2}}{\binom{8}{4}}=\frac{36}{70}, P(E5W3B)=(52)(32)(84)=3070,P(E\mid 5W3B)=\frac{\binom{5}{2}\binom{3}{2}}{\binom{8}{4}}=\frac{30}{70}, P(E6W2B)=(62)(22)(84)=1570P(E\mid 6W2B)=\frac{\binom{6}{2}\binom{2}{2}}{\binom{8}{4}}=\frac{15}{70}

Substitute these values:

P(AE)=153670151570+153070+153670+153070+151570P(A\mid E)=\frac{\frac{1}{5}\cdot\frac{36}{70}}{\frac{1}{5}\cdot\frac{15}{70}+\frac{1}{5}\cdot\frac{30}{70}+\frac{1}{5}\cdot\frac{36}{70}+\frac{1}{5}\cdot\frac{30}{70}+\frac{1}{5}\cdot\frac{15}{70}} =367015+30+36+30+1570=36126=27=\frac{\frac{36}{70}}{\frac{15+30+36+30+15}{70}}=\frac{36}{126}=\frac{2}{7}

Therefore, the probability that the bag contains equal numbers of white and black balls is 27\frac{2}{7}.

Common mistakes

  • Assuming the required probability is directly (42)(42)(84)\frac{\binom{4}{2}\binom{4}{2}}{\binom{8}{4}} is incorrect, because that quantity is only P(EA)P(E\mid A), not P(AE)P(A\mid E). Use Bayes' theorem to reverse the conditioning.

  • Ignoring other possible bag compositions such as 3W5B3W5B and 5W3B5W3B is wrong, because the observation 2W2B2W2B can arise from multiple original compositions. Include all feasible cases from 2W6B2W6B to 6W2B6W2B.

  • Using an incorrect prior such as uniform over 00 to 88 after observing 2W2B2W2B is inappropriate in the provided approach. Once the observation is accounted for, only compositions with at least 22 white and at least 22 black are feasible in the solution's setup.

Practice more Conditional Probability & Bayes Theorem questions

Get unlimited AI-adaptive practice, mastery tracking, and an AI tutor that explains every step — free to start.

Related questions