Exercise · ZW-INCLUSION-EXCLUSION-PRINCIPLE-007 · ★★☆ Intermediate
If \(|A\cup B|=|A|+|B|\), what follows?
Choose one option.
A \(A\subseteq B\) B \(A\cap B=\emptyset\) C \(A=B\) D \(|A|=|B|\)
Show answer
← Back to the question
Explanation The formula says \(|A\cup B|=|A|+|B|-|A\cap B|\); for it to match, \(|A\cap B|=0\), i.e. the sets are disjoint.
It counts the elements of the union of finite sets \(A\), \(B\), \(C\), … by adding their sizes and correcting what was counted too often in the intersections.
\[\begin{aligned}|A\cup B|&=|A|+|B|-|A\cap B|\\|A\cup B\cup C|&=|A|+|B|+|C|\\&\quad-|A\cap B|-|A\cap C|-|B\cap C|\\&\quad+|A\cap B\cap C|\end{aligned}\]
More practice problems: inclusion-exclusion principle ZW-INCLUSION-EXCLUSION-PRINCIPLE-001 If |A|=12, |B|=9 and |A∩ B|=4, what is |A∪ B|?ZW-INCLUSION-EXCLUSION-PRINCIPLE-002 Of 30 students, 18 play soccer, 15 play basketball and 7 play both. How many play neither?ZW-INCLUSION-EXCLUSION-PRINCIPLE-003 How many integers from 1 to 100 are divisible by 2 or by 3?ZW-INCLUSION-EXCLUSION-PRINCIPLE-004 How many integers from 1 to 100 are divisible by 2, 3 or 5?ZW-INCLUSION-EXCLUSION-PRINCIPLE-005 How many integers from 1 to 100 are divisible by neither 2 nor 3?ZW-INCLUSION-EXCLUSION-PRINCIPLE-006 Suppose |A|=10, |B|=8, |C|=6, |A∩ B|=3, |A∩ C|=2, |B∩ C|=1 and |A∩ B∩ C|=1. What is |A∪ B∪ C|?ZW-INCLUSION-EXCLUSION-PRINCIPLE-008 How many binary strings of length 8 start with 1 or end with 00?ZW-INCLUSION-EXCLUSION-PRINCIPLE-009 If |A∪ B|=20, |A|=14 and |B|=11, what is |A∩ B|?