DLD BooleanAlgebra
DLD BooleanAlgebra
• Boolean Algebra
• Introduction
• Elements
• Operators
• Axioms / Postulates
• Arithmetic
• Identities
• Properties
• DeMorgan’s Theorems
• Converting Boolean expression to Truth Table
• Simplification
• Boolean rules for simplification
• Circuit simplification
• Converting Truth Table into Boolean Expressions
Boolean Algebra - Introduction
• Boolean algebra is a system of mathematical logic.
• It is the basic mathematical tool in the analysis and synthesis of
switching circuits. It is a way to express logic functions algebraically.
• Brief History:
• In 1854, George Boole developed an algebraic system now called Boolean
algebra.
• In 1904, E. V. Huntington formulated its postulates.
• In 1938, Claude E. Shannon introduced a two‐valued Boolean algebra called
switching algebra that represented the properties of bistable electrical
switching circuits.
Boolean Algebra
What is it?
It is an algebraic system consisting of the set of Elements, set of
Operators and number of axioms or postulates
• Elements: 0, 1
• Operators
• two binary operators called OR, AND,
• one unary operator NOT.
Boolean Algebraic Identities
• In mathematics, an identity is a statement true for all possible values
of its variable or variables.
• Boolean algebra (like ordinary algebra) has its own unique identities
based on the bivalent states of Boolean variables.
Additive Identities
• Adding Zero
• The first Boolean identity is that the sum of anything and zero is the same as
the original “anything.”
• This identity is no different from its real-number algebraic equivalent:
A+0=A
• No matter what the value of A, the output will always be the same:
• when A=1, the output will also be 1; when A=0, the output will also be 0.
Adding One
• the sum of “anything” and one is one:
• A +1=1
• No matter what the value of A, the sum of A and 1 will always be 1.
Additive Identities
Adding a Quantity to Itself
• the sum is equal to the original quantity:
• 0 + 0 = 0, and 1 + 1 = 1
• ( A. B ). C = A . ( B . C )
• ( A + B ) + C = A + ( B + C)
Distributive Law
• Distributive law states the following conditions:
• A. ( B + C) = (A. B) + (A. C)
• A + (B. C) = (A + B) . ( A + C)
Boolean Algebra Theorems
A B A’ B’ (A.B)’ A’+B’
0 0 1 1 1 1
0 1 1 0 1 1
1 0 0 1 1 1
1 1 0 0 0 0
De Morgan’s Second law
• The first law states that
• the complement of the sum of variables is equal to the product of their
individual complements of a variable.
• (A+B)’ = A’. B’
A B A’ B’ (A.B)’ A’+B’
0 0 1 1 1 1
0 1 1 0 0 0
1 0 0 1 0 0
1 1 0 0 0 0
Truth Table
• The truth table displays the logical operations on input signals in a
table format.
• Every Boolean expression can be viewed as a truth table.
• The truth table identifies all possible input combinations and the
output for each.
Truth Table
X Y AND X Y OR
0 0 0 0 0 0
0 1 0 0 1 1
1 0 0 1 0 1
1 1 1 1 1 1
X Y AND OR
0 0 0 0
0 1 1 1
1 0 1 1
1 1 1 1
Converting Boolean Expression to Truth Table
• Truth Table: Combination of Rows and Columns
• Columns = Variables
• Number of Columns = Number of variable and operations
• Rows = All Possible Input values (distinct combinations) for the variables and
results of operations and expressions.
• Number of Rows = Two power number of variables (n) i.e. 2n
Question
• Draw a truth table for A(B+D)
expressions
A B D B+D A(B+D)
Input combinations
Question
• Draw a truth table for A(B+D)
A B D B+D A(B+D)
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
Question
• Draw a truth table for A(B+D)
A B D B+D A(B+D)
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
Question
• Draw a truth table for A(B+D)
A B D B+D A(B+D)
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 1
1 1 1 1
Question
• Draw a truth table for A(B+D)
A B D B+D A(B+D)
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
Question - 2
• Draw a truth table for (A+B)+(B+D)