Documentos de Académico
Documentos de Profesional
Documentos de Cultura
For example
Example 1:
Compound Statement
similarly
Y=”The Man is Wise” may be definitely either True or False
Logical Statement
Truth Table
X AND Y X AND Y
FALSE FALSE FALSE
FALSE TRUE FALSE
TRUE FALSE FALSE
TRUE TRUE TRUE
X . Y X.Y
0 0 0
0 1 0
1 0 0
1 1 1
Logical AND operation give output true only if both the input
Logical statement’s are True
It’s a Binary Operator because (.) or Logical AND Operator is
working on more Than 1 operand’s
Logical OR Operation
X + Y X+Y
0 0 0
0 1 1
1 0 1
1 1 1
X X
0 1
1 0
Boolean Algebra
If X=0 THEN X ≠ 1
If X=1 THEN X ≠ 0
0 = 1 and 1 = 0
So if X=0 then X =1
if X=1 then X =0
Postulate 3 of Boolean Algebra
0.0=0
0.1=0
1.0=0
1.1=1
0+0=0
0+1=1
1+0=1
1+1=1
Identity Element
Commutative Law
(a) x + y = y + x
(b) x . y = y . x
Postulate 7 of Boolean Algebra
Associative Law
(a) x + (y + z) = (x + y) + z
(b) x . (y . z) = (x . y) . z
Distributive Law
(a) x . (y + z) = (x . y) + (x . z)
(b) x + (y × z) = (x + y) . (x + z)
Postulate 9 of Boolean Algebra
Inverse Element
(a) x + X = 1
(b) x . X = 0
Postulate 10 of Boolean Algebra
Closure Property
Theorem:
x+1=1
Proof:
L.H.S.
=x+1
= (x +1).1 by postulate 5(b)
= (x +1).(x+ x ) by postulate 9(a)
= x + (1. x ) by postulate 8(b)
= x + x by postulate 5(b)
= x by postulate 9(a)
= R.H.S.
Proving a Theorem By Perfect Induction
=x+x
= (x +x).1 by postulate 5(b)
= (x + x) . (x+ x ) by postulate 9(a)
= x + (x . x ) by postulate 8(b)
= x + 0 by postulate 9(b)
= x by postulate 5(a)
= R.H.S.
= x.x
= x. (x + . x ) by postulate 8(a)
= x . 1 by postulate 9(a)
= x by postulate 5(b)
Compliment of Boolean Function