Use a truth table to verify the first De Morgan law

To prove the first De Morgan law, we need to use the truth table for conjunctions, disjunctions, and negation of propositions.

Truth tables for conjunction, disjunctions and negation

Truth tables for conjunction and disjunction
Truth tables for conjunction and disjunction. Source: Discrete Mathematics and its Applications by Rosen.
Truth table for the negation of a proposition
Truth table for the negation of a proposition. Source: Discrete Mathematics and its Applications by Rosen.

Now we can start solving the exercise.

First De Morgan Law

The following propositional equivalence is the First De Morgan Law.

¬(p ∧ q) ≡ ¬p ∨ ¬q

Using the same analysis as in previous exercises, we have two propositional variables and five compound propositions. This means the truth table will have 4 rows and 7 columns.

pqp q¬(p q)¬p¬q¬p ¬q
TTTFFFF
TFFTFTT
FTFTTFT
FFFTTTT

Notice that I used the truth table for the conjunction, disjunction, and negation of propositions.

For instance, in the first row:

  • p ∧ q is T because p is T and q is T, and T∧T is T according to the truth table for the conjunction of two propositions.
  • ¬p is F because P is T, and according to the truth table for the negation of a proposition, ¬T is F.

After creating the truth table above, we can state that ¬(p ∧ q) is logically equivalent to ¬p ∨ ¬q because they have the same truth values.

This proves the first De Morgan Law.

You mustn’t forget to state your conclusion after you create the truth table. Also, you need to justify that conclusion. The truth table by itself don’t prove anything.

Related posts: