Class 12 Maths, Worked in Full Past papersGet updates
Chapter 13 · Probability

Example 7: Coin, then coin or die: die above 4, given at least one tail

ExamplesConditional probability · Section 13.2
The question

Consider the experiment of tossing a coin. If the coin shows head, toss it again but if it shows tail, then throw a die. Find the conditional probability of the event that ‘the die shows a number greater than 4’ given that ‘there is at least one tail’.

Exam answer

The sample space is

S={(H,H),(H,T),(T,1),(T,2),(T,3),(T,4),(T,5),(T,6)}\begin{aligned} S = \{&(H,H), (H,T), (T,1), \\ &(T,2), (T,3), (T,4), \\ &(T,5), (T,6)\} \end{aligned}

Multiplying the probabilities of the two stages (fair coin, then fair coin or fair die),

P({(H,H)})=P({(H,T)})=12×12=14\begin{aligned} &P(\{(H,H)\}) = P(\{(H,T)\}) \\ &= \frac{1}{2}\times\frac{1}{2} = \frac{1}{4} \end{aligned}

and for each of the six outcomes (T,i)(T,i)⁠,

P({(T,i)})=12×16=112P(\{(T,i)\}) = \frac{1}{2}\times\frac{1}{6} = \frac{1}{12}

Let FF⁠: there is at least one tail, and EE⁠: the die shows a number greater than 4.

F={(H,T),(T,1),(T,2),(T,3),(T,4),(T,5),(T,6)}\begin{aligned} F = \{&(H,T), (T,1), (T,2), \\ &(T,3), (T,4), (T,5), \\ &(T,6)\} \end{aligned} E={(T,5),(T,6)}E = \{(T,5), (T,6)\} E∩F={(T,5),(T,6)}E\cap F = \{(T,5), (T,6)\} P(F)=14+6×112=14+12=34\begin{aligned} P(F) &= \frac{1}{4} + 6\times\frac{1}{12} \\ &= \frac{1}{4} + \frac{1}{2} = \frac{3}{4} \end{aligned} P(E∩F)=112+112=16\begin{aligned} P(E\cap F) &= \frac{1}{12} + \frac{1}{12} \\ &= \frac{1}{6} \end{aligned}

By the definition of conditional probability,

P(E∣F)=P(E∩F)P(F)=  16  34=16×43\begin{aligned} P(E|F) &= \frac{P(E\cap F)}{P(F)} \\ &= \dfrac{\;\frac{1}{6}\;}{\frac{3}{4}} = \frac{1}{6}\times\frac{4}{3} \end{aligned}

∴ P(E∣F)=29\therefore\ P(E|F) = \dfrac{2}{9}⁠.

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

When the outcomes are not equally likely, add their probabilities instead of counting them. The definition

P(E∣F)=P(E∩F)P(F)P(E|F) = \frac{P(E \cap F)}{P(F)}

still works; only P(F)P(F) and P(E∩F)P(E \cap F) must be found by adding the probabilities of their outcomes, which a tree diagram supplies.

Given, to find, and the plan
Given
A fair coin is tossed. After a head the coin is tossed again; after a tail a fair die is thrown.
To find
P(E∣F)P(E|F)⁠, where EE⁠: the die shows a number greater than 4, and FF⁠: there is at least one tail.
Plan
Draw the tree and list the 8 outcomes with their probabilities; list FF⁠, EE and E∩FE \cap F⁠; add probabilities to get P(F)P(F) and P(E∩F)P(E \cap F)⁠; divide.

Basics you need

1Tree diagrams

Branch at each stage, multiply the probabilities along a path to get the probability of that outcome, and add paths to get the probability of an event. Basics: tree diagrams

2Probability of an event

The probability of an event is the sum of the probabilities of the outcomes in it (Class XI). Basics: adding probabilities

3Conditional probability

