Conditional Probability, Independence, and Trees
Scope Label
Core 9758. This note develops the second layer of H2 probability: how probabilities change after information is given, how multi-stage processes are represented, and what independence means.
Use it with the hub Probability.
Conditional Probability as a Reduced Sample Space
Conditional probability means probability after some information is known.
The probability of given is
This formula should be read conceptually:
restrict attention to the part of the sample space where occurred, then ask what proportion also lies in .
Caption: Conditional probability changes the reference universe from the whole sample space to the event that is already known to have occurred.
Example: Die Reduced Sample Space
A fair die is thrown. Let
Then
Given that occurred, the relevant sample space is no longer . It is only
Inside , the even outcomes are . Hence
Caption: Conditioning on means only the outcomes inside remain relevant.
Why and Are Different
The expressions and use the same overlap , but they divide by different reference spaces:
So they are generally not equal.
Caption: and use the same overlap but different reference spaces.
Bayes’ Theorem
Bayes’ theorem is a way to reverse a conditional probability when the reverse direction is easier to model.
Starting from
and also
we get
This is useful when a question gives information such as a test result and asks for the probability of the underlying cause. The denominator must refer to the total probability of observing , often found by splitting into cases.
General Multiplication Rule
Starting from
we get
Equivalently,
This is the general multiplication rule. It does not require independence.
Caption: The multiplication rule can be read as the probability of moving along a path into and then into within .
Tree Diagrams
Tree diagrams are useful for multi-stage experiments, especially when probabilities change from one stage to the next.
The rule is:
- multiply along a branch to get a path probability
- add the path probabilities that satisfy the required event
For example, if a bag has changing composition after a draw without replacement, a tree diagram records the conditional probabilities on the second draw.
Caption: In a tree diagram, multiply along a branch to get a path probability, then add the relevant path probabilities for the required event.
Independence
Events and are independent if knowing that one occurred does not change the probability of the other.
This can be written as
provided .
Equivalently,
This product form is often the easiest way to test independence.
Caption: For independent events, the proportion of remains the same after restricting the sample space to .
Independence Is Not Mutual Exclusivity
Mutually exclusive events cannot happen together:
Independent events preserve probabilities:
These are different ideas. If and , mutually exclusive events cannot be independent, because knowing occurred makes impossible.
Caption: Mutually exclusive events concern overlap; independent events concern whether one event changes the probability of the other.
Choosing the Right Representation
Use the representation that matches the structure:
| Structure | Representation |
|---|---|
| Two categorical variables | table |
| Event overlap | Venn diagram |
| Stages with changing probabilities | tree diagram |
| Selection from equally likely outcomes | counting |
| Given information | conditional probability |
Caption: A disciplined probability solution moves from experiment to sample space, event definition, representation, and calculation.
Worked Core Examples
Example 1: Conditional probability
Suppose
Then
Example 2: Multiplication rule
If
then
Example 3: Independence test
Suppose
Since
the events are independent.
Example 4: Tree path probability
A test has two stages. Suppose the probability of passing stage 1 is , and the probability of passing stage 2 given stage 1 is passed is .
The probability of passing both stages is
This is multiplication along a path.
Common Pitfalls
- Treating and as the same.
- Using without independence.
- Forgetting that tree branches after the first stage are conditional probabilities.
- Adding branch probabilities when the paths should be multiplied.
- Confusing mutually exclusive events with independent events.
- Thinking a Venn diagram can visually prove independence without calculation.