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 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.
We have a box containing three distinct coins:
Since one coin is selected at random from the three, the initial probability of selecting any specific coin is equal:
Let \(H\) be the event that the coin flip results in heads. The probability of getting heads depends on the type of coin selected:
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)\).
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}\).
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:
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}\).
| 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}\)
| 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)}\) |
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.
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?
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?
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
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?
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?
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?
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
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?
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