function composition


The composition of and is the function
Composition is not commutative.
s

See also: Category Theory and Why We Care 1.1

EXAMPLE



Since domain and codomain are the same, we can also compose and in this case the result is different.

The composition of two injective or surjective functions is also injective or surjective, respectively.

Proof:
injective
injective
surjective
surjective
bijective bijective

Properties

: associativity

Proof:
: neutral element

Proof:
commutative:
invertible: is not necessarily invertible if and are invertible. Only for bijections are invertible, or of .