Unit 20 - Lecture 03
Unit 20 - Lecture 03
Unit 20 - Lecture 03
Lecture 3
Boolean Algebra, De Morgan's theorem
Boolean Algebra
Mathematics of Digital Systems
• Variables – Symbols use to represent logical quantities. Can have the values 0 or 1
ഥ , C, B
eg: A, B, A ഥ
Boolean Addition
• Operation of which logic gate is equivalent to this?
ഥ , A + B + Cത ,
Eg: A+B , A+B ഥ+B+C+D
A ഥ
ഥ+C+D
Determine the values of A, B, C and D that make the sum term A + B ഥ=0
Boolean Multiplication
• Operation of which logic gate is equivalent to this?
ഥ , ABCത ,
Eg: AB , AB ഥ D
ABC ഥ
ഥ CD
Determine the values of A, B, C and D that make the sum term AB ഥ=1
A=
B=
C=
D=
Boolean Addition Boolean Multiplication
• Equivalent to OR operation • Equivalent to AND operation
• 0+0 = 0 • 0.0 = 0
• 0+1 = 1 • 0.1 = 0
• 1+0 = 1 • 1.0 = 0
• 1+1 = 1 • 1.1 = 1
Laws & Rules of Boolean Algebra
Laws :
1. Commutative Law
2. Associative Law
3. Distributive Law
Associative Law
Distributive Law
Rules of Boolean Algebra
1. A + 0 =A 7. A . A = A
2. A + 1 = 1 ഥ=0
8. A . A
3. A . 0 = 0 ഥ =A
9. A
4. A . 1 = A 10. A + AB =A
5. A + A =A ഥB=A+B
11. A + A
ഥ =1
6. A + A 12. (A+B)(A+C) = A + BC
Construct the truth tables & verify the rules 10, 11 & 12
A B C A+B A+C (A+B)(A+C) A+BC
10. A + AB =A 0 0 0
ഥB=A+B 0 0 1
11. A + A
0 1 0
12. (A+B)(A+C) = A + BC 0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
De Morgan’s Theorems
1. The Complement of a product of variables is equal to the sum of the complements of
the variables.
The complement of ANDed variables is equal to the OR of the complements of individual
variables.
XY=ഥ
X +ഥ
Y
2. The Complement of a sum of variables is equal to the product of the
complements of the variables.
The complement of 2 or more ORed variables is equivalent to the AND of the complements
of individual variables.
X + Y = ഥX. Y
ഥ
Example:
ഥ B(C + D
Apply De Morgan’s theorem to the expression A ഥ) + E
ഥB C + D
A ഥ +E Apply theorem 2
ഥ
= AB(C ഥ) . E
+D ഥ Apply theorem 1
ഥ + C+D
= ( AB ഥ ). E
ഥ Apply theorem 1 & theorem 2
ഥ+B
= (( A ഥ))E
ഥ ) +( Cത . D ഥ
ത 𝐄ത
ഥ + 𝐂D)
=(A+𝐁
1.AB+ A(B+C) + B(B+C)
ഥ + A.(B + C) + B.(B + C)
2.AB
1.[AB ഥB
ഥ(C+BD) + A. ഥ]C
2.[AB(C+BD) + AB]CD
Standard forms of Boolean Expressions
1. SOP – Sum of Products
2. POS – Product of Sums
The Sum of Products (SOP)
▪ Two or more Product terms are summed with Boolean Addition.
▪ Can be expressed with 1 OR gate & 2 or more AND gates.
ഥC + ABCത + A
ABC + AB ഥ BC
A B C
0 0 0 A’B’C’
0 0 1 A’B’C
0 1 0 A’BC’
0 1 1 A’BC
1 0 0 AB’C’
1 0 1 AB’C
1 1 0 ABC’
1 1 1 ABC
Standard SOP form : All the variables in the domain appear in each product
term.
ഥ BCത + (A+B
A ഥ)(B+Cത +AB
ഥ)
Convert to standard POS form
(A+B’) (B+C)
0 0 0 1
0 0 1 0
0 1 0 1
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 0
1 1 1 0
Thank You!