Skip to content
Free standard shipping to supported destinations
Delta-Xi LogoDelta Xi
ShopOur storyLearnHelp
Learn
OverviewConcepts
Back to Concepts
📐
Mathematicsequation

Bayes' theorem

Update a probability when new evidence arrives.

P(A∣B)=P(B∣A)P(A)P(B)P(A\mid B)=\frac{P(B\mid A)P(A)}{P(B)}P(A∣B)=P(B)P(B∣A)P(A)​

Library note. Check the assumptions and further reading before applying a formula.

What Is This?

Bayes' theorem connects two conditional probabilities. P(A) is the probability before observing B. P(B given A) describes how likely the evidence would be if A were true. Dividing by the overall chance of B gives the updated probability of A. The base rate matters: even a convincing-looking observation can be common enough among alternatives to give a weak conclusion.

Try an example

Out of 1,000 items, suppose 10 are faulty. A test flags 9 of those and also flags 99 good items. Among the 108 flagged items, only 9 are faulty: about 8.3%.

Where it needs care

The example is hypothetical. Real updates depend on reliable base rates and likelihoods, and the evidence must have nonzero probability under the model.

Historical Context

Thomas Bayes' work on inverse probability was published after his death in 1763. Pierre-Simon Laplace developed the approach more broadly.

Real-World Applications

  • Interpret diagnostic test results.
  • Update forecasts as observations arrive.

Further reading

  • Further reading: Bayes' theorem
Difficulty:Beginner
Delta-Xi LogoDelta Xi

A place for good ideas, on a shirt or off the page.

Say hello

Explore

  • Shop all
  • Mathematics T-shirts
  • Accessories
  • Learn
  • Our story

Here to help

  • Contact
  • Size & care questions
  • Shipping & returns
  • Your orders
  • Track an order

Keep in touch

  • Instagram
  • Discord
  • Telegram
  • Affiliate programme

© 2026 Delta Xi. Prices in USD.

PrivacyTerms

Your cookie choices

Essential cookies keep your basket and sign-in working. Optional cookies help us understand visits and measure ads. Privacy details.

Related Products

Mathematics-inspired apparel

View All
Fourier Transform T-Shirt

Fourier Transform T-Shirt

$41.00

Gaussian Function T-Shirt

Gaussian Function T-Shirt

$41.00

Perceptron T-Shirt

Perceptron T-Shirt

$41.00

Taylor Expansion T-Shirt

Taylor Expansion T-Shirt

$41.00

Related Concepts

📐

Central limit theorem

Why averages can look normal even when individual

I=\int_a^b f(x)\,dx

Definite Integral

Calculate the area under a curve between two point

f'(x)=\lim_{h \to 0} \frac{f(x+h)-f(x)}{h}

Definition of Derivative

The instantaneous rate of change of a function