- A function f (from the set X (domain) to the set Y (codomain)) is defined as a total functional binary relation f⊆X×Y.
- (arrow notation) f:X→Y,x↦f(x) denotes the function f from X to Y that maps x to f(x)
- The set of all functions from X to Y, denoted by YX (or XY) is the set YX={f∣f:X→Y}.
- Let f and g be functions:
- The inverse of f is the relation f−1={(y,x):(x,y)∈f}.
- For each set A, the restriction of f to A is the function {(x,y):(x,y)∈f∧x∈A}.
- For each set A⊆dom(f), the image of A under f is the set f(A)={f(x):x∈A}
- f is said to be one-to-one (or injective or an injection), if ∀x1,x2∈dom(f),f(x1)=f(x2)⟹x1=x2. (Equivalently, x1=x2⟹f(x1)=f(x2))
- f is said to be onto (or surjective or a surjection), if ∀y∈codom(f),∃x∈dom(f):f(x)=y.
- f is said to be one-to-one correspondence (or bijective or a bijection), if f is both one-to-one and onto.
- The composition of f and g is the relation f∘g={(x,z):∃y∈Y:(x,y)∈f∧(y,z)∈g}, denoted by g∘f or gf.
- The empty function is the function with an empty domain.
- f:A→B is bijection ⟹f−1:B→A is bijection ∧ (f−1)−1=f
- f:A→B is bijection ⟹f−1∘f=IA∧f∘f−1=IB
- f:A→B,g:B→A, s.t. g∘f=IA∧f∘g=IB⟹g,f are bijections, and f−1=g