HOME

TheInfoList



OR:

In
category theory Category theory is a general theory of mathematical structures and their relations that was introduced by Samuel Eilenberg and Saunders Mac Lane in the middle of the 20th century in their foundational work on algebraic topology. Nowadays, cate ...
, a branch of mathematics, a natural transformation provides a way of transforming one
functor In mathematics, specifically category theory, a functor is a mapping between categories. Functors were first considered in algebraic topology, where algebraic objects (such as the fundamental group) are associated to topological spaces, and ...
into another while respecting the internal structure (i.e., the composition of
morphism In mathematics, particularly in category theory, a morphism is a structure-preserving map from one mathematical structure to another one of the same type. The notion of morphism recurs in much of contemporary mathematics. In set theory, morphisms ...
s) of the
categories Category, plural categories, may refer to: Philosophy and general uses *Categorization, categories in cognitive science, information science and generally *Category of being * ''Categories'' (Aristotle) * Category (Kant) *Categories (Peirce) * ...
involved. Hence, a natural transformation can be considered to be a "morphism of functors". Informally, the notion of a natural transformation states that a particular map between functors can be done consistently over an entire category. Indeed, this intuition can be formalized to define so-called functor categories. Natural transformations are, after categories and functors, one of the most fundamental notions of
category theory Category theory is a general theory of mathematical structures and their relations that was introduced by Samuel Eilenberg and Saunders Mac Lane in the middle of the 20th century in their foundational work on algebraic topology. Nowadays, cate ...
and consequently appear in the majority of its applications.


Definition

If F and G are
functor In mathematics, specifically category theory, a functor is a mapping between categories. Functors were first considered in algebraic topology, where algebraic objects (such as the fundamental group) are associated to topological spaces, and ...
s between the categories C and D , then a natural transformation \eta from F to G is a family of morphisms that satisfies two requirements. # The natural transformation must associate, to every object X in C, a
morphism In mathematics, particularly in category theory, a morphism is a structure-preserving map from one mathematical structure to another one of the same type. The notion of morphism recurs in much of contemporary mathematics. In set theory, morphisms ...
\eta_X : F(X) \to G(X) between objects of D . The morphism \eta_X is called the component of \eta at X . # Components must be such that for every morphism f :X \to Y in C we have: :::\eta_Y \circ F(f) = G(f) \circ \eta_X The last equation can conveniently be expressed by the
commutative diagram 350px, The commutative diagram used in the proof of the five lemma. In mathematics, and especially in category theory, a commutative diagram is a diagram such that all directed paths in the diagram with the same start and endpoints lead to the ...
If both F and G are contravariant, the vertical arrows in the right diagram are reversed. If \eta is a natural transformation from F to G , we also write \eta : F \to G or \eta : F \Rightarrow G . This is also expressed by saying the family of morphisms \eta_X: F(X) \to G(X) is natural in X . If, for every object X in C , the morphism \eta_X is an
isomorphism In mathematics, an isomorphism is a structure-preserving mapping between two structures of the same type that can be reversed by an inverse mapping. Two mathematical structures are isomorphic if an isomorphism exists between them. The word is ...
in D , then \eta is said to be a (or sometimes natural equivalence or isomorphism of functors). Two functors F and G are called ''naturally isomorphic'' or simply ''isomorphic'' if there exists a natural isomorphism from F to G. An infranatural transformation \eta from F to G is simply a family of morphisms \eta_X : F(X) \to G(X) , for all X in C. Thus a natural transformation is an infranatural transformation for which \eta_Y \circ F(f) = G(f) \circ \eta_X for every morphism f : X \to Y . The naturalizer of \eta , nat (\eta) , is the largest
subcategory In mathematics, specifically category theory, a subcategory of a category ''C'' is a category ''S'' whose objects are objects in ''C'' and whose morphisms are morphisms in ''C'' with the same identities and composition of morphisms. Intuitively, ...
of C containing all the objects of C on which \eta restricts to a natural transformation.


Examples


Opposite group

