Skip to content

Mathematics · Ch 1 — Relations and Functions

Summary

Summary

Summary

  • A relation RR in a set AA is reflexive if (a,a)∈R(a,a)\in R for every a∈Aa\in A; symmetric if (a,b)∈R  ⟹  (b,a)∈R(a,b)\in R \implies (b,a)\in R; transitive if (a,b),(b,c)∈R  ⟹  (a,c)∈R(a,b),(b,c)\in R \implies (a,c)\in R. The three properties are logically independent.
  • An equivalence relation is reflexive, symmetric and transitive simultaneously. Its equivalence classes [a]={x:x R a}[a] = \{x : x\,R\,a\} partition the set into disjoint blocks whose union is the whole set, and [a]=[b][a]=[b] iff a R ba\,R\,b.
  • A function f:A→Bf:A\to B is one-one (injective) if f(x1)=f(x2)  ⟹  x1=x2f(x_1)=f(x_2)\implies x_1=x_2; it is onto (surjective) if every y∈By\in B has some preimage in AA, i.e. range(f)=B\text{range}(f)=B.
  • A function that is both one-one and onto is a bijection. Restricting domain/codomain can convert a non-bijective function (e.g. f(x)=x2f(x)=x^2 on R\mathbb{R}) into a bijective one.
  • The composite (g∘f)(x)=g(f(x))(g\circ f)(x)=g(f(x)) is generally not commutative (f∘g≠g∘ff\circ g \neq g\circ f) but is associative; its domain can be smaller than that of ff alone. …