Boolean Algebra
Boolean Algebra
5 Boolean Algebra
Just like normal algebra, Boolean algebra allows us to manipulate logic equation and
circuits by performing transformation and simplification. Variable, complement, and literal
are terms used in Boolean algebra. A variable is a symbol used to represent a logical quantity.
Any single variable can have a 1 or a 0 value. The complement is the inverse of a variable
and is indicated by a bar over variable (overbar). For example, the complement of the
variable A is A. If A = 1, then A = 0. If A = 0, then A = 1. The complement of the variable A
is read as "not A" or "A bar." Sometimes a prime symbol rather than an over bar is used to
denote the complement of a variable; for example, ̅ indicates the complement of B. A literal
is a variable or the complement of a variable.
Rule 10: A + AB = A
This rule can be proved by applying the distributive law, rule 2, and rule 4
as follows:
A + AB = A( 1 + B) Factoring (distributive law)
=A∙1 Rule 2: (1 + B) = 1
=A Rule 4: A∙1 = A
Rule 11: A + A ̅ = A + B
This rule can be proved as follows:
A + ̅B = (A + AB) + ̅̅̅̅ Rule 10: A = A + AB
= (AA + AB) + ̅B Rule 7: A = AA
=AA +AB +A ̅ + ̅B Rule 8: adding A ̅ = 0
= (A + ̅)(A + B) Factoring
= 1∙(A + B) Rule 6: A + ̅ = 1
=A + B Rule 4: drop the 1
Theorem 1 ̅̅̅̅̅̅̅̅̅ = ̅ + ̅
Theorem 2 ̅̅̅̅̅̅̅̅̅̅ = ̅ ∙ ̅
N/B: (When carrying simplification using the De Morgan’s laws, we remember to break the
bar and change the operator)
Examples:
1, Z= (𝐴̅ + C) ∙ (B + 𝐷
̅ ) → A𝑪̅ + 𝑩
̅D
2, F = ̅̅̅̅̅̅̅
𝐴 𝐵+𝐴 ̅̅̅̅̅̅̅
𝐶
=𝐴 𝐵∙𝐴 𝐶
=A∙B∙A∙C
=A∙B∙C
2.5.3.2
Mapping Boolean expressions to logic gates
Z = (A∙B) ⊕ (C+D)
Z=A∙B∙̅̅̅̅̅̅̅̅̅̅ + ̅̅̅̅̅̅̅̅̅∙(C+D)
= A∙B∙ ̅ ∙ ̅ + ( ̅ + ̅ ) ∙ (C+ D)
= A∙B∙ ̅ ∙ ̅ + ̅ ∙C + ̅ ∙D + ̅ ∙C + ̅ ∙D