SlideShare a Scribd company logo
Boolean Algebra
Prof. Dr. Khalid M. Hosny
1
2
 Variable – a symbol used to represent a logical
quantity.
 Complement – the inverse of a variable and is
indicated by a bar over the variable.
 Literal – a variable or the complement of a
variable.
Boolean Operations & Expressions
Basic Boolean Equations
 For the basic gates/functions
 AND
◦ Z = A B
◦ X = C D E 3 input gate
◦ Y = F G H K 4 input gate
 OR
◦ Z = A + B
◦ Y = F + G + H + K 4 input gate
 NOT
 F = 𝒁
3
Boolean Algebra theorems
 1. X + 0 = X
 2. X + 1 = 1
 3. X · 0 = 0
 4. X· 1 = X
 5. X + X = X
 6. X · X = X
 7. X + 𝑿 = 1
 8. X · 𝑿 = 0
 9. 𝑿= X
4
Boolean Algebra theorems
10. X + Y = Y + X
11. X . Y = Y. X
12. X + Y + Z = X + Y + Z
13. X(YZ) = XY Z
14. X(Y + Z) = XY + XZ
15. X + XY = X
16. X + 𝑿Y = X + Y
17. X + YZ = (X + Y)(X + Z)
18. X + 𝑿Y = X
5
6
X+y
LHS
X+X’ y
X’ y
X’
y
x
0
0
0
1
0
0
1
1
1
1
1
0
1
1
0
0
0
1
1
1
0
0
1
1
DeMorgan’s Theorems
 The complement of two or
more ANDed variables is
equivalent to the OR of the
complements of the
individual variables.
 The complement of two or
more ORed variables is
equivalent to the AND of
the complements of the
individual variables.
Y
X
Y
X 


Y
X
Y
X 


NAND Negative-OR
Negative-AND
NOR
7
 Very important in simplifying equations
◦ (𝑿 + 𝒀) = 𝑿· 𝒀
◦ (𝑿𝒀)= 𝑿 + 𝒀
DeMorgan’s Theorems
8
Complement of a function
 In real implementation sometimes the
complement of a function is needed.
◦ Have F=𝑿Y𝒁+𝑿𝒀Z
9
 Apply DeMorgan’s theorems to the expressions:
DeMorgan’s Theorems (Exercises)
10
DeMorgan’s Theorems (Exercises)
 Apply DeMorgan’s theorems to the expressions:
)
(
)
(
F
E
D
C
B
A
EF
D
C
B
A
DEF
ABC
D
C
B
A








11
Prove the following expression by using
truth table
 Y=XYZ+XY+XYZ
12
13
X Y Z 𝑿 𝒁 XYZ 𝑿Y XY𝒁 XYZ+𝑿Y XYZ+𝑿Y+XY𝒁
0 0 0 1 1 0 0 0 0 0
0 0 1 1 0 0 0 0 0 0
0 1 0 1 1 0 1 0 1 1
0 1 1 1 0 0 1 0 1 1
1 0 0 0 1 0 0 0 0 0
1 0 1 0 0 0 0 0 0 0
1 1 0 0 1 0 0 1 0 1
1 1 1 0 0 1 0 0 1 1
Prove the following expression by using
truth table
 (X+Y)(X+Y)=X
14
X Y 𝒀 (X+Y) (X+𝒀) (X+Y)(X+𝒀)
0 0 1 0 1 0
1 0 1 1 1 1
0 1 0 1 0 0
1 1 0 1 1 1
Simplify
 Simplify logical expression to its simplest form.
◦ F=𝑿YZ+𝑿Y𝒁+XZ
15
Simplify
 Draw the logic diagram for the following
expression :
𝐹 = 𝐴 𝐵 + 𝐴𝐵
16
Simplify the following expression and draw a
logic diagram for the simplified expression
𝑭 = 𝑨𝑩𝑪 + 𝑨𝑩𝑪 + 𝑨𝑩𝑪 + 𝑩𝑪
17
SOLUTION
𝑭 = 𝑨𝑩𝑪 + 𝑨𝑩𝑪 + 𝑨𝑩𝑪 + 𝑨𝑩𝑪 + 𝑩𝑪 theorem (5)
𝑭 = 𝑨 + 𝑨 𝑩𝑪 + 𝑨 𝑩𝑪 + BC + 𝑩𝑪
= 𝟏 𝑩𝑪 + 𝑨 𝑩 + B C + 𝑩𝑪
=𝑩𝑪 + 𝑨C + 𝑩𝑪
= 𝑩(𝑪 + 𝑪 ) +𝑨C
F = 𝑩 + 𝑨𝑪
18
Simplify the following expression and draw a
logic diagram for the simplified expression
𝐹 = 𝑌 𝑊 𝑍 + 𝑌𝑊𝑍 + 𝑋𝑌
19
 SOLUTION
𝐹 = 𝑌 𝑊 𝑍 + 𝑌𝑊𝑍 + 𝑋𝑌
𝐹 = 𝑌 𝑊 𝑍 + 𝑍 + 𝑋𝑌
𝐹 = 𝑌 𝑊 1 + 𝑋𝑌
𝐹 = 𝑌 𝑊 + 𝑋
20
Simplify the following expression and draw a
logic diagram for the simplified expression
𝐹 = 𝐴 𝐵𝐶 + 𝐴𝐵𝐶 + 𝐴𝐵𝐶 + 𝐴𝐵𝐶
21
 SOLUTION
 𝐹 = (𝐴 𝐵(𝐶 + 𝐶) + 𝐴𝐵𝐶) + 𝐴𝐵𝐶
 = (𝐴 𝐵 + 𝐴𝐵𝐶) + 𝐴𝐵𝐶
 = 𝐴 𝐵 + (𝐴𝐵𝐶 + 𝐴𝐵𝐶)
 = 𝐴 𝐵 + (𝐴𝐵 + 𝐴𝐵)C
 = 𝐴 𝐵 + (𝐴⨁𝐵)𝐶
Simplify the following expression and draw a
logic diagram for the simplified expression
𝐹 = 𝐴 𝐵𝐶 + 𝐴𝐵𝐶 + 𝐴𝐵𝐶 + 𝐴𝐵𝐶
22
 SOLUTION
 𝐹 = 𝐴 𝐵 + (𝐴⨁𝐵)𝐶
Simplify the following expression and draw a
logic diagram for the simplified expression
𝐹 = 𝐴 𝐵(𝐷𝐴 + 𝐶𝐷) + 𝐴𝐵(𝐴 + 𝐶)
23
SOLUTION
 𝐹=𝐴 𝐵𝐷𝐴 + 𝐴𝐵𝐶𝐷 + 𝐴𝐵𝐴 + 𝐴𝐵𝐶
 = 𝐴 𝐵𝐷𝐴 + 𝐴𝐵𝐶𝐷 + 𝐴𝐵𝐴 + 𝐴𝐵𝐶
 =𝐴 𝐵 𝐷 + 𝐶𝐷 + 0 + 𝐴𝐵𝐶 identity 16
 = 𝐴 𝐵 𝐷 + 𝐶 + 𝐴𝐵𝐶
 =𝐴 𝐵𝐷 + 𝐴𝐵𝐶 + 𝐴𝐵𝐶
 =(𝐴 𝐵 + 𝐴𝐵 )𝐶+ABD
 𝐹 = (𝐴⨀𝐵)𝐶+ABD
Simplify the following expression and draw a
logic diagram for the simplified expression
𝐹 = 𝐴 𝐵(𝐷𝐴 + 𝐶𝐷) + 𝐴𝐵(𝐴 + 𝐶)
24

More Related Content

PDF
Boolean Algebra Boolean Algebra and Logi
PDF
digital logic design Chapter 2 boolean_algebra_&_logic_gates
PPT
Boolean algebra And Logic Gates
PDF
3. DERIVATIVE BY INCREMENT IN CALULUS 01
PDF
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
PDF
phuong trinh vi phan d geometry part 2
PPTX
Digital Logic
PPT
Boolean Algebra Boolean Algebra and Logi
digital logic design Chapter 2 boolean_algebra_&_logic_gates
Boolean algebra And Logic Gates
3. DERIVATIVE BY INCREMENT IN CALULUS 01
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
phuong trinh vi phan d geometry part 2
Digital Logic

Similar to Part#3_Logic_Design_2020.pdfPart#3_Logic_Design_2020.pdfPart#3_Logic_Design_2020.pdf (20)

PDF
boolean.pdf
PDF
Digital logic circuits
PDF
Evaluating definite integrals
PDF
Boolean algebra and logic gates
DOCX
Question bank -xi (hots)
PPTX
Interpolation.pptx
PDF
instegration basic notes of class 12th h
PDF
Lec 03 - Combinational Logic Design
PDF
Boolean algebra and Logic gates
PDF
boolean algebra for logic circuits and switching
PPTX
Quadratic Functions.pptx
PPT
Mathematics and History of Complex Variables
PDF
Calculus - Functions Review
PPT
Boolean Algebra and Logic gates ( Chapter 2)
PPTX
MMW - hrtrrtrtrtrtrtrtrtrtghnhPPT 3.pptx
PPTX
Operation on Functions.pptx
PPTX
Boolean algebra
PDF
Boolean Algebra SOP POS_Computer Architecture.pdf
PDF
1 complex numbers part 1 of 3
boolean.pdf
Digital logic circuits
Evaluating definite integrals
Boolean algebra and logic gates
Question bank -xi (hots)
Interpolation.pptx
instegration basic notes of class 12th h
Lec 03 - Combinational Logic Design
Boolean algebra and Logic gates
boolean algebra for logic circuits and switching
Quadratic Functions.pptx
Mathematics and History of Complex Variables
Calculus - Functions Review
Boolean Algebra and Logic gates ( Chapter 2)
MMW - hrtrrtrtrtrtrtrtrtrtghnhPPT 3.pptx
Operation on Functions.pptx
Boolean algebra
Boolean Algebra SOP POS_Computer Architecture.pdf
1 complex numbers part 1 of 3
Ad

Recently uploaded (20)

PDF
Collective Mining | Corporate Presentation - August 2025
PDF
Synektik_presentation_Q3_2024 FY_EN final.pdf
PDF
How Foreign Investment in Nepal Makes a Difference.pdf
PDF
Step-by-Step Guide to Buy Aged Facebook Accounts in the USA
PDF
Top Investment Opportunities in Nepal (1).pdf
PDF
The-Importance-of-Mutual-Funds-in-Your-Financial-Life (1).pdf
PPTX
International relations individual report
PDF
Collective Mining | Corporate Presentation - August 2025
PDF
Collective Mining | Corporate Presentation - August 2025
PPT
275505080-Excitation-System FRWEFAAG.ppt
PPTX
network revitalization at xime alumini networking
PDF
Deutsche EuroShop | Company Presentation | 08/25
PPTX
ICT_Strategy_SMB_vfvvfvfvfvfvfuLean.pptx
PDF
Pointers-in-Writing-a-Draft-of-a-Short-Literary-Piece-1.pdf
PDF
Probe Gold Corporate Presentation August 2025 Final.pdf
DOC
UND毕业证学历认证,阿德勒大学毕业证存档可查的
PPTX
ICT_Strategy_Executive_rrrrrRoadmap.pptx
PPTX
opinion fact prediction, biasness, vested interest
PDF
Buy Verified Chime Accounts - Lori Donato's blo.pdf
PDF
North Arrow Corporate and Kraaipan Gold Project Update
Collective Mining | Corporate Presentation - August 2025
Synektik_presentation_Q3_2024 FY_EN final.pdf
How Foreign Investment in Nepal Makes a Difference.pdf
Step-by-Step Guide to Buy Aged Facebook Accounts in the USA
Top Investment Opportunities in Nepal (1).pdf
The-Importance-of-Mutual-Funds-in-Your-Financial-Life (1).pdf
International relations individual report
Collective Mining | Corporate Presentation - August 2025
Collective Mining | Corporate Presentation - August 2025
275505080-Excitation-System FRWEFAAG.ppt
network revitalization at xime alumini networking
Deutsche EuroShop | Company Presentation | 08/25
ICT_Strategy_SMB_vfvvfvfvfvfvfuLean.pptx
Pointers-in-Writing-a-Draft-of-a-Short-Literary-Piece-1.pdf
Probe Gold Corporate Presentation August 2025 Final.pdf
UND毕业证学历认证,阿德勒大学毕业证存档可查的
ICT_Strategy_Executive_rrrrrRoadmap.pptx
opinion fact prediction, biasness, vested interest
Buy Verified Chime Accounts - Lori Donato's blo.pdf
North Arrow Corporate and Kraaipan Gold Project Update
Ad

Part#3_Logic_Design_2020.pdfPart#3_Logic_Design_2020.pdfPart#3_Logic_Design_2020.pdf

  • 1. Boolean Algebra Prof. Dr. Khalid M. Hosny 1
  • 2. 2  Variable – a symbol used to represent a logical quantity.  Complement – the inverse of a variable and is indicated by a bar over the variable.  Literal – a variable or the complement of a variable. Boolean Operations & Expressions
  • 3. Basic Boolean Equations  For the basic gates/functions  AND ◦ Z = A B ◦ X = C D E 3 input gate ◦ Y = F G H K 4 input gate  OR ◦ Z = A + B ◦ Y = F + G + H + K 4 input gate  NOT  F = 𝒁 3
  • 4. Boolean Algebra theorems  1. X + 0 = X  2. X + 1 = 1  3. X · 0 = 0  4. X· 1 = X  5. X + X = X  6. X · X = X  7. X + 𝑿 = 1  8. X · 𝑿 = 0  9. 𝑿= X 4
  • 5. Boolean Algebra theorems 10. X + Y = Y + X 11. X . Y = Y. X 12. X + Y + Z = X + Y + Z 13. X(YZ) = XY Z 14. X(Y + Z) = XY + XZ 15. X + XY = X 16. X + 𝑿Y = X + Y 17. X + YZ = (X + Y)(X + Z) 18. X + 𝑿Y = X 5
  • 7. DeMorgan’s Theorems  The complement of two or more ANDed variables is equivalent to the OR of the complements of the individual variables.  The complement of two or more ORed variables is equivalent to the AND of the complements of the individual variables. Y X Y X    Y X Y X    NAND Negative-OR Negative-AND NOR 7
  • 8.  Very important in simplifying equations ◦ (𝑿 + 𝒀) = 𝑿· 𝒀 ◦ (𝑿𝒀)= 𝑿 + 𝒀 DeMorgan’s Theorems 8
  • 9. Complement of a function  In real implementation sometimes the complement of a function is needed. ◦ Have F=𝑿Y𝒁+𝑿𝒀Z 9
  • 10.  Apply DeMorgan’s theorems to the expressions: DeMorgan’s Theorems (Exercises) 10
  • 11. DeMorgan’s Theorems (Exercises)  Apply DeMorgan’s theorems to the expressions: ) ( ) ( F E D C B A EF D C B A DEF ABC D C B A         11
  • 12. Prove the following expression by using truth table  Y=XYZ+XY+XYZ 12
  • 13. 13 X Y Z 𝑿 𝒁 XYZ 𝑿Y XY𝒁 XYZ+𝑿Y XYZ+𝑿Y+XY𝒁 0 0 0 1 1 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 1 0 1 1 0 1 0 1 1 0 1 1 1 0 0 1 0 1 1 1 0 0 0 1 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 1 1 0 0 1 0 0 1 0 1 1 1 1 0 0 1 0 0 1 1
  • 14. Prove the following expression by using truth table  (X+Y)(X+Y)=X 14 X Y 𝒀 (X+Y) (X+𝒀) (X+Y)(X+𝒀) 0 0 1 0 1 0 1 0 1 1 1 1 0 1 0 1 0 0 1 1 0 1 1 1
  • 15. Simplify  Simplify logical expression to its simplest form. ◦ F=𝑿YZ+𝑿Y𝒁+XZ 15
  • 16. Simplify  Draw the logic diagram for the following expression : 𝐹 = 𝐴 𝐵 + 𝐴𝐵 16
  • 17. Simplify the following expression and draw a logic diagram for the simplified expression 𝑭 = 𝑨𝑩𝑪 + 𝑨𝑩𝑪 + 𝑨𝑩𝑪 + 𝑩𝑪 17 SOLUTION 𝑭 = 𝑨𝑩𝑪 + 𝑨𝑩𝑪 + 𝑨𝑩𝑪 + 𝑨𝑩𝑪 + 𝑩𝑪 theorem (5) 𝑭 = 𝑨 + 𝑨 𝑩𝑪 + 𝑨 𝑩𝑪 + BC + 𝑩𝑪 = 𝟏 𝑩𝑪 + 𝑨 𝑩 + B C + 𝑩𝑪 =𝑩𝑪 + 𝑨C + 𝑩𝑪 = 𝑩(𝑪 + 𝑪 ) +𝑨C F = 𝑩 + 𝑨𝑪
  • 18. 18
  • 19. Simplify the following expression and draw a logic diagram for the simplified expression 𝐹 = 𝑌 𝑊 𝑍 + 𝑌𝑊𝑍 + 𝑋𝑌 19  SOLUTION 𝐹 = 𝑌 𝑊 𝑍 + 𝑌𝑊𝑍 + 𝑋𝑌 𝐹 = 𝑌 𝑊 𝑍 + 𝑍 + 𝑋𝑌 𝐹 = 𝑌 𝑊 1 + 𝑋𝑌 𝐹 = 𝑌 𝑊 + 𝑋
  • 20. 20
  • 21. Simplify the following expression and draw a logic diagram for the simplified expression 𝐹 = 𝐴 𝐵𝐶 + 𝐴𝐵𝐶 + 𝐴𝐵𝐶 + 𝐴𝐵𝐶 21  SOLUTION  𝐹 = (𝐴 𝐵(𝐶 + 𝐶) + 𝐴𝐵𝐶) + 𝐴𝐵𝐶  = (𝐴 𝐵 + 𝐴𝐵𝐶) + 𝐴𝐵𝐶  = 𝐴 𝐵 + (𝐴𝐵𝐶 + 𝐴𝐵𝐶)  = 𝐴 𝐵 + (𝐴𝐵 + 𝐴𝐵)C  = 𝐴 𝐵 + (𝐴⨁𝐵)𝐶
  • 22. Simplify the following expression and draw a logic diagram for the simplified expression 𝐹 = 𝐴 𝐵𝐶 + 𝐴𝐵𝐶 + 𝐴𝐵𝐶 + 𝐴𝐵𝐶 22  SOLUTION  𝐹 = 𝐴 𝐵 + (𝐴⨁𝐵)𝐶
  • 23. Simplify the following expression and draw a logic diagram for the simplified expression 𝐹 = 𝐴 𝐵(𝐷𝐴 + 𝐶𝐷) + 𝐴𝐵(𝐴 + 𝐶) 23 SOLUTION  𝐹=𝐴 𝐵𝐷𝐴 + 𝐴𝐵𝐶𝐷 + 𝐴𝐵𝐴 + 𝐴𝐵𝐶  = 𝐴 𝐵𝐷𝐴 + 𝐴𝐵𝐶𝐷 + 𝐴𝐵𝐴 + 𝐴𝐵𝐶  =𝐴 𝐵 𝐷 + 𝐶𝐷 + 0 + 𝐴𝐵𝐶 identity 16  = 𝐴 𝐵 𝐷 + 𝐶 + 𝐴𝐵𝐶  =𝐴 𝐵𝐷 + 𝐴𝐵𝐶 + 𝐴𝐵𝐶  =(𝐴 𝐵 + 𝐴𝐵 )𝐶+ABD  𝐹 = (𝐴⨀𝐵)𝐶+ABD
  • 24. Simplify the following expression and draw a logic diagram for the simplified expression 𝐹 = 𝐴 𝐵(𝐷𝐴 + 𝐶𝐷) + 𝐴𝐵(𝐴 + 𝐶) 24