Statements such as :"Every group is naturally isomorphic to its
opposite group In group theory, a branch of mathematics, an opposite group is a way to construct a group from another group that allows one to define right action as a special case of left action. Monoids, groups, rings, and algebras can be viewed as catego ...
" abound in modern mathematics. We will now give the precise meaning of this statement as well as its proof. Consider the category \textbf of all
group A group is a number of persons or things that are located, gathered, or classed together. Groups of people * Cultural group, a group whose members share the same cultural identity * Ethnic group, a group whose members share the same ethnic ide ...
s with
group homomorphism In mathematics, given two groups, (''G'', ∗) and (''H'', ·), a group homomorphism from (''G'', ∗) to (''H'', ·) is a function ''h'' : ''G'' → ''H'' such that for all ''u'' and ''v'' in ''G'' it holds that : h(u*v) = h(u) \cdot h(v) ...
s as morphisms. If (G, *) is a group, we define its opposite group (G^\text, ^\text) as follows: G^\text is the same set as G, and the operation *^\text is defined by a *^\text b = b * a. All multiplications in G^ are thus "turned around". Forming the opposite group becomes a (covariant) functor from \textbf to \textbf if we define f^ = f for any group homomorphism f: G \to H. Note that f^\text is indeed a group homomorphism from G^\text to H^\text: :f^\text(a *^\text b) = f(b * a) = f(b) * f(a) = f^\text(a) *^\text f^\text(b). The content of the above statement is: :"The identity functor \text_: \textbf \to \textbf is naturally isomorphic to the opposite functor : \textbf \to \textbf" To prove this, we need to provide isomorphisms \eta_G: G \to G^ for every group G, such that the above diagram commutes. Set \eta_G(a) = a^. The formulas (a * b)^ = b^*a^= a^*^ b^ and (a^)^ = a show that \eta_G is a group homomorphism with inverse \eta_. To prove the naturality, we start with a group homomorphism f : G \to H and show \eta_H \circ f = f^ \circ \eta_G, i.e. (f(a))^ = f^\text(a^) for all a in G. This is true since f^ = f and every group homomorphism has the property (f(a))^ = f(a^).


Abelianization

Given a group G, we can define its
abelianization In mathematics, more specifically in abstract algebra, the commutator subgroup or derived subgroup of a group is the subgroup generated by all the commutators of the group. The commutator subgroup is important because it is the smallest normal ...
G^ = G/ ,G/math>. Let \pi_G: G \to G^ denote the projection map onto the cosets of ,G/math>. This homomorphism is "natural in G", i.e., it defines a natural transformation, which we now check. Let H be a group. For any homomorphism f : G \to H, we have that ,G/math> is contained in the kernel of \pi_H \circ f, because any homomorphism into an abelian group kills the commutator subgroup. Then \pi_H \circ f factors through G^ as f^ \circ \pi_G = \pi_H \circ f for the unique homomorphism f^ : G^ \to H^. This makes : \textbf \to \textbf a functor and \pi a natural transformation, but not a natural isomorphism, from the identity functor to \text.


Hurewicz homomorphism

Functors and natural transformations abound in
algebraic topology Algebraic topology is a branch of mathematics that uses tools from abstract algebra to study topological spaces. The basic goal is to find algebraic invariants that classify topological spaces up to homeomorphism, though usually most classify ...
, with the Hurewicz homomorphisms serving as examples. For any pointed topological space (X,x) and positive integer n there exists a
group homomorphism In mathematics, given two groups, (''G'', ∗) and (''H'', ·), a group homomorphism from (''G'', ∗) to (''H'', ·) is a function ''h'' : ''G'' → ''H'' such that for all ''u'' and ''v'' in ''G'' it holds that : h(u*v) = h(u) \cdot h(v) ...
: h_* \colon \pi_n(X,x) \to H_n(X) from the n-th
homotopy group In mathematics, homotopy groups are used in algebraic topology to classify topological spaces. The first and simplest homotopy group is the fundamental group, denoted \pi_1(X), which records information about loops in a space. Intuitively, homot ...
of (X,x) to the n-th
homology group In mathematics, homology is a general way of associating a sequence of algebraic objects, such as abelian groups or modules, with other mathematical objects such as topological spaces. Homology groups were originally defined in algebraic topol ...
of X. Both \pi_n and H_n are functors from the category Top* of pointed topological spaces to the category Grp of groups, and h_* is a natural transformation from \pi_n to H_n.


Determinant

