Discrete Mathematics: Compound statements, truth tables, the algebra of propositions, logical arguments. Sets, operations on sets, binary relations, partial orders, mathematical induction, the principle of inclusion–exclusion.
Probability: Probability theory: sample spaces, events and probability. Discrete probability: union, intersection and complement of events, conditional probability, Bayes' theorem.
Statistics: Linear correlation coefficient, linear regression, non-linear regression, multiple correlation and multiple regression, theory of sampling and population.
Conditional laws
p → q ≡ ¬p ∨ q ≡ ¬q → ¬p; ¬(p → q) ≡ p ∧ ¬q
De Morgan
¬(p ∧ q) ≡ ¬p ∨ ¬q; ¬(p ∨ q) ≡ ¬p ∧ ¬q (sets: (A ∪ B)′ = A′ ∩ B′)
Truth-table counts
n variables → 2ⁿ rows; 2^(2ⁿ) distinct truth functions (16 for n = 2)
Functionally complete
{↑}, {↓}, {¬, ∧}, {¬, ∨}, {¬, →}; not {∧, ∨}
Quantifier negation
¬∀x P(x) ≡ ∃x ¬P(x); ¬∃x P(x) ≡ ∀x ¬P(x)
Power set & products
|P(A)| = 2ⁿ; |A × B| = |A|·|B|; relations A → B: 2^(mn); on A: 2^(n²)
Relation counts (n elements)
reflexive 2^(n² − n); symmetric 2^(n(n+1)/2); antisymmetric 2ⁿ·3^(n(n−1)/2); equivalence = Bell Bₙ (1, 2, 5, 15, 52)
Partial order / lattice
reflexive + antisymmetric + transitive; in (ℤ⁺, |) lub = lcm, glb = gcd; Dₙ Boolean ⇔ n square-free
Inclusion–exclusion
|A ∪ B ∪ C| = Σ|A| − Σ|A ∩ B| + |A ∩ B ∩ C|; 1–100 divisible by 2, 3 or 5: 74
Derangements
Dₙ = n! Σ(−1)ᵏ/k! = (n − 1)(Dₙ₋₁ + Dₙ₋₂): 0, 1, 2, 9, 44, 265; Dₙ ≈ n!/e
Pigeonhole
N objects in k boxes → some box ≥ ⌈N/k⌉; to force r in a box: k(r − 1) + 1
Addition rule
P(A ∪ B) = P(A) + P(B) − P(A ∩ B); P(A′) = 1 − P(A)
Conditional & independence
P(A|B) = P(A ∩ B)/P(B); independent ⇔ P(A ∩ B) = P(A)P(B)
Bayes' theorem
P(Bᵢ|A) = P(Bᵢ)P(A|Bᵢ) / Σ P(Bⱼ)P(A|Bⱼ) (prior × likelihood ÷ total)
Binomial / Poisson
B(n, p): mean np, variance npq; Poisson(λ): mean = variance = λ
Expectation & variance
Var X = E(X²) − [E(X)]²; Var(aX + b) = a² Var X; fair die: 3.5, 35/12
Pearson's r
r = cov/(σxσy) = Σdxdy/√(Σdx²Σdy²); −1 ≤ r ≤ 1; unchanged by origin and scale (apart from sign)
Spearman's ρ
ρ = 1 − 6Σd²/(n(n² − 1)); ties: add m(m² − 1)/12 per tied group
Regression coefficients
byx = r·σy/σx; bxy = r·σx/σy; r = ±√(byx·bxy); both lines pass through (x̄, ȳ)
Least-squares line
Σy = na + bΣx; Σxy = aΣx + bΣx²; y = abˣ → log y = log a + x log b
Multiple correlation
R²₁.₂₃ = (r₁₂² + r₁₃² − 2r₁₂r₁₃r₂₃)/(1 − r₂₃²), 0 ≤ R ≤ 1
Partial correlation
r₁₂.₃ = (r₁₂ − r₁₃r₂₃)/√((1 − r₁₃²)(1 − r₂₃²))
Standard error of the mean
σ/√n; without replacement × √((N − n)/(N − 1)); Var(x̄) = σ²/n
Critical z values
two-tailed 1.96 (5%), 2.58 (1%); one-tailed 1.645 (5%), 2.33 (1%)
Type I / Type II error
Type I = reject a true H₀ (α); Type II = accept a false H₀ (β); power = 1 − β