MathorynMathematical Formula Database

Set Theory & Logic

Distributive Laws for Sets

Intersection distributes over union and union distributes over intersection, unlike ordinary arithmetic where only one distributive law holds. These laws are used to simplify set and Boolean expressions and in proofs about events.

A∩(B∪C)=(A∩B)∪(A∩C),A∪(B∩C)=(A∪B)∩(A∪C)A\cap(B\cup C)=(A\cap B)\cup(A\cap C),\qquad A\cup(B\cap C)=(A\cup B)\cap(A\cup C)
LaTeXA\cap(B\cup C)=(A\cap B)\cup(A\cap C),\qquad A\cup(B\cap C)=(A\cup B)\cap(A\cup C)

Variables

A, B, CA,\ B,\ C
sets

Example

Check the first law for A={1,2,3,4}A=\{1,2,3,4\}, B={3,4,5}B=\{3,4,5\}, C={1,6}C=\{1,6\}.

  1. B∪C={1,3,4,5,6}B\cup C=\{1,3,4,5,6\}, so A∩(B∪C)={1,3,4}A\cap(B\cup C)=\{1,3,4\}.
  2. (A∩B)∪(A∩C)={3,4}∪{1}={1,3,4}(A\cap B)\cup(A\cap C)=\{3,4\}\cup\{1\}=\{1,3,4\}.

Answer: Both sides are {1,3,4}\{1,3,4\} (33 elements).

Related formulas