P(B)=\sum_iP(B\mid A_i)P(A_i)Variables
- Define every symbol and unit before substitution.
- Check the domain, shape, and convention required by the formula.
How to use this formula
Computes an event probability over a partition of cases.
Important notes
- Verify assumptions and units before applying the expression.
- Keep exact values until the final rounding step when possible.
Quick example
Use the law of total probability with a small known example, then verify the result independently.
Applicability, worked calculation, and verification
Assumptions and domain checks
- For the Law of Total Probability, verify assumptions and units before applying the expression.
- 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
Use the law of total probability with a small known example, then verify the result independently.
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
- Check the domainMatch the variables and assumptions to the problem before substituting values.
- Copy the exact notationPreserve grouping, signs, and exponents in
P(B)=\sum_iP(B\mid A_i)P(A_i). - 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
- Introductory Statistics 2eOpenStax, Rice University — Reviewed probability and statistics definitions, notation, and formulas.
Frequently asked questions
What is the Law of Total Probability used for?
Computes an event probability over a partition of cases.
Can I copy this formula as LaTeX?
Yes. Copy P(B)=\sum_iP(B\mid A_i)P(A_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.