3 Conditional Probability and Independence
A progressive guide to conditional probability, multiplication, partitions, Bayes’ theorem, and the distinctions among different forms of independence.
Reading conditional probabilities
Probability answers can change when additional information becomes available. If the condition is event , the relevant reference set is no longer the entire sample space but the outcomes contained in . Thus, for ,
The notation is read “ given .” The order matters: generally differs from because the denominators are different.
For example, suppose of students take statistics, take computer science, and take both. Then
whereas
Takeaway: Always identify the event after the conditioning bar and use that event’s probability as the denominator.
Building joint probabilities
The follows by rearranging the definition of :
Because intersection is commutative, the same joint probability can also be written as
For a box containing 5 red balls and 3 blue balls, the probability of drawing two red balls without replacement is
The second draw has probability , not , because the first red ball is not replaced.
For a sequence of three events, the same idea gives
More generally, each factor conditions on all earlier events.
Takeaway: For sequential outcomes, multiply the probability of the first event by the appropriate at each later step.
Partitions and total probability
A divides the sample space into cases that do not overlap and together include every possible outcome. If form a , then any event can be split into disjoint pieces:
Adding the probabilities of these pieces and applying the produces the :
Consider three factories. Factory 1 supplies of products with a defect rate, Factory 2 supplies with a defect rate, and Factory 3 supplies with a defect rate. If is the event that a product is defective, then
The overall defect probability is therefore . This is a weighted average, not an unweighted average of the three defect rates.
Takeaway: When outcomes are divided into cases, calculate the contribution of each case and weight it by that case’s probability.
Reversing conditions with
reverses the direction of conditioning. Starting from the two forms of the joint probability,
and
equating them gives
Suppose the factory data above are known and a product is defective. The probability that it came from Factory 3 is
Factory 3 supplies only of products but accounts for about of defective products because its defect rate is highest. The calculation uses both the prior probability and the conditional rate .
A useful interpretation is
Takeaway: Do not reverse a by intuition alone; use and include the base rate.
Testing independence
Independence means that information about one event does not change the probability of another. The central test is
When the relevant conditional probabilities exist, independence is also characterized by
or equivalently
For two tosses of a fair coin, let be “the first toss is heads” and be “the second toss is heads.” Then
Since
the events are . Their complements are also in the corresponding pairings.
By contrast, satisfy . If both have positive probability, then , so they cannot be . On one die roll, “the result is 1” and “the result is 2” are mutually exclusive and therefore dependent.
Takeaway: Independence is an equality to check, while mutual exclusivity describes an impossible intersection; positive-probability are not .
From pairwise to
For three events, checking every pair is not always enough. requires
and
requires these pairwise conditions and also the three-way condition
Therefore, is weaker than . For a larger collection, requires the corresponding product rule for every nonempty subcollection, not merely for pairs.
A reliable workflow for probability problems is:
Define each event clearly.
Identify the direction of conditioning.
Look for a into cases.
Use the for sequences.
Use when the requested reverses the given direction.
Test independence instead of assuming it.
Check that every probability lies between and , and that probabilities over a complete sum to .
Final takeaway: changes the reference set, multiplication combines successive conditions, total probability combines partitioned cases, reverses conditioning, and independence must be established by factorization.