Boolean Algebra
Boolean Algebra
Boolean Algebra
Boolean Algebra
GCUF Sahiwal
Boolean Algebra
Variable
Complement
Literal
Boolean Addition &
Multiplication
Sum of literals
A B A B A BC
Sum term = 1 if any literal = 1
Sum term = 0 if all literals = 0
Boolean Multiplication
Product of literals
B A
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
AssociativeLaw 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 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 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
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