Skip to content
Miscellaneous Exercise · Q6

Q.Suppose we have four boxes A,B,C and D containing coloured marbles as given below: BoxMarble colourRedWhiteBlackA163B622C811D064\begin{array}{|c|c|c|c|} \hline \text{Box} & \text{Marble colour} \\ \hline & \text{Red} & \text{White} & \text{Black} \\ \hline \text{A} & 1 & 6 & 3 \\ \hline \text{B} & 6 & 2 & 2 \\ \hline \text{C} & 8 & 1 & 1 \\ \hline \text{D} & 0 & 6 & 4 \\ \hline \end{array} One of the boxes has been selected at random and a single marble is drawn from it. If the marble is red, what is the probability that it was drawn from box A?, box B?, box C?

Yanam BieapTextbookSubjective· 5mImportance★★★★★
47% · 78/165 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

We use Bayes’ theorem to reverse the conditional probability: given that the drawn marble is red, we find the probability it came from each box. The answer for box A is 115\frac{1}{15}, for box B is 25\frac{2}{5}, and for box C is 815\frac{8}{15}.

The problem gives us four boxes with different compositions of red, white, and black marbles. One box is chosen at random, then one marble is drawn from it. We are told the marble is red, and we need the probability that it came from each specific box.

This is a classic case of inverse probability — we know the probability of drawing a red marble given a particular box, but we want the probability of that box given that the marble is red. The tool for this is Bayes’ theorem, which is built on conditional probability.

Why Bayes’ theorem works here:

We start with the prior probability of each box being chosen (all equal, since selection is random). Then we update that probability using the likelihood of observing a red marble from that box. The denominator normalises by the total probability of getting a red marble from any box.

Let’s go step by step.


1. Define the events and priors

Let RR be the event that the drawn marble is red.

Let AA, BB, CC, DD be the events that the chosen box is A, B, C, D respectively.

Since one box is selected at random from four, each has equal prior probability:

P(A)=P(B)=P(C)=P(D)=14.P(A) = P(B) = P(C) = P(D) = \frac{1}{4}.


2. Find the probability of drawing a red marble from each box

From the table:

  • Box A: 1 red out of 1+6+3=101+6+3 = 10 marbles → P(R∣A)=110P(R \mid A) = \frac{1}{10}
  • Box B: 6 red out of 6+2+2=106+2+2 = 10 marbles → P(R∣B)=610=35P(R \mid B) = \frac{6}{10} = \frac{3}{5}
  • Box C: 8 red out of 8+1+1=108+1+1 = 10 marbles → P(R∣C)=810=45P(R \mid C) = \frac{8}{10} = \frac{4}{5}
  • Box D: 0 red out of 0+6+4=100+6+4 = 10 marbles → P(R∣D)=0P(R \mid D) = 0
Watch out

A common mistake is to forget that Box D has no red marbles at all. Since P(R∣D)=0P(R \mid D) = 0, it contributes nothing to the numerator in Bayes’ theorem — so the posterior probability for Box D is automatically zero. Many students waste time calculating it, but it’s immediate.


3. Compute the total probability of drawing a red marble

Using the law of total probability:

P(R)=P(A)P(R∣A)+P(B)P(R∣B)+P(C)P(R∣C)+P(D)P(R∣D)P(R) = P(A)P(R \mid A) + P(B)P(R \mid B) + P(C)P(R \mid C) + P(D)P(R \mid D)

Substitute:

P(R)=14⋅110+14⋅35+14⋅45+14⋅0P(R) = \frac{1}{4} \cdot \frac{1}{10} + \frac{1}{4} \cdot \frac{3}{5} + \frac{1}{4} \cdot \frac{4}{5} + \frac{1}{4} \cdot 0

Convert to a common denominator (20 works nicely):

  • 14⋅110=140\frac{1}{4} \cdot \frac{1}{10} = \frac{1}{40}
  • 14⋅35=320=640\frac{1}{4} \cdot \frac{3}{5} = \frac{3}{20} = \frac{6}{40}
  • 14⋅45=420=840\frac{1}{4} \cdot \frac{4}{5} = \frac{4}{20} = \frac{8}{40}

So:

P(R)=140+640+840=1540=38P(R) = \frac{1}{40} + \frac{6}{40} + \frac{8}{40} = \frac{15}{40} = \frac{3}{8}


4. Apply Bayes’ theorem for each box

Bayes’ theorem says:

P(Box∣R)=P(Box)⋅P(R∣Box)P(R)P(\text{Box} \mid R) = \frac{P(\text{Box}) \cdot P(R \mid \text{Box})}{P(R)} …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.