13.1 Conditional Probability
Once you know that an event $F$ has happened, only the outcomes inside $F$ are still possible. Conditional probability recalculates every probability inside that smaller sample space: $P(E\mid F)=\dfrac{P(E\cap F)}{P(F)}$.
Two dice are thrown behind a screen. What is the probability that you have thrown a double? There are $36$ equally likely outcomes and $6$ of them are doubles, so the answer is $\tfrac{6}{36}=\tfrac16$. Now a friend peeps behind the screen and tells you one fact: "the sum is at least $10$". Is the chance of a double still $\tfrac16$? The fact rules out $30$ of the $36$ outcomes. Only $(4,6)$, $(5,5)$, $(6,4)$, $(5,6)$, $(6,5)$, $(6,6)$ are still possible, they are still equally likely, and two of them โ $(5,5)$ and $(6,6)$ โ are doubles. Given the new information, the chance of a double has doubled to $\tfrac26=\tfrac13$.
This is how probabilities are updated whenever information arrives: a doctor revises the chance of a disease after a test result, a weather service after a satellite image, a commentator after every over. The information "the event $F$ has happened" shrinks the sample space from $S$ to $F$, and every probability is recalculated inside $F$. In this section you will turn that idea into a formula, learn its rules, and practise the most common mistake to avoid โ confusing "$E$ given $F$" with "$F$ given $E$".
Probability Given That an Event Has Happened
Look again at the dice. Write $E$ for "a double" and $F$ for "the sum is at least $10$". The answer $\tfrac13$ came from counting outcomes in $E\cap F$ and dividing by the number of outcomes in $F$:
$$\frac{n(E\cap F)}{n(F)}=\frac{2}{6}=\frac13 .$$Dividing the top and the bottom by $n(S)=36$ turns the counts into probabilities: $\dfrac{n(E\cap F)/36}{n(F)/36}=\dfrac{P(E\cap F)}{P(F)}$. This second form makes sense even when the outcomes are not equally likely, so it is taken as the definition.
Read $P(E\mid F)$ as "the probability of $E$ given $F$". The vertical bar is not a division sign. Notice that only the part of $E$ that lies inside $F$ counts: once we know $F$ has happened, the outcomes of $E$ outside $F$ are impossible. That is why the formula has $E\cap F$ on top and not $E$. In effect $F$ becomes a reduced sample space, and $P(E\mid F)$ is the share of $F$ that is taken up by $E$.
Properties of Conditional Probability
Fix an event $F$ with $P(F)\ne0$. Giving each event $E$ the number $P(E\mid F)$ is a new way of assigning probabilities โ the one that is right once $F$ is known. It obeys the same rules as an ordinary probability.
Let $E$, $A$, $B$ and $F$ be events of a sample space $S$, with $P(F)\ne0$. Then
(i) $P(S\mid F)=P(F\mid F)=1$;
(ii) $P\big((A\cup B)\mid F\big)$ $=P(A\mid F)+P(B\mid F)$ $-P\big((A\cap B)\mid F\big)$; in particular, if $A$ and $B$ are mutually exclusive, $P\big((A\cup B)\mid F\big)=P(A\mid F)+P(B\mid F)$;
(iii) $P(E'\mid F)=1-P(E\mid F)$;
(iv) $0\le P(E\mid F)\le1$.
Proof. (i) $S\cap F=F$ and $F\cap F=F$, so both are $\dfrac{P(F)}{P(F)}=1$. (ii) By the distributive law, $(A\cup B)\cap F=(A\cap F)\cup(B\cap F)$, and the intersection of these two events is $(A\cap B)\cap F$. The addition rule of Class 11 gives
$$P\big((A\cup B)\cap F\big)=P(A\cap F)+P(B\cap F)-P(A\cap B\cap F).$$Divide every term by $P(F)$. If $A\cap B=\phi$ the last term is $0$. (iii) $E$ and $E'$ are mutually exclusive and $E\cup E'=S$, so by (ii) and (i), $P(E\mid F)+P(E'\mid F)=P(S\mid F)=1$. (iv) $E\cap F\subset F$, so $0\le P(E\cap F)\le P(F)$; divide by $P(F)\gt0$. $\square$
| passed | failed | total | |
|---|---|---|---|
| attends coaching | 120 | 40 | 160 |
| no coaching | 150 | 90 | 240 |
| total | 270 | 130 | 400 |
1. Swapping the condition. $P(E\mid F)$ and $P(F\mid E)$ have the same numerator $P(E\cap F)$ but different denominators. They are equal only when $P(E)=P(F)$.
2. Using $n(E)$ instead of $n(E\cap F)$. Only the part of $E$ inside $F$ survives the information.
3. Complementing the wrong event. $P(E'\mid F)=1-P(E\mid F)$ is true; $P(E\mid F')=1-P(E\mid F)$ is false in general (Exercise III.5).
4. Conditioning on an impossible event. $P(E\mid F)$ is defined only when $P(F)\ne0$.
5. "Given" in disguise. Words like "if it is known that", "it is found that", "among those whoโฆ" all signal a conditional probability.
Exercises
- 1 $P(E)=0.5$, $P(F)=0.4$ and $P(E\cap F)=0.2$. Find $P(E\mid F)$ and $P(F\mid E)$.
- 2 $P(A)=\tfrac38$, $P(B)=\tfrac12$ and $P(A\cap B)=\tfrac14$. Find $P(A\mid B)$ and $P(B\mid A)$.
- 3 $2P(A)=P(B)=\tfrac5{13}$ and $P(A\mid B)=\tfrac25$. Find $P(A\cap B)$ and $P(A\cup B)$.
- 4 $P(A)=0.6$, $P(B\mid A)=0.5$ and $P(B)=0.45$. Find $P(A\cap B)$ and $P(A\mid B)$.
- 5 $P(E)=0.35$, $P(F)=0.45$ and $P(E\cup F)=0.6$. Find $P(E\mid F)$ and $P(F\mid E)$.
- 6 If $P(B)\gt0$ and $P(A\cap B)=P(B)$, find $P(A\mid B)$.
- 7 $A\subset B$ with $P(A)=0.2$ and $P(B)=0.5$. Find $P(A\mid B)$ and $P(B\mid A)$.
- 8 $A$ and $B$ are mutually exclusive and $P(B)\gt0$. Find $P(A\mid B)$.
Enter decimals or fractions such as 5/13. The lab also tells you if the three numbers cannot belong to real events.
- 1 A coin is tossed twice. Find the probability of two heads given that at least one head appears.
- 2 A coin is tossed three times. Find the probability of exactly two heads given that at least one tail appears.
- 3 A die is thrown. Find the probability that the number is prime, given that it is odd.
- 4 A die is thrown. Find the probability that the number is greater than $3$, given that it is even.
- 5 Two dice are thrown. Find the probability that the sum is $8$, given that the first die shows $5$.
- 6 Two dice are thrown. Find the probability of a double, given that the sum is $8$.
- 7 Two dice are thrown. Find the probability that the sum is at least $10$, given that at least one die shows a $5$.
- 8 Two dice are thrown. Find the probability that the product of the numbers is $12$, given that their sum is $7$.
- 9 One card is drawn. Find $P(\text{ace}\mid\text{black card})$ and $P(\text{spade}\mid\text{ace})$.
- 10 A number is chosen at random from $1,2,\dots,20$. Find the probability that it is a multiple of $3$, given that it is even.
- 11 A family has three children, and all $8$ sequences of boys and girls are equally likely. Find the probability that all three are girls, given that at least two are girls.
- 1 If $P(E\mid F)=0.35$, find $P(E'\mid F)$, and state which property you used.
- 2 $P(A\mid C)=0.5$, $P(B\mid C)=0.3$ and $P\big((A\cap B)\mid C\big)=0.1$. Find $P\big((A\cup B)\mid C\big)$ and $P\big((A\cup B)'\mid C\big)$.
- 3 $P(A)=0.8$, $P(B)=0.5$ and $P(B\mid A)=0.4$. Find $P(A\cap B)$, $P(A\mid B)$ and $P(A\cup B)$.
- 4 Show that $P(E\mid F)\ge P(E\cap F)$, with equality when $P(F)=1$.
- 5 A die is thrown; $E=\{1,2\}$ and $F=\{1,2,3\}$. Find $P(E\mid F)$ and $P(E\mid F')$, and show that $P(E\mid F')\ne1-P(E\mid F)$.
- 6 Show that if $P(E\cap F)\gt0$, then $P(E\mid F)=P(F\mid E)$ exactly when $P(E)=P(F)$.
- 7 Show that if $P(A\mid B)\gt P(A)$, then $P(B\mid A)\gt P(B)$. (Assume $P(A)\gt0$, $P(B)\gt0$.) Put this into words.
- 1 A repair shop logged $500$ phones: brand X had $60$ screen faults and $140$ battery faults; brand Y had $120$ screen faults and $180$ battery faults. For a phone chosen at random, find (a) $P(\text{screen fault}\mid X)$; (b) $P(X\mid\text{screen fault})$; (c) $P(\text{battery fault}\mid Y)$.
- 2 In a city, the probability of rain on a given day is $0.3$, of a major traffic jam is $0.4$, and of both is $0.24$. Find $P(\text{jam}\mid\text{rain})$ and $P(\text{rain}\mid\text{jam})$.
- 3 A cricket team wins $60\%$ of its matches and wins the toss in $50\%$ of them; it wins both the toss and the match in $35\%$. Find the probability that it wins a match given that it has won the toss, and the probability that it won the toss given that it won the match.
- 4 A 3-digit PIN is chosen at random from $000$ to $999$. Given that its three digits are all different, find the probability that (a) it begins with $0$; (b) its digits are in increasing order.
- 5 In a screening programme, $1000$ people were tested: $20$ had a certain condition and $18$ of them tested positive; of the $980$ without the condition, $49$ tested positive. Find $P(\text{positive}\mid\text{condition})$ and $P(\text{condition}\mid\text{positive})$, and comment on the difference.
How this is examined: Board papers ask for $P(E\mid F)$ from given probabilities in 1-mark MCQs and AssertionโReason items, set 2-mark questions that combine the definition with the addition rule or complements, and build case studies on two-way tables. JEE problems hide the conditioning event in the wording and test whether you count the reduced sample space correctly.
E1. Board ยท 1 mark If $P(A)=0.4$, $P(B)=0.8$ and $P(B\mid A)=0.6$, then $P(A\cup B)$ is (A) $0.96$ (B) $0.24$ (C) $0.56$ (D) $0.60$
E2. Board ยท 1 mark AssertionโReason. $E$ and $F$ are events with $0\lt P(F)\lt1$. Assertion (A): $P(E\mid F)+P(E'\mid F)=1$. Reason (R): $P(E\mid F)+P(E\mid F')=1$. (A) Both A and R are true and R is the correct explanation of A (B) Both A and R are true but R is not the correct explanation of A (C) A is true but R is false (D) A is false but R is true
E3. Board ยท 2 marks For events $A$ and $B$, $P(A)=0.3$, $P(B)=0.4$ and $P(A\cup B)=0.5$. Find $P(A\mid B)$ and $P(A'\mid B')$.
E4. Board ยท Case study A city survey of $600$ office workers (illustrative data) recorded how they commute and whether they reached work late on the survey day: metro $250$ workers, of whom $25$ were late; bus $200$, of whom $50$ were late; car $150$, of whom $45$ were late. One worker is chosen at random. (i) Find $P(\text{late}\mid\text{bus})$ and $P(\text{on time}\mid\text{metro})$. (2 marks) (ii) Find the probability that the worker came by bus, given that the worker was late. (1 mark) (iii) Find $P(\text{late}\mid\text{did not use the metro})$. (1 mark)
E5. JEE Main A number is chosen at random from $1,2,\dots,100$. Given that it is divisible by $4$, the probability that it is divisible by $6$ is (A) $\tfrac8{25}$ (B) $\tfrac4{25}$ (C) $\tfrac16$ (D) $\tfrac2{25}$
E6. JEE Advanced (One or more options correct.) A fair die is thrown three times. Let $F$ be the event "the three numbers are all different". Then (A) $P(F)=\tfrac59$ (B) $P(\text{at least one six}\mid F)=\tfrac12$ (C) $P(\text{the sum is }10\mid F)=\tfrac3{20}$ (D) $P(F\mid\text{at least one six})=\tfrac12$
Research question. In your class, does the chance of getting at least $7$ hours of sleep depend on whether a phone is kept in the bedroom at night โ and does the answer change if you turn the question round?
Why it matters. Health agencies around the world advise teenagers to sleep $8$โ$10$ hours, and many studies report that screens at bedtime are linked with shorter sleep. Every such report is a statement about conditional probabilities: "among teenagers with a phone in the bedroom, the proportion who sleep enough is โฆ". Learning to read and compute these figures โ and to notice which event is the condition โ protects you from misleading headlines.
What to do.
- With your teacher's permission, run an anonymous survey of your class (or several classes): two yes/no questions โ "Is your phone in your bedroom at night?" and "Did you sleep at least 7 hours last night?"
- Organise the answers in a $2\times2$ two-way table with row and column totals.
- Compute $P(\text{enough sleep}\mid\text{phone})$, $P(\text{enough sleep}\mid\text{no phone})$, $P(\text{phone}\mid\text{enough sleep})$ and $P(\text{enough sleep})$.
- Check that $P(\text{enough sleep})$ lies between the two conditional probabilities of step 3, and explain why it must.
- Write two headlines, one using a row-conditional and one using a column-conditional probability, and say which is fairer.
Tools: Paper questionnaire or an online form; a spreadsheet for the table and the fractions.
Hand in: The table, the four probabilities as fractions and decimals, the two headlines, and a paragraph on why a survey like this shows an association but not a cause.
Going further. Collect the same data a week later. Do the conditional probabilities stay roughly the same? How large a sample would you want before trusting a difference of $0.1$?
๐งช Self-check quiz
Q1. If $P(F)=0.5$ and $P(E\cap F)=0.2$, then $P(E\mid F)$ is
Q2. Two fair coins are tossed. Given that at least one shows a head, the probability that both show heads is
Q3. If $P(E\mid F)=0.3$, then $P(E'\mid F)$
Q4. One card is drawn from a pack of $52$. Given that it is a face card (king, queen or jack), the probability that it is a queen is
Q5. $A$ and $B$ are mutually exclusive events with $P(A)\gt0$ and $P(B)\gt0$. Then $P(A\mid B)$ equals