Probability formula reference

Law of Total Probability

Combines conditional probabilities across a partition.

Open in editor
LaTeXP(A)=\sum_i P(A\mid B_i)P(B_i)

Variables

  • Bᵢ: mutually exclusive exhaustive events

How to use this formula

Combines conditional probabilities across a partition.

Important notes

  • Every Bᵢ should have positive probability when conditioning.

Quick example

Useful before applying Bayes theorem.

Applicability, worked calculation, and verification

Assumptions and domain checks

  • Every Bᵢ should have positive probability when conditioning.
  • For the Law of Total Probability, the index variable, lower bound, upper bound, and any empty-sum or empty-product convention must be clear.
  • The event model, conditioning information, independence assumptions, and probability range must match the problem.

Worked example

Input

Output

Useful before applying Bayes theorem.

Common mistakes

  • Do not omit the index or bounds in Law of Total Probability; changing either one changes which terms are included.
  • Do not assume events are independent or mutually exclusive unless the problem states or proves that condition.

Continue the workflow

Use Law of Total Probability in your own work

  1. Check the domainMatch the variables and assumptions to the problem before substituting values.
  2. Copy the exact notationPreserve grouping, signs, and exponents in P(A)=\sum_i P(A\mid B_i)P(B_i).
  3. Edit or convertOpen the expression in the LaTeX editor, then export it for your document or web page.

Review and verification

Last reviewed: 2026-07-23

Automated quality check: Kept noindex until the missing evidence is supplied.

Formula references

Frequently asked questions

What is the Law of Total Probability used for?

Combines conditional probabilities across a partition.

Can I copy this formula as LaTeX?

Yes. Copy P(A)=\sum_i P(A\mid B_i)P(B_i) or open it in the LaTeX editor.

What should I check before using it?

Confirm that each variable, unit, domain restriction, and assumption matches the problem.

Reuse, attribution, and correction

Share this reference without losing its source

Copy a citation, permanent link, Markdown link, or self-contained embed card. Each reusable format points readers back to the maintained canonical page.

Report an issue

Search the whole reference

Symbols, formulas, guides, tools and commands

Start typing to search.

move · Enter open · Esc close