DM Cheat Sheet
DM Cheat Sheet
Logical Equivalences
• Associative laws
(p ∨ q) ∨ r ≡ p ∨ (q ∨ r) (p ∧ q) ∧ r ≡ p ∧ (q ∧ r)
• Distributive laws
p ∨ (q ∧ r) ≡ (p ∨ q) ∧ (p ∨ r) p ∧ (q ∨ r) ≡ (p ∧ q) ∨ (p ∧ r)
• De Morgan’s laws
¬(p ∧ q) ≡ ¬p ∨ ¬q ¬(p ∨ q) ≡ ¬p ∧ ¬q
Field Axioms
1. ∀x (x + 0 = x) (Additive Identity)
2. ∀x ∃y (x + y = 0) (Additive Inverse)
3. ∀x ∀y (x + y = y + x) (Addition Commutativity)
4. ∀x ∀y ∀z (x + y) + z = x + (y + z) (Addition Associativity)
5. ∀x (1 · x = x) (Multiplicative Identity)
6. ∀x ∃y (x 6= 0 → x · y = 1) (Multiplicative Inverse)
7. ∀x ∀y (x · y = y · x) (Multiplication Commutativity)
8. ∀x ∀y ∀z (x · y) · z = x · (y · z) (Multiplication Associativity)
9. ∀x ∀y ∀z x · (y + z) = x · y + x · z) (Distributivity)
Discrete Mathematics
Rules of Inference
Universal Instantiation
∀xP (x)
∴ P (c) where c is a particular element of the domain
Universal Generalisation
P (c) for any arbitrary element c
∴ ∀xP (x)
Existential Instantiation
∃xP (x)
∴ P (c) for some element c
Existential Generalisation
P (c) for some particular element c
∴ ∃xP (x)
Discrete Mathematics
Set Identities
Let A, B, C be sets and U be the universal set which contains all objects under consider-
ation. In particular, each of A, B, C is a subset of U .