Professional Documents
Culture Documents
Boolean Algebra
Learning Objectives
4
Introduction
5
Boolean Algebra
6
Boolean operators and truth tables
7
Boolean Algebra
8
Boolean Algebra
9
Boolean Algebra
10
Boolean Algebra
• As with common
arithmetic, Boolean
operations have rules of
precedence.
• The NOT operator has
highest priority, followed
by AND and then OR.
• This is what is
represented by the
(shaded) function
subparts of the table.
11
Application of Boolean Algebra
12
Boolean Identities
13
Laws and theorems of Boolean Algebra
14
Laws and theorems of Boolean Algebra
Laws and theorems of Boolean Algebra
Most useful identities
17
Use of identities to simplify giveb
function – an example
We can use Boolean identities to simplify the function: as follows:
Simplify: C + B’C’:
Expression Rule(s) Used
C + B’C’ Original Expression
C + (B’ + C’) DeMorgan's Law.
(C + C’) + B Commutative, Associative Laws.
1+B Complement Law.
1 Identity Law.
18
Use of identities to simplify giveb
function – an example
We can use Boolean identities to simplify the function: as follows:
Simplify: (A + C)(AD + AD’) + AC + C:
Expression Rule(s) Used
(A + C)(AD + AD’) + AC + C Original Expression
(A + C)A(D + D’) + AC + C Distributive.
(A + C)A + AC + C Complement, Identity.
A((A + C) + C) + C Commutative,
Distributive.
A(A + C) + C Associative,
Idempotent.
AA + AC + C Distributive.
A + (A + T)C 19 Idempotent, Identity,
Complement of a function
21
Boolean Algebra
is:
22
Standardized vs Canonical
forms
• Through our exercises in simplifying Boolean
expressions, we see that there are numerous
ways of stating the same Boolean expression .
o These “synonymous” forms are logically equivalent.
o Logically equivalent expressions have identical truth
tables.
• In order to eliminate as much confusion as
possible, designers express Boolean functions in
standardized or canonical form.
23
Sum-of-products & Product-of-sums
24
Converting a function to sum-of-products
form
• It is easy to convert a function
to sum-of-products form using
its truth table.
• We are interested in the values
of the variables that make the
function true (=1).
• Using the truth table, we list
the values of the variables that
result in a true function value.
• Each group of variables is then
ORed together.
25
Resulting sum-of-products form
Take note that this function is not in simplest terms. The objective here is
only to rewrite our function in canonical sum-of-products form.
26
Thank you !