Initial and terminal objects


In category theory, a branch of mathematics, an initial object of a category is an object in such that for every object in, there exists precisely one morphism.
The dual notion is that of a terminal object : is terminal if for every object in there exists exactly one morphism. Initial objects are also called coterminal or universal, and terminal objects are also called final.
If an object is both initial and terminal, it is called a zero object or null object. A pointed category is one with a zero object.
A strict initial object is one for which every morphism into is an isomorphism.

Examples

  • The empty set is the unique initial object in Set, the category of sets. Every one-element set is a terminal object in this category; there are no zero objects. Similarly, the empty space is the unique initial object in Top, the category of topological spaces and every one-point space is a terminal object in this category.
  • In the category Rel of sets and relations, the empty set is the unique initial object, the unique terminal object, and hence the unique zero object.
Image:Terminal and initial object.svg|thumb|right|Morphisms of pointed sets. The image also applies to algebraic zero objects

Existence and uniqueness

Initial and terminal objects are not required to exist in a given category. However, if they do exist, they are essentially unique. Specifically, if and are two different initial objects, then there is a unique isomorphism between them. Moreover, if is an initial object then any object isomorphic to is also an initial object. The same is true for terminal objects.
For complete categories there is an existence theorem for initial objects. Specifically, a complete category has an initial object if and only if there exist a set and an -indexed family of objects of such that for any object of, there is at least one morphism for some.

Equivalent formulations

Terminal objects in a category may also be defined as limits of the unique empty diagram. Since the empty category is vacuously a discrete category, a terminal object can be thought of as an empty product. Dually, an initial object is a colimit of the empty diagram and can be thought of as an empty coproduct or categorical sum.
It follows that any functor which preserves limits will take terminal objects to terminal objects, and any functor which preserves colimits will take initial objects to initial objects. For example, the initial object in any concrete category with free objects will be the free object generated by the empty set.
Initial and terminal objects may also be characterized in terms of universal properties and adjoint functors. Let 1 be the discrete category with a single object, and let be the unique functor to 1. Then
  • An initial object in is a universal morphism from • to. The functor which sends • to is left adjoint to U.
  • A terminal object in is a universal morphism from to •. The functor which sends • to is right adjoint to.

    Relation to other categorical constructions

Many natural constructions in category theory can be formulated in terms of finding an initial or terminal object in a suitable category.
  • A universal morphism from an object to a functor can be defined as an initial object in the comma category. Dually, a universal morphism from to is a terminal object in.
  • The limit of a diagram is a terminal object in, the category of cones to. Dually, a colimit of is an initial object in the category of cones from.
  • A representation of a functor to Set is an initial object in the category of elements of.
  • The notion of final functor is a generalization of the notion of final object.

    Other properties

  • The endomorphism monoid of an initial or terminal object is trivial:.
  • If a category has a zero object, then for any pair of objects and in, the unique composition is a zero morphism from to.