MathsTricks & Calculus — Full Section

Probability

From sample spaces and counting rules to Bayes' theorem, discrete distributions, and the normal bell curve: everything you need for varsity-level probability, all in one place.

9
Topics Covered
90+
Worked Examples
90
Quiz Questions
Kolmogorov Axioms Conditional Probability Bayes' Theorem Binomial Distribution Poisson Distribution Normal Distribution Expected Value
Share this page

§ 01What Is Probability?

Probability is the mathematical language for uncertainty: a way of assigning numbers to how likely events are to occur.

Every time you wonder whether it will rain tomorrow, what your chances are of passing an exam, or whether a clinical trial drug works, you are asking a probability question. At its core, probability is a function that maps events to numbers between 0 and 1, where 0 means impossible and 1 means certain.

The modern, rigorous foundation was laid by Andrei Kolmogorov in 1933. His three axioms are simple enough to state in a few lines, yet powerful enough to derive every result in this entire section from them.

Kolmogorov's Probability Axioms
Let Ω be a sample space and P a probability function. Then:

Axiom 1 — Non-negativity: P(A) ≥ 0 for every event A
Axiom 2 — Normalisation: P(Ω) = 1
Axiom 3 — Countable Additivity: If A₁, A₂, … are mutually exclusive, then P(A₁ ∪ A₂ ∪ …) = P(A₁) + P(A₂) + …

From these three axioms alone (without any other assumptions) we can derive the complement rule, the addition rule, Bayes' theorem, and the properties of every distribution covered in this section. The axioms are minimal and beautiful.

  • C
    Complement RuleP(Aᶜ) = 1 − P(A)

    The probability that A does not occur equals one minus the probability that it does.

  • Addition RuleP(A ∪ B) = P(A) + P(B) − P(A ∩ B)

    Subtract the intersection to avoid double-counting events in both A and B.

  • Multiplication RuleP(A ∩ B) = P(A) · P(B|A)

    The probability that both A and B occur equals the probability of A times the conditional probability of B given A.

  • IndependenceA ⊥ B ⟺ P(A ∩ B) = P(A) · P(B)

    Events are independent when knowing one occurs tells you nothing about the other. Do not confuse independence with mutual exclusivity, they are almost opposites.

§ 02All Topics in This Section

Nine self-contained pages, each with full theory, worked examples, and an interactive quiz. They are ordered by dependency: earlier topics are used in later ones.

Foundation · Topic 01
Basic Probability

Sample spaces, events, the three Kolmogorov axioms, equally likely outcomes, and counting techniques. The vocabulary and rules every subsequent topic depends on, start here if you are new to probability.

Key formula
P(A) = |A| / |Ω|
Includes
Complement · Addition Rule · Permutations & Combinations
Conditional · Topic 02
Conditional Probability

P(A|B): the probability of A given that B has occurred. Tree diagrams, the multiplication rule for dependent events, and the independence condition. Essential before Bayes' theorem.

12 examples · 10-question quiz
Conditional · Topic 03
Bayes' Theorem

Reversing conditional probabilities: from P(B|A) to P(A|B). Prior, likelihood, posterior. The medical testing problem, false positives, and the law of total probability.

10 examples · 10-question quiz
Distributions · Topic 04
Discrete Distributions

Probability mass functions, cumulative distribution functions, and the definitions of E[X] and Var(X) for discrete random variables. The gateway to all named discrete distributions.

10 examples · 10-question quiz
Distributions · Topic 05
Binomial Distribution

Counting successes in n independent trials. The PMF C(n,k)pᵏ(1−p)ⁿ⁻ᵏ, mean np, variance np(1−p), and the normal approximation with continuity correction.

10 examples · bar chart · 10-question quiz
Distributions · Topic 06
Poisson Distribution

Modelling rare events: calls to a helpdesk, radioactive decay, traffic arrivals. P(X=k) = λᵏe⁻λ/k!, mean = variance = λ, and the Poisson limit of the binomial.

10 examples · 10-question quiz
Continuous · Topic 07
Normal Distribution

The bell curve: the PDF formula, 68–95–99.7 rule, standardising to Z-scores, reading z-tables, inverse normal, and why so many natural phenomena follow this shape.

12 examples · 10-question quiz
Continuous · Topic 08
Continuous Distributions

PDFs and CDFs for continuous random variables. Uniform distribution, exponential distribution, and the relationship between them. Computing probabilities as areas under the density curve.

10 examples · 10-question quiz
Theory · Topic 09
Expected Value & Variance

E[X] = Σx·P(X=x). Var(X) = E[X²] − (E[X])². Linearity of expectation, properties of variance, standard deviation, covariance, correlation coefficient, and the Cauchy-Schwarz inequality.

12 examples · 10-question quiz

§ 03The Distributions at a Glance

A quick-reference card for each named distribution: its formula, mean, and variance: so you can identify which to use at a glance.

§ 04Recommended Learning Path

If you are working through probability for the first time, follow this order. Each topic builds directly on the one before it.

01
Basic Probability

Start here. Learn sample spaces, events, and the three axioms. Without this, nothing else makes sense.

02
Conditional Probability

Learn P(A|B) and why dependence between events matters. Includes tree diagrams and the multiplication rule.

03
Bayes' Theorem

The most important formula in probability. Used everywhere from spam filters to medical testing.

04
Discrete Distributions

The framework: PMF, CDF, E[X], Var(X). Read this before any named discrete distribution.

05
Binomial Distribution

The workhorse of discrete probability. Counting successes in repeated independent trials.

06
Poisson Distribution

Rare events over time or space. Follows naturally from the binomial as p → 0 and n → ∞.

07
Normal Distribution

Continuous probability and the Central Limit Theorem. The bridge between discrete models and statistical inference.

08
Continuous Distributions

PDFs, CDFs, and the uniform and exponential distributions. Extends the discrete framework to continuous random variables.

09
Expected Value & Variance

The theoretical capstone. Linearity of expectation, covariance, correlation, the tools used in statistics and machine learning.

Already know the basics? Jump to distributions. If you are comfortable with events and conditional probability, go directly to Discrete Distributions and work forward from there. Each topic page is self-contained — you can read them in any order, though the roadmap above minimises backtracking.

§ 05Key Formulae at a Glance

A rapid-reference collection of the most important formulas across the entire probability section. Useful when revising before an exam.

Complement Rule
P(Aᶜ) = 1 − P(A)
General Addition Rule
P(A ∪ B) = P(A) + P(B) − P(A ∩ B)
Conditional Probability
P(A | B) = P(A ∩ B) / P(B), provided P(B) > 0
Bayes' Theorem
P(A | B) = P(B | A) · P(A) / P(B)
Binomial PMF
P(X = k) = C(n, k) · pᵏ · (1−p)ⁿ⁻ᵏ
Poisson PMF
P(X = k) = λᵏ · e⁻λ / k!
Expected Value (discrete)
E[X] = Σ x · P(X = x)
Variance
Var(X) = E[X²] − (E[X])²
Standard Normal Z-Score
Z = (X − μ) / σ, where X ∼ N(μ, σ²)

§ 06Where Probability Meets Statistics

Probability is the theory; statistics is the application. Once you master distributions and expected values, the following statistics topics open up naturally.

The normal distribution and the Central Limit Theorem are the bridge between probability and inferential statistics. When you understand that a sample mean follows an approximately normal distribution regardless of the underlying population shape (for large enough samples), hypothesis testing and confidence intervals become straightforward applications of z-scores and t-scores.

Cookie Settings