Fiveable

🔢Category Theory Unit 5 Review

QR code for Category Theory practice questions

5.1 Definition and examples of natural transformations

5.1 Definition and examples of natural transformations

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

Natural transformations bridge functors, preserving category structure. They're defined by morphisms between objects, satisfying a naturality condition shown in commutative diagrams. This concept connects functors, allowing us to compare and relate them.

Examples include identity transformations, power set functors, and linear algebra applications. Components of natural transformations involve specifying source and target functors, along with component morphisms for each object in the source category.

Natural Transformations

Definition of natural transformations

  • Natural transformation transforms one functor into another while respecting the structure of the categories involved
  • Given two functors F,G:CDF, G : \mathcal{C} \rightarrow \mathcal{D}, a natural transformation η\eta from FF to GG is a family of morphisms in D\mathcal{D}
    • For each object XX in C\mathcal{C}, there is a morphism ηX:F(X)G(X)\eta_X : F(X) \rightarrow G(X)
  • Morphisms must satisfy the naturality condition: for every morphism f:XYf : X \rightarrow Y in C\mathcal{C}, the following diagram commutes:
    F(X) --F(f)--> F(Y)
     |              |
    ηX             ηY
     |              |
     v              v
    G(X) --G(f)--> G(Y)
    
Definition of natural transformations, Commutative diagram | TikZ example

Commutative diagrams for natural transformations

  • Commutative diagram ensures that the natural transformation respects the structure of the categories and functors involved
  • Diagram states that applying the natural transformation after the functor FF is the same as applying the functor GG and then the natural transformation
    • In other words, G(f)ηX=ηYF(f)G(f) \circ \eta_X = \eta_Y \circ F(f) for every morphism f:XYf : X \rightarrow Y in C\mathcal{C}
  • Commutativity of this diagram is necessary and sufficient for a family of morphisms to be a natural transformation
Definition of natural transformations, Product category - Wikipedia

Examples in various categories

  • Identity natural transformation
    • For any functor F:CDF : \mathcal{C} \rightarrow \mathcal{D}, there is an identity natural transformation from FF to itself
    • Component morphisms are the identity morphisms in D\mathcal{D}: ηX=idF(X)\eta_X = id_{F(X)} for each object XX in C\mathcal{C}
  • Natural transformations between power set functors
    • Consider the power set functor P:SetSet\mathcal{P} : \mathbf{Set} \rightarrow \mathbf{Set} and the functor PP\mathcal{P} \circ \mathcal{P} (power set of the power set)
    • Natural transformation from P\mathcal{P} to PP\mathcal{P} \circ \mathcal{P} given by component morphisms ηX(A)={A}\eta_X(A) = \{A\} for each set XX and each subset AXA \subseteq X
  • Natural transformations in linear algebra
    • Consider the categories VectK\mathbf{Vect}_K of vector spaces over a field KK and Set\mathbf{Set}
    • Forgetful functor U:VectKSetU : \mathbf{Vect}_K \rightarrow \mathbf{Set} sends each vector space to its underlying set and each linear map to its underlying function
    • Functor K:SetVectKK^- : \mathbf{Set} \rightarrow \mathbf{Vect}_K sends each set XX to the vector space KXK^X (functions from XX to KK) and each function f:XYf : X \rightarrow Y to the linear map Kf:KYKXK^f : K^Y \rightarrow K^X given by precomposition with ff
    • Natural transformation from KUK^- \circ U to the identity functor on VectK\mathbf{Vect}_K, given by component morphisms ηV:KU(V)V\eta_V : K^{U(V)} \rightarrow V defined by ηV(φ)=vVφ(v)v\eta_V(\varphi) = \sum_{v \in V} \varphi(v) \cdot v for each vector space VV and each function φ:U(V)K\varphi : U(V) \rightarrow K

Components of natural transformations

  • To define a natural transformation, one needs to specify:
    • Source functor F:CDF : \mathcal{C} \rightarrow \mathcal{D}
    • Target functor G:CDG : \mathcal{C} \rightarrow \mathcal{D}
    • For each object XX in C\mathcal{C}, a morphism ηX:F(X)G(X)\eta_X : F(X) \rightarrow G(X) in D\mathcal{D}, called the component morphism at XX
  • Collection of all component morphisms defines the natural transformation
    • Morphisms must satisfy the naturality condition (commutative diagram) for the transformation to be natural
  • When specifying a natural transformation, it is crucial to identify the source and target functors, define the component morphisms, and verify that they satisfy the naturality condition