SlideShare ist ein Scribd-Unternehmen logo
1 von 24
Boolean Algebra
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)
Thank You
   Presented by:
   P.Siva Shankar
   K.Rajesh Dora
   M.Dharma Raju
   I.Satish
   B.K.Chaitanya
   P.S.Eswara Rao
   Sk.Ahmad Vali

Weitere ähnliche Inhalte

Was ist angesagt?

Boolean algebra And Logic Gates
Boolean algebra And Logic GatesBoolean algebra And Logic Gates
Boolean algebra And Logic Gates
Kumar
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
gavhays
 
Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1
Qundeel
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
mdaglis
 
2.5 computations of derivatives
2.5 computations of derivatives2.5 computations of derivatives
2.5 computations of derivatives
math265
 

Was ist angesagt? (20)

Boolean algebra And Logic Gates
Boolean algebra And Logic GatesBoolean algebra And Logic Gates
Boolean algebra And Logic Gates
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
DM2020 boolean algebra
DM2020 boolean algebraDM2020 boolean algebra
DM2020 boolean algebra
 
Boolean algebra and logic gates
Boolean algebra and logic gatesBoolean algebra and logic gates
Boolean algebra and logic gates
 
BOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATEBOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATE
 
07 boolean algebra
07 boolean algebra07 boolean algebra
07 boolean algebra
 
Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1
 
digital logic design Chapter 2 boolean_algebra_&_logic_gates
digital logic design Chapter 2 boolean_algebra_&_logic_gatesdigital logic design Chapter 2 boolean_algebra_&_logic_gates
digital logic design Chapter 2 boolean_algebra_&_logic_gates
 
Boolean expression org.
Boolean expression org.Boolean expression org.
Boolean expression org.
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Chapter 03 Boolean Algebra and Combinational Logic
Chapter 03 Boolean Algebra and Combinational LogicChapter 03 Boolean Algebra and Combinational Logic
Chapter 03 Boolean Algebra and Combinational Logic
 
Boolean Algebra DLD
Boolean Algebra DLDBoolean Algebra DLD
Boolean Algebra DLD
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplification
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
Dm2021 binary operations
Dm2021 binary operationsDm2021 binary operations
Dm2021 binary operations
 
2.5 computations of derivatives
2.5 computations of derivatives2.5 computations of derivatives
2.5 computations of derivatives
 
boolean algebra
boolean algebraboolean algebra
boolean algebra
 

Andere mochten auch

Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
Gagan Deep
 
Logical operations & boolean algebra
Logical operations & boolean algebraLogical operations & boolean algebra
Logical operations & boolean algebra
Andrei Jechiu
 
Kiirteteoreem
KiirteteoreemKiirteteoreem
Kiirteteoreem
eve001
 

Andere mochten auch (20)

Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
BOOLEAN ALGEBRA
BOOLEAN ALGEBRA BOOLEAN ALGEBRA
BOOLEAN ALGEBRA
 
Introduction to boolean algebra
Introduction to boolean algebraIntroduction to boolean algebra
Introduction to boolean algebra
 
Boolean algebra
 Boolean algebra Boolean algebra
Boolean algebra
 
BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE
 
Kaksliikmete korrutamine
Kaksliikmete korrutamineKaksliikmete korrutamine
Kaksliikmete korrutamine
 
Arvu aste
Arvu asteArvu aste
Arvu aste
 
Algebra Boole
Algebra BooleAlgebra Boole
Algebra Boole
 
Logical operations & boolean algebra
Logical operations & boolean algebraLogical operations & boolean algebra
Logical operations & boolean algebra
 
IS 139 Lecture 3
IS 139 Lecture 3IS 139 Lecture 3
IS 139 Lecture 3
 
boolean algebra(continued)
boolean algebra(continued)boolean algebra(continued)
boolean algebra(continued)
 
Kiirteteoreem
KiirteteoreemKiirteteoreem
Kiirteteoreem
 
Multsim pertama
Multsim pertamaMultsim pertama
Multsim pertama
 
Álgebra Booleana
Álgebra BooleanaÁlgebra Booleana
Álgebra Booleana
 
Data representation and boolean algebra
Data representation and boolean algebraData representation and boolean algebra
Data representation and boolean algebra
 