P(E∣F)=P(E∩F)P(F)P(E|F) = \frac{P(E \cap F)}{P(F)} when P(F)≠0P(F) \ne 0⁠; the book notes that it applies even when outcomes are not equally likely (Section 13.2). Lesson: conditional probability

Solution

  1. Draw the tree and list the outcomes

    S={(H,H),(H,T),(T,1),(T,2),(T,3),(T,4),(T,5),(T,6)}.\begin{aligned} S = \{&(H,H), (H,T), (T,1), (T,2), \\ &(T,3), (T,4), (T,5), (T,6)\}. \end{aligned}

    Here (H,H)(H,H) means both tosses show head, and (T,i)(T,i) means the first toss shows tail and the die shows ii⁠.

    H T 1/2 1/2 1/2 1/2 1/6 each (H,H) 1/4 (H,T) 1/4 (T,1) 1/12 (T,2) 1/12 (T,3) 1/12 (T,4) 1/12 (T,5) 1/12 (T,6) 1/12 not in F in F in E ∩ F in E ∩ F in F in F in F in F
    The tree (the book's Fig 13.2). Each head path has probability 12×12=14\frac{1}{2} \times \frac{1}{2} = \frac{1}{4}⁠; each tail path has 12×16=112\frac{1}{2} \times \frac{1}{6} = \frac{1}{12}⁠. Every path except (H,H)(H,H) is in FF⁠; the paths (T,5)(T,5) and (T,6)(T,6) are in E∩FE \cap F⁠.
    The second stage depends on the first: a head leads to a coin, a tail leads to a die. That is why a head splits into 2 branches but a tail splits into 6, and the outcomes get different probabilities.
  2. Find the probability of each outcome

    P({(H,H)})=P({(H,T)})=12×12=14,\begin{aligned} P(\{(H,H)\}) &= P(\{(H,T)\}) \\ &= \frac{1}{2} \times \frac{1}{2} = \frac{1}{4}, \end{aligned} P({(T,i)})=12×16=112  for each i.P(\{(T,i)\}) = \frac{1}{2} \times \frac{1}{6} = \frac{1}{12} \ \text{ for each } i.

    They add up to 14+14+6×112=1\frac{1}{4} + \frac{1}{4} + 6 \times \frac{1}{12} = 1⁠, as they must.

    Multiply along each path: the first branch has probability 12\frac{1}{2} (fair coin); the second has 12\frac{1}{2} for a coin or 16\frac{1}{6} for a die. So the eight outcomes are not equally likely: each (H,⋅)(H,\cdot) is three times as likely as each (T,⋅)(T,\cdot)⁠.
  3. List the events

    F={(H,T),(T,1),(T,2),(T,3),(T,4),(T,5),(T,6)},\begin{aligned} F = \{&(H,T), (T,1), (T,2), (T,3), \\ &(T,4), (T,5), (T,6)\}, \end{aligned} E={(T,5),(T,6)},E = \{(T,5), (T,6)\}, E∩F={(T,5),(T,6)}.E \cap F = \{(T,5), (T,6)\}.
    "At least one tail" includes the tail on the second toss, (H,T)(H,T)⁠, and every outcome that starts with a tail; only (H,H)(H,H) is left out. The die is thrown only after a tail, so EE contains just (T,5)(T,5) and (T,6)(T,6)⁠, and both of these have a tail, so E∩F=EE \cap F = E⁠.
  4. Add probabilities to find P(F)P(F) and P(E∩F)P(E \cap F)

    P(F)=14+112+112+112+112+112+112=34,\begin{aligned} P(F) &= \frac{1}{4} + \frac{1}{12} + \frac{1}{12} + \frac{1}{12} \\ &\quad + \frac{1}{12} + \frac{1}{12} + \frac{1}{12} \\ &= \frac{3}{4}, \end{aligned} P(E∩F)=P({(T,5)})+P({(T,6)})=112+112=16.\begin{aligned} P(E \cap F) &= P(\{(T,5)\}) \\ &\quad + P(\{(T,6)\}) \\ &= \frac{1}{12} + \frac{1}{12} = \frac{1}{6}. \end{aligned}
    The first term of P(F)P(F) is P({(H,T)})=14P(\{(H,T)\}) = \frac{1}{4}⁠; the six terms 112\frac{1}{12} are the outcomes (T,1)(T,1) to (T,6)(T,6)⁠. Adding, 312+612=912=34\frac{3}{12} + \frac{6}{12} = \frac{9}{12} = \frac{3}{4}⁠.
  5. Divide, using the definition

    P(E∣F)=P(E∩F)P(F)=  16  34=16×43=29.\begin{aligned} P(E|F) &= \frac{P(E \cap F)}{P(F)} = \dfrac{\;\frac{1}{6}\;}{\frac{3}{4}} \\ &= \frac{1}{6} \times \frac{4}{3} = \frac{2}{9}. \end{aligned}
    P(F)=34≠0P(F) = \frac{3}{4} \ne 0⁠, so the definition applies. Dividing by 34\frac{3}{4} is multiplying by 43\frac{4}{3}⁠.
    Definition 1, Section 13.2. Lesson: conditional probability
Result

P(E∣F)=29P(E|F) = \dfrac{2}{9}⁠.

(Textbook answer: 29\frac{2}{9}⁠.)

Check it with numbers

P(F)P(F) by the complement. FF misses only (H,H)(H,H)⁠, so P(F)=1−14=34P(F) = 1 - \frac{1}{4} = \frac{3}{4}⁠, as found.

A second route. Given FF⁠, the first toss was a tail with probability 1/23/4=23\frac{1/2}{3/4} = \frac{2}{3} (the tail paths carry 12\frac{1}{2} of the 34\frac{3}{4}⁠). After a tail the die shows 5 or 6 with probability 26\frac{2}{6}⁠. So P(E∣F)=23×26=29P(E|F) = \frac{2}{3} \times \frac{2}{6} = \frac{2}{9}⁠, the same answer.

Decimals. 29≈0.2222\frac{2}{9} \approx 0.2222⁠. Counting outcomes as if they were equally likely would give 27≈0.2857\frac{2}{7} \approx 0.2857⁠, which is wrong because (H,T)(H,T) is three times as likely as each (T,i)(T,i)⁠.

Common mistakes
  1. Counting outcomes. FF has 7 outcomes and E∩FE \cap F has 2, but 27\frac{2}{7} is wrong: the formula n(E∩F)n(F)\frac{n(E \cap F)}{n(F)} needs equally likely outcomes.
  2. Giving each of the 8 outcomes probability 18\frac{1}{8}⁠. The tree shows 14\frac{1}{4} for the head paths and 112\frac{1}{12} for the tail paths.
  3. Leaving (H,T)(H,T) out of FF⁠. A tail on the second toss is still a tail.
What to take away
  1. P(E∣F)=P(E∩F)P(F)P(E|F) = \frac{P(E \cap F)}{P(F)} works for any outcomes; counting works only for equally likely ones.
  2. A tree diagram gives each outcome's probability: multiply along the path.
  3. Check that the outcome probabilities add up to 1.

Every fact used, and where it comes from

FactUsed inSource
Tree diagram: multiply along a pathSteps 1, 2Example 7, Figs 13.1 and 13.2 (Basics: tree diagrams)
Probability of an event = sum over its outcomesStep 4Class XI, Probability (Basics: adding probabilities)
P(E∣F)=P(E∩F)P(F)P(E|F) = \frac{P(E \cap F)}{P(F)}⁠, P(F)≠0P(F) \ne 0⁠, also for outcomes that are not equally likelyStep 5Definition 1 and the remark before Example 7, Section 13.2 (Lesson: conditional probability)
P(F)=1−P(F′)P(F) = 1 - P(F')CheckClass XI, Probability (complement)
Found an error, or want more?

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 →