Inclusion–Exclusion for Two Sets

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Thames
T
Thames
Community Contributor
Quizzes Created: 7682 | Total Attempts: 9,547,133
| Questions: 20 | Updated: Dec 17, 2025
Please wait...
Question 1 / 20
0 %
0/100
Score 0/100
1) Which formulas correctly represent the size of the union of two finite sets A and B?

Explanation

|A ∪ B| = |A| + |B| − |A ∩ B| is the correct formula because adding |A| and |B| counts every element of A and every element of B but counts shared elements twice, so subtracting the size of the intersection once removes that double count and produces the true size of the union.
Submit
Please wait...
About This Quiz
Inclusionexclusion For Two Sets - Quiz

Are you ready to make sense of how two sets overlap? In this quiz, you’ll explore how the inclusion–exclusion principle helps you calculate unions and intersections with confidence. You’ll practice identifying shared elements, work through step-by-step counting situations, and see how the formula simplifies real problems. By the end, you’ll... see morefeel more comfortable reasoning through set relationships and avoiding double-counting errors.
see less

2)
You may optionally provide this to label your report, leaderboard, or certificate.
2) In which situations would double-counting occur if we added |A| + |B| directly?

Explanation

Double-counting occurs whenever an element belongs to both sets, such as students who like both music and drama being counted once in the music group and once in the drama group, so adding |A| + |B| counts those shared students twice unless the intersection is subtracted.
Submit
3) Which pair of sets is disjoint?

Explanation

Two sets are disjoint when they share no common elements—their intersection is the empty set (∅).
A) Even ∩ Odd = ∅, since no number can be both even and odd.
C) Prime ∩ Composite = ∅ for integers ≥ 2, because a number cannot be both prime and composite.
B) Multiples of 2 and 4 overlap (e.g., 4, 8, 12 …), so not disjoint.
D) Even and Multiples of 3 overlap at numbers like 6, 12 …, so not disjoint.
Submit
4) If A ⊆ B, then which are true?

Explanation

If A ⊆ B, then everything in A is already inside B, so their union simply contains all elements of B giving |A ∪ B| = |B|, while their intersection contains exactly the elements of A giving |A ∩ B| = |A|, and the statements involving |A| for the union or |B| for the intersection would only hold if the two sets were actually equal.
Submit
5) Given |A| = 8, |B| = 6, |A ∩ B| = 2, find |A ∪ B|.

Explanation

Using the Inclusion–Exclusion formula |A ∪ B| = |A| + |B| − |A ∩ B| gives 8 + 6 − 2 = 12, which accounts for subtracting the 2 elements shared by both sets that were counted twice when adding 8 and 6.
Submit
6) When two sets have no common elements, |A ∩ B| = ?

Explanation

If two sets have no elements in common, then their intersection is the empty set ∅ and the size of ∅ is 0, so |A ∩ B| = 0.
Submit
7) Which are always true about |A ∪ B| = |A| + |B| − |A ∩ B|?

Explanation

From |A ∪ B| = |A| + |B| − |A ∩ B| we know the union cannot exceed the total |A| + |B| because a non-negative intersection is subtracted, and |A ∩ B| must be less than or equal to both |A| and |B| since the intersection is a subset of each, and therefore cannot exceed either set in size.
Submit
8) If |A| = 15, |B| = 12, and |A ∪ B| = 20, then |A ∩ B| = ?

Explanation

Using |A ∩ B| = |A| + |B| − |A ∪ B|, we compute 15 + 12 − 20 = 7, meaning 7 elements are counted in both sets because subtracting the union from the total of both individual counts isolates the overlap.
Submit
9) The Inclusion–Exclusion Principle applies only when sets are disjoint.

Explanation

This statement is false because Inclusion–Exclusion is specifically required when sets overlap to correct double-counting, but when sets are disjoint the intersection is zero and the formula simplifies to simple addition without needing any correction.
Submit
10) For disjoint sets, |A ∪ B| = |A| + |B|.

Explanation

This statement is true because disjoint sets have |A ∩ B| = 0, so substituting into the formula gives |A ∪ B| = |A| + |B| − 0, meaning the union is exactly the sum of the two separate sizes.
Submit
11) If |A| = 10, |B| = 12, |A ∩ B| = 4, then |A ∪ B| = 22.

