SlideShare a Scribd company logo
1 of 13
IT2001PA
Engineering Essentials (2/2)


Chapter 5 - DeMorgan's Theorem

 Lecturer Name
lecturer_email@ite.edu.sg
                             Nov 20, 2012
Contact Number
Chapter 5 - DeMorgan's Theorem


Lesson Objectives
Upon completion of this topic, you should be able to:
   State DeMorgan's Theorem.




    IT2001PA Engineering Essentials (2/2)           2
Chapter 5 - DeMorgan's Theorem


Specific Objectives
  Students should be able to :
   State the purposes of DeMorgan’s Theorem.
      State the two basic theorems in Boolean algebra
       (DeMorgan’s Theorem).

                       A*B=A+B
                       A+B=A*B


      IT2001PA Engineering Essentials (2/2)
Chapter 5 - DeMorgan's Theorem


Introduction
   DeMorgan's theorems are extremely useful in
    simplifying expressions in which a product or sum of
    variables is inverted.




    IT2001PA Engineering Essentials (2/2)            4
Chapter 5 - DeMorgan's Theorem


DeMorgan’s Theorem
   DeMorgan’s Theorem (1) states that when the OR
    sum of two variables is inverted, it is the same as
    inverting each variable individually and then ANDing
    these inverted variables.



   DeMorgan’s Theorem (2) states that when the AND
    product of two variables is inverted, it is the same as
    inverting each variable individually and then ORing
    them.

    IT2001PA Engineering Essentials (2/2)               5
Chapter 5 - DeMorgan's Theorem


Steps to Apply DeMorgan’s Theorem
   DeMorgan’s Theorem

                     A*B=A+B
                     A+B=A*B
   DeMorgan's theorem can be applied in 3 steps :
       Complement the entire expression.
       Change all OR signs to AND and all AND signs to ORs.
       Complement each of the individual variables.


    IT2001PA Engineering Essentials (2/2)              6
Chapter 5 - DeMorgan's Theorem


Step 1: Complement the entire expression.



                                           Complement entire
                                           expression




   IT2001PA Engineering Essentials (2/2)                       7
Chapter 5 - DeMorgan's Theorem

Step 2: Change all OR signs to ANDs and all
ANDs signs to ORs


                                           Complement entire
                                           expression


                                       Change OR sign to AND
                                       sign




   IT2001PA Engineering Essentials (2/2)                       8
Chapter 5 - DeMorgan's Theorem

Step 3: Complement each of the individual
variables.


                                           Complement entire
                                           expression


                                       Change OR sign to AND
                                       sign

                                       Complement each
                                       variable

   IT2001PA Engineering Essentials (2/2)                       9
Chapter 5 - DeMorgan's Theorem


Result




   IT2001PA Engineering Essentials (2/2)   10
Chapter 5 - DeMorgan's Theorem


Implications of DeMorgan’s Theorem

             x+y=x.y


             A                    A

            B
                       A+B    =   B
                                            A.B




   The above two representations are equivalent. A NOR
    gate is equivalent to an AND gate with inverters on
    each of its inputs.

    IT2001PA Engineering Essentials (2/2)         11
Chapter 5 - DeMorgan's Theorem


Implications of DeMorgan’s Theorem




   A NAND gate is equivalent to an OR gate with
    inverters on each of its inputs.


    IT2001PA Engineering Essentials (2/2)          12
Chapter 5 - DeMorgan's Theorem


Next Lesson




   IT2001PA Engineering Essentials (2/2)   13

More Related Content

Viewers also liked

שגיא חמץ - בלינק - הרצאת רשויות 2
שגיא חמץ - בלינק - הרצאת רשויות 2שגיא חמץ - בלינק - הרצאת רשויות 2
שגיא חמץ - בלינק - הרצאת רשויות 2Blink
 
Web topic 1 internet
Web topic 1  internetWeb topic 1  internet
Web topic 1 internetCK Yang
 
Ee2 chapter9 logic_diagram
Ee2 chapter9 logic_diagramEe2 chapter9 logic_diagram
Ee2 chapter9 logic_diagramCK Yang
 