Given commutative rings R and S with a
ring homomorphism In ring theory, a branch of abstract algebra, a ring homomorphism is a structure-preserving function between two rings. More explicitly, if ''R'' and ''S'' are rings, then a ring homomorphism is a function such that ''f'' is: :addition preserv ...
f : R \to S, the respective groups of
invertible In mathematics, the concept of an inverse element generalises the concepts of opposite () and reciprocal () of numbers. Given an operation denoted here , and an identity element denoted , if , one says that is a left inverse of , and that ...
n \times n matrices \text_n(R) and \text_n(S) inherit a homomorphism which we denote by \text_n(f), obtained by applying f to each matrix entry. Similarly, f restricts to a group homomorphism f^* : R^* \to S^*, where R^* denotes the
group of units In algebra, a unit of a ring is an invertible element for the multiplication of the ring. That is, an element of a ring is a unit if there exists in such that vu = uv = 1, where is the multiplicative identity; the element is unique for this ...
of R. In fact, \text_n and * are functors from the category of commutative rings \textbf to \textbf. The
determinant In mathematics, the determinant is a scalar value that is a function of the entries of a square matrix. It characterizes some properties of the matrix and the linear map represented by the matrix. In particular, the determinant is nonzero if an ...
on the group \text_n(R), denoted by \text_R, is a group homomorphism : \mbox_R \colon \mbox_n(R) \to R^* which is natural in R: because the determinant is defined by the same formula for every ring, f \circ \text_R = \text_S\circ \text_n(f) holds. This makes the determinant a natural transformation from \text_n to *.


Double dual of a vector space

If K is a
field Field may refer to: Expanses of open ground * Field (agriculture), an area of land used for agricultural purposes * Airfield, an aerodrome that lacks the infrastructure of an airport * Battlefield * Lawn, an area of mowed grass * Meadow, a grass ...
, then for every
vector space In mathematics and physics, a vector space (also called a linear space) is a set whose elements, often called ''vectors'', may be added together and multiplied ("scaled") by numbers called ''scalars''. Scalars are often real numbers, but ca ...
V over K we have a "natural"
injective In mathematics, an injective function (also known as injection, or one-to-one function) is a function that maps distinct elements of its domain to distinct elements; that is, implies . (Equivalently, implies in the equivalent contraposit ...
linear map In mathematics, and more specifically in linear algebra, a linear map (also called a linear mapping, linear transformation, vector space homomorphism, or in some contexts linear function) is a mapping V \to W between two vector spaces that pre ...
V \to V^ from the vector space into its
double dual In mathematics, any vector space ''V'' has a corresponding dual vector space (or just dual space for short) consisting of all linear forms on ''V'', together with the vector space structure of pointwise addition and scalar multiplication by const ...
. These maps are "natural" in the following sense: the double dual operation is a functor, and the maps are the components of a natural transformation from the identity functor to the double dual functor.


Finite calculus

For every abelian group G, the set \text_\textbf(\mathbb, U(G)) of functions from the integers to the underlying set of G forms an abelian group V_(G) under pointwise addition. (Here U is the standard
forgetful functor In mathematics, in the area of category theory, a forgetful functor (also known as a stripping functor) 'forgets' or drops some or all of the input's structure or properties 'before' mapping to the output. For an algebraic structure of a given sign ...
U:\textbf \to \textbf.) Given an \textbf morphism \varphi: G \to G' , the map V_\mathbb(\varphi): V_\mathbb(G) \to V_\mathbb(G') given by left composing \varphi with the elements of the former is itself a homomorphism of abelian groups; in this way we obtain a functor V_: \textbf \to \textbf. The finite difference operator \Delta_G taking each function f: \mathbb \to U(G) to \Delta(f): n \mapsto f(n+ 1) - f(n) is a map from V_(G) to itself, and the collection \Delta of such maps gives a natural transformation \Delta: V_\mathbb \to V_\mathbb.


Tensor-hom adjunction

