Fiveable

🔢Category Theory Unit 3 Review

QR code for Category Theory practice questions

3.2 Initial and terminal objects

3.2 Initial and terminal objects

Written by the Fiveable Content Team • Last updated August 2025
Written by the Fiveable Content Team • Last updated August 2025
🔢Category Theory
Unit & Topic Study Guides

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 II in a category C\mathcal{C} is an initial object if for every object XX in C\mathcal{C}, there exists a unique morphism f:IXf: I \to X (\emptyset in the category of sets, trivial group {e}\{e\} in the category of groups)
  • An object TT in a category C\mathcal{C} is a terminal object if for every object XX in C\mathcal{C}, there exists a unique morphism g:XTg: X \to T (singleton set {x}\{x\} in the category of sets, trivial group {e}\{e\} in the category of groups)
  • The universal property of an initial object II states that for any other object XX in the category, there is a unique morphism from II to XX
  • The universal property of a terminal object TT states that for any other object XX in the category, there is a unique morphism from XX to TT
Initial and terminal objects, Bartosz Milewski's Programming Cafe | Category Theory, Haskell, Concurrency, C++

Uniqueness of universal objects

  • Suppose I1I_1 and I2I_2 are both initial objects in a category C\mathcal{C}
  • By the definition of an initial object, there exist unique morphisms f:I1I2f: I_1 \to I_2 and g:I2I1g: I_2 \to I_1
  • The composition gf:I1I1g \circ f: I_1 \to I_1 is a morphism from I1I_1 to itself and must be equal to the identity morphism idI1:I1I1id_{I_1}: I_1 \to I_1 since I1I_1 is an initial object
  • Similarly, fg=idI2f \circ g = id_{I_2}, proving that ff and gg are inverse isomorphisms and I1I_1 and I2I_2 are uniquely isomorphic
  • The proof for the uniqueness of terminal objects is dual to the proof for initial objects if T1T_1 and T2T_2 are both terminal objects in a category C\mathcal{C}, then they are uniquely isomorphic
Initial and terminal objects, Morphism - Wikipedia

Examples in concrete categories

  • In the category of sets, the empty set \emptyset is an initial object because there is a unique function from \emptyset to any other set and any singleton set {x}\{x\} is a terminal object because there is a unique function from any set to {x}\{x\}
  • In the category of groups, the trivial group {e}\{e\} is both an initial and terminal object for any group GG, there is a unique group homomorphism from {e}\{e\} to GG mapping ee to the identity element of GG and a unique group homomorphism from GG to {e}\{e\}
  • 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 II is an initial object in a category C\mathcal{C}, then II is a terminal object in the opposite category Cop\mathcal{C}^{op}
  • If TT is a terminal object in a category C\mathcal{C}, then TT is an initial object in the opposite category Cop\mathcal{C}^{op}
  • The opposite category Cop\mathcal{C}^{op} of a category C\mathcal{C} has the same objects as C\mathcal{C}, but the morphisms are reversed if f:ABf: A \to B is a morphism in C\mathcal{C}, then f:BAf: B \to A is a morphism in Cop\mathcal{C}^{op}