ENCYCLOPEDIA 4U .com



Encyclopedia Home Page

Google
  Web Encyclopedia4u.com

 

De Morgan's laws

De Morgan's Laws (or De Morgan's theorem), named for nineteenth century logician and mathematician Augustus De Morgan, are two powerful rules of boolean algebra and set theory:

not (P and Q) = (not P) or (not Q)

not (P or Q) = (not P) and (not Q)

This law can be expressed using analogous set notation: this was done first by Charles Pierce:

De Morgan's laws, using logical operators, can be written:

De Morgan's theorem has profound applications in electrical engineering and discrete mathematics.

These can be proved simply: either carefully following the process of taking complements with a Venn diagram suffices or using a truth table like this:

p q | not(p or q) | not(p) and not(q)

+--------------+------------------ T T | F | F T F | F | F F T | F | F F F | T | T

p q | not(p and q) | not(p) or not(q)


+--------------+------------------ T T | F | F T F | T | T F T | T | T F F | T | T

This simple fact is used extensively in digital circuit design for manipulating the types of logic gates used by the circuit.





Content on this web site is provided for informational purposes only. We accept no responsibility for any loss, injury or inconvenience sustained by any person resulting from information published on this site. We encourage you to verify any critical information with the relevant authorities.



Copyright © 2005 Par Web Solutions All Rights reserved.
| Privacy

This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article "De Morgan's laws".