Bayes' theorem relates conditional probabilities, letting you reverse the direction of conditioning:
Given prior (your belief before evidence) and likelihood , compute the posterior — your updated belief after seeing .
Classic medical-test example: disease prevalence 1%, test sensitivity 99%, false-positive rate 1%. The probability of disease given a positive test:
Despite a 99% accurate test, a positive result means only 50% chance of disease — because the disease is rare. The "base rate fallacy" (forgetting the prior) is the most common Bayes mistake.
Bayes powers Bayesian inference, naïve Bayes classifiers, spam filters, and forensic reasoning.