Why this mat­ters

Sup­pose you already know one thing has hap­pened. Does that change the chances of some­thing else? Very often it does, and that sim­ple idea is the heart of this chap­ter. We will build con­di­tional prob­a­bil­ity, get the mul­ti­pli­ca­tion rule out of it, and then see what it means for two events to be inde­pen­dent.

Con­di­tional prob­a­bil­ity

If FF has already hap­pened (P(F)≠0P(F) \ne 0), the prob­a­bil­ity of EE is

P(E∣F)=P(E∩F)P(F).\displaystyle P(E \mid F) = \frac{P(E \cap F)}{P(F)}.

When all out­comes are equally likely, this is just n(E∩F)n(F)\displaystyle \tfrac{n(E \cap F)}{n(F)}. Think of it this way: once you know the given event has occurred, FF becomes your whole sam­ple space.

A few prop­er­ties fol­low directly: P(F∣F)=1P(F \mid F) = 1; P(E′∣F)=1−P(E∣F)P(E' \mid F) = 1 - P(E \mid F); and P((A∪B)∣F)=P(A∣F)+P(B∣F)−P((A∩B)∣F)P((A \cup B) \mid F) = P(A \mid F) + P(B \mid F) - P((A \cap B) \mid F).

Exam­ple 1. Throw two dice. Let EE be "the sum is 88" and FF be "the first die shows an even num­ber". Here n(F)=18n(F) = 18, and E∩F={(2,6),(4,4),(6,2)}E \cap F = \{(2, 6), (4, 4), (6, 2)\}. So P(E∣F)=318=16\displaystyle P(E \mid F) = \tfrac{3}{18} = \tfrac{1}{6}.

A 6 by 6 grid of the 36 outcomes of two dice; the 18 rows with an even first die form F, and within them the 3 cells (2,6), (4,4), (6,2) with sum 8 are red.
Given F, only the 18 blue out­comes count; 3 of them have sum 8.

Exam­ple 2. A fam­ily has two chil­dren, and you are told at least one is a girl. What is the chance both are girls? Now F={GG,GB,BG}F = \{GG, GB, BG\}, so the answer is 13\displaystyle \tfrac{1}{3}, not a half as many peo­ple guess.

Exam­ple 3. Take P(A)=0.5P(A) = 0.5, P(B)=0.4P(B) = 0.4, P(A∩B)=0.2P(A \cap B) = 0.2. Then P(A∣B)=0.5P(A \mid B) = 0.5, P(B∣A)=0.4P(B \mid A) = 0.4, and P(A∣A∪B)=0.50.7=57\displaystyle P(A \mid A \cup B) = \tfrac{0.5}{0.7} = \tfrac{5}{7}.

Mul­ti­pli­ca­tion rule

Turn the def­i­n­i­tion around and you get

P(E∩F)=P(F) P(E∣F)=P(E) P(F∣E),P(E \cap F) = P(F)\,P(E \mid F) = P(E)\,P(F \mid E),

and with three events, P(E∩F∩G)=P(E)P(F∣E)P(G∣E∩F)P(E \cap F \cap G) = P(E)P(F \mid E)P(G \mid E \cap F). Each new fac­tor takes into account what has already hap­pened.

Exam­ple 4. A bag holds 55 red and 33 black balls, and you draw two with­out putting the first back. P(both red)=58⋅47=514\displaystyle P(\text{both red}) = \tfrac{5}{8}\cdot\tfrac{4}{7} = \tfrac{5}{14}, and P(red then black)=58⋅37=1556\displaystyle P(\text{red then black}) = \tfrac{5}{8}\cdot\tfrac{3}{7} = \tfrac{15}{56}.

Tree diagram for two draws without replacement from 5 red and 3 black balls: first branches 5/8 and 3/8, then 4/7 and 3/7 after red, 5/7 and 2/7 after black.
Mul­ti­ply along the branches: both red is 5/14, red then black is 15/56.

Exam­ple 5. Draw three cards, one after another, with­out replace­ment. P(king, king, queen in that order)=452⋅351⋅450=25525\displaystyle P(\text{king, king, queen in that order}) = \tfrac{4}{52}\cdot\tfrac{3}{51}\cdot\tfrac{4}{50} = \tfrac{2}{5525}.

Inde­pen­dent events

We call EE and FF inde­pen­dent when know­ing one tells you noth­ing new about the other, that is P(E∣F)=P(E)P(E \mid F) = P(E). The same thing, writ­ten more use­fully:

P(E∩F)=P(E) P(F).P(E \cap F) = P(E)\,P(F).

Stu­dents often mix up inde­pen­dent and mutu­ally exclu­sive, so be care­ful. If two events with non-zero prob­a­bil­i­ties are mutu­ally exclu­sive, they can never be inde­pen­dent, because one hap­pen­ing rules the other out. Also, if EE and FF are inde­pen­dent, then so are EE and F′F', and so are E′E' and F′F'.

Exam­ple 6. Throw a die. Let EE be "even" and FF be "a mul­ti­ple of 33". Then P(E∩F)=P({6})=16=12⋅13\displaystyle P(E \cap F) = P(\{6\}) = \tfrac{1}{6} = \tfrac{1}{2}\cdot\tfrac{1}{3}, so the two are inde­pen­dent.

Venn diagram of one die throw: E = even {2, 4, 6} and F = multiple of 3 {3, 6} overlap only in 6, while 1 and 5 lie outside both; P(E and F) = 1/6 = 1/2 x 1/3.
E and F share only the out­come 6, and 1/6 = 1/2 x 1/3.

Exam­ple 7. Two stu­dents try a prob­lem on their own, and they solve it with prob­a­bil­i­ties 23\displaystyle \tfrac{2}{3} and 35\displaystyle \tfrac{3}{5}. The prob­lem stays unsolved only if both fail, so P(solved)=1−13⋅25=1315\displaystyle P(\text{solved}) = 1 - \tfrac{1}{3}\cdot\tfrac{2}{5} = \tfrac{13}{15}. For exactly one of them, P(exactly one)=23⋅25+13⋅35=715\displaystyle P(\text{exactly one}) = \tfrac{2}{3}\cdot\tfrac{2}{5} + \tfrac{1}{3}\cdot\tfrac{3}{5} = \tfrac{7}{15}.

Prac­tice

  1. P(E)=0.6P(E) = 0.6, P(F)=0.3P(F) = 0.3, P(E∩F)=0.2P(E \cap F) = 0.2. Find P(E∣F)P(E \mid F) and P(F∣E)P(F \mid E).
  2. A coin is tossed three times. Find P(at least two heads∣first toss is a head)P(\text{at least two heads} \mid \text{first toss is a head}).
  3. Two dice are thrown. Find P(sum>9∣one die shows 5)P(\text{sum} > 9 \mid \text{one die shows } 5).
  4. A box has 44 good and 22 faulty bulbs. Two are drawn with­out replace­ment. Find P(both good)P(\text{both good}) and P(one good, one faulty)P(\text{one good, one faulty}).
  5. Are EE = "a card is a heart" and FF = "a card is a king" inde­pen­dent?
  6. P(A)=0.3P(A) = 0.3, P(B)=0.4P(B) = 0.4, and AA and BB are inde­pen­dent. Find P(A∪B)P(A \cup B), P(A′∩B′)P(A' \cap B') and P(A∣B′)P(A \mid B').
  7. Three shoot­ers hit a tar­get with prob­a­bil­i­ties 12\displaystyle \tfrac{1}{2}, 13\displaystyle \tfrac{1}{3} and 14\displaystyle \tfrac{1}{4}. Find the prob­a­bil­ity that the tar­get is hit at least once.
  8. Show that if EE and FF are inde­pen­dent, then so are E′E' and F′F'.
  9. A die is thrown twice. AA = first throw even, BB = sec­ond throw odd, CC = sum odd. Are AA and BB inde­pen­dent? What about AA and CC?
  10. An urn has 33 white and 55 black balls. One ball is drawn, its colour is noted, and it goes back in along with 22 more of the same colour. Then a sec­ond ball is drawn. Find P(second is white)P(\text{second is white}).

Answers

Show answers
  1. 23\displaystyle \tfrac{2}{3}; 13\displaystyle \tfrac{1}{3}.
  2. The first toss is a head, so you only need at least one more head in the other two tosses: 34\displaystyle \tfrac{3}{4}.
  3. FF has 1111 out­comes con­tain­ing a 55; the favourable ones are (5,5),(5,6),(6,5)(5, 5), (5, 6), (6, 5), giv­ing 311\displaystyle \tfrac{3}{11}.
  4. 46⋅35=25\displaystyle \tfrac{4}{6}\cdot\tfrac{3}{5} = \tfrac{2}{5}; 2⋅46⋅25=815\displaystyle 2 \cdot \tfrac{4}{6}\cdot\tfrac{2}{5} = \tfrac{8}{15}.
  5. P(king of hearts)=152=14⋅113\displaystyle P(\text{king of hearts}) = \tfrac{1}{52} = \tfrac{1}{4}\cdot\tfrac{1}{13}, so yes.
  6. 0.580.58; 0.420.42; 0.30.3.
  7. 1−12⋅23⋅34=34\displaystyle 1 - \tfrac{1}{2}\cdot\tfrac{2}{3}\cdot\tfrac{3}{4} = \tfrac{3}{4}.
  8. P(E′∩F′)=1−P(E∪F)=1−P(E)−P(F)+P(E)P(F)=(1−P(E))(1−P(F))P(E' \cap F') = 1 - P(E \cup F) = 1 - P(E) - P(F) + P(E)P(F) = (1 - P(E))(1 - P(F)).
  9. Yes (14=12⋅12\displaystyle \tfrac{1}{4} = \tfrac{1}{2}\cdot\tfrac{1}{2}); yes again (P(A∩C)=936=14\displaystyle P(A \cap C) = \tfrac{9}{36} = \tfrac{1}{4}).
  10. 38⋅510+58⋅310=38\displaystyle \tfrac{3}{8}\cdot\tfrac{5}{10} + \tfrac{5}{8}\cdot\tfrac{3}{10} = \tfrac{3}{8}.