Boolean Algebra Guide

Truth Tables

ABANDORNANDNORXORXNORNOT A
000011011
010110101
100110100
111100010

Boolean Laws

Identity Laws
A + 0 = A
A · 1 = A
Null Laws
A + 1 = 1
A · 0 = 0
Idempotent Laws
A + A = A
A · A = A
Complement Laws
A + A' = 1
A · A' = 0
Double Negation
(A')' = A
Commutative Laws
A + B = B + A
A · B = B · A
Associative Laws
A+(B+C) = (A+B)+C
A·(B·C) = (A·B)·C
Distributive Laws
A·(B+C) = A·B + A·C
A+(B·C) = (A+B)·(A+C)
De Morgan's Laws
(A+B)' = A'·B'
(A·B)' = A'+B'
Absorption Laws
A + A·B = A
A · (A+B) = A

Logic Gate Symbols

GateExpressionDescription
ANDY = A · BOutput 1 only when all inputs are 1
ORY = A + BOutput 1 when any input is 1
NOTY = A'Output is inverse of input
NANDY = (A·B)'Inverse of AND
NORY = (A+B)'Inverse of OR
XORY = A⊕BOutput 1 when inputs differ
XNORY = (A⊕B)'Output 1 when inputs are equal