Skip to content

Mathematics · Ch 1 — Sets, Relations and Functions

Properties of Set Operations

1.2.1

Properties of Set Operations

These are the algebraic laws that union, intersection and complement obey (all quantifiers are "for all sets A,B,CA,B,C inside a fixed universal set UU"):

Commutative: A∪B=B∪AA\cup B=B\cup A; A∩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).

Distributive: A∪(B∩C)=(A∪B)∩(A∪C)A\cup(B\cap C)=(A\cup B)\cap(A\cup C); A∩(B∪C)=(A∩B)∪(A∩C)A\cap(B\cup C)=(A\cap B)\cup(A\cap C).

Identity: A∪∅=AA\cup\varnothing=A; A∩U=AA\cap U=A.

Idempotent: A∪A=AA\cup A=A; A∩A=AA\cap A=A.

Absorption: A∪(A∩B)=AA\cup(A\cap B)=A; A∩(A∪B)=AA\cap(A\cup B)=A.

De Morgan's Laws:

(A∪B)′=A′∩B′,(A∩B)′=A′∪B′,(A\cup B)'=A'\cap B',\qquad (A\cap B)'=A'\cup B',

A−(B∪C)=(A−B)∩(A−C),A−(B∩C)=(A−B)∪(A−C).A-(B\cup C)=(A-B)\cap(A-C),\qquad A-(B\cap C)=(A-B)\cup(A-C).

On symmetric difference: A Δ B=B Δ AA\,\Delta\,B=B\,\Delta\,A (commutative); (A Δ B) Δ C=A Δ (B Δ C)(A\,\Delta\,B)\,\Delta\,C=A\,\Delta\,(B\,\Delta\,C) (associative); A∩(B Δ C)=(A∩B) Δ (A∩C)A\cap(B\,\Delta\,C)=(A\cap B)\,\Delta\,(A\cap C) (intersection distributes over symmetric difference).

On ∅\varnothing and UU: ∅′=U\varnothing'=U; U′=∅U'=\varnothing; A∪A′=UA\cup A'=U; A∩A′=∅A\cap A'=\varnothing; A∪U=UA\cup U=U; A∩U=AA\cap U=A.

Cardinality (inclusion-exclusion). For finite sets:

n(A∪B)=n(A)+n(B)−n(A∩B);n(A\cup B)=n(A)+n(B)-n(A\cap B);

if A,BA,B are disjoint, n(A∪B)=n(A)+n(B)n(A\cup B)=n(A)+n(B). For three finite sets, …