# Representable functor

In category theory, a representable functor is a functor of a special form from an arbitrary category into the category of sets. Such functors give representations of an abstract category in terms of known structures (i.e. sets and functions) allowing one to utilize, as much as possible, knowledge about the category of sets in other settings.

 Contents

## Definition

Let [itex]\mathcal C[itex] be an arbitrary category and the [itex]\mathbf{Set}[itex] be the category of sets. For each object [itex]A[itex] in [itex]\mathcal C[itex] we define a functor [itex]\mathrm{Hom}_{\mathcal C}(A,\;\cdot\;):\mathcal C\rightarrow\mathbf{Set}[itex] as follows:

• [itex]\mathrm{Hom}_{\mathcal C}(A,\;\cdot\;)[itex] maps each object [itex]X[itex] in [itex]\mathcal C[itex] to the set of morphisms [itex]\mathrm{Hom}_{\mathcal C}(A,X)[itex]
• [itex]\mathrm{Hom}_{\mathcal C}(A,\;\cdot\;)[itex] maps each morphism [itex]f:X \rightarrow Y[itex] to the function [itex]\mathrm{Hom}_{\mathcal C}(A,X)\rightarrow\mathrm{Hom}_{\mathcal C}(A,Y)[itex] given by [itex]g\mapsto f\circ g[itex].

An arbitrary functor [itex]F:\mathcal C\rightarrow\mathbf{Set}[itex] is said to be 'represented by a pair', [itex](A,\phi)[itex], where [itex]A[itex] is an object of [itex]\mathcal C[itex] and [itex]\phi[itex] is in [itex]F(A)[itex], if there is a natural isomorphism [itex]\Phi:\mathrm{Hom}_{\mathcal C}(A,\;\cdot\;)\rightarrow F[itex], given by the consistent family of bijections [itex]\Phi_X:\mathrm{Hom}_{\mathcal C}(A,X)\rightarrow F(X)[itex], such that

[itex]\Phi_X(u)=(Fu)(\phi)[itex] for all [itex]u[itex] in [itex]\mathrm{Hom}_{\mathcal C}(A,X)[itex].

It is also common in this case to say that [itex]F[itex] is 'representable'. Note that [itex]\phi=\Phi_A(\mathrm{id}_A)[itex].

A dual set of definitions and statements apply to contravariant functors. Let [itex]\mathcal C[itex] be an arbitrary category. For each object [itex]A[itex] in [itex]\mathcal C[itex] we define a contravariant functor [itex]\mathrm{Hom}_{\mathcal C}(\;\cdot\;,A):\mathcal C\rightarrow\mathbf{Set}[itex] as follows:

• [itex]\mathrm{Hom}_{\mathcal C}(\;\cdot\;,A)[itex] maps each object [itex]X[itex] in [itex]\mathcal C[itex] to the set of morphisms [itex]\mathrm{Hom}_{\mathcal C}(X, A)[itex]
• [itex]\mathrm{Hom}_{\mathcal C}(\;\cdot\;,A)[itex] maps each morphism [itex]f:X\rightarrow Y[itex] to the function [itex]\mathrm{Hom}_{\mathcal C}(Y,A) \rightarrow\mathrm{Hom}_{\mathcal C}(X,A)[itex] given by [itex]g\mapsto g\circ f[itex].

An arbitrary contravariant functor [itex]G:\mathcal C\rightarrow\mathbf{Set}[itex] is said to be represented by a pair, [itex](A,\phi)[itex], where [itex]A[itex] is an object in [itex]\mathcal C[itex] and [itex]\phi[itex] is in [itex]G(A)[itex], if there is a natural isomorphism [itex]\Phi:\mathrm{Hom}_{\mathcal C}(\;\cdot\;,A) \rightarrow G[itex], given by the consistent family of bijections [itex]\Phi_X:\mathrm{Hom}_{\mathcal C}(X,A)\rightarrow G(X)[itex], such that

[itex]\Phi_X(u)=(Gu)(\phi)[itex] for all [itex]u[itex] in [itex]\mathrm{Hom}_{\mathcal C}(X,A)[itex].

Note again that [itex]\phi=\Phi_A(\mathrm{id}_A)[itex].

## Uniqueness

