Continuous Law of Total Probability¶
Theorem¶
For continuous random variables and for which the conditional density exists,
for every except possibly on a set of zero length, for example at finitely many points.
The left side is the Marginal Probability Density Function of the response. It is recovered by averaging the conditional densities over the other variable’s marginal law.
Interpretation¶
The continuous law of total probability describes a two-stage model: first is drawn, then is drawn from the conditional density . The unconditional density of is then a weighted mixture of the conditional densities, with the density of as the weight.
For , each conditional density is a rectangle of height on : heights , , and for . A point lies under the rectangles with only, so with on the average is for . Values near lie under few rectangles, so the red marginal decreases.
Cut the range of into slices: each contributes . Raise and the sum becomes .
The formula is the law of total probability with the cases replaced by the values , the sum by an integral and by ; the slider above shows exactly this limit of sums. Since , it is also the computation of a marginal density from the joint density.
The same integral is the normalizing denominator in the continuous Bayes rule, and the same averaging applied to means returns as Adam’s law.
The integration range is easy to get wrong: is zero unless , so the integral runs from to . Integrating over all of would give the constant , which integrates to rather than ; checking that the result integrates to one catches such errors.
Key Results¶
- The event form is .
- Integrating the conditional density mixture over gives total probability one.
Examples¶
- For density on , for .
- If and , then , using the event form.
Prerequisites¶
Related Concepts¶
Sources¶
- Nicky van Foreest · Probability Distributions · Week 2
Aliases: continuous LOTP Symbols: delta, element of, integral, sum
Last updated: 20 October 2026 03:02
Continuous Law of Total ProbabilityContinuous Bayes RuleConditional Probability Density FunctionMarginal Probability Density FunctionBayes and Total Probability: Four FormsLaw of Total ProbabilityAdam’s Law: Total Expectation