Give every value except the one you want, or write the letter with a question mark, for example a=0.5, b=0.4, J=0.2 or U=0.8, a=0.5, b=0.4. Every answer is checked by putting it back into the formula.
U = a + b − J
U : P(A or B) a : P(A) b : P(B) J : P(A and B)
On this page
Before you start
This page is easier if you are comfortable with:
What Union of two events (addition rule) means
When events can both happen, adding P ( A ) and P ( B ) counts the overlap twice. Subtracting P ( A ∩ B ) corrects this.
A Venn diagram makes this clear: the union is the whole of both circles, and the intersection is where they overlap.
If the events are mutually exclusive, P ( A ∩ B ) = 0 and the rule reduces to simple addition. For events that cannot overlap see mutually exclusive events, the complement is probability of not A , and the intersection uses conditional probability and the multiplication rule .
This page is part of Conditional probability and Venn diagrams in Probability . Topics that work alongside it: Mutually exclusive events , Conditional probability , Probability of not A , Dependent events (tree diagram) , Independent events and Sum of probabilities .
What is it used for? The addition rule says that P(A or B) = P(A) + P(B) − P(A and B). Subtracting the overlap stops it being counted twice.
Finding the chance that at least one of two events happens. Using Venn diagrams. Finding a missing probability from the others.
How to use the union of two events (addition rule) formula
Find P ( A ) , P ( B ) and P ( A ∩ B ) . Add P ( A ) and P ( B ) . Subtract the overlap. Check that the result is between 0 and 1.
Diagram A B A ∩ B S P(A or B) = P(A) + P(B) − P(A and B). The overlap is counted once in A and once in B, so it is subtracted once.
Worked examples
Each example below was worked out by the solver on this page and checked by substituting the answer back into the formula.
Example 1: find P(A or B) P ( A ) = 0.5 , P ( B ) = 0.4 and P ( A ∩ B ) = 0.2 . Find P ( A ∪ B ) .
Try this in the solver: a=0.5, b=0.4, J=0.2
Union of two events (addition rule) Answer checked
The formula
Union of two events (addition rule). In this formula U is the P(A or B), a is the P(A), b is the P(B), J is the P(A and B).
U = a + b − J
What we know and what we want
We know a = 0.5 , b = 0.4 , J = 0.2 and we want to find U , the P(A or B).
Substitute the numbers
U = 0.5 + 0.4 − 0.2
Calculate
U = 0.7
Check by substituting back
Put all the values back into the original formula: both sides should match.
0.7 = 0.5 + 0.4 − 0.2 ✓
Example 2: find the overlap P ( A ∪ B ) = 0.8 , P ( A ) = 0.5 and P ( B ) = 0.4 . Find P ( A ∩ B ) .
Try this in the solver: U=0.8, a=0.5, b=0.4
Union of two events (addition rule) Answer checked
The formula
Union of two events (addition rule). In this formula U is the P(A or B), a is the P(A), b is the P(B), J is the P(A and B).
U = a + b − J
What we know and what we want
We know U = 0.8 , a = 0.5 , b = 0.4 and we want to find J , the P(A and B).
Rearrange for J
Rearrange the formula to make J the subject.
J = a + b − U
Substitute the numbers
J = 0.5 + 0.4 − 0.8
Calculate
J = 0.1
Check by substituting back
Put all the values back into the original formula: both sides should match.
0.8 = 0.5 + 0.4 − 0.1 ✓
Example 3: find P(A) P ( A ∪ B ) = 0.7 , P ( B ) = 0.4 and P ( A ∩ B ) = 0.2 . Find P ( A ) .
Try this in the solver: U=0.7, b=0.4, J=0.2
Union of two events (addition rule) Answer checked
The formula
Union of two events (addition rule). In this formula U is the P(A or B), a is the P(A), b is the P(B), J is the P(A and B).
U = a + b − J
What we know and what we want
We know U = 0.7 , b = 0.4 , J = 0.2 and we want to find a , the P(A).
Rearrange for a
Rearrange the formula to make a the subject.
a = U − b + J
Substitute the numbers
a = 0.7 − 0.4 + 0.2
Calculate
a = 0.5
Check by substituting back
Put all the values back into the original formula: both sides should match.
0.7 = 0.5 + 0.4 − 0.2 ✓
Special cases
A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.
P(A or B) 0.5 + 0.4 − 0.2 = 0.7
Subtract the overlap once.
The overlap U = 0.8, a = 0.5, b = 0.4: J = 0.1
J = a + b − U.
Finding P(A) U = 0.7, b = 0.4, J = 0.2: a = 0.5
a = U − b + J.
Neither P(neither) = 1 − 0.7 = 0.3
The complement of the union.
Word problems
P(A or B) = P(A) + P(B) − P(A and B). The overlap is counted twice, so subtract it once.
P(A or B) P(A) = 0.5, P(B) = 0.4 and P(A and B) = 0.2. Find P(A or B).
Add 0.5 + 0.4 = 0.9 Subtract the overlap 0.9 − 0.2 = 0.7 Check: at least as big as P(A) ✓ 0.7.
The overlap P(A or B) = 0.8, P(A) = 0.5 and P(B) = 0.4. Find P(A and B).
Rearrange J = a + b − U Calculate 0.9 − 0.8 = 0.1 Check: 0.5 + 0.4 − 0.1 = 0.8 ✓ 0.1.
Finding P(A) Higher P(A or B) = 0.7, P(B) = 0.4 and P(A and B) = 0.2. Find P(A).
Rearrange a = U − b + J Calculate 0.7 − 0.4 + 0.2 = 0.5 Check: 0.5 + 0.4 − 0.2 = 0.7 ✓ 0.5.
Subjects Higher In a class 60% like maths, 50% like science and 30% like both. What fraction like at least one, and what fraction like neither?
At least one 0.6 + 0.5 − 0.3 = 0.8 Neither 1 − 0.8 = 0.2 Check: 0.8 + 0.2 = 1 ✓ 0.8 and 0.2.
Common mistakes
Forgetting the overlap 0.5 + 0.4 = 0.9 ✗
0.5 + 0.4 − 0.2 = 0.7 ✓
The overlap is counted twice.
Subtracting twice 0.5 + 0.4 − 0.2 − 0.2 ✗
subtract once ✓
Only one copy is extra.
Adding the overlap 0.5 + 0.4 + 0.2 = 1.1 ✗
0.5 + 0.4 − 0.2 ✓
Subtract it.
Multiplying 0.5 × 0.4 = 0.2 ✗
0.5 + 0.4 − 0.2 ✓
“Or” adds.
Exam tips
U = a + b − J.
Draw a Venn diagram.
Exclusive: J = 0.
Neither = 1 − U.
Check U ≤ 1.
Practice questions
Try each one on paper, then open the answer. Use the solver above to see the full working.
1. P(A) = 0.6, P(B) = 0.3, P(A and B) = 0.1. Find P(A or B) Foundation 0.8
2. P(A) = 0.5, P(B) = 0.5, P(A and B) = 0.25. Find P(A or B) Foundation 0.75
3. P(A) = 0.4, P(B) = 0.35, P(A and B) = 0.15. Find P(A or B) Foundation 0.6
4. P(A or B) = 0.9, P(A) = 0.6, P(B) = 0.5. Find P(A and B) Higher 0.2
5. P(A or B) = 0.75, P(B) = 0.4, P(A and B) = 0.1. Find P(A) Higher 0.45
6. P(A or B) = 0.85. Find P(neither) Higher 0.15
Practice generator Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.
Foundation Higher Mixed New question
Solve: …
The practice generator needs JavaScript.
Key terms
Union A or B (or both). Intersection A and B. Overlap Outcomes in both. Venn diagram Overlapping circles. Complement Not in the union. Addition rule U = a + b − J.
Frequently asked questions
What is the addition rule? P(A or B) = P(A) + P(B) − P(A and B).
Why subtract the overlap? It is counted twice.
What if the events are exclusive? The overlap is 0.
How do I find P(neither)? 1 − P(A or B).
Which page covers exclusive events? mutually exclusive events.
Which page covers P(not A)? probability of not A.