Professional Documents
Culture Documents
Fall 2011
Boolean Algebra 1
ClickRalphMaster subtitle style Dr. to edit Barrera
Ralph.Barrera@notes.udayton.edu
Binary Arithmetic
There are only 10 kinds of people in the world, those the understand binary, and those that dont.
Predominately deals with binary variables and logical operators Variables (symbolized by letters of the alphabet) assume values 0 or 1 Three basic logical operations: AND, OR, NOT
Operation AND OR NOT Symbol x y or xy x+y x or x
AND
x y 0 0 0 1 1 0 1 1
xy 0 0 0 1
Two-input AND
Logic Function OR
OR
x 0 0 1 1
y 0 1 0 1
x+y 0 1 1 1
Two-input OR
NOT
x 0 1
x 1 0
Inver ter
Boolean Algebra provides a formal method to manipulate binary variables Classical logic design based on developing Boolean equations for desired logic functions We will briefly review the axioms of Boolean Algebra and the basic theorems
Algebraic structure defined by a set of elements, B, together with two binary operators, + and , satisfying the following (Huntington) postulates (a) Closure with respect to the operator + (b) Closure with respect to the operator
(b) An identity element with respect to , designated by 1: x 1 = 1 x = x
1.
3. (a) Commutative with respect to +: x + y = y + x (b) Commutative with respect to : x y = y x 4. (a) is distributive over + : x (y + z) = (x y) + (x z) (b) + is distributive over : x + (y z) = (x + y) (x + z) 5. For every element x B, there exists an element of x B (called the complement of x) such that
(a) (b)
x + x = 1 x x = 0
Huntington postulates do not include associative law. (It is valid for Boolean algebra and can be derived from the other postulates) The distributive law stated in 4(b) is not valid for ordinary algebra
1.
3. Boolean algebra does not have additive or multiplicative inverses, hence there are no subtraction or division operations 4. Ordinary algebra does not have a complement operation (Postulate 5) 5. Ordinary algebra deals with real numbers (an infinite set) while twovalued Boolean algebra used for logic design uses only two elements:
0 and 1
Duality: The postulates have been listed in pairs where one element of the pair may be obtained from the other by interchanging the binary elements and operators. This is called duality.
9ECE501 F11, Boolean
Basic Theorems
Theorem Theorem 1 Theorem 2 Theorem 3, involution Theorem 4, associative Theorem 5, DeMorgan Theorem 6, absorption x+x=x x+1=1 (x) = x x + (y + z) = (x + y) + z (x + y) = xy x + xy = x x(yz) = (xy)z (xy) = x + y x(x + y) = x Part (a) Part (b) (Dual of a) xx=x x0=0
10ECE501 F11,
11ECE501 F11,
12ECE501 F11,
x + (y + z) = (x + y) + z
Theorem 5 Theorem 6
(x + y) = xy x + xy = x
(xy) = x + y x(x + y) = x