Skip to content

Mathematics · Ch 1 — Relations and Functions

Summary

Summary

  • Relation: A subset of A×BA \times B. Types: reflexive (aRaaRa), symmetric (aRb  ⟹  bRaaRb \implies bRa), transitive (aRb,bRc  ⟹  aRcaRb, bRc \implies aRc). An equivalence relation satisfies all three.
  • Equivalence class [a][a]: set of all elements related to aa in an equivalence relation. Partitions the set into disjoint classes.
  • Function: A relation where each x∈Ax \in A has a unique f(x)∈Bf(x) \in B. Types: injective (one-one: f(a)=f(b)  ⟹  a=bf(a)=f(b) \implies a=b), surjective (onto: every y∈By \in B has some xx), bijective (both).
  • Composition (g∘f)(x)=g(f(x))(g \circ f)(x) = g(f(x)): associative, but not commutative. ff and gg bijective   ⟹  g∘f\implies g \circ f bijective.
  • Inverse function f−1f^{-1} exists iff ff is bijective. Then f−1(y)=xf^{-1}(y) = x where f(x)=yf(x)=y, and f−1∘f=IAf^{-1} \circ f = I_A, f∘f−1=IBf \circ f^{-1} = I_B. …