Skip to main content

De Morgan; positive NAND equals negative NOR

Short answer

De Morgan's laws: ¬(A+B)=¬A·¬B, ¬(A·B)=¬A+¬B, proved by truth table. A positive NAND (output 0 only when both inputs 1) becomes a NOR under negative logic because complementing all signals gives output 1 only when both inputs 0, matching the NOR function.

State and prove De-Morgan's theorems with necessary diagrams and prove that positive NAND equivalent is equal to negative NOR.

De Morgan's theorems

First theorem: the complement of a sum (OR) of variables equals the product (AND) of their complements.

A+B‾=Aˉ⋅Bˉ\overline{A + B} = \bar{A} \cdot \bar{B}

Second theorem: the complement of a product (AND) of variables equals the sum (OR) of their complements.

A⋅B‾=Aˉ+Bˉ\overline{A \cdot B} = \bar{A} + \bar{B}

In words: "break the bar and change the sign".

Proof by truth table

ABA+B‾\overline{A+B}Aˉ⋅Bˉ\bar A \cdot \bar BAB‾\overline{AB}Aˉ+Bˉ\bar A + \bar B
001111
010011
100011
110000

For all four input combinations, column 3 equals column 4 and column 5 equals column 6, so both theorems are proved.

Diagrams

 Theorem 1: NOR = bubbled AND
 A --|‾‾‾\             A --o|‾‾‾\
     | OR  )o-- Y   =       | AND )-- Y
 B --|___/             B --o|___/

 Theorem 2: NAND = bubbled OR
 A --|‾‾‾\             A --o|‾‾‾\
     | AND )o-- Y   =       | OR  )-- Y
 B --|___/             B --o|___/

 (o = inversion bubble)

Positive NAND = negative NOR

Consider a gate whose voltage table is:

ABY
LLH
LHH
HLH
HHL

Positive logic (H = 1, L = 0):

ABY
001
011
101
110

Output is 0 only when both inputs are 1: a NAND gate.

Negative logic (H = 0, L = 1), same circuit:

ABY
110
100
010
001

Output is 1 only when both inputs are 0: a NOR gate.

Algebraically: going to negative logic complements all inputs and the output:

Yneg= Aˉ⋅Bˉ‾ ‾=Aˉ⋅Bˉ=A+B‾(De Morgan)\begin{aligned} Y_{neg} &= \overline{\,\overline{\bar A \cdot \bar B}\,} \\ &= \bar A \cdot \bar B \\ &= \overline{A + B} \quad (\text{De Morgan}) \end{aligned}

Hence positive-logic NAND is equivalent to negative-logic NOR.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Digital Logic chapter 2 questions →