Definition

Relation is a function if:

  • (without this condition, is a partial function)
    • one input (of the domain) maps to at least one output.
  • (assure right-uniqueness)
    • one input maps to at most one output.

NOTE

A function is a special relation

Notation of the set of all functions

is the set of all functions

Transitivity of injectivity and surjectivity

injective/surjective injective/surjective Proof for injectivity