Conditional & Bayes formulas
Conditional, marginal and joint probability, and Bayes' theorem. 18 formulas for GATE DA Probability and Statistics, each with when to use it. Each is explained in the topic notes.
IAE Academy: Conditional, marginal and joint probability, and Bayes' theorem formulas (GATE DA)
All 18 Conditional & Bayes formulas
CONDITIONAL PROBABILITY
Defined when . For fixed , is itself a probability measure, so .
MULTIPLICATION RULE (TWO EVENTS)
The first form needs , the second needs . No independence is needed.
CHAIN RULE (MULTIPLICATION RULE FOR N EVENTS)
Used for sequential experiments such as draws without replacement. Needs , which makes every conditioning event positive.
COMPLEMENT AND SPLITTING
Always valid. The second identity splits by whether occurs; it is the two-part case of the law of total probability below.
UNION OF TWO EVENTS
Always valid. Given any three of , , and , it gives the fourth.
UNION OF THREE EVENTS (INCLUSION-EXCLUSION)
Always valid. Add the singles, subtract the pairs, add back the triple.
MARGINAL FROM THE JOINT
Sum over all values of the other variable. All cells of the table sum to 1.
CONDITIONAL FROM THE JOINT
Defined when . Fix the column of the conditioning value, then divide each cell in it by that column's total. For each fixed these conditionals sum to 1 over .
INDEPENDENCE OF TWO DISCRETE RANDOM VARIABLES
Each cell must equal the product of its row total and column total. One cell that fails is enough to show and are dependent.
MARGINAL AND CONDITIONAL DENSITIES (CONTINUOUS CASE)
For jointly continuous with joint density . Sums become integrals. The conditional density is defined where . Densities are not probabilities: probabilities come from integrating them, and for a continuous .
LAW OF TOTAL PROBABILITY
The must be mutually exclusive and exhaustive with . The simplest partition is : .
BAYES' THEOREM (TWO EVENTS)
Follows from the multiplication rule written both ways. Needs and .
BAYES' THEOREM OVER A PARTITION
is a partition with positive probabilities, and . The denominator is the law of total probability, so the posteriors sum to 1 over .
BAYES' THEOREM IN ODDS FORM
Posterior odds = likelihood ratio × prior odds. It needs , and . Convert back with probability = odds / (1 + odds).
BAYES WITH TWO CONDITIONALLY INDEPENDENT PIECES OF EVIDENCE
Valid when and are conditionally independent given and also given . In the example above, two positive tests give . Equivalently, apply Bayes once and use the first posterior as the prior for the second test.
INDEPENDENCE OF TWO EVENTS
The product form is the definition and needs no positivity condition. If and are independent, so are and , and , and and .
MUTUAL INDEPENDENCE OF THREE EVENTS
, , are mutually independent when this holds AND every pair is independent: , , . For events, the product rule must hold for every subcollection of two or more.
CONDITIONAL INDEPENDENCE
Events and are conditionally independent given when this holds, with . In general it neither implies nor is implied by ordinary independence.
Where this was asked: 2024 (1), 2025 (1), 2026 (1). See the 3 previous-year questions on Conditional & Bayes. This shows what was asked, not what will be asked.