- Home
- /
- Math
- /
- Statistics & Probability
- /
- Bayes' Theorem
Bayes' Theorem
Also known as: Bayes rule, posterior probability
Grade 9-12
View on concept mapBayes' theorem gives the posterior probability of a hypothesis given evidence: P(H|E) = \frac{P(E|H) \cdot P(H)}{P(E)}. Bayes' theorem is the foundation of modern probabilistic reasoning, powering spam filters, medical diagnostics, and machine learning.
Definition
Bayes' theorem gives the posterior probability of a hypothesis given evidence: P(H|E) = \frac{P(E|H) \cdot P(H)}{P(E)}.
๐ก Intuition
Start with a prior belief, then reweight it by how likely the evidence is under each hypothesis.
๐ฏ Core Idea
Posterior equals prior times likelihood, normalized by evidence.
Example
Formula
Notation
P(A) prior, P(Bmid A) likelihood, P(Amid B) posterior.
๐ Why It Matters
Bayes' theorem is the foundation of modern probabilistic reasoning, powering spam filters, medical diagnostics, and machine learning. It teaches us how to rationally update our beliefs when we receive new evidence, which is critical in fields from epidemiology to courtroom forensics.
๐ญ Hint When Stuck
When you need to update a probability after new evidence, use Bayes' theorem. First, identify the prior probability P(A) and the likelihood P(B|A). Then compute the total probability of the evidence P(B) = P(B|A)P(A) + P(B|A^c)P(A^c). Finally, apply the formula: P(A|B) = P(B|A) \cdot P(A) / P(B).
Formal View
Related Concepts
๐ง Common Stuck Point
The base rate (prior probability P(H)) is the most commonly neglected factor โ ignoring it leads to the base-rate fallacy and wildly overconfident conclusions.
โ ๏ธ Common Mistakes
- Confusing P(A|B) with P(B|A) โ the probability of having a disease given a positive test is NOT the same as the probability of testing positive given the disease
- Forgetting to compute the total probability P(B) using the law of total probability, which accounts for both P(B|A) and P(B|A^c)
- Ignoring the base rate (prior probability) โ a rare disease with a 99% accurate test still yields many false positives when the prior is very low
Go Deeper
Frequently Asked Questions
What is Bayes' Theorem in Math?
Bayes' theorem gives the posterior probability of a hypothesis given evidence: P(H|E) = \frac{P(E|H) \cdot P(H)}{P(E)}.
Why is Bayes' Theorem important?
Bayes' theorem is the foundation of modern probabilistic reasoning, powering spam filters, medical diagnostics, and machine learning. It teaches us how to rationally update our beliefs when we receive new evidence, which is critical in fields from epidemiology to courtroom forensics.
What do students usually get wrong about Bayes' Theorem?
The base rate (prior probability P(H)) is the most commonly neglected factor โ ignoring it leads to the base-rate fallacy and wildly overconfident conclusions.
What should I learn before Bayes' Theorem?
Before studying Bayes' Theorem, you should understand: conditional probability, probability, sample space.
Prerequisites
Cross-Subject Connections
How Bayes' Theorem Connects to Other Ideas
To understand bayes' theorem, you should first be comfortable with conditional probability, probability and sample space.