DLD - Lecture - 06
DLD - Lecture - 06
DLD - Lecture - 06
Lecture 06
Boolean Algebra
Variable
Complement
Literal
ABC
B A
A B
A.B A.B
B A
Associative Law
Associative Law for Addition
A + (B + C) = (A + B) + C
A A
A+(B+C)
A+B
B
B
(A+B)+C
B+C C
C
Associative Law
Associative Law for Multiplication
A.(B.C) = (A.B).C
A A
A.(B.C)
A.B
B
B
(A.B).C
B.C C
C
Distributive Law
A.(B + C) = A.B + A.C
A A
A.(B+C)
A.B
B
B
A A.B+A.C
B+C
C A.C
C
Rules of Boolean Algebra
1. A+0=A 7. A.A = A
2. A+1=1 8. A. A = 0
3. A.0 = 0 9. A= A
4. A.1 = A 10. A + A.B = A
5. A+A=A 11. A + A.B = A + B
6. A +A = 1 =A(1+B) + A’B =A+B
12 . (A+B).(A+C)
= A+B.C
Demorgan’s Theorems
First Theorem
A .B A B
A A
A.B A B
B B
Second Theorem
A B A .B
A A
A B A.B
B B
Demorgan’s Theorems
Any number of variables
X . Y .Z X Y Z
X Y Z X . Y .Z
Combination of variables
( A B .C ).( A .C B ) ( A B .C ) ( A .C B )
A .(B .C ) ( A .C ).B A .(B C ) ( A C ).B
A .B A .C A .B B .C
A .B A .C B .C
Duality Principle
Boolean equation remains valid if we take
the dual of the expressions on both sides of the
equals sign
The dual of an expression is obtained by
changing AND to OR and OR to AND
throughout (and 1s to 0s and 0s to 1s if they
appear in the expression)
Duality Principle
The duality principle ensures that "if we
exchange every symbol by its dual in a formula,
we get the dual result".
(a) 0 . 1 = 0: is a true statement asserting that
"false and true evaluates to false“
(b) 1 + 0 = 1: is the dual of (a): it is a true
statement asserting that "true or false evaluates
true."
Boolean Analysis of Logic Circuits
Boolean Algebra provides concise way to
represent operation of a logic circuit
Complete function of a logic circuit can be
determined by evaluating the Boolean
expression using different input combinations
Boolean Analysis of Logic Circuits
A
AB
B
AB C
C C
( AB C)D
D
AB+A(B+C)+B(B+C)
B
C
B B+AC
A
C