The set operations obey a list of laws that should look familiar: they are the laws of logic from Block 1, Unit 1, and the laws of Boolean algebra from Unit 3. Indeed (P(U),∪,∩,′,∅,U) is a Boolean algebra. These laws let us simplify set expressions and database queries.
The laws
Law
Union form
Intersection form
Logic version
Associative
A∪(B∪C)=(A∪B)∪C
A∩(B∩C)=(A∩B)∩C
∨, ∧ associative
Commutative
A∪B=B∪A
A∩B=B∩A
p∨q≡q∨p
Identity
A∪∅=A
A∩U=A
p∨F≡p, p∧T≡p
Complement
A∪A′=U
A∩A′=∅
p∨¬p≡T
Distributive
A∪(B∩C)=(A∪B)∩(A∪C)
A∩(B∪C)=(A∩B)∪(A∩C)
distributive laws
De Morgan
(A∪B)′=A′∩B′
(A∩B)′=A′∪B′
¬(p∨q)≡¬p∧¬q
De Morgan’s laws also hold for differences: A∖(B∪C)=(A∖B)∩(A∖C) and A∖(B∩C)=(A∖B)∪(A∖C).
The duality principle
The dual of A∪∅=A is A∩U=A; the dual of A∪(B∩C)=(A∪B)∩(A∪C) is A∩(B∪C)=(A∩B)∪(A∩C). So proving one law of each pair proves both.
How to prove a set identity
To prove X=Y for set expressions, use one of:
Element argument: show x∈X⇒x∈Y and x∈Y⇒x∈X.
Membership table: like a truth table, with 1 for “in” and 0 for “not in”; X=Y if their columns agree in every row.
Laws: transform X into Y step by step.
A Venn diagram is a good way to check or disprove an identity, but for a proof examiners expect one of the three methods above.
Key takeaways
Set laws mirror logic laws: ∪↔∨, ∩↔∧, ′↔¬, ∅↔F, U↔T.
De Morgan: (A∪B)′=A′∩B′, (A∩B)′=A′∪B′.
Dual: swap ∪↔∩ and ∅↔U.
Prove identities by element arguments, membership tables or laws; disprove with a counterexample.
Practice questions
Answer on paper first, then check. The explanation matters more than the letter you chose.
Question 6 · short answer
Prove A∩(B∪C)=(A∩B)∪(A∩C) by an element argument.
Show worked answer
x∈A∩(B∪C) ⟺ x∈A and (x∈B or x∈C) ⟺ (x∈A and x∈B) or (x∈A and x∈C) [distributive law of logic] ⟺ x∈A∩B or x∈A∩C ⟺ x∈(A∩B)∪(A∩C). Since each step is an equivalence, both sets have exactly the same elements, so they are equal.
MCA Online notes are made for reading on screen. Open https://mcastudy.online/mcs-212/sets-relations-and-functions/laws-of-set-algebra-and-duality/ to read this page.