Sum and product laws
Studying this course? Keep your progress in one place.
Key facts
- Sum law: ; for mutually exclusive events the last term is .
- Product law: ; for independent events .
- On a tree diagram multiply along a path and add between paths.
- On a Venn diagram fill the intersection first and check the regions add to the total.
- Without replacement the second probability changes; for 'at least one' use .
Events and the sum law
The sum law adds the two probabilities and subtracts the overlap, which was counted twice.
An event is a set of outcomes. means or (or both), means and , and is the complement (not ), with .
The sum law removes the overlap, which was counted twice.
If and are mutually exclusive, they cannot both happen, so and .
- Sum law
- Mutually exclusive
Worked example
, , . Find and the probability of neither.
- 1
Apply the sum law: .
- 2
Neither is the complement of .
, and , are mutually exclusive. What is ?
The product law and independence
The product law is ; for independent events it becomes .
The product law (multiplication law) is , where is the probability of given that has happened.
Events are independent if one happening does not change the chance of the other. Then .
To test independence, compare with : if they are not equal, the events are not independent.
- 1
A happens
The probability is P(A).
- 2
B happens, given A
The probability is P(B | A); if the events are independent this is just P(B).
- 3
Multiply
P(A ∩ B) = P(A) × P(B | A).
- Product law
- Independent events
Worked example
, , . Are and independent?
- 1
Multiply: .
- 2
Compare with .
Two fair coins are tossed. Which is the probability of two heads?
Venn diagrams
Work from the middle outwards: fill the intersection first, then the 'only' regions, then the outside.
A Venn diagram shows how many outcomes lie in each region.
Work from the middle outwards: fill the intersection first, then subtract it from each set total to get the 'only' regions, then find the outside region from the overall total.
Check that the regions add up to the total number of outcomes before reading off any probability.
Worked example
60 students: 35 study , 28 study , 15 study both. Find the number in each region and test for independence.
- 1
only and only .
- 2
Neither .
- 3
and .
- 4
Compare: , and .
In the example, how many students study neither subject?
Tree diagrams
Multiply along the branches to get the probability of a path, and add the paths that give the outcome you want.
A tree diagram shows a sequence of events. Each branch carries a probability, and the probabilities on branches leaving one point add to 1.
- Multiply along the branches to find the probability of a full path (the product law).
- Add the probabilities of the different paths that give the outcome you want, because the paths are mutually exclusive.
For a later stage, the branch probabilities may change depending on what has already happened.
- 1
Draw the branches
label each with its probability
- 2
Multiply along each path
gives the probability of that full path
- 3
Pick the paths you want
the ones that give the required outcome
- 4
Add those paths
they are mutually exclusive
Worked example
Machine (60% of items) is defective with probability and machine (40%) with probability . Find .
- 1
Path through : .
- 2
Path through : .
- 3
Add the two paths.
On a tree diagram, how do you find the probability of an outcome that can happen by two different paths?
Sampling with and without replacement
With replacement the draws are independent; without replacement the numbers fall and the second probability depends on the first.
With replacement, each item is returned before the next is taken, so the probabilities do not change and the draws are independent.
Without replacement, the item is not returned, so the number of items falls and the second probability depends on the first.
For at least one, it is usually quicker to use the complement: .
With replacement
- Probabilities do not change
- Draws are independent
- Both red:
Without replacement
- Numbers in the bag fall
- Second draw depends on the first
- Both red:
Worked example
5 red and 3 blue discs. Two are taken without replacement. Find , and .
- 1
Both red: .
- 2
Different colours: add both orders, .
- 3
At least one red is the complement of both blue: .
Which method uses the complement for "at least one"?
Try an exam question
Events and are independent, with and . Find (a) , (b) , (c) .
[4 marks]
- [1]Independent, so .
- [1].
- [1].
- [1].
That's the notes covered.
Carry on to the next subtopic.
Try a question
Find .
1 mark, marked against the mark scheme
Find .
1 mark, marked against the mark scheme