The representing pair [itex](A,\phi)[itex] is unique in the following sense. If [itex](A_1,\phi_1)[itex] and [itex](A_2,\phi_2)[itex] represent the same functor, then there exists one and only one isomorphism from [itex]A_1[itex] to [itex]A_2[itex] so that [itex]\phi_1[itex] in [itex]F(A_1)[itex] maps to [itex]\phi_2[itex] in [itex]F(A_2)[itex]. This is because we have the isomorphisms [itex]\Phi_1:\mathrm{Hom}_{\mathcal C}(A_1,\;\cdot\;)\rightarrow F[itex] and [itex]\Phi_2:\mathrm{Hom}_{\mathcal C}(A_2,\;\cdot\;)\rightarrow F[itex] and so we have an isomorphism [itex]\Phi_2^{-1}\circ\Phi_1:\mathrm{Hom}_{\mathcal C}(A_1,\;\cdot\;)\rightarrow\mathrm{Hom}_{\mathcal C}(A_2,\;\cdot\;)[itex]. By the Yoneda lemma, [itex]A_1[itex] is isomorphic to [itex]A_2[itex] via the isomorphism determined by [itex]\Phi_1[itex] and [itex]\Phi_2[itex], and this maps [itex]\phi_1[itex] to [itex]\phi_2[itex]. Uniqueness follows as everything is determined by [itex]\phi_1[itex] and [itex]\phi_2[itex].

## Examples

• Let [itex]\mathcal C=\mathbf{Set}[itex] and consider the contravariant functor [itex]P:\mathbf{Set}\rightarrow\mathbf{Set}[itex] given by [itex]P(S)=[itex] the power set of [itex]S[itex], and if [itex]\theta:S\rightarrow T[itex] is a map of sets, the morphism [itex]P(\theta):P(T)\rightarrow P(S)[itex] is the map that sends every subset [itex]V\subset T[itex] to its inverse image, [itex]\theta^{-1}(V)[itex], in [itex]S[itex]. To represent this functor we need a set, [itex]Q[itex], and a [itex]\phi[itex] in [itex]P(Q)[itex], that is, in some subset of [itex]Q[itex], so that [itex]\mathrm{Hom}_{\mathbf{Set}}(B,Q)[itex] is isomorphic to [itex]P(B)[itex] via [itex]\Phi_B(u)=P(u)(\phi)[itex].

Now, we know that [itex]P(u):P(Q)\rightarrow P(B)[itex] is the map that sends a subset, [itex]S[itex], of [itex]Q[itex] to its inverse image, [itex]u^{-1}(S)[itex], a subset of [itex]B[itex]. So, [itex]P(u)(\phi)[itex] is the inverse image of our chosen [itex]\phi[itex]. Take [itex]Q=\{0,1\}[itex] and [itex]\phi=\{1\}[itex]. Then subsets of [itex]B[itex] are exactly of the form [itex]u^{-1}(1)[itex] for the various [itex]u[itex] in [itex]\mathrm{Hom}_{\mathbf{Set}}(B,Q)[itex], which are thus characteristic functions.

• Let [itex]\mathcal C=\mathbf{Rng}[itex], the category of rings and let [itex]F:\mathbf{Rng}\rightarrow\mathbf{Set}[itex] be the forgetful functor. To represent this we need a ring, [itex]P[itex], and an element [itex]\phi[itex] in [itex]P[itex], so that for all rings [itex]B[itex], [itex]\mathrm{Hom}_{\mathbf{Rng}}(P,B)[itex] is isomorphic to [itex]|B|[itex] via
[itex](u[itex] in [itex]\mathrm{Hom}_{\mathbf{Rng}}(P,B))\mapsto(u(\phi)[itex] in [itex]|B|)[itex].

Take [itex]P=\mathbb Z[T][itex], the polynomial ring in one variable with integer coefficients, and [itex]\phi=T[itex]. Then any ring homomorphism [itex]u[itex] in [itex]\mathrm{Hom}_{\mathbf{Rng}}(\mathbb Z[T],B)[itex] is uniquely determined by [itex]u(T)=b[itex], where any [itex]b[itex] in [itex]|B|[itex] can be used.

The following result shows the relationship between representability of a functor and adjointness.

Proposition: A functor, [itex]G:\mathcal C\rightarrow\mathcal D[itex], has a left adjoint if and only if, for every [itex]A[itex] in [itex]\mathcal C[itex], the functor from [itex]\mathcal D[itex] to [itex]\mathrm{Set}[itex] mapping [itex]B[itex] to [itex]\mathrm{Hom}_{\mathcal C}(A,G(B))[itex] is representable. If [itex](F(A),\phi)[itex] represents this functor then [itex]F[itex] is the object part of a left-adjoint of [itex]G[itex] for which the isomorphism [itex]\Phi_B[itex] is functorial in [itex]B[itex] and yields the adjointness.

• Art and Cultures
• Countries of the World (http://www.academickids.com/encyclopedia/index.php/Countries)
• Space and Astronomy