Logic/De Morgan's laws

From Internet Web School

Jump to: navigation, search

Logic > De Morgan's laws

Contents

Contents

Overview

Definition of De Morgan's laws by truth table

0 means false, 1 means true, and ≡ means equivalent.

Case of "¬(P∧Q)" ≡ "¬P∨¬Q".

 P   Q   P∧Q   ¬P   ¬Q   ¬P∨¬Q   ¬(P∧Q) 
 0  0  0  1  1  1  1
 0  1  0  1  0  1  1
 1  0  0  0  1  1  1
 1  1  1  0  0  0  0

Case of "¬(P∨Q)" ≡ "¬P∧¬Q".

 P   Q   P∨Q   ¬P   ¬Q   ¬P∧¬Q   ¬(P∨Q) 
 0  0  0  1  1  1  1
 0  1  1  1  0  0  0
 1  0  1  0  1  0  0
 1  1  1  0  0  0  0


CAI Exercise

Personal tools
In other languages