Boolean Algebra
Boolean Algebra
By
Prof. S. K. Dash
School Of Electronics Engineering
KIIT Deemed to be University
Boolean Algebra
Boolean algebra is a mathematical system for the manipulation of variables
that can have one of two values.
In formal logic, these values are “true” and “false.”
In digital systems, these values are “on” and “off,” 1 and 0, or “high”
and “low.”
Variables and their complements are sometimes called literals
Boolean expressions are created by performing operations on Boolean
variables.
A Boolean operator can be completely described using a truth table.
A Boolean algebra comprises...
A set of elements ( A, X, etc)
Binary operators {+ , •} Boolean sum and product
A unary operation { ' } (or { }) example: A’ or A
Consensus: (X • Y ) + ( X'•Z ) + ( Y • Z ) = X • Y + X‘ • Z
Dual: (X+Y)•(Y+Z)•(X'+Z)=(X+Y)•(X'+Z)
Transposition: ( X + Y) • ( X‘ + Z ) = X • Z + X‘ • Y
Dual: X•Y+X'•Z=(X+Z)•(X'+Y)
The output of the XOR operation is true only when the values
of the inputs differ.
The output of the XNOR operation is true only when the
values of the inputs are same.
Problem : XOR & XNOR as buffer & inverter??
A B C F
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 0
1 0 0 1
1 0 1 0
1 1 0 0
1 1 1 1
F = (A + BC)(AB’ + ABC)
=(A’ . BC’’)(AB’ + ABC)
=A’BC.A.(B’+BC) = 0
Example:
Prove that F= ( A’B’ + B’C’ + A’D’ + CD) = B’C’ + A’D’ + CD
Sol: F= A’B’ + B’C’ + A’D’ + CD
=A’B’ + B’C’ + A’D’ + CD + B’D
= B’C’ + A’D’ + CD + B’D
= B’C’ + A’D’ + CD
Sum of product(SOP)
Product of Sum(POS)
A’B’ = m0 AB’=m2 A + B = M0 A’ + B = M2
A’B = m1 AB = m3 A + B’ = M1 A’ + B’ = M3
KIIT Deemed to be University
Truth Table notation for Minterms and Maxterms
Minterm =Maxterm’
+ abcd’ +ab’cd’
= Σm(0,1,2,3,5,7,10,14)
What is the maxterm expansion for f?
f(a,b,c,d) = Σm(0,1,2,3,5,7,10,14)
= ∏ M(4,6,8,9,11,12,13,15) = ?????
KIIT Deemed to be University
Conversion of AOI logic to
NAND/NOR logic
1. Draw the circuit in AOI logic.
2. If NAND is chosen, add a circle at o/p of each and gate
& at i/p to all or gate.
3. If NOR is chosen, add a circle at o/p of each or gate & at
i/p to all and gate.
4. Add an inverter on each line that received a circle in step
2 0r 3.
5. Replaced bubbled and gate by NOR gate & bubbled or
gate by NAND gate.
6. Eliminate any double inversion.