Consider the category \textbf of abelian groups and group homomorphisms. For all abelian groups X, Y and Z we have a group isomorphism : \text(X \otimes Y, Z) \to \text(X, \text(Y, Z)). These isomorphisms are "natural" in the sense that they define a natural transformation between the two involved functors \textbf^ \times \textbf^ \times \textbf \to \textbf. (Here "op" is the
opposite category In category theory, a branch of mathematics, the opposite category or dual category ''C''op of a given category ''C'' is formed by reversing the morphisms, i.e. interchanging the source and target of each morphism. Doing the reversal twice yields ...
of \textbf, not to be confused with the trivial
opposite group In group theory, a branch of mathematics, an opposite group is a way to construct a group from another group that allows one to define right action as a special case of left action. Monoids, groups, rings, and algebras can be viewed as catego ...
functor on \textbf !) This is formally the
tensor-hom adjunction In mathematics, the tensor-hom adjunction is that the tensor product - \otimes X and hom-functor \operatorname(X,-) form an adjoint pair: :\operatorname(Y \otimes X, Z) \cong \operatorname(Y,\operatorname(X,Z)). This is made more precise below. ...
, and is an archetypal example of a pair of
adjoint functors In mathematics, specifically category theory, adjunction is a relationship that two functors may exhibit, intuitively corresponding to a weak form of equivalence between two related categories. Two functors that stand in this relationship are kn ...
. Natural transformations arise frequently in conjunction with adjoint functors, and indeed, adjoint functors are defined by a certain natural isomorphism. Additionally, every pair of adjoint functors comes equipped with two natural transformations (generally not isomorphisms) called the ''unit'' and ''counit''.


Unnatural isomorphism

The notion of a natural transformation is categorical, and states (informally) that a particular map between functors can be done consistently over an entire category. Informally, a particular map (esp. an isomorphism) between individual objects (not entire categories) is referred to as a "natural isomorphism", meaning implicitly that it is actually defined on the entire category, and defines a natural transformation of functors; formalizing this intuition was a motivating factor in the development of category theory. Conversely, a particular map between particular objects may be called an unnatural isomorphism (or "this isomorphism is not natural") if the map cannot be extended to a natural transformation on the entire category. Given an object X, a functor G (taking for simplicity the first functor to be the identity) and an isomorphism \eta\colon X \to G(X), proof of unnaturality is most easily shown by giving an automorphism A\colon X \to X that does not commute with this isomorphism (so \eta \circ A \neq G(A) \circ \eta). More strongly, if one wishes to prove that X and G(X) are not naturally isomorphic, without reference to a particular isomorphism, this requires showing that for ''any'' isomorphism \eta, there is some A with which it does not commute; in some cases a single automorphism A works for all candidate isomorphisms \eta while in other cases one must show how to construct a different A_\eta for each isomorphism. The maps of the category play a crucial role – any infranatural transform is natural if the only maps are the identity map, for instance. This is similar (but more categorical) to concepts in group theory or module theory, where a given decomposition of an object into a direct sum is "not natural", or rather "not unique", as automorphisms exist that do not preserve the direct sum decomposition – see for example. Some authors distinguish notationally, using \cong for a natural isomorphism and \approx for an unnatural isomorphism, reserving = for equality (usually equality of maps).


Example: fundamental group of torus

As an example of the distinction between the functorial statement and individual objects, consider
homotopy group In mathematics, homotopy groups are used in algebraic topology to classify topological spaces. The first and simplest homotopy group is the fundamental group, denoted \pi_1(X), which records information about loops in a space. Intuitively, homot ...
s of a product space, specifically the fundamental group of the torus. The
homotopy group In mathematics, homotopy groups are used in algebraic topology to classify topological spaces. The first and simplest homotopy group is the fundamental group, denoted \pi_1(X), which records information about loops in a space. Intuitively, homot ...
s of a product space are naturally the product of the homotopy groups of the components, \pi_n((X,x_0) \times (Y,y_0)) \cong \pi_n((X,x_0)) \times \pi_n((Y,y_0)), with the isomorphism given by projection onto the two factors, fundamentally because maps into a product space are exactly products of maps into the components – this is a functorial statement. However, the torus (which is abstractly a product of two circles) has
fundamental group In the mathematical field of algebraic topology, the fundamental group of a topological space is the group of the equivalence classes under homotopy of the loops contained in the space. It records information about the basic shape, or holes, o ...
isomorphic to Z^2, but the splitting \pi_1(T,t_0) \approx \mathbf \times \mathbf is not natural. Note the use of \approx, \cong, and =: :\pi_1(T,t_0) \approx \pi_1(S^1,x_0) \times \pi_1(S^1,y_0) \cong \mathbf \times \mathbf = \mathbf^2. This abstract isomorphism with a product is not natural, as some isomorphisms of T do not preserve the product: the self-homeomorphism of T (thought of as the quotient space R^2/\mathbb^2) given by \left(\begin1 & 1\\0 & 1\end\right) (geometrically a
Dehn twist In geometric topology, a branch of mathematics, a Dehn twist is a certain type of self-homeomorphism of a surface (two-dimensional manifold). Definition Suppose that ''c'' is a simple closed curve in a closed, orientable surface ''S''. Let ' ...
about one of the generating curves) acts as this matrix on \mathbb^2 (it's in the
general linear group In mathematics, the general linear group of degree ''n'' is the set of invertible matrices, together with the operation of ordinary matrix multiplication. This forms a group, because the product of two invertible matrices is again invertible, ...
\text(\mathbb, 2) of invertible integer matrices), which does not preserve the decomposition as a product because it is not diagonal. However, if one is given the torus as a product (T,t_0) = (S^1,x_0) \times (S^1,y_0) – equivalently, given a decomposition of the space – then the splitting of the group follows from the general statement earlier. In categorical terms, the relevant category (preserving the structure of a product space) is "maps of product spaces, namely a pair of maps between the respective components". Naturality is a categorical notion, and requires being very precise about exactly what data is given – the torus as a space that happens to be a product (in the category of spaces and continuous maps) is different from the torus presented as a product (in the category of products of two spaces and continuous maps between the respective components).


