A bag holds 20 equally likely tokens, 12 red and 8 blue, and four of the red tokens and two of the blue ones are striped. If you are told only that the drawn token is striped, what is the probability that it is red? The news does not change the token, but it rules out the 14 tokens without stripes, so the question is now asked inside a smaller group. This lesson makes that idea precise, shows why the words after “given” decide the denominator, and explains why the condition must have positive probability.
Key terms
Conditional probability
Definition Let and be events in the same probability model, with . The conditional probability of given is
The vertical bar is read “given.” It is not a division sign and not an absolute value. When the sample space is finite and all of its outcomes are equally likely, the common factor cancels and the definition becomes a ratio of counts,
In plain words Keep only the outcomes in , then ask what share of their total probability also lies in . With equally likely outcomes, that share is the fraction of the outcomes in that also lie in .
Example Let be the event that the drawn token is red and the event that it is striped. The complete table of counts for the bag is
| Color | Striped | Plain | Total |
|---|---|---|---|
| Red | 4 | 8 | 12 |
| Blue | 2 | 6 | 8 |
| Total | 6 | 14 | 20 |
The intersection holds 4 tokens, so , and . Then
Both numbers count the same 4 tokens. The probability measures “red and striped” against all 20 tokens, while measures “red, given striped” against the 6 striped tokens. Because , the conditional probability is never smaller than .
Conditioning event
Definition In , the event written after the bar is the conditioning event. It stands for the information that the outcome of the experiment lies in . The experiment and its outcome stay the same, and and are events in the same sample space. Conditioning describes what is known about the outcome. It says nothing about what would happen if the outcome were changed.
In plain words The conditioning event is the fact you have been told. It does not redraw the token or alter it. It only narrows down where the outcome can be.
Example Before any information about stripes, . Learning that the token is striped raises this to , and learning that it is plain lowers it to
Both changes come from the make-up of the striped and plain groups in this bag. They do not mean that painting stripes on a blue token would turn it red. A claim about what an intervention would do needs a model of that intervention, and a conditional probability alone does not supply one.
Reference group
Definition Given an event with , the reference group is the set of outcomes in , treated as the new whole. Every event inside gets the conditional probability , and every event disjoint from gets . So the outcomes of keep their relative weights and are rescaled to total . As a function of the event , the rule satisfies the probability axioms. In particular , and the complement rule holds inside the group,
In plain words The condition becomes the new sample space. Probabilities inside it are multiplied by the same factor so that they add to , and the usual rules hold inside it. Counting outcomes is justified when the group has finitely many outcomes, all equally likely. Otherwise divide probabilities, not counts.
Example Given that the token is plain, the reference group is the 14 plain tokens. Inside it and , which add to . Now take a die weighted so that a 6 has probability and each other face has probability , and let be the event that the roll is even. Then , and
not the that counting the three even faces would suggest.
Reversed condition
Definition The reversed condition of is , with the roles of the two events swapped. When and , the two share the numerator , but the first divides by and the second by ,
They are equal exactly when or . Outside these cases, reversing the condition changes the answer.
In plain words Find the words after “given” first, since they name the group you divide by. Swapping the condition swaps the group, even when the favorable outcomes stay the same.
Example In the bag, . The reversed question asks how many of the 12 red tokens are striped,
The same 4 tokens are counted, first out of 6 and then out of 12. The same care applies to everyday statements. The probability of a fault given an alarm need not be close to the probability of an alarm given a fault, because the two divide by different groups.
Positive-probability requirement
Definition The ratio defines only when . If , then as well, the ratio is , and the formula assigns no value. The conditional probability is then undefined by this definition, which is different from being . In a finite model where every outcome has positive probability, happens only for . In continuous models, events of probability can occur, and conditioning on them needs a separate construction such as conditional densities.
In plain words A group with no probability cannot be rescaled to total . Check that the condition has positive probability before you divide.
Example Ask for the probability that the token is red given that it is green. The bag has no green tokens, so the event of drawing a green token is empty and . The expression is , so is undefined, and writing or as the answer would be wrong. By contrast, every event with has .
Check yourself
- A second bag holds 18 equally likely tokens. Of the 10 square tokens, 3 are dotted and 7 are plain, and of the 8 circular tokens, 5 are dotted and 3 are plain. Let be the event that the token is square and the event that it is dotted. Name each reference group, then find and .
Show the answer
For the reference group is the dotted tokens, and 3 of them are square, so . For the reference group is the 10 square tokens, and 3 of them are dotted, so .
- A classmate answers for the probability that a token in the second bag is square given that it is dotted. Which probability did the classmate compute, and how does the definition repair the answer?
Show the answer
The fraction is , the probability that the token is square and dotted, measured against all 18 tokens. The condition “dotted” makes the 8 dotted tokens the reference group, so the definition divides by ,
- In the second bag, find the probability that a token is circular given that it is plain, and check it with the plain square tokens. Then explain why the probability that a token is dotted given that it is triangular has no value here.
Show the answer
The plain group has tokens, and 3 of them are circular, so . The other 7 plain tokens are square, giving , and the two answers add to because square and circular split the plain group. The value matches from question 1 only by coincidence, since it counts different tokens in a different group.
No token is triangular, so that conditioning event has probability and the ratio would be . The conditional probability is undefined, not .