← Back to all lessons
Class 12Statistics6:32Published 3 Dec 2024

Probability Sure Questions: Bayes' Theorem and Independent Events

Three worked Class 12 probability questions: drawing balls with replacement, finding a posterior probability with Bayes' theorem, and testing whether events from three coin tosses are independent.

This lesson works through three exam-style probability problems. The first finds the chances of different colour combinations when two balls are drawn with replacement. The second uses Bayes' theorem to find which bag a red ball most likely came from. The third lists the sample space for three coin tosses and checks each pair of events for independence.

What you'll learn

  • How to find probabilities for two draws made with replacement
  • How to apply Bayes' theorem to find which source an outcome came from
  • How to test whether two events are independent or dependent

Lesson chapters

0:00Drawing two balls with replacement
1:03Two bags problem set up
2:38Applying Bayes' theorem
3:41Coin toss events and sample space
5:05Testing each pair for independence

Lesson notes

This lesson works through three Class 12 probability questions: a draw with replacement, a Bayes' theorem problem, and a test of independence for events from three coin tosses.

Two balls drawn with replacement

A box contains 66 red and 44 blue balls, so the total is 1010. Two balls are drawn at random with replacement, which means each draw is independent and the probabilities stay the same.

The single-draw probabilities are:

P(red)=610,P(blue)=410P(\text{red}) = \tfrac{6}{10}, \qquad P(\text{blue}) = \tfrac{4}{10}

Two red balls

P(2 red)=610×610=36100=925P(\text{2 red}) = \tfrac{6}{10} \times \tfrac{6}{10} = \tfrac{36}{100} = \tfrac{9}{25}

Two blue balls

P(2 blue)=410×410=16100=425P(\text{2 blue}) = \tfrac{4}{10} \times \tfrac{4}{10} = \tfrac{16}{100} = \tfrac{4}{25}

One red and one blue ball

The red and blue can come in either order, so add both cases:

P(1 red, 1 blue)=610410+410610=24100+24100=48100=1225P(\text{1 red, 1 blue}) = \tfrac{6}{10}\cdot\tfrac{4}{10} + \tfrac{4}{10}\cdot\tfrac{6}{10} = \tfrac{24}{100} + \tfrac{24}{100} = \tfrac{48}{100} = \tfrac{12}{25}

Which bag did the red ball come from? (Bayes' theorem)

Bag 1 has 22 white and 44 red balls (total 66). Bag 2 has 55 white and 33 red balls (total 88). A bag is chosen at random and one ball is drawn; it turns out to be red. We want the probability it came from bag 2.

Let E1E_1 and E2E_2 be the events of choosing bag 1 and bag 2, and let EE be the event that the drawn ball is red.

P(E1)=12,P(E2)=12P(E_1) = \tfrac{1}{2}, \qquad P(E_2) = \tfrac{1}{2}

P(EE1)=46,P(EE2)=38P(E \mid E_1) = \tfrac{4}{6}, \qquad P(E \mid E_2) = \tfrac{3}{8}

By Bayes' theorem:

P(E2E)=P(E2)P(EE2)P(E1)P(EE1)+P(E2)P(EE2)P(E_2 \mid E) = \frac{P(E_2)\,P(E \mid E_2)}{P(E_1)\,P(E \mid E_1) + P(E_2)\,P(E \mid E_2)}

P(E2E)=12381246+1238=31613+316P(E_2 \mid E) = \frac{\tfrac{1}{2}\cdot\tfrac{3}{8}}{\tfrac{1}{2}\cdot\tfrac{4}{6} + \tfrac{1}{2}\cdot\tfrac{3}{8}} = \frac{\tfrac{3}{16}}{\tfrac{1}{3} + \tfrac{3}{16}}

The denominator is 13+316=16+948=2548\tfrac{1}{3} + \tfrac{3}{16} = \tfrac{16 + 9}{48} = \tfrac{25}{48}, so:

P(E2E)=3162548=316×4825=925P(E_2 \mid E) = \frac{\tfrac{3}{16}}{\tfrac{25}{48}} = \tfrac{3}{16} \times \tfrac{48}{25} = \tfrac{9}{25}

Independence of events for three coin tosses

Three coins are tossed. The sample space has 88 outcomes:

S={HHH,HHT,HTH,THH,HTT,THT,TTH,TTT}S = \{HHH, HHT, HTH, THH, HTT, THT, TTH, TTT\}

Define the events:

  • EE: three heads or three tails ={HHH,TTT}= \{HHH, TTT\}, so P(E)=28P(E) = \tfrac{2}{8}.
  • FF: at least two heads ={HHH,HHT,HTH,THH}= \{HHH, HHT, HTH, THH\}, so P(F)=48P(F) = \tfrac{4}{8}.
  • GG: at most two heads (everything except HHHHHH), so P(G)=78P(G) = \tfrac{7}{8}.

Pair E and F

EF={HHH},P(EF)=18E \cap F = \{HHH\}, \quad P(E \cap F) = \tfrac{1}{8}

P(E)P(F)=28×48=864=18P(E)\,P(F) = \tfrac{2}{8} \times \tfrac{4}{8} = \tfrac{8}{64} = \tfrac{1}{8}

Since P(EF)=P(E)P(F)P(E \cap F) = P(E)\,P(F), the events EE and FF are independent.

Pair F and G

FG={HHT,HTH,THH},P(FG)=38F \cap G = \{HHT, HTH, THH\}, \quad P(F \cap G) = \tfrac{3}{8}

P(F)P(G)=48×78=716P(F)\,P(G) = \tfrac{4}{8} \times \tfrac{7}{8} = \tfrac{7}{16}

Since 38716\tfrac{3}{8} \ne \tfrac{7}{16}, the events FF and GG are dependent.

Pair E and G

EG={TTT},P(EG)=18E \cap G = \{TTT\}, \quad P(E \cap G) = \tfrac{1}{8}

P(E)P(G)=28×78=732P(E)\,P(G) = \tfrac{2}{8} \times \tfrac{7}{8} = \tfrac{7}{32}

Since 18732\tfrac{1}{8} \ne \tfrac{7}{32}, the events EE and GG are dependent.

Key takeaways

  • With replacement, draws are independent, so multiply the single-draw probabilities and add over the possible orders.
  • Bayes' theorem flips a conditional probability: it finds the chance of a cause given an observed effect.
  • Two events are independent only when P(AB)=P(A)P(B)P(A \cap B) = P(A)\,P(B); otherwise they are dependent.