Web topic 11 importance of html validation
Web topic 11  importance of html validationWeb topic 11  importance of html validation
Web topic 11 importance of html validationCK Yang
 
Ee1 chapter8 intermal_resistance
Ee1 chapter8 intermal_resistanceEe1 chapter8 intermal_resistance
Ee1 chapter8 intermal_resistanceCK Yang
 
Ee1 chapter6 power_energy&efficiency
Ee1 chapter6 power_energy&efficiencyEe1 chapter6 power_energy&efficiency
Ee1 chapter6 power_energy&efficiencyCK Yang
 
מצגת של כנס איגוד האינטרנט - 2010
מצגת של כנס איגוד האינטרנט - 2010מצגת של כנס איגוד האינטרנט - 2010
מצגת של כנס איגוד האינטרנט - 2010Blink
 
Web topic 20 1 html forms
Web topic 20 1  html formsWeb topic 20 1  html forms
Web topic 20 1 html formsCK Yang
 
Ee2 chapter15 multivibrator
Ee2 chapter15 multivibratorEe2 chapter15 multivibrator
Ee2 chapter15 multivibratorCK Yang
 

Viewers also liked (9)

שגיא חמץ - בלינק - הרצאת רשויות 2
שגיא חמץ - בלינק - הרצאת רשויות 2שגיא חמץ - בלינק - הרצאת רשויות 2
שגיא חמץ - בלינק - הרצאת רשויות 2
 
Web topic 1 internet
Web topic 1  internetWeb topic 1  internet
Web topic 1 internet
 
Ee2 chapter9 logic_diagram
Ee2 chapter9 logic_diagramEe2 chapter9 logic_diagram
Ee2 chapter9 logic_diagram
 
Web topic 11 importance of html validation
Web topic 11  importance of html validationWeb topic 11  importance of html validation
Web topic 11 importance of html validation
 
Ee1 chapter8 intermal_resistance
Ee1 chapter8 intermal_resistanceEe1 chapter8 intermal_resistance
Ee1 chapter8 intermal_resistance
 
Ee1 chapter6 power_energy&efficiency
Ee1 chapter6 power_energy&efficiencyEe1 chapter6 power_energy&efficiency
Ee1 chapter6 power_energy&efficiency
 
מצגת של כנס איגוד האינטרנט - 2010
מצגת של כנס איגוד האינטרנט - 2010מצגת של כנס איגוד האינטרנט - 2010
מצגת של כנס איגוד האינטרנט - 2010
 
Web topic 20 1 html forms
Web topic 20 1  html formsWeb topic 20 1  html forms
Web topic 20 1 html forms
 
Ee2 chapter15 multivibrator
Ee2 chapter15 multivibratorEe2 chapter15 multivibrator
Ee2 chapter15 multivibrator
 

More from CK Yang

Web topic 27 class test
Web topic 27  class testWeb topic 27  class test
Web topic 27 class testCK Yang
 
Web topic 33 publish websites
Web topic 33  publish websitesWeb topic 33  publish websites
Web topic 33 publish websitesCK Yang
 
Web topic 32 validate web contents
Web topic 32  validate web contentsWeb topic 32  validate web contents
Web topic 32 validate web contentsCK Yang
 
Web topic 30 ensure web contents meet
Web topic 30   ensure web contents meetWeb topic 30   ensure web contents meet
Web topic 30 ensure web contents meetCK Yang
 
Web topic 29 w3 c page validation
Web topic 29  w3 c page validationWeb topic 29  w3 c page validation
Web topic 29 w3 c page validationCK Yang
 
Web topic 29 w3 c page validation
Web topic 29  w3 c page validationWeb topic 29  w3 c page validation
Web topic 29 w3 c page validationCK Yang
 
Web topic 28. w3 c standards and guidelines
Web topic 28. w3 c standards and guidelinesWeb topic 28. w3 c standards and guidelines
Web topic 28. w3 c standards and guidelinesCK Yang
 
Web topic 26 browser compatibilty and security
Web topic 26  browser compatibilty and securityWeb topic 26  browser compatibilty and security
Web topic 26 browser compatibilty and securityCK Yang
 
