BooleanLogic U
BooleanLogic U
BooleanLogic U
2
DEFINITION:
Throughout this tutorial the X' form will be used and sometimes !X will be used.
VENN DIAGRAMS
Boolean Logic Expressions can be expressed figuratively using Venn Diagrams
Boolean Logic
Logic 0 Logic 1
False True
Off On
Low High
No Yes
Open switch Closed switch
Truth Tables
OR
AND
NOT
OR Operation
OR
AND
NOT
NAND
NOR
OR Gate
A
Describing Logic Circuits
Algebraically
Any logic circuits can be built from the three basic
building blocks: OR, AND, NOT
Example 1: x = A B + C
Example 2: x = (A+B)C
Example 3: x = (A+B)
Examples 1,2
Examples 3
Evaluating Logic-Circuit
Outputs
x = ABC(A+D)
x* 0 =0 Fallacy
x+1=1 Tautology
x*x=x Indempotence Law
x+x=x Indempotence Law
x*x’=0 Complementarity Law
x+x’=1 Complementarity Law
x” = x Involution Law
x+0=x
x* 1 =x
Boolean Theorems and Laws
(x+y)’=x’y’
Implications and alternative symbol for NOR function
(xy)’=x’+y’
Implications and alternative symbol for NAND function
Process of Demorganization:
(i) Complement entire function
(ii) Change all AND to OR and all OR to AND
(iii) Complement each of the individual variables
Demorgan’s Theorum
Demorgan’s Theorum
Universality of NAND Gates
Universality of NOR Gates