Professional Documents
Culture Documents
Boolean Algebra
Boolean Algebra
INTRODUCTION
then
and replace
1 by 0,
Let us write".
'in place of*+'
a a'=0
remains unchanged
complement
Thus law of
2.4. BASIC THEOREMS
a-a
=a
by duality eB
(i)
Involution
law (a)=a forall a
Theorem
2.
('a+a'=1]
(a''
=
1 (a')y
Prool = (a +a')-(a')' Distributive Law]
= a-(a') +a' (a')' a-a'= 0
= a-(a')' +0
= a-(a')' +a-a' [Distributive Law]
= a -[(a') +a'] a+a'=
al ldentity
: lis Multiplicative
3. () a + 1
=1
Theorem
(ii) a-0=0
by duality.
B O O L E A NA L G E B R A
2-3
Theorem4Absorption law
+b) = a by duality
(i) a (a De-Morgan's law
Theorem5.
(i) (a b)' =a' +b for all a, be B.
(a+6) =a'b'
S t a t e s that (a' b') is the complement ofa +b. Therefore, we have to prove that
( a+b)+a'b'=1
0
(a +b)-(a' b')
=
Now, (a +b)+a'b'
=
[(a + b) + a'][(a +b) +b'] Distributive Law]
Ca +a') + b][a + (b + b)] [Associative Law]
[1+b][l+ a] ['a+a' 1]
= 1.1=1
Therefore, (a + b) + a'b' =
1 .)
Also, (a +b) (a'b') = a-(a'b') +b-(a'b) By Distribution Law]
(a-a')b' +(b:b')a' [Associative Law]
(0-b) +(0 a') Ca-a' 0
0+0 0.
Hence (a+ b) (a' b')= 0
By () and (ii) we conclude that (a'. 6) is the complement of (a + b) consequently
Table 2.3 show all possible combinations of minterms for three variables. Minterm also cals
standard product.
Table 2.3.Minterms and Maxterms for 3 variables.
Minterms Marterm
Term Designation Term Designatio
xy'z' mo x+ytz Mo
0 0
xy' +y+? M
x'yz' m2 x+y'+z M
x'yz m3 + y'+ M
0 0 xy'z' 4 x+y+z M4
0
ay' Ms
0
m x+y+z
xyz' m6 r+y'+z M6
Xyz m x'+y'+z M
Maxterms is the summation of all the
variables
normal) form. Maxterms also called standardpresented
in
primed (complement) or
primed
h
sums. Each
variable being unprimed
2-8
Comparing () and (i), we have, B0OLEA
Co+C. C=2
Since, x=2".
+ (ab)
(ab'c)
From Idempotent Law]
)
(ad'e')+
-(ab'e')+ (ab'c) +(ab'c)+ (abe)
[From Distributive Law]
-ab'le'+c)+ac [b' b]
+
(a +a' =1]
ab' + ac
- a (b'+ c).
(From Distributive Law]
a'b
+ a'b
=
a (b +6') +
) ab+ab' a.l+a'b
b+b'=1]
= a+a'b
From Distributive Law]
-(a+a') (a +b)
= 1(a + b) = a +b
8'+a'.b + a'b'
a-b+a
(a)
= a (b+b') +a' (b+ 6) [From Distributive Law]
= a.1+a'.1
b+b'= 1]
a+a=l
and ay =
a.[a + (b +c)]=a a + a (b+c)=a+a.(b+c)
FromAbsonption Law) )
a
= 0 + a ' .b + a ' c
= a' b + a ' c
= a'b + a'c
(a +a') y
From Distributive
(a +a') x
1x = 1:y
(a + b)+c =a+(b+c).
=b.
Example 2.3. 1f ar br
= and ar' =bx', then prove that a
(x+ y)(x+ z)
(x+y+0)(a+0+z)
=
(x + y+ zz') (x + yy' + z')
=
-
[x+ y' (1+z)} + yz
2-11
By Distributive Law)
-
[x+ y'-1}+ yz
-
[x +y'l+yz
x ( +yz By De-Morgan's Law]
r'y+yz
x'y1+1.yz
*'y (z + z') + (x+X") yz
*'yz + x'yz' + xyz +x'yz
=
x'yz + x'yz' + xyz
a+a =a)
Example. 2.7. Prove that the value of the complete canonical form in three
variable is l.
Solution. The complete canonical form of a Boolean function in n
variables contains 2" terms,
The complete cononical form in three variables x, z is
y, given by
yz +yz' + *y'z +xy'z' +x'yz +x'yz' +x'y'z +
x'y'z'
=
=
x-l+x' 1=x+x' =1
By Distributive Law]
(x+*') y'+x'y
=
3, 7). 5, 6,
f (4, B, C, D, E) (4+
Solution. Using Duality Principle, the of B+C)(D' E).
=
De-Morgan's theore=
f(4, B,C, D, E) (AB + =
CD) E
f(4, B, C, D, E) [(AB =
CD) E] +
(AB
=
1.B 0
B 0 : A=1)
F (A.B.C) = (4' B.C+ B'+B' +C) A'
=
(1)' 0.1+(1)' (0)' + +1
=
(0)'
0-0.1+0.1+1+1=0+0+1+1=1.
Example 2.15. Given AB'+ A'B =C, show that AC'+ A'C
Solution. Given AB' + =
B,
A'B =
C
Substituting the value of C in AC' + A'C =
B we get,
LHS =
A [AB' +
A'[AB' A'B] A'BY + +
B(A+ A')
B.1
2-14 BOOLEAN A
- RHS
Hence. proved
alued variables A. B. C and D by s o
Find the vales of the two ing th
Eampe 2.16
rimersT ations
A+ AB =0
4BAC
AB AC-CD =
CD
olutsion FromEn (), 4' + AB =0
0
(4 4)(4 B)
=
1-(4 B)0
A'B 0
FromE( AB AC
1-0 1-C
C 0
Substinuting the value of A = 1,B =0
2nd C 0 in equation
() we get,
1-0-1-(0-0-D (0) D
0+1-1 0= 1-D
D 1
Erample 2.17. in Boolean algebra (B, +, .
)prove tha
(a) a-b=0a:0, b=0
(6) a'b=0 ea+b=1
(c)a+b =a+cand a-b =a-c eb=c.
Solution. (a) If a-b =0,then
a a-1
a-(b-6')
By Compem
(a-b)-b'
=
0-b'
[ByAssociative
= 0 [:abi
b =b 1
= b-(a a ' )
= (b-a) a'
= (a-b)-a'
0-a
= 0.
(b) a'b 0
(a' b) =0'
By De-Morgan
BOOLEAN ALGEBRA
(a')+b' = 1 2-15
a+b'
By Involution Law)
b - b+ba
(c)
b(b + a)
b-(a + b)
-
b-(a + c)
=
b-(a + c)
=
b-a + b.c ('a+b=a+c]
= a-b +b-c
a-c+b.c
=
(a + b).c [a-b =a-c]
(a +c)-c
=
ac + CC
a c +C
C+aC
c (1+ a)
= c.1 [ 1+a =1]
C.
(c)
LHS = (4+ BC) (B' + A)- (B'+ Cc")
= (4 + B) (A+ C) (B'+ A) (B'+ C")
( 4 + B)(A + B') (A +C) (B'+ C") By Distribu
By Commtag
AA3+ABt - (4+ BB')(4+C)(B"+C')
By Distrib
(4 +0) (A+ C) (B'+ C:)
=
=4-(A+ C) (B'+C')
= (4:A+ A:-C)(B+C')
=
(4 + A.C) (B' + C")
By ldempole
A(1+C) (B' + C')
=A-(B'+ C')
=RHS.
Example 2.19. Simplify the following Boolean
(a) [CA' B')' +C(A+c)Y function.
(b) ABCD+ AB' CD+
A'BCD + ACE
(c)A' B'C'+A'BC' + A'BC+
AB'C'+ ABC"+ ABC.
Solution. (a) CA B') +
C(A+C)
=
[(A) (B)+ CA +
+
CC By De Morgan's law and Distributie
= [A +B AC + C
+
=[A+ AC+B+ C}
= [A (1 +C)+ B +CY
= [A +B + C]
=A'B' C.
(b) ABCD +
AB' CD+ A'BCD + A'CB'D
=
ACD
(B+B') + A'CD (B + B') [By Distributive
ACD 1+ A'CD 1 a+d
=
ACD+ A' CD
CD (A + A')
= CD 1
CD.
(c) A'B'C" + A'BC'
A'BC +AB'C'+ ABC+ dBC
+
=
A'B'C+ A'BC' + A'BC +
ABC+ AB'C'+ ABC [ B yC o m m u t a t i v e
=
A'C' (B'+ B) + BC (A'+ A) + ByDistributive-
=
A'C'-1+ BC-1 +AC'.1
AC (B'+ B)
=
A'C'+ BC +A-C'
ROOLEAN ALGEBARA
= A'C+ AC+ BC
= (A'+ A) C'+ BC
= 1C+ BC
= C"+ BCC
=
(C+ B)(C"+ C)
= (C"+ B)1
= C"+B
Example 2.20. Prove the following equations using truth tables:
(@)a + d'b =a +b
(b)xyz+xy+xy7 =y.
Solution. (a)
Table 2.7. Truth table for a tab=atb.
a'b +ab
0
0 0
0
0 0 1
Since the truth-v 0 0 1
and b. un-values of the Boolean
equations, (a + a'b) and (a+b) are Sa-