Example: dual of a finite-dimensional vector space

Every finite-dimensional vector space is isomorphic to its dual space, but there may be many different isomorphisms between the two spaces. There is in general no natural isomorphism between a finite-dimensional vector space and its dual space. However, related categories (with additional structure and restrictions on the maps) do have a natural isomorphism, as described below. The dual space of a finite-dimensional vector space is again a finite-dimensional vector space of the same dimension, and these are thus isomorphic, since dimension is the only invariant of finite-dimensional vector spaces over a given field. However, in the absence of additional constraints (such as a requirement that maps preserve the chosen basis), the map from a space to its dual is not unique, and thus such an isomorphism requires a choice, and is "not natural". On the category of finite-dimensional vector spaces and linear maps, one can define an infranatural isomorphism from vector spaces to their dual by choosing an isomorphism for each space (say, by choosing a basis for every vector space and taking the corresponding isomorphism), but this will not define a natural transformation. Intuitively this is because it required a choice, rigorously because ''any'' such choice of isomorphisms will not commute with, say, the zero map; see for detailed discussion. Starting from finite-dimensional vector spaces (as objects) and the identity and dual functors, one can define a natural isomorphism, but this requires first adding additional structure, then restricting the maps from "all linear maps" to "linear maps that respect this structure". Explicitly, for each vector space, require that it comes with the data of an isomorphism to its dual, \eta_V\colon V \to V^*. In other words, take as objects vector spaces with a
nondegenerate bilinear form In mathematics, specifically linear algebra, a degenerate bilinear form on a vector space ''V'' is a bilinear form such that the map from ''V'' to ''V''∗ (the dual space of ''V'' ) given by is not an isomorphism. An equivalent defini ...
b_V\colon V \times V \to K. This defines an infranatural isomorphism (isomorphism for each object). One then restricts the maps to only those maps T\colon V \to U that commute with the isomorphisms: T^*(\eta_(T(v))) = \eta_(v) or in other words, preserve the bilinear form: b_(T(v),T(w))=b_V(v,w). (These maps define the ''naturalizer'' of the isomorphisms.) The resulting category, with objects finite-dimensional vector spaces with a nondegenerate bilinear form, and maps linear transforms that respect the bilinear form, by construction has a natural isomorphism from the identity to the dual (each space has an isomorphism to its dual, and the maps in the category are required to commute). Viewed in this light, this construction (add transforms for each object, restrict maps to commute with these) is completely general, and does not depend on any particular properties of vector spaces. In this category (finite-dimensional vector spaces with a nondegenerate bilinear form, maps linear transforms that respect the bilinear form), the dual of a map between vector spaces can be identified as a
transpose In linear algebra, the transpose of a matrix is an operator which flips a matrix over its diagonal; that is, it switches the row and column indices of the matrix by producing another matrix, often denoted by (among other notations). The tr ...
. Often for reasons of geometric interest this is specialized to a subcategory, by requiring that the nondegenerate bilinear forms have additional properties, such as being symmetric (
orthogonal matrices In linear algebra, an orthogonal matrix, or orthonormal matrix, is a real square matrix whose columns and rows are orthonormal vectors. One way to express this is Q^\mathrm Q = Q Q^\mathrm = I, where is the transpose of and is the identity ma ...
), symmetric and positive definite (
inner product space In mathematics, an inner product space (or, rarely, a Hausdorff pre-Hilbert space) is a real vector space or a complex vector space with an operation called an inner product. The inner product of two vectors in the space is a scalar, often ...
), symmetric sesquilinear ( Hermitian spaces), skew-symmetric and totally isotropic (
symplectic vector space In mathematics, a symplectic vector space is a vector space ''V'' over a field ''F'' (for example the real numbers R) equipped with a symplectic bilinear form. A symplectic bilinear form is a mapping that is ; Bilinear: Linear in each argument ...
), etc. – in all these categories a vector space is naturally identified with its dual, by the nondegenerate bilinear form.


