Lecture # 4A - Boolean Algebra and Logic Simplification Final Version
Lecture # 4A - Boolean Algebra and Logic Simplification Final Version
INFORMATION TECHNOLOGY
𝐴𝐵𝐶𝐷 =1
If A = 1, B= 0, C= 1, D = 0
𝐴 𝐵 𝐶 𝐷 = 1 . 0 . 1. 0 = 1
Related problem
Determine value of A and B that make the product term 𝐴 𝐵 = 1
Laws and Rules of Boolean Algebra
In pure mathematics, there are certain well-developed rules and
laws that must be followed in order to properly apply Boolean
Algebra.
Commutative Laws
1. A + 0 = A 7. A . A = A
2. A + 1 = 1 8. A . 𝐴 = 0
3. A . 0 = 0 9. 𝐴 = A
4. A . 1 = A 10. A + AB = A
5. A + A = A 11. A + 𝐴B = A + B
6. A + 𝐴 = 1 12. 𝐴 + 𝐵 𝐴 + 𝐶 = 𝐴 + 𝐵𝐶
Boolean expression Rules 1 through 9 will be viewed in terms of
their application to logic gates. Rules 10 to 12 will be derived in
terms of the simpler rules.
Laws and Rules of Boolean Algebra
Rules of Boolean Algebra
Laws and Rules of Boolean Algebra
Rules of Boolean Algebra
A B 𝐴B A + 𝐴B A+B
0 0 0 0 0
0 1 1 1 1
1 0 0 1 1
1 1 0 1 1
Laws and Rules of Boolean Algebra
Rules of Boolean Algebra
A B AB A + AB
0 0 0 0
0 1 0 0
1 0 0 1
1 1 1 1
Laws and Rules of Boolean Algebra
Rules of Boolean Algebra
Laws and Rules of Boolean Algebra
Rules of Boolean Algebra
Rule : (A + B)(A + C) = A + BC
= AA + AC + AB + BC
= A + AC + AB + BC (Rule AA = A)
= A(1 + C) + AB + BC
= A. 1 + AB + BC (Rule 1 + C = 1)
= A (1 + B) + BC (Rule 1 + B = 1)
= A + BC
Laws and Rules of Boolean Algebra
DeMorgan’s Theorems
The complement of a product of variable is equal to the sum of the
complements of the variables.
𝑋𝑌 = 𝑋 + 𝑌
The complement of two or more ORed variable is equivalent to the
AND of the complement of the individual variable.
𝑋 + 𝑌 = 𝑋𝑌
Laws and Rules of Boolean Algebra
DeMorgan’s Theorems
𝑋𝑌 = 𝑋 + 𝑌
𝑋 + 𝑌 = 𝑋𝑌
Laws and Rules of Boolean Algebra
DeMorgan’s Theorems
Example
Apply DeMorgan’s theorem to the expression 𝑊𝑋𝑌𝑍 and
𝑊 + 𝑋 + 𝑌 + 𝑍
Solution
𝑊𝑋𝑌𝑍 = 𝑊 + 𝑋 + 𝑌 + 𝑍
𝑊 + 𝑋 + 𝑌 + 𝑍=𝑊𝑋𝑌𝑍
Problem Apply DeMorgan’s theorem to the expression 𝑊 𝑋 𝑌 𝑍
Solution
𝑊 𝑋 𝑌 𝑍 = 𝑊 + 𝑋 + 𝑌 + 𝑍 = 𝑊 + 𝑋 + 𝑌 + 𝑍 (rule 𝑊 = W)
Laws and Rules of Boolean Algebra
DeMorgan’s Theorems
Example Apply DeMorgan’s theorem to the expression
𝐴 + 𝐵𝐶 + 𝐷(𝐸 + 𝐹)
Step 1 𝐴 + 𝐵𝐶= X, 𝐷(𝐸 + 𝐹) = Y
Since 𝑋 + 𝑌 = 𝑋𝑌
Therefore
Example 4-5
A) , B) and C) -> Page # 187,188 ( Book The digital fundamental by
Floyd)
Example 4-6
, B) and C) -> Page # 188 ( Book The digital fundamental by Floyd)
Example 4-7
, B) and C) -> Page # 188,189 ( Book The digital fundamental by
Floyd)
END
Q/A