Sigma Percentile
JEE Main 2024 (30 Jan Shift 2)
LEVELJEE Main

Animated Solution for Mathematics - Probability: Bag A contains 3 white, 7 red balls and bag B contains 3 white, 2 red balls. One bag is selected at random and a ball is drawn from it. The probability of drawing the ball from the bag A, if the ball drawn in white, is :

Select Answer:

Visualized Solution

The Physical Setup

  • Bag A contains 3 White and 7 Red balls (Total = 10).
  • Bag B contains 3 White and 2 Red balls (Total = 5).

The Observation

  • A bag is chosen at random.
  • A single ball is drawn from the chosen bag.
  • The drawn ball is observed to be White.

Defining the Events

  • Let be the event of choosing Bag A.
  • Let be the event of choosing Bag B.
  • Let be the event of drawing a White ball.

Prior Probabilities

  • Since a bag is selected at random, both are equally likely.

Conditional Probabilities

  • Probability of drawing White from Bag A:
  • Probability of drawing White from Bag B:

Applying Bayes' Theorem

  • We need the probability that the ball came from Bag A, given it is white: .
  • By Bayes' Theorem:

Substituting the Values

  • Substitute the known probabilities into the formula:

Simplifying the Products

  • Calculate the products in the numerator and denominator:

Adding the Denominator

  • Find a common denominator for the bottom terms:

Final Probability

  • Cancel the common denominators and simplify:

The Sigma Insight: Bayes' Theorem

Solution Diagram

The Mystery of the Two Bags

A Journey into Bayes' Theorem
Imagine you are standing in a quiet room with two bags in front of you. Bag A, on your left, contains 3 white balls and 7 red balls, for a total of 10. Bag B, on your right, holds 3 white balls and 2 red balls, for a total of 5.
You are asked to pick one bag at random and draw a ball. Upon drawing, you observe a white ball. The question is: what is the probability that this ball came from Bag A?
This is a classic exercise in reverse-thinking, a core skill for any aspiring physicist or engineer. We are looking for the probability of a cause (Bag A) given an observed effect (a white ball).

Defining Our Universe

To solve this, we must first map out our universe. Let be the event of choosing Bag A, and be the event of choosing Bag B.
Since the selection is random, we assign equal weight to both:
Now, let be the event of drawing a white ball. This is our 'evidence'. We need to calculate the conditional probability , which represents the probability of given .

The Likelihoods

Before we can use Bayes' Theorem, we need the 'likelihoods'—the probability of the evidence given each hypothesis. If we were holding Bag A, the chance of drawing a white ball is:
If we were holding Bag B, the chance is:
Notice how Bag B has a higher concentration of white balls. This intuition will be crucial when we see the final result.

The Bayes' Theorem Engine

Bayes' Theorem is the mathematical bridge that allows us to reverse the conditional probability. It is defined as:
Think of the numerator as the 'favorable path'—the probability of choosing Bag A AND getting a white ball. The denominator is the 'total probability' of getting a white ball, which includes the path through Bag A and the path through Bag B.

The Calculation

Let us plug in our numbers. The numerator is:
The denominator is the sum of the two paths:
To add these, we find a common denominator:
Finally, we calculate the conditional probability:

The Conclusion

Despite Bag A having the same number of white balls as Bag B, the probability that the ball came from Bag A is only .
This occurs because Bag B is 'denser' with white balls, making it a more likely source for the white ball we observed. This is the beauty of probability—it forces us to look past our initial assumptions and calculate the truth based on the evidence.

Similar Questions

JEE Main 2025 (January)
LEVELJEE Main

Bag contains 6 white and 4 blue balls, Bag contains 4 white and 6 blue balls, and Bag contains 5 white and 5 blue balls. One of the bags is selected at random and a ball is drawn from it. If the ball is white, then the probability, that the ball is drawn from Bag is:

