Conditional probability: the formula, information protocols, and worked examples
The formula changes the reference set
For events with ,
The denominator restricts attention to outcomes where occurs. The numerator counts those restricted outcomes where also occurs. The notation used in some Japanese textbooks means the same thing.
For example, among ten tickets with one winning ticket, a second person's unconditional winning probability is when tickets are drawn uniformly without replacement. Given that the first person already took the winner, the second person's conditional winning probability is zero.
The difficult step is often recognizing which event is given, rather than remembering how to divide.
Independence and conditioning
If , the equality says that learning does not change the probability of . Equivalently,
The latter equation defines independence even when one event has probability zero, whereas the conditional quotient is undefined for a zero-probability conditioning event.
Chronological order does not establish independence. Information about later draws can alter what we infer about an earlier draw, without changing what actually happened.
Example 1: the two-child question needs a precise information rule
Use a toy model in which each child is independently a boy or a girl with probability . Label the older and younger child. The four equally likely outcomes are:
- Boy, boy.
- Boy, girl.
- Girl, boy.
- Girl, girl.
Question. Given the event that at least one child is a boy, what is the probability that both are boys?
The condition excludes only the girl-girl outcome. Three equally likely outcomes remain, and one is boy-boy. Thus
Why another version can have answer one-half
If we are instead told that the older child is a boy, only boy-boy and boy-girl remain, giving probability for the younger child to be a boy. Randomly encountering one selected child and observing a boy is also a different information protocol from conditioning families on the event “at least one boy.”
The original problem's intended answer assumes the at-least-one event. A sentence merely saying “you learn that one child is a boy” can be ambiguous unless the way information was obtained is specified. Conditioning requires a defined random experiment, not just an intuition about the words.
Example 2: information from later departures
Problem. A group contains 50 men and 50 women. People are selected uniformly one at a time without replacement and leave. The first person's category is not observed, but the second, third, and fourth people selected are all men. What is the probability that the first was a man?
Let mean that departures two through four are men, and that departure one is a man. The numerator is
To calculate , split on the first departure:
Therefore
The first term used in the denominator is already the numerator, so there is no need to calculate it twice.
A shorter exchangeability explanation
Conditioning on three specified later positions being men leaves 47 men and 50 women available for the other 97 positions. The first position is uniformly filled from those remaining people, giving directly. The later information changes our inference; it does not retroactively cause the first selection.
Exam example 1: assess four probability statements
The source uses the following statements from the 2020 Center Test Mathematics I/A. For the coin statements, use the fair-coin assumption adopted in the source explanation.
- A fair coin is tossed five times. If is the probability of at least one head, then .
- A bag contains eight red or white balls. In five draws with replacement, red appears three times. Therefore the actual probability of red on a draw is .
- Five cards bear labels . Drawing two simultaneously, the probability of different labels is .
- Two robots independently report a coin's face, each correctly with probability and incorrectly with probability . If both report heads, the probability that the face really is heads is at most .
Statement 1 is true: .
Statement 2 is false. An observed frequency is not a determination of the unknown underlying probability. In particular, a uniform draw from eight balls has red probability for an integer , not automatically .
Statement 3 is true. Of pairs, only the pair of two cards and the pair of two cards have matching labels. Thus the probability is .
Statement 4 is false for a fair coin:
The two correct statements are therefore 1 and 3 in this English numbering. If the prior heads probability is rather than , the posterior is . Without a prior or symmetry assumption, the robot error rates alone do not determine a numerical posterior.
Exam example 2: infer a bag color after observing a ball
In the 2019 Center Test experiment, a red bag contains two red balls and one white ball, while a white bag contains one of each. Balls are replaced. The first bag is chosen by a fair die: white for a multiple of three, red otherwise. Each later bag matches the previous drawn ball's color.
Given a white ball on operation two, the probability that the selected bag was white is
Given a white ball on operation three, the probability that no earlier white ball appeared is
The complete bag-problem explanation derives every probability used here.
Exam example 3: a three-team tournament
This problem is from the University of Tokyo's 2016 science-track paper.
Teams play until one wins two consecutive games. First plays . The winner next plays . Thereafter, if no champion has been decided, the previous winner plays the team that just waited. Each game is independent, each competing team wins with probability , and there are no draws.
- For , find the probability that becomes champion exactly on game .
- Given that becomes champion within games, where is a positive integer, find the probability that its last opponent was .
Part 1: the winner sequence before the last game
Before the final game, the winner must change every time; otherwise two consecutive wins would already have ended the tournament.
If wins game one, the changing-winner sequence is . It can end with a repeated on games .
If wins game one, the sequence is . A repeated ends it on games .
For each allowed , exactly one sequence of game results produces that outcome, with probability . Thus
Part 2: condition on both the champion and the time bound
A final opponent occurs in the second sequence, so the possible final games are . Let . The joint probability in the numerator is
where the sum is empty and zero when .
The probability that wins within games also includes final games :
Consequently the required conditional probability is
At it is zero, which matches the fact that can only win by game three by winning the first two games, with as its final opponent.
A checklist before dividing
Name the conditioning event precisely, including any observation protocol or time bound. Confirm that it has positive probability. Split the denominator into disjoint cases and reuse the numerator if it is already one of them. Finally, ask whether independence was established or merely assumed from the order in which events occurred.
Related articles
- Equating rational and irrational parts: proof and worked problems
- How to simplify nested square roots, with three worked examples
- Integration by parts: formulas, proof, and four useful patterns
- Triple-angle identities: remember, derive, and apply them
- University of Tokyo science mathematics 2020: problems and solutions
About the author
Koki Saito
Physician and graduate of the University of Tokyo Faculty of Medicine. Drawing on his entrance-exam experience, he explains how to choose mathematical methods and construct complete solutions.
Full profile →Have a question or spotted an error? Contact us.