Web topic 25 mobile optimized website
Web topic 25  mobile optimized websiteWeb topic 25  mobile optimized website
Web topic 25 mobile optimized websiteCK Yang
 
Web topic 24 usage of web browser
Web topic 24  usage of web browserWeb topic 24  usage of web browser
Web topic 24 usage of web browserCK Yang
 
Web topic 23 web accessibility
Web topic 23  web accessibilityWeb topic 23  web accessibility
Web topic 23 web accessibilityCK Yang
 
Web topic 22 validation on web forms
Web topic 22  validation on web formsWeb topic 22  validation on web forms
Web topic 22 validation on web formsCK Yang
 
Web topic 21 pass info via javascript
Web topic 21  pass info via javascriptWeb topic 21  pass info via javascript
Web topic 21 pass info via javascriptCK Yang
 
Web topic 20 2 html forms
Web topic 20 2  html formsWeb topic 20 2  html forms
Web topic 20 2 html formsCK Yang
 
Web topic 18 conflict resolution in css
Web topic 18  conflict resolution in cssWeb topic 18  conflict resolution in css
Web topic 18 conflict resolution in cssCK Yang
 
Web topic 17 font family in css
Web topic 17  font family in cssWeb topic 17  font family in css
Web topic 17 font family in cssCK Yang
 
Web topic 16 css workflow
Web topic 16  css workflowWeb topic 16  css workflow
Web topic 16 css workflowCK Yang
 
Web topic 15 2 basic css layout
Web topic 15 2  basic css layoutWeb topic 15 2  basic css layout
Web topic 15 2 basic css layoutCK Yang
 
Web topic 15 1 basic css layout
Web topic 15 1  basic css layoutWeb topic 15 1  basic css layout
Web topic 15 1 basic css layoutCK Yang
 
Web topic 13 html validation tools
Web topic 13  html validation toolsWeb topic 13  html validation tools
Web topic 13 html validation toolsCK Yang
 

More from CK Yang (20)

Web topic 27 class test
Web topic 27  class testWeb topic 27  class test
Web topic 27 class test
 
Web topic 33 publish websites
Web topic 33  publish websitesWeb topic 33  publish websites
Web topic 33 publish websites
 
Web topic 32 validate web contents
Web topic 32  validate web contentsWeb topic 32  validate web contents
Web topic 32 validate web contents
 
Web topic 30 ensure web contents meet
Web topic 30   ensure web contents meetWeb topic 30   ensure web contents meet
Web topic 30 ensure web contents meet
 
Web topic 29 w3 c page validation
Web topic 29  w3 c page validationWeb topic 29  w3 c page validation
Web topic 29 w3 c page validation
 
Web topic 29 w3 c page validation
Web topic 29  w3 c page validationWeb topic 29  w3 c page validation
Web topic 29 w3 c page validation
 
Web topic 28. w3 c standards and guidelines
Web topic 28. w3 c standards and guidelinesWeb topic 28. w3 c standards and guidelines
Web topic 28. w3 c standards and guidelines
 
Web topic 26 browser compatibilty and security
Web topic 26  browser compatibilty and securityWeb topic 26  browser compatibilty and security
Web topic 26 browser compatibilty and security
 
Web topic 25 mobile optimized website
Web topic 25  mobile optimized websiteWeb topic 25  mobile optimized website
Web topic 25 mobile optimized website
 
Web topic 24 usage of web browser
Web topic 24  usage of web browserWeb topic 24  usage of web browser
Web topic 24 usage of web browser
 
Web topic 23 web accessibility
Web topic 23  web accessibilityWeb topic 23  web accessibility
Web topic 23 web accessibility
 
Web topic 22 validation on web forms
Web topic 22  validation on web formsWeb topic 22  validation on web forms
Web topic 22 validation on web forms
 
Web topic 21 pass info via javascript
Web topic 21  pass info via javascriptWeb topic 21  pass info via javascript
Web topic 21 pass info via javascript
 
Web topic 20 2 html forms
Web topic 20 2  html formsWeb topic 20 2  html forms
Web topic 20 2 html forms
 
