DP Math AA · HL · Statistics & Probability

AHL 4.13—Bayes theorem

Get started
Notes Quiz

Introduction to Bayes' Theorem

Bayes' theorem, named after 18th-century British mathematician Thomas Bayes, is one of the most powerful tools in probability theory. It provides a systematic way to update the probability of an event based on new evidence or information.

At its heart, Bayes' theorem formalises how we should rationally change our beliefs when we observe new data. This makes it invaluable in fields ranging from medicine and genetics to machine learning and forensic science.

Prior Probability: The probability of an event before new evidence is taken into account. Denoted P(H), it represents our initial belief about how likely hypothesis H is.

Posterior Probability: The probability of an event after updating with new evidence. For example, P(H∣E) is the posterior probability of hypothesis H given that evidence E has been observed.

Law of Total Probability: If events H1​,H2​,…,Hn​ are mutually exclusive and exhaustive (they form a partition of the sample space), then for any event E:
P(E)=∑k=1n​P(Hk​)⋅P(E∣Hk​)
This is the foundation on which Bayes' theorem rests , it provides the denominator in every Bayes calculation.

Analogy

Imagine you wake up and want to know whether it rained overnight. Your prior belief might be 30% based on the season. But then you look outside and see the pavement is wet , this new evidence dramatically updates your belief. Bayes' theorem is the mathematical machinery that tells you exactly how much to update.

Free preview

9 more sections in this topic

← Previous topicSL 4.12—Z values, inverse normal to find mean and standard deviationNext topic →AHL 4.14—Properties of discrete and continuous random variables
Koncepts

Learn it properly. Then practise like it's the real paper.

Start free

Features

  • Lessons
  • Past papers
  • Library
  • Homework Help
  • Duels

More

  • For parents
  • Compare
  • Plans & pricing
  • DP for students

Legal

  • Privacy
  • Terms
  • Account deletion

© 2026 Koncepts (product of PrepAiro, Inc). All rights reserved.
DP, IB, EE and TOK are terms of the International Baccalaureate Organization.

Made for IB DP students.