Functor Created 2026-09-24 Updated 2026-10-14
A functor assigns an object of a category to each object and a categorical morphism to each arrow . It preserves the rules for composing arrows:
For example, the forgetful functor from the category of groups to the Category of sets keeps the underlying sets and maps of elements while forgetting the group operations. A group homomorphism remains a function, and composing the underlying functions gives the underlying map of the composite group homomorphism.
Another example sends a set to its power set . It sends a function to the function defined by , the image of the subset . For and , the subset goes to and then ; applying the composite directly also gives . The equality of these routes expresses preservation of composition in a category.
Natural transformation Created 2026-09-28 Updated 2026-10-14
A natural transformation between functors assigns a categorical morphism to every object of a category , with
This naturality condition says that transforming the input before transporting it gives the same result as transporting it first and transforming the output. It constrains the whole family of arrows, so unrelated choices of a map for each object generally fail it.
For a concrete example, compare the functor that leaves every set and function unchanged with the power set functor using images of subsets. The maps given by form a natural transformation: for any function ,
The right-hand panel of the category illustration checks the square at with : both routes end at . The statement works for every function, rather than depending on a preferred labeling of a particular set.
Let be the set of connected components of a category: two objects of a category are identified when joined by a finite zigzag of morphisms. Let be the discrete category on , and let be the indiscrete category on , with exactly one morphism for every ordered pair of objects.
A functor must give the same object value along every arrow, hence along every zigzag. Conversely a function uniquely defines such a functor. A functor is just a choice of an object of a category for each element of . A functor is likewise determined by an arbitrary object function, since its arrow images are forced and always compose correctly. Therefore
This is the adjoint chain for the objects of a category: