Exercise 13.3 · Q10: Die, then coin: threw 1 to 4, given exactly one head,
Suppose a girl throws a die. If she gets a 5 or 6, she tosses a coin three times and notes the number of heads. If she gets 1, 2, 3 or 4, she tosses a coin once and notes whether a head or tail is obtained. If she obtained exactly one head, what is the probability that she threw 1, 2, 3 or 4 with the die?
Let : she gets 5 or 6, : she gets 1, 2, 3 or 4, and : she obtains exactly one head.
and form a partition of the sample space (the die shows exactly one number from 1 to 6).
and
If occurs, the coin is tossed three times. Exactly one head occurs in HTT, THT, TTH out of 8 equally likely outcomes, so .
If occurs, the coin is tossed once, so .
By the theorem of total probability,
By Bayes' theorem,
The probability that she threw 1, 2, 3 or 4 with the die is .
Want the reason behind every step, the basics and the checks?
"Exactly one head" can happen after either throw of the die, but it is more likely after a single toss () than after three tosses (), and the single toss also follows the more likely throw. Split by what the die showed, find the chance of exactly one head in each case, and use Bayes' theorem to turn the question round.
- Given
- A fair die is thrown. On 5 or 6 a coin is tossed three times; on 1, 2, 3 or 4 a coin is tossed once. Exactly one head was obtained.
- To find
- The probability that the die showed 1, 2, 3 or 4: .
- Plan
- (1) Name the events; check the partition. (2) , from the die. (3) Count outcomes for ; from one toss. (4) Total probability, then Bayes' theorem.
Basics you need
A fair die gives each of 1 to 6 with probability ; three tosses of a fair coin give equally likely outcomes. Then . Basics: classical probability
Each toss has 2 results, so three tosses have outcomes, from HHH to TTT. Basics: multiply the choices
is the chance of exactly one head when we know the coin is tossed three times. Lesson: conditional probability
For a partition : and . Lesson: Bayes' theorem
Solution
Name the events
Let
- : the girl gets 5 or 6 on the die;
- : the girl gets 1, 2, 3 or 4 on the die;
- : she obtains exactly one head.
and form a partition of the sample space: the die shows exactly one number, which is either in or in , and both events can happen.
The die decides how many times the coin is tossed, so it is the cause; "exactly one head" is the result we observe. For one toss, "exactly one head" simply means the toss is a head.Partition: pairwise disjoint, exhaustive, nonzero probabilities (Section 13.5.1). Lesson: Bayes' theoremThe chances for the die
The die is fair, so each face has probability ; contains 2 faces and contains 4.for equally likely outcomes. Basics: classical probabilityExactly one head in each case
If occurs, the coin is tossed three times. The 8 equally likely outcomes are
HHH, HHT, HTH, THH, HTT, THT, TTH, TTT,
and exactly one head appears in HTT, THT and TTH. So .
If occurs, the coin is tossed once, and exactly one head means a head: .
Knowing the case tells us which experiment the coin goes through. Three tosses can give 0, 1, 2 or 3 heads, and only 3 of the 8 outcomes have exactly one.Count the outcomes in the event and divide by all of them. Basics: multiply the choicesThe chance of exactly one head
Since and form a partition, by the theorem of total probability
The tree for Question 10. The rose path (1 to 4, then a head on the single toss) has product ; the green path (5 or 6, then exactly one head in three tosses) has . Together, . Exactly one head comes after exactly one kind of throw, so the two path probabilities add. The common denominator 24 makes the next step a comparison of 8 with 11.Multiply along a path, add the paths. Basics: tree diagramsThrew 1 to 4, given exactly one head: Bayes' theorem
Here . By Bayes' theorem,
The top is the "1 to 4" path to exactly one head; the bottom is both paths. Of every 11 parts of the probability of exactly one head, 8 come from the single toss.Dividing by a fraction is multiplying by its flip. Basics: dividing by a fractionA quick sense check
For the other case, , and .
Before the coin, the chance of 1 to 4 was ; after seeing exactly one head it is . It goes up because exactly one head is more likely after a single toss () than after three ().
Given exactly one head, the die showed either 5 or 6 or else 1 to 4, so the two updated probabilities must add to 1.The posterior probabilities of a partition add to 1. Lesson: Bayes' theorem
The probability that she threw 1, 2, 3 or 4 with the die, given exactly one head, is . (Textbook answer: .)
Picture 48 rounds of the game. About 16 start with 5 or 6, and exactly one head comes in of them; about 32 start with 1 to 4, and a head comes in of them. So exactly one head appears times, 16 of them after 1 to 4: , the same as .
- Taking or for . Three tosses have 8 outcomes, and exactly one head occurs in 3 of them: .
- Answering . That is , the chance before the head is seen.
- Counting "at least one head" instead of "exactly one". HHT, for example, has two heads and does not count.
- Adding . Each conditional probability must first be multiplied by the chance of its case.
- When the cause decides which experiment happens next, find the result's probability separately inside each experiment.
- Small sample spaces, such as three coin tosses, are easiest to list in full and count.
- Book Example 17 (three boxes of coins) also mixes a choice with a second experiment (Examples 15 to 21); Question 6 is a coin version with three causes.
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) |
| for equally likely outcomes | Steps 2, 3 | Classical probability, Class XI (Basics: classical probability) |
| Three coin tosses have 8 outcomes | Step 3 | Section 13.2 lists them (Basics: multiply the choices) |
| Conditional probability | Step 3 | Section 13.2 (Lesson: conditional probability) |
| Theorem of total probability | Step 4 | Section 13.5.2 (Lesson: Bayes' theorem) |
| Bayes' theorem | Steps 5, 6 | Section 13.5 (Examples 15 to 21) |
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 →