Function Equations and definitions

Definition

A function from a set to a set assigns to every exactly one element .

Graph

The graph of a function is the set This is why functions can be treated as special relations.

Composition

If and , then Composition order matters.

Mapping properties

  • Injective: .
  • Surjective: for every , there exists such that .
  • Bijective: injective and surjective.

Inverse

If is bijective, then there is an inverse satisfying

\qquad f\circ f^{-1}=\operatorname{id}_Y.$$ See [[Inverse functions]] for examples and domain restrictions. ## Composition and identity Function composition means feeding one function into another:

(g\circ f)(x)=g(f(x)).

\operatorname{id}_A(x)=x.

A function $f:A o B$ has an inverse exactly when there is a function $f^{-1}:B o A$ such that

f^{-1}\circ f=\operatorname{id}_A,\qquad f\circ f^{-1}=\operatorname{id}_B.