The establishment of natural transformations between functors will allow us to formalize all sorts of concepts and informal definitions. First, let's see how they allow us to think of functors as objects worthy of study in and of themselves.
Definition of a functor category
Definition of a functor category
Suppose and are two categories. We denote the category of functors from to by . The objects of this category are functors , and the arrows of this category are natural transformations between such functors. The composition operation is the vertical composition of such natural transformations.
Why this exponential notation?
You might be wondering why we use this exponential-style notation for functor categories and not simply something like or even . The first few examples below should hint at a reason.
One can verify that does indeed satisfy the axioms of a category. The fact that functors between two categories have a notion of arrows between them can be seen as a hint towards some inevitable "higher category theory." A conventional category (i.e., the type we've been studying) consists of objects and arrows, but nothing beyond that. When attempting to turn the lens of category theory on itself, however, we have discovered that the "category of categories" contains objects (categories), arrows (functors between categories) and arrows between the previous arrows (natural transformations between functors).
It's hard not to see this as cracking open Pandora's Box. If natural transformations are indeed "natural," and they appear to act something like "two-dimensional arrows", then surely there is some extension of the notion of "category" to a structure that contains objects, 1-arrows and 2-arrows. How about 3-arrows? 4-arrows? Why stop?
Uh oh. We're sliding down the slope into the world of -category theory! Let's not go there, at least for now.
For now, let's simply take this observation as at least partial justification for calling arrows between categories "functors" and not "morphisms", since in most familiar situations the morphisms between your objects don't have any (obvious) notion of maps between them.
Examples of functor categories
The main examples most people stumble across are probably hom-functors (in the context of Yoneda's Lemma) and presheaves (in algebraic geometry), but for now we will satisfy ourselves with some much simpler examples.
Functors from the categories
Recall that the empty category has no objects and no arrows. For each category there is a unique functor , namely the empty functor (with empty object map and empty arrow map). It is straightforward to verify we have an equivalence of categories On objects, this equivalence sends the empty functor to the unique object of ; on arrows, this equivalence sends the unique natural transformation from empty functor to itself (i.e., the empty natural transformation) to the unique (identity) arrow in .
Functors from the categories
Similar to the previous example, functors are in bijection with objects of . Moreover, the natural transformations between such functors are in bijection with arrows in . You should now be able to verify we have an equivalence of categories .
Are you feeling a bit better about the exponential notation for functor categories?
Functors from a discrete category
Generalizing the previous two examples, let be a set and be the corresponding discrete category. Then each functor can viewed as a family of objects in indexed by . A natural transformation is exactly a family of arrows in . (Since is discrete, there is no real naturality condition to satisfy.)
So, the functor category consists of families of objects in (indexed by ), together with arrows between such families.
Commutative diagrams of a fixed shape
Suppose is a fixed category. Recall that for any category , functors can be thought of as "commutative diagrams in of shape ." For example, suppose is the category with three objects and two nonidentity arrows, as illustrated below:
Then each functor corresponds to a diagram in of the form
This particular functor category is useful when studying pullbacks and pushforwards.