ScholarQuill logoScholarQuillUniversity Notes
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
Study Tools
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
Contact
ScholarQuill logo
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
ScholarQuill logoScholarQuillUniversity Notes
Study PortalPHYS4129Boolean Algebra Demorg…
Ctrl + K
Login
Explore
Search
Semester
Papers
CGPA
    PHYS4129

    Digital Logic and Design

    Progress0 / 20 done
    Topics20
    1Binary, octal and hexadecimal number system their inter conversion2Basic logic gates
    3BCD, ASCII, Gray etc.4Parity in codes
    5Demorgan theorems6Simplification of Boolean expression by Boolean postulates and theorem7SOP and POS conversions8K maps and their uses9Don't care condition
    10Logic circuits based on AND-OR, OR-AND, NAND, NOR Logic gates design11Addition, subtraction, 2's compliments12Half adder, full adder13Half subtractor, full subtractor14Encoder, decoder15Multiplexer and demultiplexer
    16Latches
    17S-R, J-K, T and D flip flops18Master-slave flip-flops
    19Basic characteristics (Propagation delay time, dissipation, noise margins etc.)
    20DTL, RTL, TTL, CMOS
    5 min read
    Topic 5 of 20
    Topic Study Note Illustration
    05

    Boolean Algebra: Demorgan 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...

    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 view and download past papers

    Click on Show Past Papers to load available exam papers.

    Reading Progress
    0%
    5mremaining
    906words
    Intermediatelevel
    On This Page

    No headings found

    Study Toolkit

    Subject Portal

    Digital Logic and Design