6.3 - Conditional probability

6.3 - Conditional probability

Learn how new information changes the group used in a probability calculation. Update a bag after each draw without replacement, combine qualifying routes and restrict those routes when a condition is given. These are Higher methods.

Restricting the sample to a given condition (Higher)

Draw two beads without replacement from a bag of 44 red and 33 blue. Before any information, the chance of both red is 27\frac27. If someone tells you “at least one is red”, should you keep that answer? By the end, you will calculate how the new information changes it.

You already know

A Venn overlap represents both events. A tree path probability multiplies the probabilities at successive branches; different complete routes can be added when they are mutually exclusive.

First consider which people can still be selected after a condition is given. If someone is chosen from learners who own goggles, learners without goggles no longer belong in the denominator.

Conditional probability

Conditional probability is the probability of an event given that another event has occurred. Write P(A∣B)P(A\mid B) for “probability of AA, given BB”. The vertical line means “given”. Restrict to BB, then find the fraction also in AA.

For equally likely individuals, count the overlap and divide by the given-condition group. The condition must be possible: an empty group gives no valid denominator.

Conditioning on a counted group

For a person chosen uniformly at random, with n(B)>0n(B)>0,

P(A∣B)=n(A∩B)n(B)P(A\mid B)=\frac{n(A\cap B)}{n(B)}

This result is absent from both tier sheets; conditioning is Higher content. Not in the formulae sheet: learn it.

The numerator belongs to both events. Reversing which group is given changes the denominator, even when the overlap stays the same.

Worked example 1: given goggles

Question. The table shows 4848 learners. One is chosen at random from those who own goggles. Find the probability that this learner swims.

SwimsDoes not swimTotal
Owns goggles1818662424
No goggles101014142424
Total282820204848

Plan. Keep only the goggles row, then count swimmers within it.

n(goggles)=18+6=24given groupP(swims∣goggles)=1824=34overlap over group\begin{aligned} n(\text{goggles})&=18+6=24 &&\text{given group}\\ P(\text{swims}\mid\text{goggles})&=\frac{18}{24}=\frac34 &&\text{overlap over group} \end{aligned}

Why divide by 2424? We already know the learner owns goggles; the other row is excluded.

Answer. 34\frac34.

Check. The nonswimming fraction in that row is 624=14\frac6{24}=\frac14, completing the conditional total to 11.

Change only the direction of the question: now choose from swimmers and ask about goggles. Use the same people and overlap.

Worked example 2: reversing the given group

Question. Among the same 4848 learners, 2828 swim, and 1818 of these own goggles. One is chosen at random from the swimmers. Find the probability that the learner owns goggles.

Plan. Restrict to the swimmers column rather than the goggles row.

n(swims)=18+10=28new given groupP(goggles∣swims)=1828=914same overlap\begin{aligned} n(\text{swims})&=18+10=28 &&\text{new given group}\\ P(\text{goggles}\mid\text{swims})&=\frac{18}{28}=\frac9{14} &&\text{same overlap} \end{aligned}

Why does the answer change? The same 1818 people are now a fraction of 2828, rather than of 2424.

Answer. 914\frac9{14}.

Check. 1828+1028=1\frac{18}{28}+\frac{10}{28}=1, accounting for all swimmers.

The unconditioned probability of both goggles and swimming is 1848=38\frac{18}{48}=\frac38. That asks about selection from all learners, so it is a different question.

Watch out

P(swims∣goggles)=1848P(\text{swims}\mid\text{goggles})=\frac{18}{48} uses the whole population despite the condition. Replace the denominator by the goggles total: 1824\frac{18}{24}.

A phrase such as “one of the people who belongs to BB” gives the condition even without a vertical-line symbol.

Changing counts without replacement (Higher)

Without replacement, a selected object is not returned. Both the total remaining and the count of the selected colour decrease by one. The next probability depends on what was removed.

