Skip to content
Part IA Michaelmas, Lent Term

Unions and Intersections

Binary Operations

Union

A∪B={x:x∈A∨x∈B}A \cup B = \{x : x \in A \lor x \in B\}

Intersection

A∩B={x:x∈A∧x∈B}A \cap B = \{x : x \in A \land x \in B\}

Properties

PropertyUnionIntersection
CommutativeA∪B=B∪AA \cup B = B \cup AA∩B=B∩AA \cap B = B \cap A
Associative(A∪B)∪C=A∪(B∪C)(A \cup B) \cup C = A \cup (B \cup C)(A∩B)∩C=A∩(B∩C)(A \cap B) \cap C = A \cap (B \cap C)
IdentityA∪∅=AA \cup \emptyset = AA∩U=AA \cap U = A
IdempotentA∪A=AA \cup A = AA∩A=AA \cap A = A

Distributive Laws

A∩(B∪C)=(A∩B)∪(A∩C)A \cap (B \cup C) = (A \cap B) \cup (A \cap C) A∪(B∩C)=(A∪B)∩(A∪C)A \cup (B \cap C) = (A \cup B) \cap (A \cup C)

Proof of the First

x∈A∩(B∪C)  ⟺  x∈A∧(x∈B∨x∈C)x \in A \cap (B \cup C) \iff x \in A \land (x \in B \lor x \in C)   ⟺  (x∈A∧x∈B)∨(x∈A∧x∈C)\iff (x \in A \land x \in B) \lor (x \in A \land x \in C)   ⟺  x∈(A∩B)∪(A∩C)\iff x \in (A \cap B) \cup (A \cap C)

Big Unions and Intersections

Notation

For an indexed family of sets {Ai}i∈I\{A_i\}_{i \in I}:

⋃i∈IAi={x:∃i∈I.x∈Ai}\bigcup_{i \in I} A_i = \{x : \exists i \in I. x \in A_i\}

⋂i∈IAi={x:∀i∈I.x∈Ai}\bigcap_{i \in I} A_i = \{x : \forall i \in I. x \in A_i\}

Examples

  • ⋃n∈N{0,1,…,n}=N\displaystyle\bigcup_{n \in \mathbb{N}} \{0, 1, \ldots, n\} = \mathbb{N}
  • ⋂n∈N{n,n+1,n+2,…}=∅\displaystyle\bigcap_{n \in \mathbb{N}} \{n, n+1, n+2, \ldots\} = \emptyset
  • ⋃n∈N{n}=N\displaystyle\bigcup_{n \in \mathbb{N}} \{n\} = \mathbb{N} (each {n}\{n\} is a singleton)

De Morgan’s Laws for Big Operations

(⋃i∈IAi)c=⋂i∈IAic\left(\bigcup_{i \in I} A_i\right)^c = \bigcap_{i \in I} A_i^c (⋂i∈IAi)c=⋃i∈IAic\left(\bigcap_{i \in I} A_i\right)^c = \bigcup_{i \in I} A_i^c

Verification

x∈(⋃i∈IAi)c  ⟺  ¬(∃i∈I.x∈Ai)x \in (\bigcup_{i \in I} A_i)^c \iff \neg(\exists i \in I. x \in A_i)   ⟺  ∀i∈I.x∉Ai\iff \forall i \in I. x \notin A_i   ⟺  ∀i∈I.x∈Aic\iff \forall i \in I. x \in A_i^c   ⟺  x∈⋂i∈IAic\iff x \in \bigcap_{i \in I} A_i^c

Distributivity of Big Operations

Big Union over Intersection

A∩(⋃i∈IBi)=⋃i∈I(A∩Bi)A \cap \left(\bigcup_{i \in I} B_i\right) = \bigcup_{i \in I} (A \cap B_i)

Big Intersection over Union

A∪(⋂i∈IBi)=⋂i∈I(A∪Bi)A \cup \left(\bigcap_{i \in I} B_i\right) = \bigcap_{i \in I} (A \cup B_i)

Empty Index Set

Convention

When I=∅I = \emptyset:

⋃i∈∅Ai=∅\bigcup_{i \in \emptyset} A_i = \emptyset ⋂i∈∅Ai=U\bigcap_{i \in \emptyset} A_i = U

Rationale: ∃i∈∅\exists i \in \emptyset is always false, so the union is empty.

For intersection: ∀i∈∅\forall i \in \emptyset is vacuously true, so every xx satisfies the condition. The intersection is the entire universe UU.

Set Difference

Definition

A∖B={x∈A:x∉B}A \setminus B = \{x \in A : x \notin B\}

Properties

  • A∖B=A∩BcA \setminus B = A \cap B^c
  • A∖A=∅A \setminus A = \emptyset
  • A∖∅=AA \setminus \emptyset = A
  • ∅∖A=∅\emptyset \setminus A = \emptyset

Symmetric Difference

A△B=(A∖B)∪(B∖A)A \triangle B = (A \setminus B) \cup (B \setminus A)

This is the set of elements in exactly one of AA or BB.


Summary

  • ∪\cup and ∩\cap are commutative, associative, and idempotent
  • ∪\cup distributes over ∩\cap and vice versa
  • Big unions ⋃i∈IAi\bigcup_{i \in I} A_i generalise to indexed families
  • De Morgan’s laws apply to complemented big unions/intersections