Boolean Algebra IT ICT
Boolean Algebra IT ICT
Shree 1|
Chapter Boolean algebra
Example: Consider two element Boolean algebra B = {O, 1}, then B,*, , ', O,1 is a
Boolean algebra where * , and ' are defined as follows:
Clearly B satisfies all the conditions to be a Boolean algebra. Hence B is two point Boolean
algebra.
O 1 x x' O 1
O O O O 1 O O 1
1 O 1 1 O 1 1 1
Example: Let S6 = {1, 2, 3, 6}, Show that S6 , , , ', O,1 is a Boolean algebra where GLB
{a, b}= gcd of a and b, LUB {a, b} = lcm of a and b.
1 2 3 6 1 2 3 6
1 1 1 1 1 1 1 2 3 6
2 1 2 1 2 2 2 2 6 6
3 1 1 3 3 3 3 6 3 6
6 1 2 3 6 6 6 6 6 6
From the table S6 , D is a lattice. Least element = 1, Greatest element = 6
Also 1' 6 6 ' 1 2 ' 3 3' 2
Thus it is complemented also and every element has a unique complement. It is distributive
also.
Hence S6 , , , ', O,1 is a complemented distributive lattice (Boolean algebra).
That’s contradiction to our supposition. Thus our supposition is wrong and, hence there is
no Boolean algebra with three elements.
Let B, , , ', O,1 be a Boolean algebra and S B , then S is said to be Sub Boolean
algebra of B if S itself is a Boolean algebra under the same operations , and ' .
Example: Prove that {O, a, a’, 1} is a sub Boolean algebra for every member a of B.
Solution:
Remark: To check whether S is a Sub Boolean algebra or not, we don’t need to verify
closureness for all operations. If we can show that S is closed under , ' then other
operations will automatically satisfied.
Clearly,
Let a S and b S
a ' S & b' S
a ' b ' S (as S is closed under )
a b ' S
a b ' ' S (as S is closed under ' )
a b S
Also, a S a ' S
a a ' S
0 S
And O S O ' 1 S
Thus S is closed under all operations.
Example: Show that S = {1, 5, 10, 70} is not a sub Boolean algebra. For D70 , , , ', O,1
Solution: Clearly, S is closed under using following table.
1 5 10 70
1 1 1 1 1
5 1 5 5 5
10 1 5 10 10
70 1 5 10 70
i.e. if a a1 a2 a a1 or a a2
Remark: They are known as Atoms in case of Boolean algebra.
The elements other than O and atoms of the Boolean algebra are not join irreducible.
Example: Find out join irreducible elements from the following figure. Also find meet
irreducible elements of both the lattices.
Remark: In case of Boolean algebra, atoms are also known as Minterms, and anti – atoms
are also known as Maxterms.
Some Examples:
1. In any Boolean algebra prove that a b ab ' a ' b O
Solution:
Part: 1 Suppose a b is given
Thus,
ab ' a ' b b
ab ' a ' b b bb
ab ' b a ' bb b
a0 a ' b b
0 a 'b b
a 'b b
aa ' b ab
O ab (1)
Also
ab ' a ' b b
ab ' a ' b b ' bb '
ab ' b ' a ' bb ' O
ab ' a ' O O
ab ' O O
ab ' O (2)
From (1) and (2)
ab ' ab O
b ' b a O
aO
Hence the proof.
3. In a Boolean algebra prove that a b a ' c ac a ' b bc ac a ' b
Solution:
Let a b a ' c
aa ' ac ba ' bc
O ac ba ' bc
ac ba ' bc (1)
Now ac a ' b bc
acbc a ' bbc
abc a ' bc
a a ' bc
bc
Thus ac a ' b bc bc
bc ac a ' b
ac a ' b bc ac a ' b (2)
3. x1 ' x2 '
4. x1 ' x2 ' x3 ' x1
Example: - Simplify the following Boolean expression
1. a b ' a b '
Here
a b ' a b '
a ' b ' a ' b '
a ' b ' a ' a ' b ' b '
a ' b ' a ' b '
a ' b '
2. 1 a b a '
Here
a b a '
a b a a '
a b 1
a b
3. a ' b c a b ' c a b ' c '