Initial and terminal objects are special elements in categories with unique connections to all other objects. They're like the starting and ending points of a journey through the category's structure.
These objects have universal properties that make them stand out. Initial objects have a unique morphism to every other object, while terminal objects receive a unique morphism from every other object. This uniqueness gives them a special role in category theory.
Initial and Terminal Objects
Initial and terminal objects
- An object in a category is an initial object if for every object in , there exists a unique morphism ( in the category of sets, trivial group in the category of groups)
- An object in a category is a terminal object if for every object in , there exists a unique morphism (singleton set in the category of sets, trivial group in the category of groups)
- The universal property of an initial object states that for any other object in the category, there is a unique morphism from to
- The universal property of a terminal object states that for any other object in the category, there is a unique morphism from to

Uniqueness of universal objects
- Suppose and are both initial objects in a category
- By the definition of an initial object, there exist unique morphisms and
- The composition is a morphism from to itself and must be equal to the identity morphism since is an initial object
- Similarly, , proving that and are inverse isomorphisms and and are uniquely isomorphic
- The proof for the uniqueness of terminal objects is dual to the proof for initial objects if and are both terminal objects in a category , then they are uniquely isomorphic

Examples in concrete categories
- In the category of sets, the empty set is an initial object because there is a unique function from to any other set and any singleton set is a terminal object because there is a unique function from any set to
- In the category of groups, the trivial group is both an initial and terminal object for any group , there is a unique group homomorphism from to mapping to the identity element of and a unique group homomorphism from to
- In the category of topological spaces, any space with a single point is a terminal object because there is a unique continuous function from any topological space to a single point space the empty space is an initial object because there is a unique continuous function from the empty space to any other topological space
Duality of initial vs terminal
- In category theory, duality refers to the process of reversing the direction of morphisms in a category the dual of a concept is obtained by reversing the direction of morphisms in the definition
- Initial objects and terminal objects are dual notions the definition of an initial object is dual to the definition of a terminal object
- If is an initial object in a category , then is a terminal object in the opposite category
- If is a terminal object in a category , then is an initial object in the opposite category
- The opposite category of a category has the same objects as , but the morphisms are reversed if is a morphism in , then is a morphism in