Sigma Percentile
JEE Main 2022 (24 June Shift 1)
LEVELJEE Main

Animated Solution for Mathematics - Probability: 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 ____.

Select Answer:

Visualized Solution

Visualizing the Bags

  • Bag A: 2 White, 1 Black, 3 Red (Total = 6 balls)
  • Bag B: White, 3 Black, 2 Red (Total = balls)

Defining Bag Selection Events

  • Let : Event of choosing Bag A
  • Let : Event of choosing Bag B

Defining the Outcome Event

  • Let : Event that the 2 drawn balls are 1 Red and 1 Black.

Probability from Bag A:

  • If Bag A is chosen ():

Probability from Bag B:

  • If Bag B is chosen ():

Applying Bayes' Theorem

  • Given
  • By Bayes' Theorem:

Substituting the Values

  • Substituting values into the formula:

Canceling Common Terms

  • Notice that is common in all terms.
  • Canceling gives:

Simplifying the Equation

  • Multiply numerator and denominator by 5:

Taking the Reciprocal

  • Taking reciprocal on both sides:

Solving for

  • Cross-multiplying:

Forming the Quadratic Equation

  • Expanding the left side:

Factoring the Quadratic

  • Factoring the equation:
  • Possible values: or

Conclusion & Takeaway

  • Since represents the number of white balls, .
  • Therefore, .
  • Final Answer: The number of white balls in Bag B is 4.

The Sigma Insight: Bayes' Theorem

Solution Diagram

The Mystery of the Two Bags

A Journey into Bayes' Theorem
Imagine you are standing in a room with two bags, Bag A and Bag B. You don't know what's inside Bag B, but you know Bag A has 2 white, 1 black, and 3 red balls.
You reach in, pick a bag at random, and draw two balls. To your surprise, you pull out exactly 1 red and 1 black ball.
Now, the question is: what is the probability that these balls came from Bag A? And more importantly, if we know that probability is , can we figure out how many white balls were in Bag B?
This is the essence of Bayes' Theorem—a powerful tool that allows us to update our beliefs based on new evidence.

Phase 1

Setting the Stage
First, let's define our universe. We have two events: (choosing Bag A) and (choosing Bag B).
Since the bag is chosen at random, the probability of picking either is equal:
Now, let's look at the contents. Bag A has a total of balls. Bag B has 3 black, 2 red, and white balls, for a total of balls.
We define Event as the outcome: drawing 1 red and 1 black ball.

Phase 2

Calculating the Conditional Probabilities
To use Bayes' Theorem, we need to know the probability of drawing our specific balls from each bag individually.
For Bag A, the probability is the number of ways to pick 1 red and 1 black divided by the total ways to pick 2 balls from 6:
For Bag B, the probability is slightly more complex because of the variable :

Phase 3

The Bayes' Bridge
Bayes' Theorem tells us that the probability of having chosen Bag A, given that we observed Event , is:
We know . Substituting our values, we get:

Phase 4

The Algebraic Dance
This looks intimidating, but notice the beauty of the symmetry! The term appears in every single part of the expression. We can factor it out and cancel it entirely:
To simplify further, multiply the numerator and denominator by 5:
Now, take the reciprocal of both sides:
Subtracting 1 from both sides gives:

Phase 5

The Final Resolution
Cross-multiplying, we find:
Expanding the left side:
Factoring this quadratic equation, we look for two numbers that multiply to and add to . Those numbers are and :
This gives us two possible values: or . Since represents the number of balls, it must be positive.
Thus, we reject and conclude that . We have successfully solved the mystery of the bags!

Similar Questions

JEE Main 2024 (30 Jan Shift 2)
LEVELJEE Main

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 :

(A)
(B)
(C)
(D)
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 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 Advanced 2015
LEVELJEE Advanced

Comprehension Passage

Let and be the number of red and black balls, respectively, in box I. Let and be the number of red and black balls, respectively, in box II.
Question 1:

One of the two boxes, box I and box II, was selected at random and a ball was drawn randomly out of this box. The ball was found to be red. If the probability that this red ball was drawn from box II is 1/3, then the correct option(s) with the possible values of and is(are)

* Multiple Correct Options
(A)
(B)
(C)
(D)
Question 2:

A ball is drawn at random from box I and transferred to box II. If the probability of drawing a red ball from box I, after this transfer, is 1/3, then the correct option(s) with the possible values of and is(are)

* Multiple Correct Options
(A)
and
(B)
and
(C)
and
(D)
and
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)
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 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 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