Explanation

The statement is false because the correct computation is |A ∪ B| = 10 + 12 − 4 = 18, and saying 22 would mean ignoring the overlap of 4 elements, leading to double-counting them.
Submit
12) The same formula works for probabilities: P(A ∪ B) = P(A) + P(B) − P(A ∩ B).

Explanation

This statement is true because probability behaves like a normalized version of set size, so the probability of A or B occurring is P(A) + P(B) minus P(A ∩ B) to remove the probability of outcomes counted in both events.
Submit
13) |A ∩ B| can never be larger than |A| or |B|.

Explanation

This statement is true because A ∩ B is a subset of A and also a subset of B, and a subset can never contain more elements than the set it belongs to, so |A ∩ B| ≤ |A| and ≤ |B| always holds.
Submit
14) If A = {1,2,3} and B = {3,4,5}, then |A ∩ B| = 1.

Explanation

The statement is true because A = {1, 2, 3} and B = {3, 4, 5} share exactly the element 3, so their intersection is {3} and therefore |A ∩ B| = 1.
Submit
15) The principle of ____ and ____ prevents double-counting when combining sets.

Explanation

The missing words are Inclusion and Exclusion because we first include all elements of both sets by adding their sizes and then exclude the elements counted twice by subtracting the size of the intersection, which prevents double-counting. 
Submit
16) If |A ∪ B| = 30, |A| = 18, |B| = 20, then |A ∩ B| = ____.

Explanation

Using |A ∩ B| = |A| + |B| − |A ∪ B|, we compute 18 + 20 − 30 = 8, meaning that 8 elements must be common to both sets because that is the amount necessary to reduce the union count down to 30 after adding the individual set sizes.
Submit
17) For disjoint sets, |A ∩ B| = ____.

Explanation

For disjoint sets the intersection contains no elements at all, so |A ∩ B| = 0 because no element belongs to both sets simultaneously.

Submit
18) The region common to both sets is called the ____.

Explanation

The region common to both sets is called the intersection because it contains exactly the elements that satisfy the condition of belonging to A and B at the same time.

Submit
19) If |A| = 9, |B| = 5, and |A ∪ B| = 11, then |A ∩ B| = ____.

Explanation

Using the formula |A ∩ B| = |A| + |B| − |A ∪ B| gives 9 + 5 − 11 = 3, meaning there are 3 elements counted in both sets and subtracting the union isolates that overlap.

Submit
20) The Inclusion–Exclusion Principle ensures that overlapping members are counted exactly ____.

Explanation

The Inclusion–Exclusion Principle ensures overlapping members are counted exactly once because adding |A| and |B| counts shared elements twice and subtracting |A ∩ B| removes one of those counts, leaving each element represented exactly once.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
Which formulas correctly represent the size of the union of two finite...
In which situations would double-counting occur if we added |A| + |B|...
Which pair of sets is disjoint?
If A ⊆ B, then which are true?
Given |A| = 8, |B| = 6, |A ∩ B| = 2, find |A ∪ B|.
When two sets have no common elements, |A ∩ B| = ?
Which are always true about |A ∪ B| = |A| + |B| − |A ∩ B|?
If |A| = 15, |B| = 12, and |A ∪ B| = 20, then |A ∩ B| = ?
The Inclusion–Exclusion Principle applies only when sets are...
For disjoint sets, |A ∪ B| = |A| + |B|.
If |A| = 10, |B| = 12, |A ∩ B| = 4, then |A ∪ B| = 22.
The same formula works for probabilities: P(A ∪ B) = P(A) + P(B) −...
|A ∩ B| can never be larger than |A| or |B|.
If A = {1,2,3} and B = {3,4,5}, then |A ∩ B| = 1.
The principle of ____ and ____ prevents double-counting when combining...
If |A ∪ B| = 30, |A| = 18, |B| = 20, then |A ∩ B| = ____.
For disjoint sets, |A ∩ B| = ____.
The region common to both sets is called the ____.
If |A| = 9, |B| = 5, and |A ∪ B| = 11, then |A ∩ B| = ____.
The Inclusion–Exclusion Principle ensures that overlapping members...
Alert!

Advertisement