Sample Spaces, Axioms, Conditional and Joint Probability
Sample spaces and events, the Kolmogorov axioms and everything that follows from them, joint, marginal and conditional probability, the multiplication rule, independence (pairwise vs mutual), and why "mutually exclusive" and "independent" are almost opposites.
Experiments, sample spaces and events
A random experiment has an outcome that cannot be predicted with certainty. Its sample space (or ) is the set of all possible outcomes; an event is a subset of .
| Experiment | Sample space |
|---|---|
| Toss a coin twice | |
| Roll a die until a 6 appears; record the number of rolls | (countably infinite) |
| Lifetime of a bulb in hours | (uncountable) |
Events combine with set operations: (A or B), (A and B), (not A), . De Morgan's laws: and .
Events are mutually exclusive (disjoint) if , and exhaustive if . A collection that is both is a partition of .
The axioms of probability (Kolmogorov)
A probability measure assigns a number to each event so that
- for every event ;
- ;
- for any countable sequence of pairwise disjoint events, .
Everything else is a theorem:
| Consequence | Statement |
|---|---|
| Complement rule | |
| Empty set | |
| Monotonicity | |
| Bounded | |
| Difference | |
| Addition rule | |
| Three events | |
| Boole's inequality | |
| Bonferroni |
Assigning probabilities
- Classical (equally likely outcomes): — counting, see Counting.
- Relative frequency: .
- Geometric: for a point chosen uniformly in a region, .
Conditional probability
The probability of given that has occurred (with ):
Conditioning shrinks the sample space to and rescales. is itself a valid probability measure, so all the rules above hold conditionally, e.g. .
Multiplication (chain) rule
Total probability
If partition :
This is the denominator of Bayes' theorem — see Bayes' theorem.
Joint, marginal and conditional probability
For two discrete variables the joint distribution is a table; marginals are row/column sums; conditionals are a row (or column) divided by its sum.
| marginal | |||
|---|---|---|---|
| 0.10 | 0.30 | 0.40 | |
| 0.20 | 0.40 | 0.60 | |
| marginal | 0.30 | 0.70 | 1 |
- Marginal: (sum over the other variable — marginalisation).
- Conditional: .
- Independence check: , so and are dependent.
Independence
Events and are independent if
Knowing happened tells you nothing about . If are independent, so are and , and , and and .
Pairwise vs mutual independence
are mutually independent if all of these hold:
Pairwise independence (the first three) does not imply the fourth — the two-coin example in the practice questions is the standard counterexample. For events, mutual independence needs conditions.
Mutually exclusive vs independent
| Mutually exclusive | Independent | |
|---|---|---|
| Definition | ||
| Knowing occurred | certainly did not | changes nothing about |
Independent trials
For independent events, "at least one occurs" is easiest via the complement:
Conditional independence
and are conditionally independent given if . Neither independence nor conditional independence implies the other. This idea underlies naive Bayes and Bayesian networks — see Bayesian networks.
Quick revision
Practice questions
GATE-style questions: 5 one-mark and 5 two-mark. Wrong MCQs cost ⅓ of their marks in the real exam; MSQ and NAT have no negative marking. Attempt each before opening the solution.
and are independent events with and . Then is
and are mutually exclusive events with and . Which of the following are true?
One or more options are correct.
Two fair dice are rolled. Given that at least one die shows a 3, the probability that the sum is 7 is ______ (round to two decimals).
Three fair coins are tossed. The probability of getting at least two heads is ______.
The joint PMF of two binary random variables is , , , . Then is ______ (round to two decimals).
, and . Which statement is correct?
Four people are chosen at random. Assuming each person's birth month is equally likely to be any of the 12 months independently, the probability that at least two of them share a birth month is ______ (round to two decimals).
Two fair coins are tossed. Let = "first coin is heads", = "second coin is heads", and = "both coins show the same face". Which of the following are true?
One or more options are correct.
An urn has 5 red and 3 blue balls. Two balls are drawn without replacement. The probability that both have the same colour is ______ (round to two decimals).
If and , then equals