Logic Gates

Physics
NEET UG
Version 1Updated 23 Mar 2026

Logic gates are fundamental building blocks of all digital electronic circuits. They are elementary electronic circuits that perform a logical operation on one or more binary inputs and produce a single binary output. The output is determined by the specific logic function implemented by the gate and the combination of its inputs. These gates operate based on Boolean algebra, where the inputs and …

Quick Summary

Logic gates are the fundamental building blocks of all digital electronic circuits, processing binary inputs (0s and 1s) to produce a single binary output based on specific logical rules. The three basic gates are AND, OR, and NOT.

An AND gate outputs '1' only if all inputs are '1'. An OR gate outputs '1' if at least one input is '1'. A NOT gate (inverter) flips the input state. NAND (NOT-AND) and NOR (NOT-OR) gates are universal gates, meaning any other logic gate can be constructed using only NAND or only NOR gates.

Derived gates like XOR (Exclusive-OR) output '1' if inputs are different, and XNOR (Exclusive-NOR) output '1' if inputs are the same. These gates operate based on Boolean algebra, a mathematical system for logical operations, and their behavior is summarized by truth tables.

De Morgan's theorems are crucial for simplifying Boolean expressions and understanding gate equivalences. Logic gates are physically implemented using semiconductor devices like transistors and are essential for all digital computation.

Vyyuha
Your 6-Month Blueprint, Updated Nightly
AI analyses your progress every night. Wake up to a smarter plan. Every. Single.…

Key Concepts

Truth Table Construction and Interpretation

A truth table systematically lists every possible input combination for a logic circuit and shows the…

Universal Gate Concept with NAND Gates

The concept of universal gates is that a single type of gate can be used to build any other logic function.…

De Morgan's Theorems for Simplification

De Morgan's theorems provide powerful tools for simplifying Boolean expressions and transforming logic…

  • AND Gate:Y=ABY = A \cdot B. Output '1' only if all inputs '1'.
  • OR Gate:Y=A+BY = A + B. Output '1' if any input '1'.
  • NOT Gate:Y=AˉY = \bar{A}. Inverts input.
  • NAND Gate:Y=ABY = \overline{A \cdot B}. Universal. Output '0' only if all inputs '1'.
  • NOR Gate:Y=A+BY = \overline{A + B}. Universal. Output '1' only if all inputs '0'.
  • XOR Gate:Y=AB=ABˉ+AˉBY = A \oplus B = A\bar{B} + \bar{A}B. Output '1' if inputs are different.
  • XNOR Gate:Y=AB=AB+AˉBˉY = A \odot B = AB + \bar{A}\bar{B}. Output '1' if inputs are same.
  • De Morgan's Theorems:AB=Aˉ+Bˉ\overline{A \cdot B} = \bar{A} + \bar{B} and A+B=AˉBˉ\overline{A + B} = \bar{A} \cdot \bar{B}.

NAND and NOR are the 'UNI-versal' gates, because they can make 'NOT', 'AND', 'OR' for 'U' and 'I' and 'N' (universal).

For XOR: 'eXactly One Right' (output 1 if exactly one input is 1). For XNOR: 'eXactly None Right' or 'eXactly Both Right' (output 1 if both inputs are same, i.e., both 0 or both 1).

Featured
🎯PREP MANAGER
Your 6-Month Blueprint, Updated Nightly
AI analyses your progress every night. Wake up to a smarter plan. Every. Single. Day.
Ad Space
🎯PREP MANAGER
Your 6-Month Blueprint, Updated Nightly
AI analyses your progress every night. Wake up to a smarter plan. Every. Single. Day.