Professional Documents
Culture Documents
Boolean Algebra
Boolean Algebra
3/35
Basic operations in Boolean Algebra
4/35
Annual Progress Seminar-1 5
Postulates/Rules followed in mathematical structures
x* y = y* x for all x, y ∈ S
Commutative Law x+y =y+x
Distributive Law
x*(y • z) = (x*y) • (x*z) x* (y + z) = x*y + x*z
6/35
Boolean Algebra
Boolean algebra (BA) does not follow all the rules of conventional mathematical structure.
The postulates followed by BA are :-
Closure (for + and *)
Associative (for + and *)
Identity (for + and *)
Commutative (for + and *)
Distributive (for + and *)
For every element x in Boolean algebra there is a such that
x + = 1 and x. = 0 ( is Complement )
Unlike ordinary algebra Boolean algebra does not have :-
Additive or multiplicative inverses.
Follows Distributive law
In Digital Electronics, we narrow down to two valued Boolean algebra meaning that every variable(/Literal) has only two
values 0 and 1
7/35
Basic Laws and theorems
Duality :-
Every algebraic expression deducible from the postulates of Boolean algebra remains valid if the
operators and identity elements are interchanged.
8/35
Boolean function
A binary variable can take the value of 0 or 1. A Boolean function is an expression formed with binary variables, the two
binary operators OR and AND, the unary operator NOT, parentheses, and equal sign. For a given value of the variables, the
function can be either 0 or 1.
For example, the Boolean function: F1 = xyz′
The function F1 is equal to 1 if x = 1 and y = 1 and z′ = 1; otherwise F1 = 0, The above is an example of a Boolean function
represented as an algebraic expression.
A Boolean function may also be represented in a truth table and a logic Diagram with AND,OR and NOT gates.
Priority of Solving: NOT, AND, OR.
Truth Table*
9/35 M.Morris Mano, Digital Logic and Computer Design, Pearson Publishers
Boolean function
10/35
Redundancy Theorem:
• Consensus theorem
• Conditions:
Three variables
Each variable is repeated twice
One variable is complemented (once)
• Solve: Take the complimented variable
• Example:
Minterms:-
Consider 2 variables (literals) x,y and its complements x′,y′ . These variables can be combined using AND (*) operator and
we can get 4 combinations like xy, x′y,xy′, x′y′.
Each of these terms are called the minterms or standard product.
Sum of Min terms/ Sum of Products (SOP):-
The sum of products is a Boolean expression containing AND terms, called product terms, of one or more literals each. The
sum denotes the ORing of these terms. An example of a function expressed in sum of products is:
M = y′ + xy + x′yz′
Maxterms:-
Consider 2 variables (literals) x,y and its complements x′,y′ . These variables can be combined using OR (+) operator and
we can get 4 combinations like x+y, x′+y,x+y′, x′+y′.
Each of these terms are called the maxterms or standard sum.
Product of Max terms/Product of Sums(POS) :-
A product of sums is a Boolean expression containing OR terms, called sum terms. Each term may have any number of
literals. The product denotes the AN Ding of these terms. Example of a function in product of sums is:
N= x(y′ + z)(x′ + y + z′ + w)
12/35
Annual Progress Seminar-1 13
Annual Progress Seminar-1 14
Assignment Questions
1. Simplify the following Boolean Expressions to a minimum number of literals :-
1. XY +XY’ 4. (BC’+A’D)(AB’+CD’)
2. ABC+A’B+ABC’
3. (X+Y’+Z’)(X’+Z’)
2. Express the following function in Sum of Minterms
1. (xy +z)(y + xz) 3. (xy + yz’ + x’z) (x +z)
2. x’z + wx’y + wyz’ + w’y’
3. Express the following Boolean Function as Product of Sums:-
1. (AB +C)(B+C’D) 3. (X+Y’) (Y’ +Z)
2. X’ +X(X+Y’)(Y+Z’)
15/35
Karnaugh Map
Boolean functions are simplified by algebraic means by using Sum of products or Product of Sums method.
This procedure is tedious because it lacks specific rules to predict each succeeding step in the manipulative process.
For higher order simplification of the Boolean functions we can use the Karnaugh map method.
The Karnaugh Map is a diagram made up of squares and each square is a minterm(/ Maxterm).
Some rules for Karnaugh Map generation are :–
The number of cells in the map will be , n = number of variables.
The adjacent squares are collected and then postulates are applied to find the simplified function.
16/35
Karnaugh Map
1. Assign 1 on the squares as per the Minterms in Three Variable Karnaugh Map :-
the K-MAP. F = X′YZ + X′YZ′ + XY′Z′ + XY′Z
17/35
Karnaugh Map
1. Assign 1 on the squares as per the Minterms in the K- Four Variable Karnaugh Map :-
MAP. F = A′B′C′ + B′CD′ + A′BCD′ + AB′C′
18/35
Annual Progress Seminar-1 19
Annual Progress Seminar-1 20
Annual Progress Seminar-1 21
Assignment Questions
Simplify the following Boolean Expressions using KARNAUGH Map:-
1. x’y’ + yz + x’yz’
2. xyz + x’y’z + xy’z’
3. A’B’C’D’ + A’CD’ +AB’D’ + ABCD + A’BD
4. A’B’C’D’ + AB’C + B’CD’ + ABCD’ + BC’D
22/35