- 2082 Baisakh · 2+4 marks
Positive/negative logic; verify 3-variable De Morgan
Short answer
Positive logic assigns HIGH=1, LOW=0; negative logic reverses. De Morgan’s law for three variables: (A+B+C)′ = A′B′C′ and (ABC)′ = A′+B′+C′. Truth table verification shows the corresponding columns are identical for all eight input combinations, confirming both theorems.
Define the positive and negative logic. State and verify 3-bits De Morgan's theorem.
Positive and negative logic
- Positive logic: HIGH voltage = logic 1, LOW voltage = logic 0 (e.g. TTL: +5 V = 1, 0 V = 0).
- Negative logic: HIGH voltage = logic 0, LOW voltage = logic 1 (e.g. +5 V = 0, 0 V = 1).
The same physical gate performs a different logic function in the two systems, because changing the convention complements every input and output. Example: a gate whose output is HIGH only when both inputs are HIGH is an AND gate in positive logic but an OR gate in negative logic.
De Morgan's theorem for 3 variables
Theorem 1:
Theorem 2:
Verification by truth table
| A | B | C | ||||
|---|---|---|---|---|---|---|
| 0 | 0 | 0 | 1 | 1 | 1 | 1 |
| 0 | 0 | 1 | 0 | 0 | 1 | 1 |
| 0 | 1 | 0 | 0 | 0 | 1 | 1 |
| 0 | 1 | 1 | 0 | 0 | 1 | 1 |
| 1 | 0 | 0 | 0 | 0 | 1 | 1 |
| 1 | 0 | 1 | 0 | 0 | 1 | 1 |
| 1 | 1 | 0 | 0 | 0 | 1 | 1 |
| 1 | 1 | 1 | 0 | 0 | 0 | 0 |
Columns 4 and 5 are identical, and columns 6 and 7 are identical for all 8 combinations, so both theorems hold for 3 variables.
Algebraic check (using the 2-variable law with ):
Similarly, .
3-input NOR = bubbled 3-input AND
3-input NAND = bubbled 3-input OR
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- De Morgan; positive NAND equals negative NOR · Digital Logic, chapter 2
- De Morgan; negative OR equals positive AND · Digital Logic, chapter 2
- De Morgan's theorem and (-47+27) by 2's complement · Digital Logic, chapter 2
- Positive and negative logic · Digital Logic, chapter 2 · asked 2×
- Positive/negative logic; XNOR using NAND · Digital Logic, chapter 2 · asked 2×
- Positive/negative logic; Ex-NOR using NOR · Digital Logic, chapter 2 · asked 2×
- De Morgan's theorem and duality theorem · Basic Electronics Engineering, chapter 6
- State and prove De Morgan's theorems · Basic Electronics Engineering, chapter 6 · asked 4×
- Effective mass can be positive or negative · Electrical Engineering Material, chapter 1 · asked 4×
- Short note: Positive and negative feedback · Basic Electronics Engineering, chapter 4