(A)
(B)
(C)
(D)
JEE Main 2022 (29 July Shift 2)
LEVELJEE Main

Bag I contains 3 red, 4 black and 3 white balls and Bag II contains 2 red, 5 black and 2 white balls. One ball is transferred from Bag I to Bag II and then a ball is draw from Bag II. The ball so drawn is found to be black in colour. Then the probability, that the transferred ball is red, is:

(A)
(B)
(C)
(D)
JEE Advanced 2019
LEVELJEE Main

There are three bags and . The bag contains 5 red and 5 green balls, contains 3 red and 5 green balls, and contains 5 red and 3 green balls. Bags and have probabilities and respectively of being chosen. A bag is selected at random and a ball is chosen at random from the bag. Then which of the following options is/are correct?

* Multiple Correct Options
(A)
Probability that the selected bag is and the chosen ball is green equals
(B)
Probability that the chosen ball is green equals
(C)
Probability that the chosen ball is green, given that the selected bag is , equals
(D)
Probability that the selected bag is , given that the chosen balls is green, equals
JEE Main 2022 (24 June Shift 1)
LEVELJEE Main

Bag A contains 2 white, 1 black and 3 red balls and bag B contains 3 black, 2 red and white balls. One bag is chosen at random and 2 balls drawn from it at random, are found to be 1 red and 1 black. If the probability that both balls come from Bag A is , then is equal to ____.

(A)
13
(B)
6
(C)
4
(D)
3
JEE Main 2024 (01 Feb Shift 1)
LEVELJEE Main

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

(A)
(B)
(C)
(D)
JEE Main 2018 (15 April Shift 1)
LEVELJEE Main

A box 'A' contains 2 white, 3 red and 2 black balls. Another box 'B' contains 4 white, 2 red and 3 black balls. If two balls are drawn at random, without replacement, from a randomly selected box and one ball turns out to be white while the other ball turns out to be red, then the probability that both balls are drawn from box 'B' is :

(A)
7/16
(B)
7/8
(C)
9/16
(D)
9/32
JEE Main 2025 April
LEVELJEE Main

Given three identical bags each containing 10 balls, whose colours are as follows : \begin{array}{|l|l|l|l|} \hline & \textbf{Red} & \textbf{Blue} & \textbf{Green} \\ \hline Bag I & 3 & 2 & 5 \\ \hline Bag II & 4 & 3 & 3 \\ \hline Bag III & 5 & 1 & 4 \\ \hline \end{array} A person chooses a bag at random and takes out a ball. If the ball is Red, the probability that it is from bag I is and if the ball is Green, the probability that it is from bag III is , then the value of is :

(A)
6
(B)
9
(C)
7
(D)
8
JEE Main 2026 (28 January Shift 1)
LEVELJEE Main

A bag contains 10 balls out of which are red and are black, where . If three balls are drawn at random without replacement and all of them are found to be black, then the probability that the bag contains 1 red and 9 black balls is:

(A)
(B)
(C)
(D)
JEE Advanced 2013
LEVELJEE Main

Comprehension Passage

A box contains 1 white ball, 3 red balls and 2 black balls. Another box contains 2 white balls, 3 red balls and 4 black balls. A third box contains 3 white balls, 4 red balls and 5 black balls.
Question 1:

If 1 ball is drawn from each of the boxes and , the probability that all 3 drawn balls are of the same colour is

(A)
82/648
(B)
90/648
(C)
558/648
(D)
566/648
Question 2:

If 2 balls are drawn (without replacement) from a randomly selected box and one of the balls is white and the other ball is red, the probability that these 2 balls are drawn from box is

(A)
116/181
(B)
126/181
(C)
65/181
(D)
55/181
JEE Main 2023 (31 January Shift 1)
LEVELJEE Main

A bag contains 6 balls. Two balls are drawn from it at random and both are found to be black. The probability that the bag contains at least 5 black balls is

(A)
(B)
(C)
(D)