Operations with natural transformations


Vertical composition

If \eta : F \Rightarrow G and \epsilon: G \Rightarrow H are natural transformations between functors F, G, H: C \to D, then we can compose them to get a natural transformation \epsilon \circ \eta: F \Rightarrow H. This is done componentwise: :(\epsilon \circ \eta)_X = \epsilon_X \circ \eta_X. This vertical composition of natural transformations is
associative In mathematics, the associative property is a property of some binary operations, which means that rearranging the parentheses in an expression will not change the result. In propositional logic, associativity is a valid rule of replacement ...
and has an identity, and allows one to consider the collection of all functors C \to D itself as a category (see below under Functor categories). The identity natural transformation \mathrm_F on functor F has components (\mathrm_F)_X = \mathrm_. :For \eta : F \Rightarrow G, \mathrm_G \circ \eta = \eta = \eta \circ \mathrm_F.


Horizontal composition

If \eta: F \Rightarrow G is a natural transformation between functors F, G: C \to D and \epsilon: J \Rightarrow K is a natural transformation between functors J, K: D \to E, then the composition of functors allows a composition of natural transformations \epsilon * \eta: J \circ F \Rightarrow K \circ G with components :(\epsilon * \eta)_X = \epsilon_ \circ J(\eta_X) = K(\eta_X) \circ \epsilon_. By using whiskering (see below), we can write :(\epsilon * \eta)_X = (\epsilon G)_X \circ (J \eta)_X = (K \eta)_X \circ (\epsilon F)_X, hence :\epsilon * \eta = \epsilon G \circ J \eta = K \eta \circ \epsilon F. This horizontal composition of natural transformations is also associative with identity. This identity is the identity natural transformation on the
identity functor In mathematics, specifically category theory, a functor is a mapping between categories. Functors were first considered in algebraic topology, where algebraic objects (such as the fundamental group) are associated to topological spaces, and ma ...
, i.e., the natural transformation that associate to each object its
identity morphism In mathematics, particularly in category theory, a morphism is a structure-preserving map from one mathematical structure to another one of the same type. The notion of morphism recurs in much of contemporary mathematics. In set theory, morphisms ...
: for object X in category C, (\mathrm_)_X = \mathrm_ = \mathrm_X. :For \eta: F \Rightarrow G with F, G: C \to D, \mathrm_ * \eta = \eta = \eta * \mathrm_. As identity functors \mathrm_C and \mathrm_D are functors, the identity for horizontal composition is also the identity for vertical composition, but not vice versa.


Whiskering

Whiskering is an external binary operation between a functor and a natural transformation. If \eta: F \Rightarrow G is a natural transformation between functors F, G: C \to D, and H: D \to E is another functor, then we can form the natural transformation H \eta: H \circ F \Rightarrow H \circ G by defining :(H \eta)_X = H(\eta_X). If on the other hand K: B \to C is a functor, the natural transformation \eta K: F \circ K \Rightarrow G \circ K is defined by :(\eta K)_X = \eta_. It's also an horizontal composition where one of the natural transformations is the identity natural transformation: :H \eta = \mathrm_H * \eta and \eta K = \eta * \mathrm_K. Note that \mathrm_H (resp. \mathrm_K) is generally not the left (resp. right) identity of horizontal composition * (H \eta \neq \eta and \eta K \neq \eta in general), except if H (resp. K) is the
identity functor In mathematics, specifically category theory, a functor is a mapping between categories. Functors were first considered in algebraic topology, where algebraic objects (such as the fundamental group) are associated to topological spaces, and ma ...
of the category D (resp. C).


Interchange law

