Cardinality of sets

In case of two sets

A,BΩ
AB=A+B-AB
ΩAB=Ω-A-B+AB

In case of three sets

A,B,CΩ
ABC=A+B+C-AB-AC-BC+ABC
ΩABC=Ω-A-B-C+AB+AC+BC-ABC
Keywords: cardinality of sets