Natural Transformations

Let C and D be categories, and let

F,G:C→D

be functors.

A natural transformation η:F⇒G assigns to each object X∈C a morphism in D,

ηX:F(X)→G(X),

called the component at X.

These components satisfy the naturality condition: for every morphism f:X→Y in C, the following square commutes:

F(X)→F(f)F(Y)ηX↓↓ηYG(X)→G(f)G(Y)

Equivalently,

G(f)∘ηX=ηY∘F(f).

Consequence: the 2-category Cat

With natural transformations included, categories, functors, and natural transformations do not merely form a category—they form a 2-category:

This expresses the idea that one can compare not only objects and morphisms, but also functors between them.

Example

Let Man be the category whose objects are smooth manifolds and whose morphisms are smooth maps. Define two functors F,G:Man→Man as follows:

  1. F(M)=TM, the tangent bundle of M.
    For a smooth map f:M→N, define

    F(f)=Tf:TM→TN,

    the differential (pushforward) of f.

  2. G(M)=M×M.
    For a smooth map f:M→N, define

    G(f)=f×f:M×M→N×N.

There is a natural transformation η:F⇒G, where for each manifold M,

ηM:TM→M×M,

is the map

ηM(vx)=(x,x).

This simply sends each tangent vector vx∈TxM to the pair of its base point with itself.

Naturality check.
Given any smooth map f:M→N, the naturality square

TM→TfTNηM↓↓ηNM×M→f×fN×N

commutes, since for any vx∈TxM,

(f×f)(ηM(vx))=(f(x),f(x))=ηN(Tf(vx)).

Thus,

(f×f)∘ηM=ηN∘Tf,

so η is indeed a natural transformation between the tangent-bundle functor and the diagonal-pair functor.