19
Young Won Lim 3/30/18 Boolean Algebra (8A)

Boolean Algebra (8A) - upload.wikimedia.org · Logic (8A) Boolean Algebra 4 Young Won Lim 3/30/18 Boolean Algebra

  • Upload
    others

  • View
    37

  • Download
    0

Embed Size (px)

Citation preview

Young Won Lim3/30/18

Boolean Algebra (8A)

Young Won Lim3/30/18

Copyright (c) 2015 – 2018 Young W. Lim.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".

Please send corrections (or suggestions) to [email protected].

This document was produced by using LibreOffice and Octave.

Logic (8A)Boolean Algebra 3 Young Won Lim

3/30/18

Argument

Logic (8A)Boolean Algebra 4 Young Won Lim

3/30/18

Boolean Algebra

https://en.wikipedia.org/wiki/Boolean_algebra

Logic (8A)Boolean Algebra 5 Young Won Lim

3/30/18

Operators

https://en.wikipedia.org/wiki/Boolean_algebra

Logic (8A)Boolean Algebra 6 Young Won Lim

3/30/18

Laws (1)

https://en.wikipedia.org/wiki/Boolean_algebra

x+(y+z) = (x+y)+zx(yz) = (xy)zx+y = y+xxy = yzx(y+z) = xy + xzx+0=xx*1=xx*0=0

Logic (8A)Boolean Algebra 7 Young Won Lim

3/30/18

Laws (2)

https://en.wikipedia.org/wiki/Boolean_algebra

x+1=1

x+x=x

x*x=x

x(x+y)=x

x+xy=x

x+yz=(x+y)(x+z)

x x = 0x+ x = 1

x y =(x+ y)

x+ y = (x y)

Logic (8A)Boolean Algebra 8 Young Won Lim

3/30/18

Digital Logic Gates

https://en.wikipedia.org/wiki/Boolean_algebra

Logic (8A)Boolean Algebra 9 Young Won Lim

3/30/18

NOT Gate

https://en.wikipedia.org/wiki/Logic_gate

Logic (8A)Boolean Algebra 10 Young Won Lim

3/30/18

AND, OR Gates

https://en.wikipedia.org/wiki/Logic_gate

Logic (8A)Boolean Algebra 11 Young Won Lim

3/30/18

NAND, NOR Gates

https://en.wikipedia.org/wiki/Logic_gate

Logic (8A)Boolean Algebra 12 Young Won Lim

3/30/18

XOR, XNOR Gates

https://en.wikipedia.org/wiki/Logic_gate

Logic (8A)Boolean Algebra 13 Young Won Lim

3/30/18

CMOS Logic Gates

https://en.wikipedia.org/wiki/CMOS

Logic (8A)Boolean Algebra 14 Young Won Lim

3/30/18

Identity and Null Element Theorem

0 1

0 1

0 1

x

x

x

x

x

x

x

x

x

x

0

1

x⋅0 = 0 x⋅1 = x

x+ 0 = x x+ 1 = 1

x+ 0 = x x+ 1 = x

https://en.wikiversity.org/wiki/Discrete_Mathematics_in_plain_view#Algorithms

Logic (8A)Boolean Algebra 15 Young Won Lim

3/30/18

Distributive

x⋅( y + z) = x⋅ y + x⋅z

x + ( y⋅ z) = (x + y)⋅(x + z)

≠ x⋅ y + z

= x + y⋅ z

This parenthesis cannot be deleted

This parenthesis can be deleted

Operator precedence : ⋅ > +

https://en.wikiversity.org/wiki/Discrete_Mathematics_in_plain_view#Algorithms

Logic (8A)Boolean Algebra 16 Young Won Lim

3/30/18

Inclusion

x⋅(x + y ) = x

= x⋅(1 + y )

= x

x y

x + y

x + xy = x

x + xy = x⋅1 + x⋅ y

= x⋅(1 + y )

= x

x y

x y

x⋅(x + y ) = x⋅ x + x⋅ y

= x + x⋅ y

https://en.wikiversity.org/wiki/Discrete_Mathematics_in_plain_view#Algorithms

Logic (8A)Boolean Algebra 17 Young Won Lim

3/30/18

Inclusion

x⋅(x + y ) = x

= x⋅(1 + y )

= x

x y

x + y

x + xy = x

x + xy = x⋅1 + x⋅ y

= x⋅(1 + y )

= x

x y

x y

x⋅(x + y ) = x⋅ x + x⋅ y

= x + x⋅ y

https://en.wikiversity.org/wiki/Discrete_Mathematics_in_plain_view#Algorithms

Logic (8A)Boolean Algebra 18 Young Won Lim

3/30/18

`

Eliminate

x⋅(x + y ) = x y

= x⋅ y

x y

x + y

x + x y = x + y

= 1⋅(x + y )

= x + y

x y

x y

x⋅(x + y ) = x⋅ x + x⋅ y

= 0 + x⋅ y

x + x y = (x + x )⋅(x + y)

https://en.wikiversity.org/wiki/Discrete_Mathematics_in_plain_view#Algorithms

Young Won Lim3/30/18

References

[1] http://en.wikipedia.org/[2]