tableAlgebra of SetsThe source groups the standard algebraic laws of sets before counting formulas.LawFormulaeCommutative(A∪B)=B∪A;A∩B=B∩A(A\cup B)=B\cup A;\quad A\cap B=B\cap A(A∪B)=B∪A;A∩B=B∩AAssociative(A∪B)∪C=A∪(B∪C);(A∩B)∩C=A∩(B∩C)(A\cup B)\cup C=A\cup(B\cup C);\quad (A\cap B)\cap C=A\cap(B\cap C)(A∪B)∪C=A∪(B∪C);(A∩B)∩C=A∩(B∩C)DistributiveA∪(B∩C)=(A∪B)∩(A∪C);A∩(B∪C)=(A∩B)∪(A∩C)A\cup(B\cap C)=(A\cup B)\cap(A\cup C);\quad A\cap(B\cup C)=(A\cap B)\cup(A\cap C)A∪(B∩C)=(A∪B)∩(A∪C);A∩(B∪C)=(A∩B)∪(A∩C)De Morgan(A∪B)′=A′∩B′;(A∩B)′=A′∪B′(A\cup B)'=A'\cap B';\quad (A\cap B)'=A'\cup B'(A∪B)′=A′∩B′;(A∩B)′=A′∪B′IdentityA∩U=A;A∪ϕ=AA\cap U=A;\quad A\cup\phi=AA∩U=A;A∪ϕ=AComplementA∪A′=U,A∩A′=ϕ,(A′)′=AA\cup A'=U,\quad A\cap A'=\phi,\quad (A')'=AA∪A′=U,A∩A′=ϕ,(A′)′=AIdempotentA∩A=A,A∪A=AA\cap A=A,\quad A\cup A=AA∩A=A,A∪A=A