All Exams Test series for 1 year @ ₹349 only
Question

There are 3 coins in a box. One is a two-headed coin; another is a fair coin; and third is biased coin that comes up heads 75% of time. When one of the three coins is selected at random and flipped, it shows heads. What is the probability that it was the two-headed coin?

This question was previously asked in
NDA II 2019 GAT Previous Year Paper (17-Nov-2019)
The correct answer is \(\frac{4}{9}\)

Understanding the Probability Problem

This problem asks us to calculate the probability of a specific event (selecting the two-headed coin) given that another event has already occurred (the coin flip resulted in heads). This type of problem involves conditional probability and is typically solved using Bayes' Theorem.

Setting Up the Problem: Coins and Probabilities

We have a box containing three distinct coins:

  • Coin 1 (\(C_1\)): A two-headed coin.
  • Coin 2 (\(C_2\)): A fair coin.
  • Coin 3 (\(C_3\)): A biased coin.

Since one coin is selected at random from the three, the initial probability of selecting any specific coin is equal:

  • Probability of selecting the two-headed coin, \(P(C_1) = \frac{1}{3}\).
  • Probability of selecting the fair coin, \(P(C_2) = \frac{1}{3}\).
  • Probability of selecting the biased coin, \(P(C_3) = \frac{1}{3}\).

Let \(H\) be the event that the coin flip results in heads. The probability of getting heads depends on the type of coin selected:

  • If \(C_1\) (two-headed) is flipped, the probability of heads is \(P(H|C_1) = 1\) (or 100%).
  • If \(C_2\) (fair) is flipped, the probability of heads is \(P(H|C_2) = 0.5\) (or 50%).
  • If \(C_3\) (biased) is flipped, the probability of heads is \(P(H|C_3) = 0.75\) (or 75%).

We are given that the flipped coin shows heads, and we want to find the probability that the selected coin was the two-headed one, which is \(P(C_1|H)\).

Calculating the Total Probability of Getting Heads

Before we can find \(P(C_1|H)\) using Bayes' Theorem, we need to calculate the total probability of getting heads, \(P(H)\). We can use the Law of Total Probability for this. The Law of Total Probability states that if \(C_1, C_2, C_3\) are mutually exclusive and exhaustive events (they cover all possibilities), then \(P(H)\) can be calculated as:

\(P(H) = P(H|C_1)P(C_1) + P(H|C_2)P(C_2) + P(H|C_3)P(C_3)\)

Let's plug in the values we have:

\(P(H) = (1 \times \frac{1}{3}) + (0.5 \times \frac{1}{3}) + (0.75 \times \frac{1}{3})\)

\(P(H) = \frac{1}{3} + \frac{0.5}{3} + \frac{0.75}{3}\)

\(P(H) = \frac{1 + 0.5 + 0.75}{3}\)

\(P(H) = \frac{2.25}{3}\)

To simplify the fraction, we can write 2.25 as \(\frac{225}{100}\) or \(\frac{9}{4}\):

\(P(H) = \frac{\frac{9}{4}}{3} = \frac{9}{4 \times 3} = \frac{9}{12} = \frac{3}{4}\)

So, the total probability of getting heads is \(\frac{3}{4}\).

Applying Bayes' Theorem to Find the Conditional Probability

Now we can use Bayes' Theorem to find the probability that the coin selected was the two-headed coin (\(C_1\)) given that the flip resulted in heads (\(H\)). Bayes' Theorem is stated as:

\(P(C_1|H) = \frac{P(H|C_1) \times P(C_1)}{P(H)}\)

We have the values for each part of the formula:

  • \(P(H|C_1) = 1\)
  • \(P(C_1) = \frac{1}{3}\)
  • \(P(H) = \frac{3}{4}\)

Substitute these values into the formula:

\(P(C_1|H) = \frac{1 \times \frac{1}{3}}{\frac{3}{4}}\)

\(P(C_1|H) = \frac{\frac{1}{3}}{\frac{3}{4}}\)

To divide by a fraction, we multiply by its reciprocal:

\(P(C_1|H) = \frac{1}{3} \times \frac{4}{3}\)

\(P(C_1|H) = \frac{1 \times 4}{3 \times 3}\)

\(P(C_1|H) = \frac{4}{9}\)

Thus, the probability that it was the two-headed coin, given that it showed heads, is \(\frac{4}{9}\).

Summary of Probabilities

Coin Type Probability of Selection \(P(C_i)\) Probability of Heads Given Coin \(P(H|C_i)\) Contribution to \(P(H)\) \(P(H|C_i)P(C_i)\)
Two-headed (\(C_1\)) \(\frac{1}{3}\) 1 \(1 \times \frac{1}{3} = \frac{1}{3}\)
Fair (\(C_2\)) \(\frac{1}{3}\) 0.5 (\(\frac{1}{2}\)) \(0.5 \times \frac{1}{3} = \frac{0.5}{3} = \frac{1/2}{3} = \frac{1}{6}\)
Biased (\(C_3\)) \(\frac{1}{3}\) 0.75 (\(\frac{3}{4}\)) \(0.75 \times \frac{1}{3} = \frac{0.75}{3} = \frac{3/4}{3} = \frac{3}{12} = \frac{1}{4}\)
Total \(P(H) = \frac{1}{3} + \frac{1}{6} + \frac{1}{4} = \frac{4}{12} + \frac{2}{12} + \frac{3}{12} = \frac{9}{12} = \frac{3}{4}\)

