Boolean Logic & Logic Gates Formulas & Cheat Sheet
Complete chapter-wise reference, step-by-step formula explanations, structured table, and board exam trap warnings.
Core Concepts & Theoretical Foundations
- Boolean Logic: Binary mathematical algebra developed by George Boole dealing with propositions that have only two possible truth values: True (1) or False (0).
- Primary Boolean Operators: NOT (Inversion / Complementation: ~A or A'); AND (Conjunction / Logical Multiplication: A . B); OR (Disjunction / Logical Addition: A + B).
- Universal Gates: NAND and NOR are universal gates because ANY Boolean circuit or logic gate (AND, OR, NOT) can be constructed exclusively using only NAND or only NOR gates.
- Special Logic Gates: XOR (Exclusive-OR: output 1 when inputs are different: A ⊕ B = A'B + AB'); XNOR (Exclusive-NOR / Equivalence: output 1 when inputs are identical: A ⊙ B = AB + A'B').
- Postulates & Theorems: Annulment (A . 0 = 0, A + 1 = 1); Identity (A . 1 = A, A + 0 = A); Idempotent (A . A = A, A + A = A); Complementarity (A . A' = 0, A + A' = 1); Involution ((A')' = A).
- De Morgan's Laws: 1. (A + B)' = A' . B' (The complement of an OR is the AND of the complements); 2. (A . B)' = A' + B' (The complement of an AND is the OR of the complements).
- Duality Principle: Any valid Boolean equation remains valid if AND and OR operators are interchanged (. <-> +) and 0 and 1 identity elements are interchanged (0 <-> 1).
Chapter Formulas & Equations (10 entries)
| # | Topic / Formula Name | Mathematical Form & Equation | Conditions, Meaning & Board Tips |
|---|---|---|---|
| 1 | De Morgan's First Law (NOR to AND-Invert) |
|
The complement of a logical sum equals the logical product of the individual complements. |
| 2 | De Morgan's Second Law (NAND to OR-Invert) |
|
The complement of a logical product equals the logical sum of the individual complements. |
| 3 | XOR (Exclusive-OR) Logic Equation |
|
High (1) only when an odd number of inputs are true; fundamental circuit element in binary adders (Half-Adder). |
| 4 | XNOR (Equivalence) Logic Equation |
|
High (1) only when both inputs are identical (both 0 or both 1); acts as a binary bit comparator. |
| 5 | Boolean Distributive Laws |
|
Notice the second distributive law (OR distributes over AND), which does not exist in conventional algebra. |
| 6 | Boolean Absorption Laws |
|
Critical simplification theorem that eliminates redundant terms in digital circuit design. |
| 7 | Universal NAND Gate Realization |
|
Proves that all logical operations can be fabricated purely with NAND gates, simplifying semiconductor manufacturing. |
| 8 | Half-Adder Logic Circuit Equations |
|
Basic combinational circuit that adds two single-bit binary inputs producing sum and carry. |
| 9 | Full-Adder Logic Equations |
|
Adds three binary bits (two significant bits and an incoming carry from the previous stage). |
| 10 | Principle of Duality Mapping |
|
If a Boolean identity is proved true, its dual expression obtained by swapping operators and constants is automatically true. |
CBSE Board Exam Tips & Frequent Pitfalls
- Remember that the second distributive law A + BC = (A + B)(A + C) is uniquely valid in Boolean algebra and frequently tested.
- To find the dual of an expression: change every '+' to '.', every '.' to '+', every '0' to '1', and every '1' to '0' WITHOUT inverting variables.
- Remember that NAND and NOR are called Universal Gates because any logic gate can be constructed using only NAND or only NOR gates.
Step-by-Step Worked Board Exam Examples
Example 1: Prove De Morgan's Law (A + B)' = A' . B' using a truth table.
Construct a truth table for inputs A and B (4 combinations: 00, 01, 10, 11):
Rows: (A=0, B=0), (A=0, B=1), (A=1, B=0), (A=1, B=1).
Calculate A + B: 0, 1, 1, 1. Calculate LHS = (A + B)': 1, 0, 0, 0.
Calculate A': 1, 1, 0, 0. Calculate B': 1, 0, 1, 0.
Calculate RHS = A' . B': (1.1)=1, (1.0)=0, (0.1)=0, (0.0)=0.
Compare LHS column and RHS column: both have identical output [1, 0, 0, 0]. Hence proved.
Example 2: Simplify the Boolean expression: F = A'BC + AB'C + ABC + ABC'.
Rewrite using idempotence rule ABC = ABC + ABC to pair terms:
F = (A'BC + ABC) + (AB'C + ABC) + ABC'
Factor common terms: F = BC(A' + A) + AC(B' + B) + ABC'
Apply complementarity A + A' = 1 and B + B' = 1:
F = BC(1) + AC(1) + ABC' = BC + A(C + BC')
Apply distributive property C + BC' = C + B:
F = BC + AC + AB.
Common Mistakes to Avoid in Exam
- Inverting the variables when asked to find the dual of an expression. Duality swaps operators and constants only, NOT variables!
- Confusing XOR with XNOR truth tables. XOR outputs 1 when inputs are different; XNOR outputs 1 when inputs are the same.
- Applying algebraic rules that do not exist, such as cancelling variables like standard fractions.
Target Practice Questions
Q1. Find the dual of the Boolean relation: A + A'B = A + B.
Correct Answer: The dual is A . (A' + B) = A . B.
Q2. Draw the truth table for a 2-input NOR gate.
Correct Answer: Inputs (0,0)->1; (0,1)->0; (1,0)->0; (1,1)->0.
Q3. Write the Boolean expression for the carry in a Half-Adder.
Correct Answer: Carry = A . B (AND gate of the two inputs).
Frequently Asked Questions
Q. Why are NAND and NOR called universal gates?
Because any basic logic gate (AND, OR, NOT) or complex digital circuit can be fabricated exclusively using either only NAND gates or only NOR gates.
Q. What is an inverter?
A NOT gate is called an inverter because it complements the input signal (turns 0 into 1, and 1 into 0).
Q. What is the output of an XOR gate when both inputs are 1?
The output is 0, because XOR yields 1 only when the two inputs are distinct.
Q. What is the duality principle?
It states that any valid Boolean relation remains true if AND and OR operators and identity elements 0 and 1 are swapped.