The two operations are related by an identity which exchanges vertical composition with horizontal composition: if we have four natural transformations \alpha, \alpha', \beta, \beta' as shown on the image to the right, then the following identity holds: : (\beta' \circ \alpha') * (\beta \circ \alpha) = (\beta' * \beta) \circ (\alpha' * \alpha). Vertical and horizontal compositions are also linked through identity natural transformations: :for F: C \to D and G: D \to E, \mathrm_G * \mathrm_F = \mathrm_. As whiskering is horizontal composition with an identity, the interchange law gives immediately the compact formulas of horizontal composition of \eta: F \Rightarrow G and \epsilon: J \Rightarrow K without having to analyze components and the commutative diagram: :\begin \epsilon * \eta & = (\epsilon \circ \mathrm_J) * (\mathrm_G \circ \eta) = (\epsilon * \mathrm_G) \circ (\mathrm_J * \eta) = \epsilon G \circ J \eta \\ & = (\mathrm_K \circ \epsilon) * (\eta \circ \mathrm_F) = (\mathrm_K * \eta) \circ (\epsilon * \mathrm_F) = K \eta \circ \epsilon F \end.


Functor categories

If C is any category and I is a
small category In mathematics, a category (sometimes called an abstract category to distinguish it from a concrete category) is a collection of "objects" that are linked by "arrows". A category has two basic properties: the ability to compose the arrows ass ...
, we can form the
functor category In category theory, a branch of mathematics, a functor category D^C is a category where the objects are the functors F: C \to D and the morphisms are natural transformations \eta: F \to G between the functors (here, G: C \to D is another object in ...
C^I having as objects all functors from I to C and as morphisms the natural transformations between those functors. This forms a category since for any functor F there is an identity natural transformation 1_F: F \to F (which assigns to every object X the identity morphism on F(X)) and the composition of two natural transformations (the "vertical composition" above) is again a natural transformation. The
isomorphism In mathematics, an isomorphism is a structure-preserving mapping between two structures of the same type that can be reversed by an inverse mapping. Two mathematical structures are isomorphic if an isomorphism exists between them. The word is ...
s in C^I are precisely the natural isomorphisms. That is, a natural transformation \eta: F \to G is a natural isomorphism if and only if there exists a natural transformation \epsilon: G \to F such that \eta\epsilon = 1_G and \epsilon\eta = 1_F. The functor category C^I is especially useful if I arises from a
directed graph In mathematics, and more specifically in graph theory, a directed graph (or digraph) is a graph that is made up of a set of vertices connected by directed edges, often called arcs. Definition In formal terms, a directed graph is an ordered pa ...
. For instance, if I is the category of the directed graph , then C^I has as objects the morphisms of C, and a morphism between \phi: U \to V and \psi: X \to Y in C^I is a pair of morphisms f: U \to X and g: V \to Y in C such that the "square commutes", i.e. \psi \circ f = g \circ \phi. More generally, one can build the
2-category In category theory, a strict 2-category is a category with "morphisms between morphisms", that is, where each hom-set itself carries the structure of a category. It can be formally defined as a category enriched over Cat (the category of catego ...
\textbf whose * 0-cells (objects) are the small categories, * 1-cells (arrows) between two objects C and D are the functors from C to D, * 2-cells between two 1-cells (functors) F:C\to D and G:C\to D are the natural transformations from F to G. The horizontal and vertical compositions are the compositions between natural transformations described previously. A functor category C^I is then simply a hom-category in this category (smallness issues aside).


More examples

Every limit and colimit provides an example for a simple natural transformation, as a
cone A cone is a three-dimensional geometric shape that tapers smoothly from a flat base (frequently, though not necessarily, circular) to a point called the apex or vertex. A cone is formed by a set of line segments, half-lines, or lines conn ...
amounts to a natural transformation with the
diagonal functor In category theory, a branch of mathematics, the diagonal functor \mathcal \rightarrow \mathcal \times \mathcal is given by \Delta(a) = \langle a,a \rangle, which maps objects as well as morphisms. This functor can be employed to give a succinct a ...
as domain. Indeed, if limits and colimits are defined directly in terms of their
universal property In mathematics, more specifically in category theory, a universal property is a property that characterizes up to an isomorphism the result of some constructions. Thus, universal properties can be used for defining some objects independently fr ...
, they are universal morphisms in a functor category.


Yoneda lemma

If X is an object of a
locally small category In mathematics, a category (sometimes called an abstract category to distinguish it from a concrete category) is a collection of "objects" that are linked by "arrows". A category has two basic properties: the ability to compose the arrows ass ...
C, then the assignment Y \mapsto \text_(X, Y) defines a covariant functor F_X: C \to \textbf. This functor is called '' representable'' (more generally, a representable functor is any functor naturally isomorphic to this functor for an appropriate choice of X). The natural transformations from a representable functor to an arbitrary functor F: C \to \textbf are completely known and easy to describe; this is the content of the
Yoneda lemma In mathematics, the Yoneda lemma is arguably the most important result in category theory. It is an abstract result on functors of the type ''morphisms into a fixed object''. It is a vast generalisation of Cayley's theorem from group theory (view ...
.


Historical notes

Saunders Mac Lane Saunders Mac Lane (4 August 1909 – 14 April 2005) was an American mathematician who co-founded category theory with Samuel Eilenberg. Early life and education Mac Lane was born in Norwich, Connecticut, near where his family lived in Taftville ...
, one of the founders of category theory, is said to have remarked, "I didn't invent categories to study functors; I invented them to study natural transformations." Just as the study of groups is not complete without a study of homomorphisms, so the study of categories is not complete without the study of
functor In mathematics, specifically category theory, a functor is a mapping between categories. Functors were first considered in algebraic topology, where algebraic objects (such as the fundamental group) are associated to topological spaces, and ...
s. The reason for Mac Lane's comment is that the study of functors is itself not complete without the study of natural transformations. The context of Mac Lane's remark was the axiomatic theory of homology. Different ways of constructing homology could be shown to coincide: for example in the case of a
simplicial complex In mathematics, a simplicial complex is a set composed of points, line segments, triangles, and their ''n''-dimensional counterparts (see illustration). Simplicial complexes should not be confused with the more abstract notion of a simplicial ...
the groups defined directly would be isomorphic to those of the singular theory. What cannot easily be expressed without the language of natural transformations is how homology groups are compatible with morphisms between objects, and how two equivalent homology theories not only have the same homology groups, but also the same morphisms between those groups.


See also

*
Extranatural transformation (dually co-wedges and co-ends), by setting F (dually G) constant. Extranatural transformations can be defined in terms of dinatural transformations, of which they are a special case. See also * Dinatural transformation In category theory, a bra ...
*
Universal property In mathematics, more specifically in category theory, a universal property is a property that characterizes up to an isomorphism the result of some constructions. Thus, universal properties can be used for defining some objects independently fr ...
*
Higher category theory In mathematics, higher category theory is the part of category theory at a ''higher order'', which means that some equalities are replaced by explicit arrows in order to be able to explicitly study the structure behind those equalities. Higher cate ...


Notes


References

* * . * *


External links


nLab
a wiki project on mathematics, physics and philosophy with emphasis on the ''n''-categorical point of view *
André Joyal André Joyal (; born 1943) is a professor of mathematics at the Université du Québec à Montréal who works on category theory. He was a member of the School of Mathematics at the Institute for Advanced Study in 2013, where he was invited to jo ...

CatLab
a wiki project dedicated to the exposition of categorical mathematics * formal introduction to category theory. * J. Adamek, H. Herrlich, G. Strecker
Abstract and Concrete Categories-The Joy of Cats
*
Stanford Encyclopedia of Philosophy The ''Stanford Encyclopedia of Philosophy'' (''SEP'') combines an online encyclopedia of philosophy with peer-reviewed publication of original papers in philosophy, freely accessible to Internet users. It is maintained by Stanford University. Eac ...
:
Category Theory
—by Jean-Pierre Marquis. Extensive bibliography.
List of academic conferences on category theory
* Baez, John, 1996

An informal introduction to higher categories.
WildCats
is a category theory package for
Mathematica Wolfram Mathematica is a software system with built-in libraries for several areas of technical computing that allow machine learning, statistics, symbolic computation, data manipulation, network analysis, time series analysis, NLP, optimizat ...
. Manipulation and visualization of objects,
morphism In mathematics, particularly in category theory, a morphism is a structure-preserving map from one mathematical structure to another one of the same type. The notion of morphism recurs in much of contemporary mathematics. In set theory, morphisms ...
s, categories,
functor In mathematics, specifically category theory, a functor is a mapping between categories. Functors were first considered in algebraic topology, where algebraic objects (such as the fundamental group) are associated to topological spaces, and ...
s, natural transformations, universal properties.
The catsters
a YouTube channel about category theory.
Video archive
of recorded talks relevant to categories, logic and the foundations of physics.
Interactive Web page
which generates examples of categorical constructions in the category of finite sets. {{Category theory Functors