De Morgan's Laws

De Morgan’s laws are a set of laws in logic, set theory, and other branches of mathematics. They allow us to write conjunction and disjunction, or set union and set intersection, solely is terms of the other. Basically, that “not dogs and cats” is the same as “not dogs or not cats”. We will look at these laws in Set Theory.

Watch the video and then answer the questions below.

Video not yet available


Key Points

DeMorgans laws can be expressed in English as:

  1. the complement of the union of two sets is the same as the intersection of their complements; and
  2. the complement of the intersection of two sets is the same as the union of their complements.

They can be written formally in set theory as follows:

\[ (A \cap B)^C = A^C \cup B^C \]

\[ (A \cup B)^C = A^C \cap B^C \]

De Morgans Laws in Propositional Logic

The same laws can be expressed in propositional logic

  • Conjunction can be expressed using negation and disjunction.
  • Disjunction can be expressed using negation and conjunction.

\[ \neg (P \wedge Q) \iff \neg P \vee \neg Q \]

\[ \neg (P \vee Q) \iff \neg P \wedge \neg Q \]


Questions

1. Check your knowledge

Set example for De Morgan’s Laws

Use the sets A and B with the Universe set U.

A = { 1, 2, 3, 4 }
B =       { 3, 4, 5, 6 }
U = { 1, 2, 3, 4, 5, 6, 7, 8, 9 }
  1. {}
  2. {}
  3. {}
  4. {}

Check Answers

Truth tables for De Morgan’s Laws
p q ¬(p∧q) ¬p ∨ ¬q)
T T
T F
F T
F F
p q ¬(p∨q) ¬p ∧ ¬q)
T T
T F
F T
F F

Check Answers


Summary

In this section we were introduced to De Morgans laws.