Complement and Counting

Complement

\(A'=U-A\), all elements of U not in A.

Laws

  • \((A')'=A\), \(A\cup A'=U\), \(A\cap A'=\varnothing\).
  • De Morgan: \((A\cup B)'=A'\cap B'\), \((A\cap B)'=A'\cup B'\).

Counting with sets

\(n(A\cup B)=n(A)+n(B)-n(A\cap B)\). For three sets: \(n(A\cup B\cup C)=n(A)+n(B)+n(C)-n(A\cap B)-n(B\cap C)-n(A\cap C)+n(A\cap B\cap C)\).

Example 1. \(U=\{1,\dots,10\}\), \(A=\{1,\dots,6\}\). Find \(A'\).
\(\{7,8,9,10\}\).Example 2. In a class 30 play cricket, 20 play football, 10 play both. How many play at least one?
\(30+20-10=40\).Example 3. In a group of 100, 60 like tea, 50 like coffee, 20 like neither. How many like both?
At least one: \(100-20=80\); both \(=60+50-80=30\).Example 4. Verify De Morgan for \(U=\{1..6\},A=\{1,2\},B=\{2,3\}\).
\((A\cup B)'=\{4,5,6\}\); \(A'\cap B'=\{3,4,5,6\}\cap\{1,4,5,6\}=\{4,5,6\}\) ✓.

Common mistakes

  • Forgetting to subtract the overlap and double counting.

Revision notes

  • De Morgan; inclusion–exclusion.
  • Complement: \(A'=U-A\), all elements of U not in A.
  • Laws: \((A')'=A\), \(A\cup A'=U\), \(A\cap A'=\varnothing\).
  • Counting with sets: \(n(A\cup B)=n(A)+n(B)-n(A\cap B)\). For three sets: \(n(A\cup B\cup C)=n(A)+n(B)+n(C)-n(A\cap B)-n(B\cap C)-n(A\cap C)+n(A\cap B\cap C)\).

Avoid these mistakes:

  • Forgetting to subtract the overlap and double counting.

Formulas

Power set size
\[ n(P(A))=2^{n(A)} \]
Union
\[ n(A\cup B)=n(A)+n(B)-n(A\cap B) \]
De Morgan
\[ (A\cup B)'=A'\cap B',\ (A\cap B)'=A'\cup B' \]

Practice questions (MCQ)

1. (A ∪ B)′ =

2. (A ∩ B)′ =

3. A ∪ A′ =

4. A ∩ A′ =

5. 30 play cricket, 20 football, 10 both. At least one:

6. In 100 people, 60 tea, 50 coffee, 20 neither. Both:

7. (A′)′ =

8. If n(A)=20, n(B)=15, n(A∩B)=5 then n(A∪B)=

9. U = {1..10}, A = {1..6}: A′ =

10. If A ⊆ B then B′ ⊆

Written questions

1. In a school of 120, 70 study French, 60 German, 20 both. How many study neither?

Show answer
At least one: 70+60−20=110; neither 120−110=10.

2. State De Morgan's laws.

Show answer
(A∪B)′ = A′∩B′ and (A∩B)′ = A′∪B′.

3. In a survey of 200 people, 120 read newspaper P, 90 read Q, 60 read R, 40 read P and Q, 30 read Q and R, 25 read P and R, 15 read all three. How many read at least one?

Show answer
120+90+60−40−30−25+15 = 190.
Content hidden. Please return to this page and click here to continue.