Exercise 13.3 · Q6: Three coins: the two-headed coin, given heads,
There are three coins. One is a two headed coin (having head on both faces), another is a biased coin that comes up heads 75% of the time and third is an unbiased coin. One of the three coins is chosen at random and tossed, it shows heads, what is the probability that it was the two headed coin ?
Let : the two headed coin is chosen, : the biased coin is chosen, : the unbiased coin is chosen, and : the coin shows heads.
, and form a partition of the sample space (exactly one coin is chosen).
, and
By the theorem of total probability,
By Bayes' theorem,
The probability that it was the two headed coin is .
Want the reason behind every step, the basics and the checks?
Heads can come from any of the three coins, but not equally easily: the two-headed coin always gives heads, the biased coin three times in four, the fair coin half the time. Bayes' theorem divides the two-headed coin's route to heads by all three routes together. With three causes, the partition and the sum simply have three terms.
- Given
- Three coins: two-headed (heads on both faces), biased (heads 75% of the time), unbiased. One is chosen at random and tossed; it shows heads.
- To find
- The probability that the coin was the two-headed one: .
- Plan
- (1) Name the three causes and the result; check the partition. (2) List and as fractions. (3) Total probability with three terms. (4) Bayes' theorem.
Basics you need
form a partition when no two can happen together, one of them must happen, and each has nonzero probability. Lesson: Bayes' theorem
"Comes up heads 75% of the time" describes that coin only: . A coin with heads on both faces gives heads for certain. Lesson: conditional probability
Use the common denominator 12 for thirds, quarters and sixths; dividing by is multiplying by . Basics: dividing by a fraction
Solution
Name the events
Let
- : the two-headed coin is chosen;
- : the biased coin is chosen;
- : the unbiased coin is chosen;
- : the coin tossed shows heads.
, and form a partition of the sample space: exactly one coin is chosen, and each has a nonzero chance.
The three coins are the possible causes and "heads" is the observed result. One event per coin keeps the bookkeeping clear.Partition: pairwise disjoint, exhaustive, nonzero probabilities. Lesson: Bayes' theoremThe six probabilities
"Chosen at random" among three coins gives each coin . The two-headed coin cannot show tails, so heads is certain. The biased coin's "75% of the time" is its chance of heads. An unbiased (fair) coin shows heads with probability .A certain event has probability 1; . Basics: rules of probabilityThe chance of heads
Since , , form a partition, by the theorem of total probability
The tree for Question 6, with three branches at the first stage. The rose path (two-headed coin, then heads) has product ; the green heads paths have and . All three heads paths add to . Heads arrives through exactly one of the three coins, so the three path probabilities add. Thirds, quarters and sixths all go into twelfths.Multiply along a path, add the paths. Basics: tree diagramsThe two-headed coin, given heads: Bayes' theorem
By Bayes' theorem,
The top is the two-headed coin's path, ; the bottom is all heads paths, . The ratio is the share of heads results that come from the two-headed coin.Dividing by a fraction is multiplying by its flip. Basics: dividing by a fractionA quick sense check
The other two coins: and . Then .
Seeing heads raised the two-headed coin from to , lowered the fair coin from to , and left the biased coin at , because its chance of heads, , equals the overall chance of heads.
Given heads, one of the three coins was certainly used, so the three updated probabilities must add to 1. Each coin's probability is multiplied by : more than 1 for the two-headed coin, exactly 1 for the biased coin, less than 1 for the fair coin.The posterior probabilities of a partition add to 1. Lesson: Bayes' theorem
The probability that the coin was the two-headed coin is . (Textbook answer: .)
Picture the experiment repeated 1200 times: each coin is chosen about 400 times. Heads comes 400 times from the two-headed coin, times from the biased coin and times from the fair coin: heads. The share from the two-headed coin is , the same as .
- Answering 1. That is : the two-headed coin always shows heads. But heads does not prove it was that coin; the other two coins show heads too.
- Answering . That is the chance before the toss. Seeing heads changes it.
- Leaving out a coin in . With three causes, the total has three terms.
- Treating 75% as . It is the biased coin's own chance of heads; its path is .
- Bayes' theorem with any number of causes: the path for your cause, divided by the sum of all the paths to the result.
- A cause rises after the evidence exactly when it makes the evidence more likely than average, .
- Book Example 17 (three boxes of coins, Examples 15 to 21) has the same three-way structure; so does Question 7, with unequal first-stage probabilities.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Partition of a sample space | Step 1 | Section 13.5.1 (Lesson: Bayes' theorem) |
| Equally likely choices; a certain event has probability 1 | Step 2 | Class XI (Basics: rules of probability) |
| Conditional probability | Step 2 | Section 13.2 (Lesson: conditional probability) |
| Theorem of total probability (three events) | Step 3 | Section 13.5.2 (Lesson: Bayes' theorem) |
| Bayes' theorem | Steps 4, 5 | Section 13.5; Example 17 has three boxes (Examples 15 to 21) |
| Fractions with a common denominator; dividing by a fraction | Steps 3, 4 | Arithmetic (Basics: dividing by a fraction) |
Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →