De Morgan's Laws for Sets
De Morgan's laws say that the complement of a union is the intersection of the complements, and vice versa. They are used to simplify set expressions, in probability (the chance that neither event happens) and in database queries.
LaTeX
(A\cup B)^{c}=A^{c}\cap B^{c},\qquad (A\cap B)^{c}=A^{c}\cup B^{c}Variables
- subsets of a universal set U
- complement relative to U
- union and intersection
Example
, , . Check the first law.
- , so .
- .
Answer: Both sides are , with elements.