Web topic 18 conflict resolution in css
Web topic 18  conflict resolution in cssWeb topic 18  conflict resolution in css
Web topic 18 conflict resolution in css
 
Web topic 17 font family in css
Web topic 17  font family in cssWeb topic 17  font family in css
Web topic 17 font family in css
 
Web topic 16 css workflow
Web topic 16  css workflowWeb topic 16  css workflow
Web topic 16 css workflow
 
Web topic 15 2 basic css layout
Web topic 15 2  basic css layoutWeb topic 15 2  basic css layout
Web topic 15 2 basic css layout
 
Web topic 15 1 basic css layout
Web topic 15 1  basic css layoutWeb topic 15 1  basic css layout
Web topic 15 1 basic css layout
 
Web topic 13 html validation tools
Web topic 13  html validation toolsWeb topic 13  html validation tools
Web topic 13 html validation tools
 

Ee2 chapter5 de_morgan'stheorem

  • 1. IT2001PA Engineering Essentials (2/2) Chapter 5 - DeMorgan's Theorem Lecturer Name lecturer_email@ite.edu.sg Nov 20, 2012 Contact Number
  • 2. Chapter 5 - DeMorgan's Theorem Lesson Objectives Upon completion of this topic, you should be able to:  State DeMorgan's Theorem. IT2001PA Engineering Essentials (2/2) 2
  • 3. Chapter 5 - DeMorgan's Theorem Specific Objectives Students should be able to :  State the purposes of DeMorgan’s Theorem.  State the two basic theorems in Boolean algebra (DeMorgan’s Theorem). A*B=A+B A+B=A*B IT2001PA Engineering Essentials (2/2)
  • 4. Chapter 5 - DeMorgan's Theorem Introduction  DeMorgan's theorems are extremely useful in simplifying expressions in which a product or sum of variables is inverted. IT2001PA Engineering Essentials (2/2) 4
  • 5. Chapter 5 - DeMorgan's Theorem DeMorgan’s Theorem  DeMorgan’s Theorem (1) states that when the OR sum of two variables is inverted, it is the same as inverting each variable individually and then ANDing these inverted variables.  DeMorgan’s Theorem (2) states that when the AND product of two variables is inverted, it is the same as inverting each variable individually and then ORing them. IT2001PA Engineering Essentials (2/2) 5
  • 6. Chapter 5 - DeMorgan's Theorem Steps to Apply DeMorgan’s Theorem  DeMorgan’s Theorem A*B=A+B A+B=A*B  DeMorgan's theorem can be applied in 3 steps :  Complement the entire expression.  Change all OR signs to AND and all AND signs to ORs.  Complement each of the individual variables. IT2001PA Engineering Essentials (2/2) 6
  • 7. Chapter 5 - DeMorgan's Theorem Step 1: Complement the entire expression. Complement entire expression IT2001PA Engineering Essentials (2/2) 7
  • 8. Chapter 5 - DeMorgan's Theorem Step 2: Change all OR signs to ANDs and all ANDs signs to ORs Complement entire expression Change OR sign to AND sign IT2001PA Engineering Essentials (2/2) 8
  • 9. Chapter 5 - DeMorgan's Theorem Step 3: Complement each of the individual variables. Complement entire expression Change OR sign to AND sign Complement each variable IT2001PA Engineering Essentials (2/2) 9
  • 10. Chapter 5 - DeMorgan's Theorem Result IT2001PA Engineering Essentials (2/2) 10
  • 11. Chapter 5 - DeMorgan's Theorem Implications of DeMorgan’s Theorem x+y=x.y A A B A+B = B A.B  The above two representations are equivalent. A NOR gate is equivalent to an AND gate with inverters on each of its inputs. IT2001PA Engineering Essentials (2/2) 11
  • 12. Chapter 5 - DeMorgan's Theorem Implications of DeMorgan’s Theorem  A NAND gate is equivalent to an OR gate with inverters on each of its inputs. IT2001PA Engineering Essentials (2/2) 12
  • 13. Chapter 5 - DeMorgan's Theorem Next Lesson IT2001PA Engineering Essentials (2/2) 13