Using Bayes' Theorem:

\(P(C_1|H) = \frac{P(H|C_1)P(C_1)}{P(H)} = \frac{1 \times \frac{1}{3}}{\frac{3}{4}} = \frac{\frac{1}{3}}{\frac{3}{4}} = \frac{1}{3} \times \frac{4}{3} = \frac{4}{9}\)

Revision Table: Key Probability Concepts

Concept Description Formula Example
Probability The likelihood of an event occurring. \(P(E)\)
Conditional Probability The probability of event A occurring, given that event B has already occurred. \(P(A|B) = \frac{P(A \cap B)}{P(B)}\)
Law of Total Probability Used to find the total probability of an event by considering all possible disjoint cases. \(P(H) = \sum P(H|C_i)P(C_i)\)
Bayes' Theorem Used to revise existing probabilities (prior probabilities) based on new evidence to find posterior probabilities. \(P(C_i|H) = \frac{P(H|C_i)P(C_i)}{P(H)}\)

Additional Information: Understanding Bayes' Theorem

Bayes' Theorem is a fundamental concept in probability theory and statistics. It describes how to update the probability of a hypothesis based on new evidence. In this problem, the 'hypothesis' is which coin was selected (\(C_1\), \(C_2\), or \(C_3\)), and the 'evidence' is that the coin flip resulted in heads (\(H\)).

The term \(P(C_i)\) is the prior probability of selecting coin \(C_i\) before any flip happens. The term \(P(H|C_i)\) is the likelihood, the probability of observing the evidence (heads) given a specific hypothesis (coin type). The term \(P(H)\) is the marginal likelihood or total probability of the evidence. Finally, \(P(C_i|H)\) is the posterior probability, the updated probability of selecting coin \(C_i\) after observing that the flip was heads.

Bayes' Theorem allows us to move from knowing the probability of evidence given a hypothesis (\(P(H|C_i)\)) to knowing the probability of the hypothesis given the evidence (\(P(C_i|H)\)), which is often what we are interested in in real-world scenarios.

Was this answer helpful?

Similar Questions

  1. One bag contain 3 white and 2 black balls, another bag contains 5 white and 3 black balls. If a bag is chosen at random and a ball is drawn from it, what is the chance that it is white?

  2. Three cooks X, Y and Z bake a special kind of cake, and with respective probabilities 0.02, 0.03 and 0.05, it fails to rise. In the restaurant where they work, X bakes 50%, Y bakes 30% and Z bakes 20% of cakes. What is the proportion of failures caused by X?

  3. An insurance company insured 2000 scooter drivers, 4000 car drivers and 6000 truck drivers. The probabilities of an accident involving a scooter driver car driver and a truck driver are 0.01, 0.03 and 0.15 respectively. One of the insured persons meets with an accident. The probability that the person is a scooter driver is

  4. In a bolt factory, machines X, Y, Z manufacture bolts that are respectively 25% 35%, and 40% of the factory’s total output. The machines X, Y, Z respectively produce 2%, 4% and 5% defective bolts. A bolt is drawn at random from the product and is found to be defective. What is the probability that it was manufactured by machine X?


Important Questions from Baye's Theorem

  1. One bag contain 3 white and 2 black balls, another bag contains 5 white and 3 black balls. If a bag is chosen at random and a ball is drawn from it, what is the chance that it is white?

  2. Three cooks X, Y and Z bake a special kind of cake, and with respective probabilities 0.02, 0.03 and 0.05, it fails to rise. In the restaurant where they work, X bakes 50%, Y bakes 30% and Z bakes 20% of cakes. What is the proportion of failures caused by X?

  3. An insurance company insured 2000 scooter drivers, 4000 car drivers and 6000 truck drivers. The probabilities of an accident involving a scooter driver car driver and a truck driver are 0.01, 0.03 and 0.15 respectively. One of the insured persons meets with an accident. The probability that the person is a scooter driver is

  4. In a bolt factory, machines X, Y, Z manufacture bolts that are respectively 25% 35%, and 40% of the factory’s total output. The machines X, Y, Z respectively produce 2%, 4% and 5% defective bolts. A bolt is drawn at random from the product and is found to be defective. What is the probability that it was manufactured by machine X?

  5. A and B are independent witnesses in a case, the chance that A speaks truth is x and B speaks truth is y, If A and B agree on certain statements, the probability that the statement is true is

Need Expert Advice?
Test Series
NDA img
Defence
NDA 2026 Mock Test Series (Latest Pattern)
503 Tests 1 Tests Free
1124 Attempts
4.6(139)
English, Hindi

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App