Start with 44 red and 33 blue beads. Removing red leaves 33 red and 33 blue. Removing blue leaves 44 red and 22 blue. Both remaining bags have total 66, but different red probabilities.

[DIAGRAM: asset_slug: m096_dependent_tree; caption: Two draws without replacement from four red and three blue beads, with second-stage probabilities updated for the colour removed; description: First branches R 4/7, B 3/7. After R, second R 3/6 and B 3/6. After B, second R 4/6 and B 2/6. Complete paths RR, RB, BR and BB; every outgoing pair sums to one; file: m096_dependent_tree.png; recommended_method: matplotlib]
Two draws without replacement from four red and three blue beads, with second-stage probabilities updated for the colour removed

A tree can represent dependence. Multiply the correct branch probabilities in their actual states; multiplication along a path does not require independence when those branches are already conditional.

A path with a conditional second branch

P(A and B)=P(A)P(B∣A)P(A\text{ and }B)=P(A)P(B\mid A)

The second factor describes the probability after AA, rather than an assumed unchanged probability. This rule is absent from both tier sheets. Not in the formulae sheet: learn it.

To draw the tree on paper, place the appropriate remaining-bag pair after each first colour. The two second-stage pairs need not repeat.

Worked example 3: two reds without replacement

Question. A bag contains 44 red and 33 blue beads. Two are drawn at random without replacement. Find the second-stage branch pairs and the probability of both red.

Plan. Update the bag after each possible first colour, then multiply the red-red path.

After red: (P(R),P(B))=(36,36)one red removedAfter blue: (P(R),P(B))=(46,26)one blue removedP(RR)=47×36=27follow red then red\begin{aligned} \text{After red: }(P(R),P(B))&=\left(\frac36,\frac36\right) &&\text{one red removed}\\ \text{After blue: }(P(R),P(B))&=\left(\frac46,\frac26\right) &&\text{one blue removed}\\ P(RR)&=\frac47\times\frac36=\frac27 &&\text{follow red then red} \end{aligned}

Why does the second denominator become 66? One of the original seven beads is no longer in the bag.

Answer. The second-stage pairs are (36,36)(\frac36,\frac36) and (46,26)(\frac46,\frac26); both red has probability 27\frac27.

Check. Each outgoing pair sums to 11, and the second red chance after red is 12\frac12, below the original 47\frac47.

Change only the replacement rule: return the first bead and mix again before drawing the second. The original bag composition is restored.

Worked example 4: replacing the first bead

Question. A bag contains 44 red and 33 blue beads. Draw one at random, replace it, mix, and draw again independently. Find the second-stage branch pairs and the probability of both red.

Plan. Use the original composition at both stages because replacement restores it.

After either colour: (P(R),P(B))=(47,37)bag restoredP(RR)=47×47=1649independent selections\begin{aligned} \text{After either colour: }(P(R),P(B))&=\left(\frac47,\frac37\right) &&\text{bag restored}\\ P(RR)&=\frac47\times\frac47=\frac{16}{49} &&\text{independent selections} \end{aligned}

Why keep denominator 77? The removed bead is back before the second draw.

Answer. Both second-stage pairs are (47,37)(\frac47,\frac37); both red has probability 1649\frac{16}{49}.

Check. 47+37=1\frac47+\frac37=1. Also 1649>27=1449\frac{16}{49}>\frac27=\frac{14}{49}: replacing a red makes a second red more likely than keeping it out.

If the first colour is already given, use its second-stage branch alone. A full path product answers the probability of both results from the start, including uncertainty about the first result.

Watch out

Without replacement, P(RR)=47×37P(RR)=\frac47\times\frac37 keeps the old total by mistake. Removing one bead changes the second denominator too: 47×36=27\frac47\times\frac36=\frac27.

Read both the replacement instruction and the given condition before deciding which fraction to use.

Continue this lesson.

You’re previewing NovaLearn without an account. Create a free account to read the rest.

Create free account