BOOLEAN ALGEBRA THEOREMS AND PROOFS 1 THEOREMS PROOFS
BOOLEAN ALGEBRA: THEOREMS AND PROOFS 1
THEOREMS & PROOFS P 1: a+b = b+a, ab=ba (commutative) P 2: a+bc = (a+b)(a+c) (distributive) a(b+c) = ab + ac P 3: a+0=a, a 1 = a (identity) P 4: a+a’=1, a a’= 0 (complement) 2
Theorem 6 (Involution Laws): For every element a in B, (a')' = a Proof: a is one complement of a'. The complement of a' is unique Thus a = (a')' Theorem 7 (Absorption Law): For every pair a, b in B, a·(a+b) = a; a + a·b = a. Proof: a(a+b) = (a+0)(a+b) (P 3) = a+0·b (P 2) =a+0 (P 3) 3 =a (P 3)
THEOREMS AND PROOFS Theorem 8: For every pair a, b in B a + a’*b = a + b; a*(a’ + b) = a*b Proof: a + a’*b = (a + a’)*(a + b) (P 2) = (1)*(a + b) (P 4) = (a + b) (P 3) 4
THEOREM 9: DE MORGAN’S LAW Theorem: For every pair a, b in set B: (a+b)’ = a’b’, and (ab)’ = a’+b’. Proof: We show that a+b and a’b’ are complementary. In other words, we show that both of the following are true (P 4): (a+b) + (a’b’) = 1, (a+b)(a’b’) = 0. 5
THEOREM 9: DE MORGAN’S LAW (CONT. ) Proof (Continue): (a+b)+(a’b’) =(a+b+a’)(a+b+b’) (P 2) =(1+b)(a+1) (P 4) =1 (Theorem 3) (a+b)(a’b’) =(a’b’)(a+b) (P 1) =a’b’a+a’b’b (P 2) =0*b’+a’*0 (P 4) =0+0 (Theorem 3) =0 (P 3) 6
5. SWITCHING ALGEBRA VS. MULTIPLE VALUED BOOLEAN ALGEBRA Boolean Algebra is termed Switching Algebra when B = {0, 1} When |B| > 2, the system is multiple valued. � Example: # 0 1 2 3 M = {(0, 1, 2, 3), #, &} 0 0 1 2 3 1 1 1 3 3 2 2 3 3 3 3 & 0 1 2 3 0 0 0 1 0 1 2 0 0 2 2 3 0 1 2 3 7
Example: M = {(0, 1, 2, 3), #, &} P 1: Commutative Laws �a # b = b # a �a & b = b & a P 2: Distributive Laws � a # (b & c) = (a # b) & ( a # c) � a & (b # c) = (a & b) # (a & c) P 3: Identity Elements �a # 0 = a �a & 3 = a P 4: Complement Laws � a # a’ = 3 � a & a’ = 0 # 0 1 2 3 0 0 1 2 3 1 1 1 3 3 2 2 3 3 3 3 & 0 1 2 3 0 0 0 1 0 1 2 0 0 2 2 8 3 0 1 2 3
6. BOOLEAN TRANSFORMATION Show that a’b’+ab+a’b = a’+b Proof 1: a’b’+ab+a’b = a’b’+(a+a’)b P 2 = a’b’ + b P 4 = a’ + b Theorem 8 Proof 2: a’b’+ab+a’b = a’b’+ab+a’b Theorem 5 = a’b’ + a’b +ab+a’b P 1 = a’(b’+b) + (a+a’)b P 2 = a’*1 +1*b P 4 = a’ + b P 3 9
BOOLEAN TRANSFORMATION (a’b’+c)(a+b)(b’+ac)’ = (a’b’+c)(a+b)(b(ac)’) (De. Morgan’s) = (a’b’+c)(a+b)b(a’+c’) (De. Morgan’s) = (a’b’+c)b(a’+c’) (Absorption) = (a’b’b+bc)(a’+c’) (P 2) = (0+bc)(a’+c’) (P 4) = bc(a’+c’) (P 3) = a’bc+bcc’ (P 2) = a’bc+0 (P 4) = a’bc (P 3) 10
- Slides: 10