ScholarQuill logoScholarQuillUniversity Notes
  • Notes
  • Past Papers
  • Blogs
  • Todo
Login
ScholarQuill logoScholarQuillUniversity Notes
Login
NotesPast PapersBlogsTodo
More
SubjectsDiscussionCGPA CalculatorGPA CalculatorStudent PortalCourse Outline
About
About usPrivacy PolicyReportContact
Notes
Past Papers
Blogs
Todo
Analytics
    Current Subject
    🧩
    Digital Logic and Design
    PHYS4129
    Progress0 / 20 topics
    Topics
    1. Review of Number Systems: Binary, octal and hexadecimal number system their inter conversion2. Basic logic gates3. Different codes: BCD, ASCII, Gray etc.4. Parity in codes5. Boolean Algebra: Demorgan theorems6. Simplification of Boolean expression by Boolean postulates and theorem7. SOP and POS conversions8. K maps and their uses9. Don't care condition10. Combinational Logic Circuit: Logic circuits based on AND-OR, OR-AND, NAND, NOR Logic gates design11. Addition, subtraction, 2's compliments12. Half adder, full adder13. Half subtractor, full subtractor14. Encoder, decoder15. Multiplexer and demultiplexer16. Sequential Logic Circuit: Latches17. Flip-flops: S-R, J-K, T and D flip flops18. Master-slave flip-flops19. IC Logic Families: Basic characteristics (Propagation delay time, dissipation, noise margins etc.)20. Different logic based IC families: DTL, RTL, TTL, CMOS
    PHYS4129›Boolean Algebra: Demorgan theorems
    Digital Logic and DesignTopic 5 of 20

    Boolean Algebra: Demorgan theorems

    5 minread
    906words
    Intermediatelevel

    Boolean Algebra: DeMorgan's Theorems

    In Boolean algebra, DeMorgan's Theorems are fundamental rules that describe how negation (NOT operation) interacts with conjunction (AND operation) and disjunction (OR operation). These theorems are very useful when simplifying Boolean expressions, particularly when dealing with complex logical circuits or conditions.

    DeMorgan's Theorems consist of two key laws:

    1. The First DeMorgan's Theorem:

      ¬(A⋅B)=¬A+¬B\neg(A \cdot B) = \neg A + \neg B¬(A⋅B)=¬A+¬B
      • This states that the negation of an AND operation is equivalent to the OR operation of the negations of the operands.
    2. The Second DeMorgan's Theorem:

      ¬(A+B)=¬A⋅¬B\neg(A + B) = \neg A \cdot \neg B¬(A+B)=¬A⋅¬B
      • This states that the negation of an OR operation is equivalent to the AND operation of the negations of the operands.

    Explanation of DeMorgan's Theorems

    Let’s break down each of the theorems with examples to understand how they work.


    1. First DeMorgan's Theorem:

    ¬(A⋅B)=¬A+¬B\neg(A \cdot B) = \neg A + \neg B¬(A⋅B)=¬A+¬B

    This theorem states that the negation of an AND operation is the same as the OR operation of the negated operands.

    Example:

    Let’s take the Boolean expression ¬(A · B).

    1. Suppose A = 1 and B = 0.

      • A · B = 1 · 0 = 0
      • Negating A · B, we get ¬(0) = 1.
    2. Now, according to DeMorgan's Theorem:

      • ¬A = 0 (because A is 1),
      • ¬B = 1 (because B is 0).
      • So, ¬A + ¬B = 0 + 1 = 1.

    As we see, both methods result in the same value, confirming that:

    ¬(A⋅B)=¬A+¬B\neg(A \cdot B) = \neg A + \neg B¬(A⋅B)=¬A+¬B

    2. Second DeMorgan's Theorem:

    ¬(A+B)=¬A⋅¬B\neg(A + B) = \neg A \cdot \neg B¬(A+B)=¬A⋅¬B

    This theorem states that the negation of an OR operation is the same as the AND operation of the negated operands.

    Example:

    Let’s take the Boolean expression ¬(A + B).

    1. Suppose A = 1 and B = 0.

      • A + B = 1 + 0 = 1
      • Negating A + B, we get ¬(1) = 0.
    2. Now, according to DeMorgan's Theorem:

      • ¬A = 0 (because A is 1),
      • ¬B = 1 (because B is 0).
      • So, ¬A · ¬B = 0 · 1 = 0.

    Again, both methods give the same result, confirming that:

    ¬(A+B)=¬A⋅¬B\neg(A + B) = \neg A \cdot \neg B¬(A+B)=¬A⋅¬B

    Truth Tables for DeMorgan's Theorems

    We can use truth tables to further verify the validity of DeMorgan's laws.

    First DeMorgan's Theorem:

    ¬(A⋅B)=¬A+¬B\neg(A \cdot B) = \neg A + \neg B¬(A⋅B)=¬A+¬B
    A B A ⋅ B ¬(A ⋅ B) ¬A ¬B ¬A + ¬B
    0 0 0 1 1 1 1
    0 1 0 1 1 0 1
    1 0 0 1 0 1 1
    1 1 1 0 0 0 0

    As we see, the values for ¬(A · B) and ¬A + ¬B are the same for all combinations of A and B, confirming the first DeMorgan's theorem.


    Second DeMorgan's Theorem:

    ¬(A+B)=¬A⋅¬B\neg(A + B) = \neg A \cdot \neg B¬(A+B)=¬A⋅¬B
    A B A + B ¬(A + B) ¬A ¬B ¬A · ¬B
    0 0 0 1 1 1 1
    0 1 1 0 1 0 0
    1 0 1 0 0 1 0
    1 1 1 0 0 0 0

    Again, the values for ¬(A + B) and ¬A · ¬B match in all cases, confirming the second DeMorgan's theorem.


    Applications of DeMorgan’s Theorems

    1. Simplifying Boolean Expressions:

      • DeMorgan's Theorems are particularly helpful when simplifying Boolean expressions, especially when transforming AND operations into OR operations (or vice versa) with negation.
    2. Designing Digital Circuits:

      • In digital circuit design, DeMorgan's laws are often used to minimize logic gates. For example, converting an AND gate to an OR gate with inverted inputs, which might be more efficient in terms of implementation.
    3. Complementing Logic:

      • DeMorgan’s laws are useful when dealing with complemented expressions in Boolean algebra, which frequently arise in problems related to circuits or digital systems.

    Conclusion

    DeMorgan's Theorems are powerful tools in Boolean algebra for simplifying logical expressions and designing digital circuits. They tell us how negations interact with AND and OR operations and allow us to switch between these operations when necessary. Understanding these laws is essential for anyone working with logic circuits, Boolean expressions, or even computer programming when dealing with conditional statements and negations.

    Previous topic 4
    Parity in codes
    Next topic 6
    Simplification of Boolean expression by Boolean postulates and theorem

    Past Papers

    Open this section to load past papers

    Click on Show Past Papers to see past papers.
    On This Page
      Reading Stats
      Est. reading time5 min
      Word count906
      Code examples0
      DifficultyIntermediate