Boolean Algebra STRM Chapter 2
Boolean Algebra STRM Chapter 2
BENATIA MEDJDOUB
1. INTRODUCTION
George Boole is an English mathematician(1815-1864)
This work has been used to study systems that have two
mutually exclusive states:
– The system can only be in two states E1 and E2 such that E1
is the opposite of E2.
– The system cannot be in state E1 and E2 at the same time.
These works are well suited to the Binary System (0 and 1).
2. TERMINOLOGY
Sum
s=a+b s = a or b s = a ou b
Product
s=a*b s = a .b S= ab s = a and b s = a et b
Complementation
s= a s = not(a) s= non(a)
3. OPERATORS
Y=a.b
And Gate
Or Gate
Y= a + b
Y= a
Not gate
4. COMPOSITE OPERATORS
NAND
Y= a.b
Nand gate
NOR
Y= a +b
Nor gate
XOR (or exclusive)
Y= ab a b = a .b + a . b
Y=1 if a ≠ b ab = a b + a . b
Y=0 if a = b
Definition
3. Distributivity a + a= 1
a . (b + c) = a. b + a .c
a + (b . c) = (a + b).( a + c)
a. a =0
Inferred properties (deduced properties)
1. Idempotence
a+a=a
a.a=a
2. Absorbent element
a+1=1
a.0=0
Exemple :
Exemple:
De Morgan's laws
A B C F
0 0 0 0 0 0 0
0 0 1 0 0 0 0
0 1 0 0 0 0 0
0 1 1 1 0 0 1
1 0 0 0 1 0 1
1 0 1 0 0 0 0
1 1 0 0 0 1 1
1 1 1 0 0 1 1
Disjunctive form Disjunctive form
A B C F
0 0 0 0 0 0 0
0 0 1 0 0 0 0
0 1 0 0 0 0 0
0 1 1 1 0 0 1
1 0 0 0 1 0 1
1 0 1 0 0 0 0
1 1 0 0 0 1 1
1 1 1 0 0 1 1
Conjunctive form
Conjunctive form
A B C F
0 0 0 0 0 0 0
0 0 1 0 0 0 0
0 1 0 0 0 0 0
0 1 1 1 0 0 1
1 0 0 0 1 0 1
1 0 1 0 0 0 0
1 1 0 0 0 1 1
1 1 1 0 0 1 1
Disjunctive from from the TT( F=1)
A=0 A
A=1 A