SlideShare a Scribd company logo
Boolean Algebra
by,
T.Kalaiselvi,AP(SLG-I) / CSE
LOGIC GATES
Formal logic: In formal logic, a statement
(proposition) is a declarative sentence that is either
true(1) or false (0).
It is easier to communicate with computers using formal
logic.
• Boolean variable: Takes only two values – either
true (1) or false (0).
They are used as basic units of formal logic.
Boolean function and logic
diagram
• Boolean function: Mapping from Boolean
variables to a Boolean value.
• Truth table:
 Represents relationship between a Boolean
function and its binary variables.
 It enumerates all possible combinations of
arguments and the corresponding function values.
Boolean function and logic
diagram
• Boolean algebra: Deals with binary
variables and logic operations operating
on those variables.
• Logic diagram: Composed of graphic
symbols for logic gates. A simple circuit
sketch that represents inputs and
outputs of Boolean functions.
Gates
 Refer to the hardware to implement Boolean
operators.
 The most basic gates are
Boolean function and truth
table
BASIC IDENTITIES OF
BOOLEAN ALGEBRA
• Postulate 1 (Definition): A Boolean
algebra is a closed algebraic system
containing a set K of two or more
elements and the two operators · and +
which refer to logical AND and logical
OR
Basic Identities of Boolean Algebra
(Existence of 1 and 0 element)
(1) x + 0 = x
(2) x · 0 = 0
(3) x + 1 = 1
(4) x · 1 = 1
(Table 1-1)
Basic Identities of Boolean Algebra
(Existence of complement)
(5) x + x = x
(6) x · x = x
(7) x + x’ = x
(8) x · x’ = 0
Basic Identities of Boolean
Algebra (Commutativity):
(9) x + y = y + x
(10) xy = yx
Basic Identities of Boolean
Algebra (Associativity):
(11) x + ( y + z ) = ( x + y ) + z
(12) x (yz) = (xy) z
Basic Identities of Boolean
Algebra (Distributivity):
(13) x ( y + z ) = xy + xz
(14) x + yz = ( x + y )( x + z)
Basic Identities of Boolean
Algebra (DeMorgan’s Theorem)
(15) ( x + y )’ = x’ y’
(16) ( xy )’ = x’ + y’
Basic Identities of Boolean
Algebra (Involution)
(17) (x’)’ = x
Function Minimization using Boolean
Algebra
 Examples:
