Skip to content

Mathematics · Ch 12 — Discrete Mathematics

Summary

12.5

Summary

Binary operations. A binary operation ∗* on a non-empty set SS assigns a unique element a∗b∈Sa*b\in S to every ordered pair (a,b)∈S×S(a,b)\in S\times S -- so every binary operation automatically satisfies closure.

Properties. ∗* is commutative if a∗b=b∗a ∀ a,b∈Sa*b=b*a\ \forall\,a,b\in S; associative if (a∗b)∗c=a∗(b∗c) ∀ a,b,c∈S(a*b)*c=a*(b*c)\ \forall\,a,b,c\in S; has an identity e∈Se\in S if a∗e=a=e∗a ∀ a∈Sa*e=a=e*a\ \forall\,a\in S; and, given an identity, b∈Sb\in S is the inverse of aa (written a−1a^{-1}) if a∗b=e=b∗aa*b=e=b*a. Theorem 12.1: the identity element, if it exists, is unique. Theorem 12.2: the inverse of an element, if it exists, is unique.

Boolean matrices. A Boolean matrix has every entry 00 or 11; join A∨BA\vee B takes entrywise max⁡\max and meet A∧BA\wedge B takes entrywise min⁡\min -- both closed, commutative, associative, each with an identity (OO for join, UU for meet), neither with inverses.

Modular arithmetic. For modulus n>1n>1, a≡b(modn)a\equiv b\pmod n means bb is the least non-negative remainder of aa on division by nn (0≤b≤n−10\le b\le n-1). Addition modulo nn (+n+_n) and multiplication modulo nn (×n\times_n) are the corresponding binary operations on Zn={0,1,…,n−1}\mathbb Z_n=\{0,1,\ldots,n-1\}.

Mathematical logic studies reasoning through mathematical symbols. A statement/proposition is a declarative sentence, true or false but not both. Negation ¬p\neg p flips pp's truth value. Conjunction p∧qp\wedge q is TT only when both are TT. Disjunction p∨qp\vee q is FF only when both are FF. The conditional p→qp\to q has truth value FF only when pp is TT and qq is FF. The biconditional p↔qp\leftrightarrow q is TT exactly when p,qp,q share the same truth value.

Tautology, contradiction, contingency. A tautology (T\mathbb T) is always TT; a contradiction (F\mathbb F) is always FF; a contingency is neither. …