Level 0: Foundation
★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.What could happen?
Before guessing how likely something is, list everything that could happen. Toss a coin: heads or tails. Roll a die: 1 to 6. Roll two dice: 36 possible pairs. That list is the sample space. An event is any group of outcomes you care about, like “the dice add up to 7”.
If all outcomes are equally likely, a probability is just counting:
Six of the 36 dice pairs add to 7, so .
Will a satellite’s components all survive launch? What’s the chance a self-driving car’s sensors fail together? Reliability and risk engineering begin by writing down exactly what can happen, then assigning probabilities that obey a few unbreakable rules.
- 1. How many outcomes do two dice have?
- 2. P(a fair die shows 3) = ?
- 3. P(not 3) = ?
Level 1: Beginner
★★☆☆☆ Basic⏱ 15 minSecondary-school mathematics: arithmetic and elementary algebra.Events as sets
Events combine like sets:
| Words | Set | Picture |
|---|---|---|
| A or B | either region | |
| A and B | the overlap | |
| not A | everything else | |
| A and B can’t both happen | disjoint |
Kolmogorov’s three axioms (1933)
- for every event.
- .
- If are pairwise disjoint, then .
Everything else follows. For example:
- ;
- ;
- if , then ;
- .
- 1. P(A) = 0.3 and P(B) = 0.5, disjoint. P(A ∪ B) = ?
- 2. P(at least one head in 2 tosses) = ?
- 3. Probabilities can be negative?
Level 2: Intermediate
★★★☆☆ Intermediate⏱ 40 minUndergraduate students and practising engineers.Tools that follow from the axioms
- Complement rule: “at least one” is often easiest as . For instance, . That’s the Chevalier de Méré’s 1654 puzzle, which started probability theory in letters between Pascal and Fermat.
- Inclusion–exclusion: , and so on for more events.
- Union bound (Boole): . It’s crude but always true, and it needs no independence. It’s the workhorse of reliability bounds and learning-theory proofs (B1).
- Bonferroni lower bound: .
Monte Carlo
Simulate the experiment times and count how often happens. The frequency converges to (the law of large numbers, A4.3), with typical error . Getting 10× more accuracy needs 100× more samples. When outcomes aren’t equally likely or can’t be counted, which is most real problems, simulation is how you compute probabilities.
- 1. P(A) = 0.5, P(B) = 0.4, P(A ∩ B) = 0.2. P(A ∪ B) = ?
- 2. The union bound requires the events to be…
- 3. Monte Carlo error typically shrinks like…
Level 3: Advanced
★★★★☆ Advanced⏱ 40 minGraduate level, with full derivations and proofs.Proofs from the axioms
- Complement. and are disjoint with union , so . ∎
- Monotonicity. If , then is a disjoint union. So . ∎
- Inclusion–exclusion (2 sets). and , both disjoint unions. Subtracting gives . ∎
- Union bound. Make the events disjoint with . Then . ∎
σ-algebras: why not every subset is an event
For uncountable , such as a dart thrown at , you can’t consistently assign a “length” to every subset: the Vitali set is a counterexample. So events form a σ-algebra : a collection containing and closed under complements and countable unions. A probability space is the triple . Countable additivity (axiom 3) is what makes limits work, for example for increasing events. Measure theory (A4.3) builds on exactly this.
“Random” needs a measure
Bertrand’s paradox (1889): “pick a random chord of a circle; what’s the chance it’s longer than the side of the inscribed equilateral triangle?” There are three natural answers, 1/3, 1/2 and 1/4. Each is correct for a different probability measure on chords (Practice Code 5). The question is incomplete until is specified.
Exercise 3.1: Show P(∅) = 0 from the axioms
is a disjoint union, so . That forces .
- 1. Bertrand's paradox shows that…
- 2. A σ-algebra is closed under…
- 3. Monotonicity: A ⊆ B ⇒ …
Level 4: Expert
★★★★★ Expert⏱ 45 minResearchers: original papers and open problems.Uniformly random rotations
Robots, drones and simulators constantly need “a random orientation”. You might use random initial poses for global localization, domain randomization in sim-to-real training (Tobin et al., 2017), sampling-based planning on (LaValle, 2006), or rotation data augmentation. The natural “uniform” measure on rotations is the Haar measure, which is invariant under rotating everything. Choosing Euler angles uniformly is not Haar: orientations pile up near the poles. Normalizing a 4-D Gaussian to a unit quaternion is exactly Haar (Shoemake, 1992). The rotation angle then has density on , so small rotations are rare.
Probability spaces in practice
- Reliability engineering. NASA’s probabilistic risk assessment builds fault trees from events like “valve A fails” and “sensor B fails”. It combines them with these rules, using inclusion–exclusion and rare-event approximations, to estimate mission-loss probabilities (Stamatelatos et al., 2011, NASA PRA Procedures Guide).
- Safety-critical ML. Certifying “probability of failure below ” by plain Monte Carlo would need around samples. Rare-event methods (importance sampling, subset simulation; Au and Beck, 2001) and union bounds are used instead, for example in autonomous-vehicle validation (Corso et al., 2021).
- Generalization proofs. “With probability , every hypothesis in a finite class has small error” comes from a union bound over the class (B1).
References
- A. N. Kolmogorov (1933). Grundbegriffe der Wahrscheinlichkeitsrechnung. Springer. (English: Foundations of the Theory of Probability, 1950.)
- W. Feller (1968). An Introduction to Probability Theory and Its Applications, Vol. 1, 3rd ed. Wiley.
- D. Bertsekas, J. Tsitsiklis (2008). Introduction to Probability, 2nd ed. Athena Scientific.
- J. Bertrand (1889). Calcul des probabilités. Gauthier-Villars.
- K. Shoemake (1992). “Uniform random rotations.” In Graphics Gems III. Academic Press.
- M. Stamatelatos et al. (2011). Probabilistic Risk Assessment Procedures Guide for NASA Managers and Practitioners, 2nd ed. NASA/SP-2011-3421.
- S.-K. Au, J. Beck (2001). “Estimation of small failure probabilities in high dimensions by subset simulation.” Probabilistic Engineering Mechanics, 16(4).
- A. Corso, R. Moss, M. Koren, R. Lee, M. Kochenderfer (2021). “A survey of algorithms for black-box safety validation of cyber-physical systems.” JAIR, 72.
- J. Tobin et al. (2017). “Domain randomization for transferring deep neural networks from simulation to the real world.” IROS.