Question
Bag A contains 2 white, 1 black and 3 red balls and bag B contains 3 black, 2 red and n 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 n is equal to __________.
Options
Solution
1. Key Concepts and Formulas
- Combinations (): Used to calculate the number of ways to choose items from a set of items when the order of selection does not matter. The formula is .
- Total Probability Theorem: If an event can occur under mutually exclusive conditions , then the total probability of is . In this problem, the conditions are choosing Bag A or Bag B.
- Bayes' Theorem: Used to find the conditional probability of a "cause" () given an "effect" (). The formula is . We are given and need to use this to find an unknown variable.
2. Step-by-Step Solution
Step 1: Define Events and List Initial Probabilities & Bag Contents First, we clearly define the events and list all given information. This helps organize the problem.
- Let be the event that Bag A is chosen.
- Let be the event that Bag B is chosen.
- Let be the event that 2 balls drawn are 1 Red (R) and 1 Black (B).
Since one bag is chosen at random from two bags:
Now, let's detail the contents of each bag:
- Bag A: 2 White (W), 1 Black (B), 3 Red (R).
- Total balls in Bag A = balls.
- Bag B: White (W), 3 Black (B), 2 Red (R).
- Total balls in Bag B = balls.
Step 2: Calculate Conditional Probabilities of Event E Next, we calculate the probability of drawing 1 Red and 1 Black ball, given which bag was chosen. This involves using combinations.
-
Probability of drawing 1R and 1B given Bag A was chosen, : Bag A has 3 Red balls and 1 Black ball. We need to choose 1 Red from 3 and 1 Black from 1. The total number of ways to choose any 2 balls from 6 is . We know and .
-
Probability of drawing 1R and 1B given Bag B was chosen, : Bag B has 2 Red balls and 3 Black balls. We need to choose 1 Red from 2 and 1 Black from 3. The total number of ways to choose any 2 balls from is .
Step 3: Calculate the Total Probability of Event E, To apply Bayes' Theorem, we first need the overall probability of drawing 1 Red and 1 Black ball, , using the Total Probability Theorem. Substitute the values from Step 1 and Step 2:
Step 4: Apply Bayes' Theorem and Solve for We are given that the probability that both balls come from Bag A, given that they are 1 Red and 1 Black, is . This is . Using Bayes' Theorem: Substitute the given and the expressions calculated in previous steps:
Now, let's solve this algebraic equation for . To simplify, let . The equation becomes: Cross-multiply: Subtract from both sides: Divide by 6: Now, substitute back : Cross-multiply: Expand the left side to form a quadratic equation: Factor the quadratic equation. We need two numbers that multiply to -52 and add to 9. These numbers are 13 and -4. This gives two possible solutions for : or .
Since represents the number of white balls in Bag B, it must be a non-negative integer. Therefore, is not a valid solution. Thus, .
3. Common Mistakes & Tips
- Incorrect Application of Combinations: Ensure you correctly use for selecting balls, and remember to multiply combinations for independent selections (e.g., choosing 1 Red AND 1 Black).
- Algebraic Errors: Be meticulous with fraction arithmetic and solving the resulting equation. A small error can lead to an incorrect value of .
- Ignoring Contextual Constraints: Always check if your final answer makes sense in the problem's context (e.g., must be a positive integer as it represents a count of balls).
- Confusing with : Clearly understand which conditional probability is given and which needs to be calculated for Bayes' Theorem.
4. Summary
This problem is a comprehensive test of conditional probability, requiring the application of both the Total Probability Theorem and Bayes' Theorem. We systematically defined events, calculated probabilities of choosing each bag, determined the conditional probabilities of drawing the specified balls from each bag using combinations, and then used Bayes' Theorem with the given information to form an equation. Solving this quadratic equation led to the value of . The logical derivation shows that is the consistent answer.
5. Final Answer
The final answer is , which corresponds to option (C).