Boolean Algebra
Boolean Algebra
3 Semester PG Examination-2022
rd
Assistant Professor
University Department of Mathematics
KOLHAN UVIVERSITY,
CHAIBASA, WEST SINGHBHUM,
JHARKHAND, 833202
CERTIFICATE
This is to certify that the project report entitled “BOOLEAN ALGEBRA”
submitted by SUVENDU SEKHAR GIRI, for the award of the Master of Science in
Mathematics from University Department of Mathematics, Kolhan University, Chaibasa,
Jharkhand, 833202 is a bona fide record of work carried out by him under my
supervision. Neither this project report nor any part of it has been submitted for any
degree or academic award elsewhere.
Signature of guide
1. Project Preparation
2. Presentation
3. Viva-Voice
Total …………………………………
Preliminary……………………………………………………………………….02
Definition………………………………………………………...…………05
Sub algebra……………………………………………...………………….05
Boolean Variable……………………………………………………………20
Boolean Function………………………………………………...…………20
CHAPTER 3: APPLICATIONS
Switching Circuit……………………………………………………..…………....31
Logic Circuit………………………………………………..……………………...36
Conclusion…………………………………………………………………………39
Bibliography………………………………………………………………………40
INTRODUCTION
“No matter how corrects a mathematical theorem may appear to be on ought
never to be satisfied that there was not something imperfect about it until it also
gives impression of being beautiful.”
-George Boole
The main asset that made humans superior to other species was the ability
to reason. How well this ability can be used depends on each person’s power
of reasoning. How to develop this power? Here we shall discuss the process
of reasoning and logic especially in the context of mathematics.
The first treatise on logic was written by Aristotle (384 B.C.- 322
B.C.). Later, in the nineteenth century the English mathematician George
Boole (1815-1864) and Augustus De Morgan (1806-1871) founded the modern
subject symbolic logic. Boole is best known as the author of “The Laws of
Thought” which contains Boolean algebra. In chapter 1, we define Boolean
algebra and study some of their properties. Chapter 2 is devoted to the study
of Boolean functions. In chapter 3, we consider application to Switching
Circuit and logic Circuit.
PRELIMINARY
Proposition
A proposition is a declarative sentence that is either true or false, but not
both.
Compound Propositions
Conjunction
Disjunction
Negation of a statement
Implication statement
Suppose 𝑝 and 𝑞 are any statements. Then 𝑝 → 𝑞 can be read in any of the
following ways
i) 𝑝 implies 𝑞
iii) 𝑞 is a consequence of 𝑝
Contrapositive
Principle of duality
We can replace the +, . vice versa and get a new identity is called dual and
this property is called principle of duality.
Tautology
A compound proposition that is always true, no matter what the truth values
of the proposition that occur in it is called Tautology.
Contradiction
Logical Equivalence
Compound proposition that has the same truth-values in all possible cases
are called logically equivalent.
Notations
Predicate
BOOLEAN ALGEBRA
𝐃𝐞𝐟𝐢𝐧𝐢𝐭𝐢𝐨𝐧 𝟏.𝟏:
Let B be a non-empty set with two binary operations ‘+’ and ‘⋅’ ,
a unary operation ‘ and two distinct elements 0 & 1. Then B is called a
Boolean Algebra if the following axioms are holds.
Example 2:
Define 𝑥 ≤ 𝑦 if 𝑥 divides 𝑦 for 𝑥, 𝑦 belongs to N, then 1 is the
minimum element and prime numbers are the atoms.
Definition 1.2:
If we take 𝑆 = ∅ then, the Boolean algebra consist of only one
element. This is a Trivial Boolean Algebra. In this Boolean algebra, the
elements 0 and 1 coincide.
The simplest non-trivial Boolean algebra has 0 and 1 as its only elements.
An example of such a Boolean algebra is obtained by taking the power set of
a singleton set. This Boolean algebra is denoted by Z2.
SUB-ALGEBRA
Definition 1.1:
Let ( B ,+ ,· , ' , 0 , 1) be a Boolean algebra. A non-empty subset S of
B is said to be a sub-algebra (or a sub-Boolean algebra) if S itself is a Boolean
algebra with respect to the operation +, · and ' of B.
From the definition, it is clear that for any Boolean algebra B, the
subsets {0,1} containing identities of + and · and the set B are both sub-
algebras of B. Observe that the identities of + and namely 0 and 1 must
belong to every subalgebra. For if S is a subalgebra of a Boolean algebra B
and a ∈ S then by complement laws, a' ∈ S and thus both a + a' = 1 and
a · a' = 0 belong to S.
Theorem 1:
A non-empty subset S of a Boolean algebra B is sub algebra of B if
and only if S is closed under the three operations of B, i.e, +, · and ' .
Proof:
Suppose that S is a sub-algebra of a Boolean algebra B. Then S itself is a
Boolean algebra under the three operations +, · and ' defined on B. Hence S
is closed under the three operations. Thus
a, b ϵ S ⇒ a + b ϵ S, a · b ϵ S and a' ϵ S
First of all,
we show that both 0 and 1 are in S. Since S is non-empty,
suppose a ϵ S. We have
a ϵ S ⇒ a’ ϵ S by assumption S is closed under '
⇒ 1 ϵ S and 0 ϵ S
Thus,
Both identities 0 and 1 are in S.
Now we show that all the four axions [B1] to [B4] are satisfied for S.
1. Commutative laws:
Let a, b ϵ S then a, b ϵ В and
Therefore a + b = b + a and a · b = b · a
2. Identity laws:
For any a ϵ S, we have 0 and 1 ϵ S such that
(i) a + 0 = a,∀a ϵ S.
(ii) a · 1 = a, ∀a ϵ S.
3. Distributive laws:
Since operations + and · are distributive over each other for
all elements of B, therefore they must also distribute over each other for all
elements of S.
4. Complement laws:
Let a ϵ S. Then by assumption, a' ϵ S such that
(i) a + a' = 1
(ii) a · a' = 0
Hence,
S itself is a Boolean algebra under the operations of B.
Thus,
S is a sub-algebra of B.
Example :
The subset S = {ϕ, {a}, {b, c}, {a, b, c}} of the Boolen algebra
B={ϕ,{a}, {b}, {c}, {a,b}, {a,c}, {b,c}, {a,b,c}} with respect to union, intersection
and complementation of sets is a sub-algebra of B.
Theorem 2:
A non-empty subset S of a Boolean algebra (B, +, ·, ', 0, 1) is a
subalgebra of B, if and only if S is closed with respect to operations + and '.
Proof:
If S is a subalgebra of (B, +, ·, ', 0, 1) then S is closed with respect to
operations + and · and ' by theorem 1.
Therefore S is closed with respect to operations + and '.
Let a, b ϵ S.
Hence,
S is closed w. r. to · also. Thus S is a subalgebra.
Theorem 3:
If S₁, and S₂ are two subalgebras of a Boolean algebra B then
S₁∩S₂, is also a sub algebra of B.
Proof:
Let S₁ and S₂, be any two subalgebras of a Boolean algebra B.
We show that S₁∩S₂, is closed with respect to the operations +, · and ' of B
(although in view of theorem 2, we need to show only for + and ').
a, b ϵ S₁∩S₂ ⇒ a, b ϵ S₁ and a, b ϵ S₂
Proof:
We first show that 0 and 1 are in 𝑌. Since 𝑌 is non-empty there exists
some 𝑥 ∈ 𝑌. But then 𝑥′ ∈ 𝑌, since 𝑌 is closed under complementation. Since
𝑥, 𝑥′ ∈ 𝑌 𝑎𝑛𝑑 𝑌 is closed under + and ⋅, we get 𝑥 + 𝑥′ ∈ 𝑌 and 𝑥. 𝑥′ ∈ 𝑌. Thus
both 0 and 1 are in 𝑌. Now all the axioms of a Boolean algebra are satisfied
for 𝑌. These follow from corresponding properties of 𝑋.
An instructive example of a sub algebra, let 𝑋 be the power set Boolean
algebra of a set 𝑆. Let 𝐷, be a decomposition of 𝑆 whose members are say 𝑆1,
𝑆2, … 𝑆r. Let 𝑌 = {𝐴 ⊂ 𝑆: 𝑓𝑜𝑟 𝑒𝑎𝑐ℎ 𝑖 =1,2, . . ., 𝑘, 𝑒𝑖𝑡ℎ𝑒𝑟 𝑆𝑖 ⊂ 𝐴 𝑜𝑟 𝑆𝑖 ∩ 𝐴 = ∅}. In
other words, 𝑌 consists of those subsets of 𝑆 which completely contain those
members of 𝐷, which they intersect. 𝑌 cannot contain any subset of 𝑆 which
intersects some 𝑆𝑖, only partly. It is easy to show that 𝑌 is a sub algebra of
𝑃(𝑆). As a Boolean algebra, it can be shown that 𝑌 is isomorphic to the
power set Boolean algebra 𝑃(𝐷).
Theorem 5:
Let (𝑋, +, ⋅, ′) be a Boolean algebra. Then the following properties
hold for all elements 𝑥, 𝑦, 𝑧 of 𝑋.
ii. 𝑥 + 1 = 1 and 𝑥. 0 = 0.
viii. 0′ = 1 and 1′ = 0 .
Proof:
Before actually giving the proofs we make an important observation.
There is an absolute symmetry between the operation + and ⋅ in the
definition of a Boolean algebra. Consequently whenever any identity holds
in a Boolean algebra, we can replace all occurrence of + with ⋅ and vice versa
and get a new identity, called the dual of the original identity. Its proof can
be given dualizing each step in the proof of the original identity. This is
known as the principle of duality.
i. We have,
𝑥 = 𝑥. 1 (by Identities law)
= 𝑥. (𝑥 + 𝑥′) (by Complement law)
= (𝑥. 𝑥) + (𝑥 + 𝑥′) (by Distributive law)
= (𝑥. 𝑥) + 0 (by Complement law)
= 𝑥. 𝑥 (by Identities law)
Hence,
𝑥. 𝑥 = 𝑥 . Then other assertion 𝑥 + 𝑥 = 𝑥 follows by duality.
ii. We have,
𝑥 + 1 = (𝑥 + 1).1 (by Identities law)
= (𝑥 + 1). (𝑥 + 𝑥′) (by Complement law)
= 𝑥 + (1. 𝑥′) (by Distributive law)
= 𝑥 + 𝑥′ (by Identities law)
=1 (by Complement law)
Hence,
𝑥 + (𝑥. 𝑦) = 𝑥 as was to be proved.
Now,
𝑎 + 𝑥 = [𝑥. (𝑦. 𝑧)] + (𝑥. 1) (by Identities law)
= 𝑥.[(𝑦. 𝑧) + 1] (by Distributive law)
= 𝑥.[1] (by (ii) proved above)
=𝑥
While
𝑏 + 𝑥 = [(𝑥. 𝑦). 𝑧] + 𝑥
= [(𝑥. 𝑦) + 𝑥].[𝑧 + 𝑥] (by Distributive law)
= [𝑥 + (𝑥. 𝑦)].[𝑥 + 𝑧] (by Commutative law)
= 𝑥. (𝑥 + 𝑧) (by (iii) proved above)
=𝑥 (by (iii) again)
Hence,
𝑎 + 𝑥 = 𝑏 + 𝑥.
Now,
𝑎 + 𝑥′ = [𝑥. (𝑦. 𝑧)] + 𝑥′
= [(𝑥 + 𝑥′)].[(𝑦. 𝑧) + 𝑥′] (by Distributive law)
= 1 .[(𝑦. 𝑧) + 𝑥′] (by Complement law)
= (𝑦. 𝑧) + 𝑥′ (by Identities law)
= (𝑦 + 𝑥′) . (𝑧 + 𝑥′ ) (by Distributive law)
While
𝑏 + 𝑥′ = [𝑥. (𝑦. 𝑧)] + 𝑥′
= [(𝑥. 𝑦) + 𝑥′] .[𝑧 + 𝑥′ ] (by Distributive law)
= [(𝑥 + 𝑥′) . (𝑦 + 𝑥′)] . (𝑧 + 𝑥′) (by Distributive law)
= [1 . (𝑦 + 𝑥′)] . (𝑧 + 𝑥′) (by Complement law)
= (𝑦 + 𝑥′) . (𝑧 + 𝑥′) (by Identities law)
So,
𝑎 + 𝑥′ = 𝑏 + 𝑥′ and as noted before this completes the proof.
v.
Suppose,
𝑥+𝑦=1 and 𝑥. 𝑦 = 0.
Similarly,
vi. We have ,
𝑥 + 𝑥’ = 0.
= 𝑥 + 𝑦 + 𝑥′
=𝑦+1
=1
Also,
𝑎.𝑏 = (𝑥 + 𝑦).(𝑥′.𝑦′)
= (𝑥.𝑥′.𝑦′) + (𝑦.𝑥′.𝑦′)
= (0. 𝑦′) + (0. 𝑥′)
=0+0
=0
This proves (𝑥 + 𝑦) ′ = (𝑥′. 𝑦′). The other assertion follows either by duality
or by replacing 𝑥′ by 𝑥, 𝑦′ by 𝑦 and taking complements.
viii.
Since 0 + 1 = 1 and 0.1 = 0
(From (ii), it follows by (v) again that 1 = 0’ and 0 = 1’)
ix.
Suppose 0 = 1.
We have to show that 𝑋 has only one element.
Let 𝑥 ∈ 𝑋. Then 𝑥 = 𝑥.1 =𝑥.0 = 0. So, 0 (or 1) is the only element of 𝑋.
Theorem 6:
A Boolean algebra is self-dual.
Proof:
Let 𝑋 be a Boolean algebra.
Define a map 𝜃 ∶ 𝑋 → 𝑋, such that 𝜃(𝑥) = 𝑥′ then 𝜃 is well defined as for
each 𝑥 ∈ 𝑋, 𝑥 exists and is unique.
Now,
𝜃(𝑥) = 𝜃(𝑦) ⇒ 𝑥′ = 𝑦′
⇒ (𝑥′)′ = (𝑦′)′
⇒𝑥=𝑦
Thus,
𝜃 is one-one.
For any 𝑦 ∈ 𝑌, 𝑦′ is the required pre-image under 𝜃 showing that 𝜃 is onto.
Also,
𝜃(𝑥 ∧ 𝑦) = (𝑥 ∧ 𝑦)′ = 𝑥′ ∨ 𝑦′ = 𝜃(𝑥) ∨ 𝜃(𝑦)
𝜃(𝑥 ∨ 𝑦) = (𝑥 ∨ 𝑦)′ = 𝑥′ ∧ 𝑦′ = 𝜃(𝑥) ∧ 𝜃(𝑦)
Which shows that 𝜃 is a dual homomorphism.
Thus,
𝜃 is a dual isomorphism and hence 𝑋 is self-dual.
Definition 1.2:
𝑋 is called complemented, if for every 𝑥 ∈ 𝑋, there exists some 𝑦 ∈ 𝑋
such that 𝑥 ∧ 𝑦 = 1 and 𝑥 ∨ 𝑦 = 0. Any such 𝑦 is called a complement of 𝑥.
Definition 1.3:
Let (𝑋, +,., ′) be a Boolean algebra. Then a minimal element of the set
𝑋 − {0} is called an atom of 𝑋.
Theorem 7:
Let (𝑋,+,⋅ ,′) be finite Boolean algebra. Then
(i) every non-zero element of 𝑋 contain atleast one atom.
(ii) every two distinct atoms of 𝑋 are mutually disjoint, and
(iii) every element of 𝑋 can be uniquely expressed as a sum of atoms,
specifically if 𝑥 ∈ 𝑋, then 𝑥 is the sum of all atoms contained in 𝑥 (with an
understanding that an empty sum is 0).
Proof:
(i)
Let 𝑥 ∈ 𝑋, 𝑥 ≠ 0.
Then either 𝑥 is itself an atom (i.e., a minimal element of 𝑋 − {0})
or there is some 𝑥1 ∈ 𝑋, 𝑥1≠ 0 such that 𝑥1 < 𝑥.
If 𝑥1 is an atom we are done.
Otherwise,
There is some 𝑥2 ∈ 𝑋 such that 𝑥2 ≠ 0 and 𝑥2 < 𝑥1.
Continuing in this manner, since 𝑋 is a finite set, there will be some 𝑛 such
that is an atom and 𝑥n ≤ 𝑥.
(ii) Let 𝑎, 𝑏 be two atoms of 𝑥.
If 𝑎 ⋅ 𝑏 ≠ 0, then by (i), there exists an atom 𝑐 such that 𝑐 ≤ 𝑎 ⋅𝑏.
Since 𝑎 ⋅ 𝑏 ≤ 𝑎,
we have,
𝑐 ≤ 𝑎. Since 𝑎 itself is a minimal non-zero element of 𝑋 , it follows
that 𝑎 = 𝑐.
Similarly,
b = c. Hence 𝑎 = 𝑏. In other words, if 𝑎 ,𝑏 are distinct atoms then 𝑎 ⋅ 𝑏 = 0.
(iii) Let 𝑥 ∈ 𝑋.
If 𝑥 = 0, then 𝑥 contains no atoms and the assertion holds because of the
understanding that an empty sum is to be regarded as 0.
So, suppose 𝑥 ≠ 0.
Let 𝑎1,𝑎2,…,𝑎k be the distinct atoms of 𝑋 contained in 𝑥.
We assert that 𝑥 = 𝑎1 + 𝑎2 + ⋯+ 𝑎k .
since 𝑎𝑖 ≤ 𝑥 for all 𝑖 = 1,2,…,𝑘 and 𝑎1 + 𝑎2+...+𝑎𝑘 is the supremum of the
set {𝑎1,𝑎2,...,𝑎𝑘},
we already have 𝑎1 + 𝑎2+...+𝑎k ≤ 𝑥.
To show 𝑥 ≤ 𝑎1 + 𝑎2+...+𝑎 k
we must show, by De Morgan’s laws, that 𝑥𝑎1′𝑎2′...𝑎k′ = 0.If not, then by (i)
there exists an atom 𝑏 such that 𝑏 ≤ 𝑥𝑎1′𝑎2′...𝑎k′.
But,
𝑥𝑎1′𝑎2′...𝑎k′ ≤ 𝑥. So 𝑏 ≤ 𝑥 i.e., 𝑏 is an atom contained in 𝑥.
So,
𝑏 = 𝑎, for some 𝑖.
But,
This means 𝑎1 ≤ 𝑥𝑎1′𝑎2′...𝑎 k′ ≤ 𝑎1′ giving = 0. i.e., 𝑎1 = 0 by the law of
tautology.
Since,
No atom can be 0, we get a contradiction, proving that
𝑥 ≤ 𝑎1 + 𝑎2+...+𝑎k and hence 𝑥 = 𝑎1 + 𝑎2+...+𝑎k.
As for uniqueness,
Suppose,
𝑥 = 𝑏1 + 𝑏2+...+𝑏r
where each 𝑏𝑖 is an atom and 𝑏i ≠ 𝑏j for 𝑖 ≠ 𝑗. (If 𝑏𝑖 = 𝑏𝑗 for some 𝑖 ≠ 𝑗
then, by law of tautology we replace 𝑏i + 𝑏j by 𝑏i itself).
Then 𝑏i ≤ 𝑥 for all 𝑖 =1, 2,…,𝑟. But 𝑎1,𝑎2,...,𝑎k are all the atoms contained in
𝑥 so 𝑏i = 𝑎j for some 𝑗.
Since,
All the 𝑏's are distinct, it follows that 𝑟 ≤ 𝑘.
Suppose,
𝑟 < 𝑘.
Then there is some 𝑎i which does not equal to any 𝑏i. Without loss of
generality suppose 𝑎1 ≠ 𝑏1,𝑏2,...,𝑏r.
We shall derive a contradiction as follows
𝑏i + 𝑏i′ = 1 for all 𝑖 = 1,…,𝑟.
Hence,
𝑎1 = 𝑎1(𝑏1 + 𝑏1′)(𝑏2 + 𝑏2′)...(𝑏r + 𝑏r′).
When this product is expanded, every term expects 𝑎1 𝑏1′𝑏2′...𝑏r′ will contain
product of 𝑎1 at least one of the atoms 𝑏1,...,𝑏r. By (ii), all such products are 0.
Hence,
𝑎1 = 𝑎1 𝑏1′...𝑏r′.
But,
𝑎1 ≤ 𝑥 gives
𝑎1 𝑥′ = 0
which gives 𝑎1 𝑏1′𝑏2′...𝑏r′ = 0.
Since,
𝑥 = 𝑏1 + 𝑏2 + ⋯+ 𝑏r.
So,
we get 𝑎1 = 0,
which is a contradiction.
This 𝑎𝑖 equals some 𝑏𝑖 and hence that expression of 𝑥 as a sum of atoms is
unique.
Example 1:
Prove that no Boolean algebra can have three distinct elements.
Solution:
Let B be a Boolean algebra having three elements. Then B must
have two distinct elements 0 and 1 as identities for the operations + and ·
respectively. Let a be the third element of B. Since B is a Boolean algebra,
there exists an element a' in B such that
Now there are three cases: (i) a' = a (ii) a' = 0 (iii) a'=1
Case (i) If a' = a then a + a' = 1 ⇒ a + a = 1
⇒a=1
and a · a' = 0 ⇒ a · a = 0
⇒a=0
But a is different from 0 and 1. Therefore a' = a is not possible.
Case (ii) If a' = 0 Then a + a' = 1 ⇒ a + 0 = 1
⇒a=1
Thus,
a' ≠ 1 because a is not equal to 0.
Therefore,
B either has only two elements 0 and 1, or B has four elements
because if there is an element a in B different from 0 and 1, then 8 must have
another element a different from 0, 1 and a. Hence no Boolean algebra can
have exactly three elements.
Example 2:
In any Boolean algebra, show that
(1) (a + b) (b + c) (c + a) = ab + bc + ca
Solution: (1)
L.H.S = (a + b) (b + c) (c + a)
= (a + b) [(b + c) (c + a)] by associative law
= (a + b) [(c + b) (c + a)] by commutative law
= (a + b) [c + ba] by distributive law
= a(c + ba) + b(c + ba) by distributive law
= ac + aba + bc + bba by distributive and
associative laws
= ac + (aa)b + bc + (bb)a by commutative and
associative laws
= ac + ab + bc + ba ∵ aa = a
= ac + bc + (ab + ab) by commutative and
associative laws
= ac + bc + ab ∵a+a=a
= ab + bc + ac by associative and
commutative laws
= R.H.S
(Proved)
Example 3:
In any Boolean algebra, prove that b = c if and only if both
a + b = a + c and ab = ac holds.
Proof:
If b = c then we have
a + b = a + c and ab = ac both hold.
(Proved)
CHAPTER-2
BOOLEAN FUNCTION: -
Definition 2.1:
A Boolean variable is a variable which assumes only
two possible values, 0 and 1.
Example 1:
If 𝑥, 𝑦 are two Boolean variables 𝑥 + 𝑦 is the Boolean
variable. It has value 1 when at least one of 𝑥 and 𝑦 has value 1 and
the value 0 otherwise.
Properties of Boolean variable:
• Boolean variables are similar to real variables.
• Boolean variables assume only two possible values.
• It is the simplest possible variable.
• It is a discrete variable.
Two Boolean variables 𝑥 and 𝑦 are called independent if each
can assume values independently of the other. This means any of
the given four possibilities can occur.
i) 𝑥 = 0 ,𝑦 = 0
ii) 𝑥 = 1,𝑦 = 1
iii) 𝑥 = 0,𝑦 = 1
iv) 𝑥 = 1,𝑦 = 0
Definition 2.2: -
Let (B, +, ·, ') be a Boolean algebra. By a constant, we shall mean
any symbol, such as 0 and 1, which represents a specified element of B. By a
variable, we mean a symbol, which represents an arbitrary element of B.
Expressions such as ab, (a' + b') + ab'x + ab, and a' + b' are Boolean
functions.
In any Boolean algebra, we know that 2a = a + a = a, 3a = a + a + a = a
and in general na = a where n is any positive integer.
Also, a² = a. a = a, a³ = a. a. a = a and in general aᵏ = a, where k is
any positive integer. Thus, no multiples or powers appear in the Boolean
polynomials.
Definition 2.3:
The algebraic expression for a Boolean function of n variables as
a sum of atoms is called disjunctive normal form (D.N.F) of that function.
The disjunctive normal form of the function which identically equals 1 is
called the complete disjunctive normal form in 𝑛 variables. The word
‘disjunctive’ here refers to summation, which is more formally called
disjunction.
Definition 2.4:
When a Boolean function of 𝑥1,𝑥2,...,𝑥n is expressed as a product
of this form the function is said to be expressed in its conjunctive normal
form (C.N.F)
The dual concept of disjunctive normal form is the conjunctive normal
form.
Sum of Products (SOP). The logical sum of two or more logical product
terms is referred to as a sum of products expression. It is basically an OR
operation on AND operated variables. For example, Y = AB + BC + AC or Y =
A′B + BC + AC′ are sum of products expressions.
MINTERM: -
F (A, B, C) = Σ (3, 5, 6)
= m3 + m5 + m6
= A′BC + AB′C + ABC′
where Σ (3,5,6) represents the summation of minterms corresponding to
decimal codes 3, 5, and 6.
The canonical sum of products form of a logic function can be obtained by
using the following procedure:
1. Check each term in the given logic function.Retain if it is a minterm,
continue to examine the next term in the same manner.
2. Examine for the variables that are missing in each product which is not a
minterm. If the missing variable in the minterm is X, multiply that minterm
with (X+X′).
3. Multiply all the products and discard the redundant terms.
Solution. The given function contains two variables A and B. The variable B
is missing from the first term of the expression and the variable A is missing
from the second term of the expression. Therefore, the first term is to be
multiplied by (B + B′) and the second term is to be multiplied by (A + A′) as
demonstrated below.
F (A, B) = A + B
= A.1 + B.1
= A (B + B′) + B (A + A′)
= AB + AB′ + AB + A′B
= AB + AB′ + A′B (as AB + AB = AB)
Hence the canonical sum of the product expression of the given function is
F (A, B) = AB + AB′ + A′B.
Solution. Here neither the first term nor the second term is minterm. The
given function contains three variables A, B, and C. The variables B and C are
missing from the first term of the expression and the variable A is missing
from the second term of the expression. Therefore, the first term is to be
multiplied by (B + B′) and (C + C′). The second term is to be multiplied by
(A + A′). This is demonstrated below.
F (A, B, C) = A + BC
= A (B + B′) (C + C′) + BC (A + A′)
= (AB + AB′) (C + C′) + ABC + A′BC
= ABC + AB′C + ABC′ + AB′C′ + ABC + A′BC
= ABC + AB′C + ABC′ + AB′C′ + A′BC
(as ABC + ABC = ABC)
Hence the canonical sum of the product expression of the given function is
F (A, B,C) = ABC + AB′C + ABC′ + AB′C′ + A′BC.
MAXTERM:-
F (A,B,C) = Π (0,2,5)
= M0 M2 M5
= (A + B + C) (A + B′ + C) (A′ + B + C′)
Example. Obtain the canonical product of the sum form of the following
function. F (A, B, C) = (A + B′) (B + C) (A + C′)
= (A + B′ + C) (A + B′ + C′) (A + B + C) (A′ + B + C)
(A + B + C′) (A + B′ + C′)
[using the distributive property, as X + YZ = (X + Y) (X + Z)]
= (A + B′ + C) (A + B′ + C′) (A + B + C) (A′ + B + C)
(A + B + C′)
[as (A + B′ + C′) (A + B′ + C′) = A + B′ + C′]
Hence the canonical product of the sum expression for the given function is
F (A, B, C) = (A + B′ + C) (A + B′ + C′) (A + B + C) (A′ + B + C) (A + B + C′).
Example. Obtain the canonical product of the sum form of the following
function. F (A, B, C) = A + B′C
F (A, B, C) = A + B′C
= (A + B′) (A + C) (distributive property)
Now, in the above expression, C is missing from the first term and B is
missing from the second term. Hence CC′ is to be added with the first term
and BB′ is to be added with the second term as shown below,
F (A, B, C) = (A + B′) (A + C)
= (A + B′ + CC′) (A + C + BB′)
= (A + B′ + C) (A + B′ + C′) (A + B + C) (A + B′ + C)
[using the distributive property, as X + YZ = (X + Y) (X + Z)]
= (A + B′ + C) (A + B′ + C′) (A + B + C)
[as (A + B′ + C) (A + B′ + C) = A + B′ + C]
Hence the canonical product of the sum expression for the given function is
F (A, B, C) = (A + B′ + C) (A + B′ + C′) (A + B + C).
The final sum of products expression (SOP) for the output Y is derived by
summing or performing an OR operation of the four product terms as shown
below.
Y = A′BC′ + AB′C′ + AB′C + ABC′
Now, consider the same truth table as shown in Figure 2.11, for a three-
input function Y. Here the output Y value is 0 for the input conditions of 000,
001, 011, and 111, and their corresponding product terms are A + B + C, A +
B + C′, A + B′ + C′, and A′ + B′+ C′ respectively.
So now, the final product of sums expression (POS) for the output Y is
derived by performing an AND operation of the four sum terms as shown
below.
Y = (A + B + C) (A + B + C′) (A + B′ + C′) (A′ + B′ + C′)
1. Form a sum term for each input combination in the table, containing an
output value of 0.
2. Each product term consists of its input variables in either true form or
complemented
form. If the input variable is 1, it appears in complemented form and if the
input variable is 0, it appears in true form.
3. To obtain the final POS expression of the output, all the sum terms are
AND operated.
F (A,B,C) = Σ ( 2,4,5,6)
= m2 + m4 + m5 + m6
= A′BC′ + AB′C′ + AB′C + ABC′.
The last conversion follows from the definition of minterms and maxterms
as shown in the tables in Figures 2.9 and 2.10. It can be clearly noted that
the following relation holds true m′j = Mj.
That is, the maxterm with subscript j is a complement of the minterm with
the same subscript j, and vice versa.
Note that, to find the missing terms, the total 2n number of minterms or
maxterms must be realized, where n is the number of variables in the
function.
CHAPTER-3
APPLICATION
SWITCHING CIRCUITS:-
Definition 3.1:
By a switch we mean a contact or a device which permits or stops the
flow of electric current. The switch can assume two states 'closed' or open'
(ON or OFF). When the switch is closed the current flows in the circuit.
When the switch is open current does not flow. We will use a, b, f: X, Y, Z,
…….etc. to denote switches in a circuit. If two switches operate so that they
open and close simultaneously we denote them by the Same letter. Again, if
two switches be such that one is open if and only if the other is closed. we
represent them by a and a’ .
There are two basic ways in which switches are generally inter-connected.
These are referred to as 'in series' and in 'parallel'.
Definition 3.2:
Two switches a and b are said to be connected 'in series' if the current
flows only when both are closed and current does not flow if any one or both
are open.
Two switches a and b connected in series a circuit is denoted by a.b and
is represented as shown in the following diagram:
Definition 3.3:
Two switches a and b are said to be connected 'in paral- lelif current flows
when any one or both are closed and current does n flow when both are
open.
Two switches a and b connected in parallel in a circuit is denoted by a+b
and is represented as shown in the following diagram:
We assign the value 1 to a switch which is always closed and the value 0 to a
switch which is always open. If two switches a and a' both appear then a is 1
if and only if a'=0.
Theorem:
The algebra of switches is a Boolean algebra.
Proof:
We know that the set B = {0, 1} with operations+, and defined by the
following tables forms a Boolean algebra of two elements
+ 0 1 . 0 1 a a’
0 0 1 0 0 0 0 1
1 1 1 1 0 1 1 0
Boolean algebra x x’ + . 0 1
and
circuits
Similarly, we have,
a+b.c = (a+b).(a+c)
because circuits
are equivalents.
Thus,
Algebra of switches is a Boolean algebra.
(Hence Proved)
LOGIC CICUITS
Definition 3.4 :
Logic circuits (also known as logic net- work) are
constructed using certain elementary circuits called logic gates.
Each logic circuit may be viewed as a machine which contains one
or more input devices and exactly one output device. There are
three basic logic gates namely OR gate, AND gate, and NOT gate. By
connecting these gates in different ways, we can build circuit called
logic circuits that perform arithmetic and other operations
associated with the human brain.
1. OR gate: An OR gate has two or more inputs but it has only one output.
Let x and y be two inputs. The output of OR gate is denoted by x+y,
where x+y is defined by the table (b) given below:
The AND gate with 3-input and 4-input are shown below:
3. NOT gate: A NOT gate is a circuit that has one input and one output. If
x is the input, then output of NOT gate is denoted by x’ where x' is
defined by the truth table (b) below. A NOT Gate is also called inverter.
CONCLUSION
In this project, we have worked on an interesting topic “BOOLEAN
ALGEBRA”. In the modern era, Boolean algebra is seen as the foundations of
the “Information age”. It is a symbolic system of Mathematical logic -
represents relationships between entities either ideas or objects. The basic
rules of this system were formulated in 1847 by George Boole of England
and were subsequently refined by other Mathematicians and applied to set
theory. Today, Boolean algebra is of significance to the theory of probability,
geometry of sets and information theory. Furthermore, it constitutes the
basis for the design of circuits used in electronic digital computer.