This document provides an overview of Boolean algebra, which is a branch of mathematics used in digital circuit design and analysis. It defines Boolean algebra terms like operators, variables, identities, and theorems. It also explains different Boolean algebra representations like truth tables, logic diagrams, and standard forms. Finally, it provides examples of simplifying Boolean expressions and deriving truth tables from algebraic expressions.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
246 views25 pages
Boolean Algebra
This document provides an overview of Boolean algebra, which is a branch of mathematics used in digital circuit design and analysis. It defines Boolean algebra terms like operators, variables, identities, and theorems. It also explains different Boolean algebra representations like truth tables, logic diagrams, and standard forms. Finally, it provides examples of simplifying Boolean expressions and deriving truth tables from algebraic expressions.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 25
Boolean Algebra
We will find a lot of similarities between Boolean algebra and
"normal" algebra, the kind of algebra involving so-called real numbers. Just bear in mind that the system of numbers defining Boolean algebra is severely limited in terms of scope, and that there can only be one of two possible values for any Boolean variable: 1 or 0. Consequently, the "Laws" of Boolean algebra often differ from the "Laws" of real-number algebra, making possible such statements as 1 + 1 = 1, which would normally be considered absurd. Once you comprehend the premise of all quantities in Boolean algebra being limited to the two possibilities of 1 and 0, and the general philosophical principle of Laws depending on quantitative definitions, the "nonsense" of Boolean algebra disappears.
Boolean Algebra Invented by George Boole in 1854 Considered as the backbone of computer circuit analysis and design It is a branch of mathematics that is directly applicable to digital design. It is a set of elements, a set of operators that act on these elements, and a set of axioms or postulates that govern the actions of these operators on these elements. Theorems and Postulates The postulates are basic axioms of the algebraic structure and need no proof. Basic Identity (a) x+ 0 = x (b) x. 1 = x Commutative Property (a) x + y = y + x (b) xy = yx Distributive Property (a) x(y+z) = xy+xz (b) x+yz = (x+y ) (x+z) Basic Identity (a) x+ x = 1 (b) xx = 0 Postulates of Boolean Algebra The theorems must be proven from the postulates Theorem 1. Identity x + x = x xx = x Theorem 2. Identity x+ 1= 1 x.0 = 0 Theorem 3. Involution (x) = x Theorem 4. Associative x+(y+z) = (x+y) + z x(yz) = (xy)z Theorem 5. De Morgans (x+y) = x.y (xy) = x + y Theorem 6. Absorption x + xy = x x(x+y) = x Operations with Boolean Algebra Complementation () To complement a variable is to reverse its value Represented by placing a bar over the variable or by the () symbol after the variable.
Addition (+) Boolean Addition is equivalent to logical OR. The (+) plus symbol is used to indicate the addition or ORing
Multiplication (.) Boolean multiplication is equivalent to a logical AND operation
Note: Prohibited Operations: The operations of subtraction and division do not exist in Boolean Algebra
Truth Table It lists every possible combination of inputs and the output corresponding to each combination of inputs. Given a function N inputs, the possible combinations will then be equal to 2 N . Example: using a truth table prove that x (x+y) = x.
x y x+y x(x+y) 0 0 0 0 0 1 1 0 1 0 1 1 1 1 1 1 Boolean Functions It is defined using an equal sign and an expression comprise of binary variables, two binary operators OR and AND, the unary operator NOT and the parentheses. It may also be represented by a truth table, showing all the possible 1s and 0s combination of the N binary variable Example: 1. F1=x(y+z) F1=1 only when : x=1, y=1, z =1 or x=1, y =1, z=0 and x=1, y=0, z=1 X y z y+z F1 0 0 0 0 0 0 0 1 1 0 0 1 0 1 0 0 1 1 1 0 1 0 0 0 0 1 0 1 1 1 1 1 0 1 1 1 1 1 1 1 Algebraic Manipulation A Boolean function may be transformed from an algebraic expression into a logic diagram composed of AND, OR and NOT. There is an AND gate for each term in the expression, and an OR gate is used to combined two or more terms. Examples Complement of a Function The function F and F are complementary if: they depend on the same set of input variables for every combination of values of the input variables, the values of F and F are inverses to each other.
The complement of a function may be derived algebraically using De Morgans theorem. Canonical Forms A binary variable may appear either in its normal form (x) or in its complemented form (x). Combining x and y with the AND operator, the following 4 combinations will result: xy, xy, xy and xy. Canonical Form
X Y XY XY XY XY Possible Combination for Three Variables x y Z Minterm Designation Maxterm Designation 0 0 0 xyz m 0 x+y+z M 0 0 0 1 xyz m 1 x+y+z M 1 0 1 0 xyz m 2 x+y+z M 2 0 1 1 xyz m 3 x+y+z M 3 1 0 0 xyz m 4 x+y+z M 4 1 0 1 xyz m 5 x+y+z M 5 1 1 0 xyz m 6 x+y+z M 6 1 1 1 xyz m 7 x+y+z M 7 Minterm or Standard Products Obtained from an AND terms of the N variables It is represented by the symbol m j where j denotes the decimal equivalent of the binary value
Maxterm or Standard Sums Obtained from an OR term of the N variables It is represented by the symbol M j where j denotes the decimal equivalent of the binary value
Sum of Minterms The ORing of terms which result in a 1-value of the function. Ex.
Boolean Function: F1=xyz + xyz + xyz =m 1 + m 4 +m 5 or F1=(1, 4, 5)
Complement of the Function F1=xyz + xyz + xyz + xyz + xyz = m 0 , m 2 , m 3 , m 6 , m 7
or F1 =(0, 2, 3, 6, 7)
x y z F1 0 0 0 0 0 0 1 1 0 1 0 0 0 1 1 0 1 0 0 1 1 0 1 1 1 1 0 0 1 1 1 0 Product of Maxterms The ANDing of terms which each result in a 0-value of the function Ex. Express the Boolean function F= AB + AC as a product of maxterms
F= (M 0 ,M 1 , M 2 ,M 3 ,M 5 ) F=(A + B +C) (A+B+C) (A+B+C) (A+B+C) (A+B+C) A B C F 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 1 1 0 1 0 1 1 0 1 1 1 1 1 Standard Forms: Two types of Standard Form Sum of Products A Boolean expression containing AND terms of one or more literals each. The sum denotes the ORing of the AND terms. Ex. F1= y + xyz + xz Product of Sums A Boolean expression containing OR terms of one or more literals each. The sum denotes the ANDing of the OR terms. Ex. F2=y (x+z) (x+y+z) (x+y+z+w)
Exercises 1. Simplify the following Boolean expressions to a minimum using Boolean Algebra a. (xy + z) + z + xy + wz b. x + xy + xz + xyz c. AB(CD +CD) + AB(C+D)(C+D) 2. For the Boolean function F given in the truth table, find the following: a) List the minterms of the function. b) List the minterms of F c) Express F in sum of minterms in algebraic form d) Simply the function to an expression with the minimum number of literals. x y z F 0 0 0 0 0 0 1 0 0 1 0 1 0 1 1 1 1 0 0 0 1 0 1 0 1 1 0 1 1 1 1 1 3. Given the following Boolean function: F=xyz +xyz + wxy + wxy + wxy a) Obtain the truth table of the function. b) Draw the logic diagram using the original Boolean expression. c) Simplify the function to a minimum number of literals using Boolean algebra. d) Obtain the truth table of the simplifed expression and compare with the original table.