SlideShare a Scribd company logo
Single Variable theorems
Single Variable theorems
THEOREMs LOGIC DIAGRAM
=
⋅1
X
=
⋅X
X
=
⋅ X
X
=
⋅0
X 0
1
X
2
AND
Laws
X
3
0
4
OR Laws
THEOREMs LOGIC DIAGRAM
OR
Laws
=
+0
X
=
+1
X
=
+X
X
=
+X
X
X
5
1
6
X
7
1
8
A A
A =
A
A =
9
Multivariable Theorems
The theorems presented below invoke more than one variable.
‰Commutative Laws: Commutative laws allow change in position of AND or OR
variables. There are two commutative laws.
‰ This law can be extended to any number of variables. For example,
‰ This law can be extended to any number of variables. For example,
‰Associative Laws : The associative laws allow grouping of variables. There are
two associative laws.
‰ This law can be extended to any number of variables. For example,
A⋅B = B⋅A
10 Commutative law for AND operation
A ⋅ B ⋅ C = B ⋅ C ⋅ A = C ⋅ A ⋅ B = B ⋅ A ⋅ C
A+B=B+A
11 Commutative law for OR operation
A + B + C = B + C + A = C + A + B = B + A + C
A(BC)=(AB)C
12 Associative law for AND operation
A +( B + C + D) = (A+ B +C) + D =(A + B) + (C + D)
A+(B+C)=(A+B)+C
13 Associative law for OR operation
‰Distributive Law: The distributive laws allow factoring or multiplying out of
expressions. There are two distributive laws.
‰ This law states that ORing of several variables and ANDing the result with a single
variable is equivalent to ANDing that single variable with each of the several
variables and then ORing the products
A (B+C) = AB +AC
14
≡
A+BC=(A+B) (A+C)
15
RHS = (A + B) (A + C)
= AA + AC + BA + BC
= A + AC +AB + BC
= A(1 + C + B) + BC
= A ⋅ 1 + BC
= A + BC
= LHS
≡
This can be proved algebraically as shown below.
‰ This law states that ORing of a variable (A) with the AND of that variable (A) and another
variable (B) is equal to that variable itself (A).
‰ Algebraically, we have
‰ Therefore ,
‰ This law states that ORing of a variable with the AND of the complement of that variable
with another variable, is equal to the ORing of the two variables.
‰ This law can also be proved algebraically as shown below.
A + A⋅B = A
16
A + A ⋅ B = A (1 + B) = A . 1 = A
A + A ⋅ Any term = A
B
A
B
A
A +
=
+
17
A B
A
B
A
A +
≡ B
A +
B
A
A +
MULTIVARIABLE THEOREMS
MULTIVARIABLE THEOREMS
9 X+Y=Y+X
X+Y=Y+X
Commutative laws
Commutative laws
10 XY=YX
XY=YX
X+(Y+Z) = (X+Y)+Z = X+Y+Z
X+(Y+Z) = (X+Y)+Z = X+Y+Z
X
X·
·(YZ) = (XY)
(YZ) = (XY)·
·Z =XYZ
Z =XYZ
11
Associative laws
Associative laws
12
13b
13a X(Y+Z) = XY + XZ
X(Y+Z) = XY + XZ
(W+X) (Y+Z) = WY+XY+WZ+XZ
(W+X) (Y+Z) = WY+XY+WZ+XZ
Distributive laws
Distributive laws
14 X+XY = X
X+XY = X
Y
X
Y
X
X +
=
+
15
Proofing Theorem 15: (X+Y) (X+Z)= X+YZ
Z)
Y)(X
(X +
+
YZ
XY
XZ
XX +
+
+
⇓
YZ
XY
XZ
X +
+
+
⇓
YZ
XY
X +
+
⇓
YZ
X +
⇓
Proofing: Theorem 16
AB
A +
)
B
A(1+
⇓
A(1)
⇓
A
⇓
Proofing: Theorem 17
Y
X
X+
Y
X+ ( )
A
A
B
A +
+
⇓
( )
1
B
A +
⇓
B
A +
⇓
B
A
AB
A +
+
⇓
B
A
A +
Applying Theorem 16 to expand A term
Factoring out 2nd & 3rd terms
1
X
X
theorem
Applying =
+
X
1
X
theorem
Applying =
⋅
DeMorgan
DeMorgan’
’s Theorems
s Theorems
‰ A great mathematician named DeMorgan contributed
two of the most important theorems of Boolean algebra.
‰ DeMorgan’s theorems are extremely useful in
simplifying expressions in which a product or sum of
variables is inverted. The two theorems are
‰ Theorem (18) says that when the OR sum of two
variables is inverted, this is the same as inverting each
variable individually and then ANDing these inverted
variables.
‰ Theorem (19) says that when the And product of two
variables is inverted ,this is the same as inverting each
variable individually and then ORing them.
Y
X
Y
X ⋅
=
+ 18
Y
X
Y
X +
=
⋅ 19
Implications of De Morgan
Implications of De Morgan’
’s Theorems
s Theorems
‰ Let us examine these theorem (18) and (19) from
the standpoint of logic circuits.
‰
‰ First, consider theorem (18)
First, consider theorem (18)
‰ The left-hand side of the equation can be viewed
as the output of a NOR gate whose inputs are X
and Y.
‰ The right-hand side of the equation, on the other
hand, is a result of first inverting both X and Y and
then putting them through an AND gate.
‰ What this means is that an AND gate with
INVERTERS on each of its inputs is equivalent to
a NOR gate.
‰
‰ Now consider theorem (19)
Now consider theorem (19)
‰ The left hand side the equation can be
implemented by a NAND gate with input X and Y.
‰ The right side can be implemented by first
inverting inputs X and Y and then putting them
through an OR gate.
‰ What this means is that an OR gate with INVERTERS on
each of its inputs is equivalent to a NAND gate.
Y
X
Y
X ⋅
=
+
Y
X +
Y
X ⋅
Y
X
Y
X +
=
⋅
Y
X ⋅
Y
X +
Why simplification?
( )
( ) B
A
C
B
A
X ⋅
⋅
⋅
+
=
)
C
B
(
A
X ⋅
+
=
C
B
X ⋅
=
B
A
X ⋅
=
Design procedures of combinational
logic circuit using algebraic method
STEP 1 :Set up the truth table
STEP 2 :Write the AND term for each
case where the output is a 1
STEP 3 :Write the SOP expression for the
output
STEP 4 :Simplify the output expression
STEP 5 :Implement the circuit for the
final expression
STEP 1 :Set up the truth table
A B C
BC
A
C
B
A
C
AB
ABC
X
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 1
1 1 1 1

More Related Content

PDF
Boolean Algebra Boolean Algebra and Logi
PDF
BoolAlg sghshdhdudjdvdvjdkdjdbdbdbdkjdh.pdf
PPT
Boolean Algebra DLD
PPTX
Boolean alebra
PPTX
Boolean Algebra the basic fundamentals of computer science
PDF
boolean.pdf
PPT
Boolean algebra And Logic Gates
PPT
Boolean Algebra and Logic gates ( Chapter 2)
Boolean Algebra Boolean Algebra and Logi
BoolAlg sghshdhdudjdvdvjdkdjdbdbdbdkjdh.pdf
Boolean Algebra DLD
Boolean alebra
Boolean Algebra the basic fundamentals of computer science
boolean.pdf
Boolean algebra And Logic Gates
Boolean Algebra and Logic gates ( Chapter 2)

Similar to boolean theorems digital logic design cheet sheet .pdf (20)

PDF
Boolean algebra and logic gates
PPTX
Unit 2 digital fundamentals boolean func.pptx
PPTX
boolean algebra presfgdgdfdgentations.pptx
PPTX
Boolean expression org.
PDF
ESTUDO DE ALGEBRA BOOLEANA PARA ESTUDOS.
PDF
Basic Boolean Algebra and DeMorgan's Laws
PPTX
PDF
Part#3_Logic_Design_2020.pdfPart#3_Logic_Design_2020.pdfPart#3_Logic_Design_2...
PDF
Boolean Algebra and Logic Smiplification
PDF
Boolean algebra r009
DOCX
PDF
Chapter 2.pdf
PPTX
Boolean Logic.pptx
PPTX
DLD PRESENTATION1.pptx
DOCX
Computer Architecture & Organization
DOCX
Name dld preparation
PDF
WavesAppendix.pdf
PPTX
Dld (1)
PPTX
presentation on (Boolean rules & laws)
PPT
Calculus of variation problems
Boolean algebra and logic gates
Unit 2 digital fundamentals boolean func.pptx
boolean algebra presfgdgdfdgentations.pptx
Boolean expression org.
ESTUDO DE ALGEBRA BOOLEANA PARA ESTUDOS.
Basic Boolean Algebra and DeMorgan's Laws
Part#3_Logic_Design_2020.pdfPart#3_Logic_Design_2020.pdfPart#3_Logic_Design_2...
Boolean Algebra and Logic Smiplification
Boolean algebra r009
Chapter 2.pdf
Boolean Logic.pptx
DLD PRESENTATION1.pptx
Computer Architecture & Organization
Name dld preparation
WavesAppendix.pdf
Dld (1)
presentation on (Boolean rules & laws)
Calculus of variation problems
Ad

Recently uploaded (20)

PPTX
Management Information system : MIS-e-Business Systems.pptx
PPTX
Artificial Intelligence
PPTX
Feature types and data preprocessing steps
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PPTX
AUTOMOTIVE ENGINE MANAGEMENT (MECHATRONICS).pptx
PDF
August 2025 - Top 10 Read Articles in Network Security & Its Applications
PDF
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
PPTX
introduction to high performance computing
PDF
UNIT no 1 INTRODUCTION TO DBMS NOTES.pdf
PDF
Soil Improvement Techniques Note - Rabbi
PDF
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
PDF
Exploratory_Data_Analysis_Fundamentals.pdf
PDF
III.4.1.2_The_Space_Environment.p pdffdf
PPT
Total quality management ppt for engineering students
PDF
Abrasive, erosive and cavitation wear.pdf
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
distributed database system" (DDBS) is often used to refer to both the distri...
PDF
Influence of Green Infrastructure on Residents’ Endorsement of the New Ecolog...
PPTX
communication and presentation skills 01
PDF
Accra-Kumasi Expressway - Prefeasibility Report Volume 1 of 7.11.2018.pdf
Management Information system : MIS-e-Business Systems.pptx
Artificial Intelligence
Feature types and data preprocessing steps
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
AUTOMOTIVE ENGINE MANAGEMENT (MECHATRONICS).pptx
August 2025 - Top 10 Read Articles in Network Security & Its Applications
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
introduction to high performance computing
UNIT no 1 INTRODUCTION TO DBMS NOTES.pdf
Soil Improvement Techniques Note - Rabbi
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
Exploratory_Data_Analysis_Fundamentals.pdf
III.4.1.2_The_Space_Environment.p pdffdf
Total quality management ppt for engineering students
Abrasive, erosive and cavitation wear.pdf
R24 SURVEYING LAB MANUAL for civil enggi
distributed database system" (DDBS) is often used to refer to both the distri...
Influence of Green Infrastructure on Residents’ Endorsement of the New Ecolog...
communication and presentation skills 01
Accra-Kumasi Expressway - Prefeasibility Report Volume 1 of 7.11.2018.pdf
Ad

boolean theorems digital logic design cheet sheet .pdf

  • 1. Single Variable theorems Single Variable theorems THEOREMs LOGIC DIAGRAM = ⋅1 X = ⋅X X = ⋅ X X = ⋅0 X 0 1 X 2 AND Laws X 3 0 4
  • 2. OR Laws THEOREMs LOGIC DIAGRAM OR Laws = +0 X = +1 X = +X X = +X X X 5 1 6 X 7 1 8 A A A = A A = 9
  • 3. Multivariable Theorems The theorems presented below invoke more than one variable. ‰Commutative Laws: Commutative laws allow change in position of AND or OR variables. There are two commutative laws. ‰ This law can be extended to any number of variables. For example, ‰ This law can be extended to any number of variables. For example, ‰Associative Laws : The associative laws allow grouping of variables. There are two associative laws. ‰ This law can be extended to any number of variables. For example, A⋅B = B⋅A 10 Commutative law for AND operation A ⋅ B ⋅ C = B ⋅ C ⋅ A = C ⋅ A ⋅ B = B ⋅ A ⋅ C A+B=B+A 11 Commutative law for OR operation A + B + C = B + C + A = C + A + B = B + A + C A(BC)=(AB)C 12 Associative law for AND operation A +( B + C + D) = (A+ B +C) + D =(A + B) + (C + D) A+(B+C)=(A+B)+C 13 Associative law for OR operation
  • 4. ‰Distributive Law: The distributive laws allow factoring or multiplying out of expressions. There are two distributive laws. ‰ This law states that ORing of several variables and ANDing the result with a single variable is equivalent to ANDing that single variable with each of the several variables and then ORing the products A (B+C) = AB +AC 14 ≡ A+BC=(A+B) (A+C) 15 RHS = (A + B) (A + C) = AA + AC + BA + BC = A + AC +AB + BC = A(1 + C + B) + BC = A ⋅ 1 + BC = A + BC = LHS ≡ This can be proved algebraically as shown below.
  • 5. ‰ This law states that ORing of a variable (A) with the AND of that variable (A) and another variable (B) is equal to that variable itself (A). ‰ Algebraically, we have ‰ Therefore , ‰ This law states that ORing of a variable with the AND of the complement of that variable with another variable, is equal to the ORing of the two variables. ‰ This law can also be proved algebraically as shown below. A + A⋅B = A 16 A + A ⋅ B = A (1 + B) = A . 1 = A A + A ⋅ Any term = A B A B A A + = + 17 A B A B A A + ≡ B A + B A A +
  • 6. MULTIVARIABLE THEOREMS MULTIVARIABLE THEOREMS 9 X+Y=Y+X X+Y=Y+X Commutative laws Commutative laws 10 XY=YX XY=YX X+(Y+Z) = (X+Y)+Z = X+Y+Z X+(Y+Z) = (X+Y)+Z = X+Y+Z X X· ·(YZ) = (XY) (YZ) = (XY)· ·Z =XYZ Z =XYZ 11 Associative laws Associative laws 12 13b 13a X(Y+Z) = XY + XZ X(Y+Z) = XY + XZ (W+X) (Y+Z) = WY+XY+WZ+XZ (W+X) (Y+Z) = WY+XY+WZ+XZ Distributive laws Distributive laws 14 X+XY = X X+XY = X Y X Y X X + = + 15
  • 7. Proofing Theorem 15: (X+Y) (X+Z)= X+YZ Z) Y)(X (X + + YZ XY XZ XX + + + ⇓ YZ XY XZ X + + + ⇓ YZ XY X + + ⇓ YZ X + ⇓
  • 8. Proofing: Theorem 16 AB A + ) B A(1+ ⇓ A(1) ⇓ A ⇓
  • 9. Proofing: Theorem 17 Y X X+ Y X+ ( ) A A B A + + ⇓ ( ) 1 B A + ⇓ B A + ⇓ B A AB A + + ⇓ B A A + Applying Theorem 16 to expand A term Factoring out 2nd & 3rd terms 1 X X theorem Applying = + X 1 X theorem Applying = ⋅
  • 10. DeMorgan DeMorgan’ ’s Theorems s Theorems ‰ A great mathematician named DeMorgan contributed two of the most important theorems of Boolean algebra. ‰ DeMorgan’s theorems are extremely useful in simplifying expressions in which a product or sum of variables is inverted. The two theorems are ‰ Theorem (18) says that when the OR sum of two variables is inverted, this is the same as inverting each variable individually and then ANDing these inverted variables. ‰ Theorem (19) says that when the And product of two variables is inverted ,this is the same as inverting each variable individually and then ORing them. Y X Y X ⋅ = + 18 Y X Y X + = ⋅ 19
  • 11. Implications of De Morgan Implications of De Morgan’ ’s Theorems s Theorems ‰ Let us examine these theorem (18) and (19) from the standpoint of logic circuits. ‰ ‰ First, consider theorem (18) First, consider theorem (18) ‰ The left-hand side of the equation can be viewed as the output of a NOR gate whose inputs are X and Y. ‰ The right-hand side of the equation, on the other hand, is a result of first inverting both X and Y and then putting them through an AND gate. ‰ What this means is that an AND gate with INVERTERS on each of its inputs is equivalent to a NOR gate. ‰ ‰ Now consider theorem (19) Now consider theorem (19) ‰ The left hand side the equation can be implemented by a NAND gate with input X and Y. ‰ The right side can be implemented by first inverting inputs X and Y and then putting them through an OR gate. ‰ What this means is that an OR gate with INVERTERS on each of its inputs is equivalent to a NAND gate. Y X Y X ⋅ = + Y X + Y X ⋅ Y X Y X + = ⋅ Y X ⋅ Y X +
  • 12. Why simplification? ( ) ( ) B A C B A X ⋅ ⋅ ⋅ + = ) C B ( A X ⋅ + = C B X ⋅ = B A X ⋅ =
  • 13. Design procedures of combinational logic circuit using algebraic method STEP 1 :Set up the truth table STEP 2 :Write the AND term for each case where the output is a 1 STEP 3 :Write the SOP expression for the output STEP 4 :Simplify the output expression STEP 5 :Implement the circuit for the final expression
  • 14. STEP 1 :Set up the truth table A B C BC A C B A C AB ABC X 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 1 1 0 0 0 1 0 1 1 1 1 0 1 1 1 1 1