(a) a + ab = a(1+b)=a
(b) a(a + b) = a.a +ab=a+ab=a(1+b)=a.
(c) a + a'b = (a + a')(a + b)=1(a + b) =a+b
(d) a(a' + b) = a. a' +ab=0+ab=ab
Try
 F = abc + abc’ + a’c
The other type of question
Show that;
1- ab + ab' = a
2- (a + b)(a + b') = a
1- ab + ab' = a(b+b') = a.1=a
2- (a + b)(a + b') = a.a +a.b' +a.b+b.b'
= a + a.b' +a.b + 0
= a + a.(b' +b) + 0
= a + a.1 + 0
= a + a = a
More Examples
 Show that;
(a) ab + ab'c = ab + ac
(b) (a + b)(a + b' + c) = a + bc
(a) ab + ab'c = a(b + b'c)
= a((b+b').(b+c))=a(b+c)=ab+ac
(b) (a + b)(a + b' + c)
= (a.a + a.b' + a.c + ab +b.b' +bc)
= …
DeMorgan's Theorem
(a) (a + b)' = a'b'
(b) (ab)' = a' + b'
Generalized DeMorgan's Theorem
(a) (a + b + … z)' = a'b' … z'
(b) (a.b … z)' = a' + b' + … z‘
DeMorgan's Theorem
 F = ab + c’d’
 F’ = ??
 F = ab + c’d’ + b’d
 F’ = ??
DeMorgan's Theorem
Show that: (a + b.c)' = a'.b' + a'.c'
More DeMorgan's example
Show that: (a(b + z(x + a')))' =a' + b' (z' + x')
(a(b + z(x + a')))' = a' + (b + z(x + a'))'
= a' + b' (z(x + a'))'
= a' + b' (z' + (x + a')')
= a' + b' (z' + x'(a')')
= a' + b' (z' + x'a)
=a‘+b' z' + b'x'a
=(a‘+ b'x'a) + b' z'
=(a‘+ b'x‘)(a +a‘) + b' z'
= a‘+ b'x‘+ b' z‘
= a' + b' (z' + x')
More Examples
(a(b + c) + a'b)'=b'(a' + c')
ab + a'c + bc = ab + a'c
(a + b)(a' + c)(b + c) = (a + b)(a' + c)

More Related Content

PPT
Introduction to Boolean Algebra class XI CBSE.ppt
PPT
Boolean algebra
PPT
Boolean Algebra and Logic gates ( Chapter 2)
PPT
Boolean Algebra DLD
PDF
Boolean Algebra SOP POS_Computer Architecture.pdf
PPT
Boolean algebra And Logic Gates
PPTX
12 - Basic Identities of Boolean Algebra.pptx
PPTX
WINSEM2024-25_ISWE201L_TH_VL2024250503341_2024-12-18_Reference-Material-I.pptx
Introduction to Boolean Algebra class XI CBSE.ppt
Boolean algebra
Boolean Algebra and Logic gates ( Chapter 2)
Boolean Algebra DLD
Boolean Algebra SOP POS_Computer Architecture.pdf
Boolean algebra And Logic Gates
12 - Basic Identities of Boolean Algebra.pptx
WINSEM2024-25_ISWE201L_TH_VL2024250503341_2024-12-18_Reference-Material-I.pptx

Similar to Introduction-to-Boolean-Algebra.ppt (20)

PDF
Chapter 4 logic design
PDF
Boolean algebra
PDF
Boolean Algebra Boolean Algebra and Logi
PPT
Ch4 Boolean Algebra And Logic Simplication1
PDF
Digital Electronics
PPT
Logic Design - Chapter 3: Boolean Algebra
PPT
Boolean Algebra
PPTX
Boolean algebra
PDF
Boolean_Laws_Basic_Gates.pdf BY GOD himself certified by jesus christ
PPTX
Boolean Algebra logic and De Morgan theorem
PDF
DM2020 boolean algebra
PPTX
Chapter2 (1).pptx
PDF
Basic gates and boolean algebra
PPT
03 boolean algebra
PDF
DigitalLogic_BooleanAlgebra_P.pdf
PDF
DigitalLogic_BooleanAlgebra_P.pdf basics
PPT
Boolean algebra
PPT
13 Boolean Algebra
DOCX
M3 PPT 22ESC143.docx
DOCX
M3 PPT 22ESC143.docx
Chapter 4 logic design
Boolean algebra
Boolean Algebra Boolean Algebra and Logi
Ch4 Boolean Algebra And Logic Simplication1
Digital Electronics
Logic Design - Chapter 3: Boolean Algebra
Boolean Algebra
Boolean algebra
Boolean_Laws_Basic_Gates.pdf BY GOD himself certified by jesus christ
Boolean Algebra logic and De Morgan theorem
DM2020 boolean algebra
Chapter2 (1).pptx
Basic gates and boolean algebra
03 boolean algebra
DigitalLogic_BooleanAlgebra_P.pdf
DigitalLogic_BooleanAlgebra_P.pdf basics
Boolean algebra
13 Boolean Algebra
M3 PPT 22ESC143.docx
M3 PPT 22ESC143.docx
Ad

Recently uploaded (20)

PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPT
introduction to datamining and warehousing
DOCX
573137875-Attendance-Management-System-original
PDF
composite construction of structures.pdf
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
Geodesy 1.pptx...............................................
PPTX
Current and future trends in Computer Vision.pptx
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPT
Mechanical Engineering MATERIALS Selection
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Automation-in-Manufacturing-Chapter-Introduction.pdf
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
bas. eng. economics group 4 presentation 1.pptx
introduction to datamining and warehousing
573137875-Attendance-Management-System-original
composite construction of structures.pdf
CH1 Production IntroductoryConcepts.pptx
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Geodesy 1.pptx...............................................
Current and future trends in Computer Vision.pptx
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Internet of Things (IOT) - A guide to understanding
Model Code of Practice - Construction Work - 21102022 .pdf
Mechanical Engineering MATERIALS Selection
Ad

Introduction-to-Boolean-Algebra.ppt

  • 2. LOGIC GATES Formal logic: In formal logic, a statement (proposition) is a declarative sentence that is either true(1) or false (0). It is easier to communicate with computers using formal logic. • Boolean variable: Takes only two values – either true (1) or false (0). They are used as basic units of formal logic.
  • 3. Boolean function and logic diagram • Boolean function: Mapping from Boolean variables to a Boolean value. • Truth table:  Represents relationship between a Boolean function and its binary variables.  It enumerates all possible combinations of arguments and the corresponding function values.
  • 4. Boolean function and logic diagram • Boolean algebra: Deals with binary variables and logic operations operating on those variables. • Logic diagram: Composed of graphic symbols for logic gates. A simple circuit sketch that represents inputs and outputs of Boolean functions.
  • 5. Gates  Refer to the hardware to implement Boolean operators.  The most basic gates are
  • 6. Boolean function and truth table
  • 7. BASIC IDENTITIES OF BOOLEAN ALGEBRA • Postulate 1 (Definition): A Boolean algebra is a closed algebraic system containing a set K of two or more elements and the two operators · and + which refer to logical AND and logical OR
  • 8. Basic Identities of Boolean Algebra (Existence of 1 and 0 element) (1) x + 0 = x (2) x · 0 = 0 (3) x + 1 = 1 (4) x · 1 = 1 (Table 1-1)
  • 9. Basic Identities of Boolean Algebra (Existence of complement) (5) x + x = x (6) x · x = x (7) x + x’ = x (8) x · x’ = 0
  • 10. Basic Identities of Boolean Algebra (Commutativity): (9) x + y = y + x (10) xy = yx
  • 11. Basic Identities of Boolean Algebra (Associativity): (11) x + ( y + z ) = ( x + y ) + z (12) x (yz) = (xy) z
  • 12. Basic Identities of Boolean Algebra (Distributivity): (13) x ( y + z ) = xy + xz (14) x + yz = ( x + y )( x + z)
  • 13. Basic Identities of Boolean Algebra (DeMorgan’s Theorem) (15) ( x + y )’ = x’ y’ (16) ( xy )’ = x’ + y’
  • 14. Basic Identities of Boolean Algebra (Involution) (17) (x’)’ = x
  • 15. Function Minimization using Boolean Algebra  Examples: (a) a + ab = a(1+b)=a (b) a(a + b) = a.a +ab=a+ab=a(1+b)=a. (c) a + a'b = (a + a')(a + b)=1(a + b) =a+b (d) a(a' + b) = a. a' +ab=0+ab=ab
  • 16. Try  F = abc + abc’ + a’c
  • 17. The other type of question Show that; 1- ab + ab' = a 2- (a + b)(a + b') = a 1- ab + ab' = a(b+b') = a.1=a 2- (a + b)(a + b') = a.a +a.b' +a.b+b.b' = a + a.b' +a.b + 0 = a + a.(b' +b) + 0 = a + a.1 + 0 = a + a = a
  • 18. More Examples  Show that; (a) ab + ab'c = ab + ac (b) (a + b)(a + b' + c) = a + bc (a) ab + ab'c = a(b + b'c) = a((b+b').(b+c))=a(b+c)=ab+ac (b) (a + b)(a + b' + c) = (a.a + a.b' + a.c + ab +b.b' +bc) = …
  • 19. DeMorgan's Theorem (a) (a + b)' = a'b' (b) (ab)' = a' + b' Generalized DeMorgan's Theorem (a) (a + b + … z)' = a'b' … z' (b) (a.b … z)' = a' + b' + … z‘
  • 20. DeMorgan's Theorem  F = ab + c’d’  F’ = ??  F = ab + c’d’ + b’d  F’ = ??
  • 21. DeMorgan's Theorem Show that: (a + b.c)' = a'.b' + a'.c'
  • 22. More DeMorgan's example Show that: (a(b + z(x + a')))' =a' + b' (z' + x') (a(b + z(x + a')))' = a' + (b + z(x + a'))' = a' + b' (z(x + a'))' = a' + b' (z' + (x + a')') = a' + b' (z' + x'(a')') = a' + b' (z' + x'a) =a‘+b' z' + b'x'a =(a‘+ b'x'a) + b' z' =(a‘+ b'x‘)(a +a‘) + b' z' = a‘+ b'x‘+ b' z‘ = a' + b' (z' + x')
  • 23. More Examples (a(b + c) + a'b)'=b'(a' + c') ab + a'c + bc = ab + a'c (a + b)(a' + c)(b + c) = (a + b)(a' + c)