Jif 317 2015/2016 webex 1 slides
Jif 317 2015/2016 webex 1 slidesJif 317 2015/2016 webex 1 slides
Jif 317 2015/2016 webex 1 slides
 
Material Science SNU korea chapter 1
Material Science SNU korea chapter 1Material Science SNU korea chapter 1
Material Science SNU korea chapter 1
 
ICC-05 Álgebra Booleana
ICC-05 Álgebra BooleanaICC-05 Álgebra Booleana
ICC-05 Álgebra Booleana
 
Jif 315 lesson 1 Laplace and fourier transform
Jif 315 lesson 1 Laplace and fourier transformJif 315 lesson 1 Laplace and fourier transform
Jif 315 lesson 1 Laplace and fourier transform
 

Ähnlich wie Boolean algebra

Boolean Algebra logic and De Morgan theorem
Boolean Algebra logic and De Morgan theoremBoolean Algebra logic and De Morgan theorem
Boolean Algebra logic and De Morgan theorem
balafet
 
18. simpl met-algebraicos.ppt
18. simpl met-algebraicos.ppt18. simpl met-algebraicos.ppt
18. simpl met-algebraicos.ppt
Marcos Rdguez
 

Ähnlich wie Boolean algebra (20)

Introduction-to-Boolean-Algebra.ppt
Introduction-to-Boolean-Algebra.pptIntroduction-to-Boolean-Algebra.ppt
Introduction-to-Boolean-Algebra.ppt
 
Boolean Algebra logic and De Morgan theorem
Boolean Algebra logic and De Morgan theoremBoolean Algebra logic and De Morgan theorem
Boolean Algebra logic and De Morgan theorem
 
Digital Electronics
Digital ElectronicsDigital Electronics
Digital Electronics
 
Boolean Algebra SOP POS_Computer Architecture.pdf
Boolean Algebra SOP POS_Computer Architecture.pdfBoolean Algebra SOP POS_Computer Architecture.pdf
Boolean Algebra SOP POS_Computer Architecture.pdf
 
Logic Design - Chapter 3: Boolean Algebra
Logic Design - Chapter 3: Boolean AlgebraLogic Design - Chapter 3: Boolean Algebra
Logic Design - Chapter 3: Boolean Algebra
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
M3 PPT 22ESC143.docx
M3 PPT 22ESC143.docxM3 PPT 22ESC143.docx
M3 PPT 22ESC143.docx
 
M3 PPT 22ESC143.docx
M3 PPT 22ESC143.docxM3 PPT 22ESC143.docx
M3 PPT 22ESC143.docx
 
03 boolean algebra
03 boolean algebra03 boolean algebra
03 boolean algebra
 
Chapter2 (1).pptx
Chapter2 (1).pptxChapter2 (1).pptx
Chapter2 (1).pptx
 
Chapter 2.pptx
Chapter 2.pptxChapter 2.pptx
Chapter 2.pptx
 
BOOLEAN ALGEBRA.ppt
BOOLEAN ALGEBRA.pptBOOLEAN ALGEBRA.ppt
BOOLEAN ALGEBRA.ppt
 
Digital electronics lesson 2
Digital electronics lesson 2Digital electronics lesson 2
Digital electronics lesson 2
 
Complex numbers
Complex numbersComplex numbers
Complex numbers
 
Truth, deduction, computation lecture g
Truth, deduction, computation   lecture gTruth, deduction, computation   lecture g
Truth, deduction, computation lecture g
 
9402730.ppt
9402730.ppt9402730.ppt
9402730.ppt
 
boolean algebra
boolean algebraboolean algebra
boolean algebra
 
Digital logic design lecture 06
Digital logic design   lecture 06 Digital logic design   lecture 06
Digital logic design lecture 06
 
18. simpl met-algebraicos.ppt
18. simpl met-algebraicos.ppt18. simpl met-algebraicos.ppt
18. simpl met-algebraicos.ppt
 
11. simpl met-algebraicos
11. simpl met-algebraicos11. simpl met-algebraicos
11. simpl met-algebraicos
 

Boolean algebra

  • 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
  • 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)
  • 24. Thank You  Presented by:  P.Siva Shankar  K.Rajesh Dora  M.Dharma Raju  I.Satish  B.K.Chaitanya  P.S.Eswara Rao  Sk.Ahmad Vali