Initial and terminal objects are objects within a category which, if they exist, are unique up to isomorphism.
Loosely speaking, all objects ‘flow’ from the initial object and to the terminal object.
More precisely, in a category , objects and are called the initial and terminal objects respectively if for any object there exist unique morphisms and . cat
Concisely, and always contain exactly one morphism.
Uniqueness up to isomorphism
Let be an object in with the initial property.
Then there exists unique and .
Likewise the only endomorphisms are and .
Hence and , therefore .
Likewise let be an object in with the initial property.
Then there exists unique and .
Likewise the only endomorphisms are and .
Hence and , therefore .
The simplest example is perhaps in posets, viewed as categories, in which the initial and terminal objects represent the smallest and largest values respectively.
In the category , it is required that a unique morphism exists mapping the empty set for every set .
Hence is the initial object.
In a similar fashion, it is clear that one and only one mapping exists from each set to a singleton set ,
and that all singletons are isomorphic.
Hence the singleton is the terminal object.
In , both the initial and terminal object, hence the zero object,
is the trivial vector space.
Clearly, all trivial vector spaces are isomorphic
(e.g. the trivial subspace of and ).
For any vector space ,
there exists exactly one linear transformation ,
and this is also clearly epic.
Likewise, there exists exactly one (monic) linear transformation