menuGamaTrain
search

chevron_left NOR: TRUE only if both inputs are FALSE (negation of OR) chevron_right

NOR: TRUE only if both inputs are FALSE (negation of OR)
Anna Kowalski
share
visibility7
calendar_month2026-02-19

NOR: The Logic of "Neither This Nor That"

Understanding the NOR Gate: The Negation of OR, Truth Tables, and Real-World Logic
📘 Summary: In the universe of Boolean logic, the NOR operation stands as the complete opposite of the OR function. The rule is strict: a NOR result is TRUE only if both inputs are FALSE. This makes it the "negation of OR," meaning it outputs the exact inverse of an OR gate. This article explores the truth table, the logic behind the NOR gate, its functional completeness, and how this simple concept powers complex decisions in digital circuits and everyday electronics.

1. The Foundation: What Does NOR Actually Mean?

The word "NOR" is a contraction of "NOT OR." To understand it, we first look at its simpler cousin, the OR gate. In an OR gate, the output is TRUE (or 1) if at least one of the inputs is TRUE. The NOR gate takes that result and flips it—it applies a NOT operation to the OR result. Therefore, the NOR gate gives a TRUE output only when the OR gate would have given FALSE. Let’s think of it in simple English: Imagine a parent says, "You can have dessert if you have eaten neither your broccoli NOR your spinach." The only way to get dessert (the TRUE result) is if both tasks—eating broccoli and eating spinach—are FALSE (not done). If you eat even one of them, the condition is broken.

In Boolean algebra, we represent this with a specific symbol. The expression for NOR is often written as $A \downarrow B$ (using the Peirce arrow) or simply $\overline{A + B}$. The line over the expression (the vinculum) indicates the negation. So, $\overline{A + B}$ literally means "NOT (A OR B)."

⚡ Core Formula: The NOR operation can be defined mathematically as: $X \text{ NOR } Y = \overline{X + Y} = X' \cdot Y'$ (according to De Morgan's Theorem).

2. The NOR Truth Table: Mapping All Possibilities

The best way to visualize a logic gate is through a truth table. For a two-input NOR gate, there are four possible input combinations. The output is HIGH (1) only in the single case where both inputs are LOW (0). Let’s map this out clearly. We'll use $A$ and $B$ as our inputs and $Q$ as the output.

Input AInput BOR Output ($A+B$)NOR Output ($\overline{A+B}$)
0001
0110
1010
1110

As the table shows, the NOR column is the exact inverse of the OR column. This is why it’s often called the "universal gate" because, by combining NOR gates in specific patterns, you can create any other logic gate (AND, OR, NOT, NAND).

3. Functional Completeness: Why NOR is a "Universal Gate"

A fascinating property of the NOR gate is that it is functionally complete. This means that you can build any logic circuit using only NOR gates. You don't need AND, OR, or NOT chips; NOR alone suffices. This is incredibly useful in manufacturing integrated circuits (ICs) because using just one type of gate simplifies the design and production process. Let's see how we create the three fundamental operations using only NOR gates:

  • NOT Gate (Inverter): If you tie both inputs of a NOR gate together, it acts as an inverter. If the input is $A$, then the output is $\overline{A + A} = \overline{A}$.
  • OR Gate: To get OR, you need two NOR gates. First, a NOR gives you $\overline{A+B}$. If you feed that output into a second NOR gate with both inputs tied together (making it a NOT), you invert the signal again: $\overline{\overline{A+B}} = A+B$.
  • AND Gate: This requires a combination of inverters and a NOR. Using De Morgan's theorem, we know $A \cdot B = \overline{\overline{A} + \overline{B}}$. So, you invert $A$ and $B$ using two NOR-based NOT gates, feed those into a third NOR gate, and the output is $A \cdot B$.

4. Real-World Application: The Elevator Safety Circuit

Let's move from abstract theory to a tangible example. Imagine a safety mechanism for an elevator door. The elevator is designed to stay open only under a very specific condition: if the infrared sensor (Input A) detects no object AND the mechanical pressure strip (Input B) also detects no object. In other words, the door should remain open only if neither sensor is triggered—if both are FALSE.

If we use a NOR gate to control the "door motor keep-open signal":

  • Scenario 1: No object at the door (A=0, B=0) → NOR Output = 1 (TRUE). The circuit sends a signal to keep the door powered open.
  • Scenario 2: A person is in the doorway (A=1 or B=1) → NOR Output = 0. The "keep open" signal stops, allowing the door to close safely.

This is a perfect illustration of the NOR logic: the action (door staying open) happens only when both inputs are FALSE.

5. Important Questions About the NOR Operation

❓ Q1: What is the difference between NOR and XOR?
Answer: They are fundamentally different. NOR is the negation of OR, meaning it outputs TRUE only when both inputs are FALSE (0,0). XOR (exclusive OR) outputs TRUE when the inputs are different (0,1 or 1,0). For example, $1 \text{ NOR } 0 = 0$, but $1 \text{ XOR } 0 = 1$.
❓ Q2: How do you write a NOR expression using only AND and NOT gates?
Answer: Using De Morgan's laws, a NOR operation can be transformed. The law states that $\overline{A + B} = \overline{A} \cdot \overline{B}$. So, to build a NOR gate with AND and NOT, you would first invert both inputs (using NOT gates) and then feed those inverted signals into an AND gate.
❓ Q3: Can a NOR gate have more than two inputs?
Answer: Yes, absolutely. A multi-input NOR gate follows the same principle: the output is TRUE (or 1) only if all inputs are FALSE (or 0). If any single input is TRUE, the output immediately becomes FALSE. For a 3-input NOR gate ($A, B, C$), the output is $\overline{A+B+C}$.
🔖 Conclusion: The NOR gate, representing the phrase "neither nor," is a cornerstone of digital logic. Its simple rule—output TRUE only when all inputs are FALSE—makes it the perfect negation of the inclusive OR. More importantly, its property as a universal gate means that entire computer processors can theoretically be built using only NOR logic. From the smallest embedded system to complex decision-making circuits, the principle of "neither this nor that" continues to be a fundamental building block of our digital world.

Footnote: Abbreviations & Terms

The following terms were used in the article:

  • [1] Boolean logic: A branch of algebra where all values are reduced to TRUE or FALSE (1 or 0), used extensively in computer science.
  • [2] Truth Table: A mathematical table used in logic to compute the output of a function for every possible combination of inputs.
  • [3] De Morgan's Theorem: A pair of transformation rules used to simplify logical expressions, stating that $\overline{A+B} = \overline{A} \cdot \overline{B}$ and $\overline{A \cdot B} = \overline{A} + \overline{B}$.
  • [4] IC (Integrated Circuit): A set of electronic circuits on a small flat piece (chip) of semiconductor material, usually silicon.

Did you like this article?

home
grid_view
add
explore
account_circle