WIPIVERSE All articles

Natural transformation

A natural transformation is a morphism between functors in category theory, providing a way of transforming one functor into another while respecting the structure of the categories involved. Formally, let $ \mathcal{C} $ and $ \mathcal{D} $ be categories, and let $ F, G : \mathcal{C} \to \mathcal{D} $ be functors. A natural transformation $ \eta : F \Rightarrow G $ consists of a family of morphisms in $ \mathcal{D} $,

$$ \eta_X : F(X) \to G(X) \qquad \text{for each object } X \in \text{Ob}(\mathcal{C}), $$

such that for every morphism $ f : X \to Y $ in $ \mathcal{C} $, the following naturality square commutes:

$$ \begin{aligned} F(X) \xrightarrow{F(f)} F(Y) \ ;;;;;\downarrow{\eta_X} \quad;;;;;\downarrow{\eta_Y} \ G(X) \xrightarrow{G(f)} G(Y) \end{aligned} \qquad\text{or equivalently,}\qquad G(f) \circ \eta_X = \eta_Y \circ F(f). $$

Thus the components $ \eta_X $ interact coherently with the action of the functors on morphisms.

Key Properties

  • Identity Natural Transformation: For any functor $ F : \mathcal{C} \to \mathcal{D} $, the family of identity morphisms $ \mathrm{id}_{F(X)} $ forms a natural transformation $ \mathrm{id}_F : F \Rightarrow F $.

  • Composition: Given natural transformations $ \eta : F \Rightarrow G $ and $ \mu : G \Rightarrow H $, their vertical composition $ \mu \circ \eta : F \Rightarrow H $ is defined component‑wise by $ (\mu \circ \eta)_X = \mu_X \circ \eta_X $. This composition is associative and has the identity natural transformations as units.

  • Horizontal Composition: If $ \alpha : F \Rightarrow G $ is a natural transformation between functors $ \mathcal{C} \to \mathcal{D} $ and $ \beta : H \Rightarrow K $ between functors $ \mathcal{D} \to \mathcal{E} $, their horizontal (or whiskered) composition $ \beta \ast \alpha : H \circ F \Rightarrow K \circ G $ is given by $ (\beta \ast \alpha)X = \beta{G(X)} \circ H(\alpha_X) = K(\alpha_X) \circ \beta_{F(X)} $.

  • Naturality Condition: The commutativity of the naturality square ensures that the transformation is compatible with the categorical structure; it cannot be defined arbitrarily on objects alone.

Examples

  1. Identity Transformation: For any functor $ F $, $ \mathrm{id}_F $ is a natural transformation from $ F $ to itself.

  2. Hom‑Set Functor: For a fixed object $ A $ in a locally small category $ \mathcal{C} $, the covariant hom‑functor $ \mathrm{Hom}(A, -) : \mathcal{C} \to \mathbf{Set} $ and the contravariant hom‑functor $ \mathrm{Hom}(-, A) : \mathcal{C}^{op} \to \mathbf{Set} $ are related by a natural isomorphism when $ \mathcal{C} $ is a groupoid.

  3. Derivative of Polynomial Functors: In the category of vector spaces, the functor $ V \mapsto V \otimes V $ and the functor $ V \mapsto S^2 V $ (symmetric square) are connected by a natural transformation given by symmetrization.

  4. Adjunction Unit and Counit: For an adjunction $ F \dashv G $ between categories $ \mathcal{C} $ and $ \mathcal{D} $, the unit $ \eta : \mathrm{id}\mathcal{C} \Rightarrow G F $ and counit $ \varepsilon : F G \Rightarrow \mathrm{id}\mathcal{D} $ are natural transformations satisfying the triangle identities.

Natural Isomorphisms

A natural transformation $ \eta : F \Rightarrow G $ is called a natural isomorphism if each component $ \eta_X $ is an isomorphism in $ \mathcal{D} $. In this case, $ F $ and $ G $ are said to be naturally isomorphic, denoted $ F \cong G $. Natural isomorphisms identify functors that are “the same up to coherent renaming” of objects and morphisms.

Role in Category Theory

Natural transformations are central to the study of functors and categories. They allow the formation of the functor category $ [\mathcal{C},\mathcal{D}] $, whose objects are functors $ \mathcal{C} \to \mathcal{D} $ and whose morphisms are natural transformations. This construction leads to higher‑level concepts such as:

  • 2‑Categories: Where objects are categories, 1‑morphisms are functors, and 2‑morphisms are natural transformations.
  • Kan Extensions, Limits, Colimits, and Adjunctions, all of which can be described via natural transformations.
  • Yoneda Lemma, which asserts that each object $ X $ of a locally small category $ \mathcal{C} $ is represented by a natural transformation from the hom‑functor $ \mathrm{Hom}(-, X) $ to any other functor.

References

  • S. Mac Lane, Categories for the Working Mathematician, 2nd ed., Springer, 1998.
  • J. L. Kelly, Basic Concepts of Enriched Category Theory, Cambridge University Press, 1982.
  • P. T. Johnstone, Sketches of an Elephant: A Topos Theory Compendium, Oxford University Press, 2002.
Browse

More topics to explore

    Browse all articles