advanced34 min studyLesson 533 in Mathematics

Universal properties and representable functors

Describe an object by a natural family of mapping problems and a universal element.

On this page

What you’ll understand

  • Construct a natural bijection that represents a set-valued functor.
  • Use a universal element to obtain existence and uniqueness of factorizing maps.
  • Specify what is preserved by the unique isomorphism between two representations.

A universal property describes what an object does in every compatible mapping problem. Representability packages such a description as a natural bijection between a Hom set and a set of requested data. Counting maps in one example can expose an impossible candidate, but matching counts alone does not establish the property. The decisive ingredient is a rule that gives exactly one map for every requested datum and commutes with every allowed change of target.

A represented functor is a mapping problem

Assume C\mathcal C is locally small and let F:C→SetF:\mathcal C\to\mathbf{Set} be covariant. An object AA represents FF when there is a natural isomorphism from C(A,−)\mathcal C(A,-) to FF. For every target XX, this gives a bijection between arrows out of AA and elements of F(X)F(X). Naturality requires that changing the target by u:X→Yu:X\to Y corresponds to applying F(u)F(u) to the encoded datum. It ties all these bijections into a single construction.

The contravariant version uses C(−,A)\mathcal C(-,A) instead. Then elements of the functor at XX are encoded by arrows from XX into the representing object. These are different variance conventions, and their universal elements have opposite factorization directions. Before attempting a representation, decide whether the intended data travel forward with a map, as ordered pairs do, or pull back against it, as subsets do under inverse image.

θX:C(A,X)→ ≅ F(X),F(u)θX(f)=θY(u∘f).\theta_X:\mathcal C(A,X)\xrightarrow{\ \cong\ }F(X),\qquad F(u)\theta_X(f)=\theta_Y(u\circ f).
The target-change equation is the naturality required of a covariant representation.↔ Scroll wide equations horizontally.

One universal element generates all data

Given a covariant representation, evaluate it on the identity of AA. The resulting element a∈F(A)a\in F(A) is universal: every x∈F(X)x\in F(X) is uniquely F(f)(a)F(f)(a) for some f:A→Xf:A\to X. Conversely, such a universal element defines the representing bijections by this formula. Their naturality follows from the functor law. The word unique does serious work: existence alone would describe a supply of maps without explaining whether different maps encode the same datum.

This reformulation is often easier to use than a large family of bijections. It asks us to build one prototype datum at one object and then show that every other datum is obtained from it in exactly one way. To disprove universality, it suffices to find a datum with no factorizing map or two distinct maps with the same encoded datum. Cardinality is a useful finite obstruction, but does not check compatibility across targets or determine the encoding itself.

θX(f)=F(f)(a),a=θA(idA).\theta_X(f)=F(f)(a),\qquad a=\theta_A(\mathrm{id}_A).
A universal element recovers the entire natural isomorphism from its value at one identity arrow.↔ Scroll wide equations horizontally.

Uniqueness preserves the chosen universal data

Suppose (A,a)(A,a) and (B,b)(B,b) are two covariant universal-element presentations of the same functor. Universality gives a unique s:A→Bs:A\to B carrying aa to bb and a unique t:B→At:B\to A carrying bb back to aa. Their composites preserve the corresponding universal elements, as do the identity maps. Uniqueness in the factorization problem therefore forces the composites to be identities. This proves an isomorphism without inspecting an underlying set or choosing coordinates.

The uniqueness statement includes compatibility with the universal elements. Bare representing objects may admit additional automorphisms that move the chosen element. Consequently, saying that any two representations have exactly one isomorphism, without this qualification, is too strong. A construction can be canonical through its mapping property even when its concrete realization uses names, tags, quotient classes, or another arbitrary presentation. Those choices disappear under the uniquely compatible comparison.

F(s)(a)=b,F(t)(b)=a⟹t∘s=idA, s∘t=idB.F(s)(a)=b,\quad F(t)(b)=a\quad\Longrightarrow\quad t\circ s=\mathrm{id}_A,\ s\circ t=\mathrm{id}_B.
Uniqueness of the factorizing maps forces the compatible comparison maps to be inverse.↔ Scroll wide equations horizontally.

Represent ordered pairs with two labeled probes

Let F(X)=X×XF(X)=X\times X and F(u)=u×uF(u)=u\times u on Set. Take A={red,blue}A=\{\mathrm{red},\mathrm{blue}\} with universal candidate (red,blue)(\mathrm{red},\mathrm{blue}). Establish the representation and count its maps into X={0,1,2}X=\{0,1,2\}.

  1. Send a function f:A→Xf:A\to X to the ordered pair (f(red),f(blue))(f(\mathrm{red}),f(\mathrm{blue})). Given a pair (x1,x2)(x_1,x_2), define the inverse function by those two values. There is no remaining value to choose.

  2. For a target map u:X→Yu:X\to Y, the encoded pair becomes (u(f(red)),u(f(blue)))(u(f(\mathrm{red})),u(f(\mathrm{blue}))). This is also the pair encoded by u∘fu\circ f, proving naturality rather than just a numerical correspondence.

  3. There are three independent choices for each of the two images, hence nine functions. The pair (1,2)(1,2) corresponds uniquely to the function sending red to one and blue to two. A singleton has only three maps into this target and cannot represent this functor.

Set({red,blue},X)≅X2,∣X∣=3⟹∣X∣2=9.\mathbf{Set}(\{\mathrm{red},\mathrm{blue}\},X)\cong X^2,\qquad |X|=3\Longrightarrow |X|^2=9.
The bijection includes its explicit inverse and its compatibility with every target map.↔ Scroll wide equations horizontally.
The result

The two-element set with its ordered universal pair represents the ordered-pair functor. The concrete target has nine encoded data and nine maps.

Explore the model

Interactive lab

Interactive lab · probability

Count binary functions, then see what the histogram forgets

Pause and Reset, then set success probability to 0.5 and trials to 2. Predict four equally likely binary functions on the two labeled probes. The bars for zero, one, and two images equal to one have masses 1/4, 1/2, and 1/4. The middle bar combines two distinct ordered pairs. This instrument groups maps by the number of ones; it does not test their naturality or universal property. Reset and set both controls before a fresh comparison, because control changes preserve elapsed time.

Count binary functions, then see what the histogram forgetsThese are exact binomial probabilities for independent trials with one fixed success probability. Playback tours the distribution; it does not resample outcomes. Current readings: Mean · np: 5; Variance · np(1−p): 2.5; Total probability: 1. All parameters are adjustable with the labeled controls below.03581000.070.150.220.3Successes kP(X = k)k = 0 · P = 9.77e-4
Exact probabilityHighlighted outcomeMean np
Mean · np
5
Variance · np(1−p)
2.5
Total probability
1
t = 0 s

These are exact binomial probabilities for independent trials with one fixed success probability. Playback tours the distribution; it does not resample outcomes. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.

Look forA count can support a representation, while the explicit natural bijection contains information that a histogram discards.

Check your understanding

What is uniquely determined between two covariant universal-element presentations (A,a) and (B,b) of the same functor F?

Try it yourself

For the ordered-pair functor, let A={red,blue}A=\{\mathrm{red},\mathrm{blue}\} have universal pair (red,blue)(\mathrm{red},\mathrm{blue}) and let B={1,2}B=\{1,2\} have universal pair (2,1)(2,1). Find the uniquely compatible isomorphism from AA to BB and its inverse.

Take a moment to make a prediction or work it out on paper. Open a hint when you need one.

Give me a hint

Apply the ordered-pair functor to the proposed map and compare the two coordinates with the chosen universal pair in B.

Compare with the solution

Compatibility requires (s(red),s(blue))=(2,1)(s(\mathrm{red}),s(\mathrm{blue}))=(2,1), so red maps to two and blue to one. Its inverse sends one to blue and two to red. The other bijection between these sets exchanges the required outputs, so it is a bare isomorphism of sets but is not compatible with the specified universal elements.

Take it with you

  • A representation is a natural bijection, rather than an isolated equality of cardinalities.
  • For a covariant functor, the universal element is transported along maps out of its representing object.
  • The comparison between universal presentations is unique when it preserves the universal data.

Read further

Original sources and deeper explanations to follow at your own pace.

Optional progress, saved in this browser when available. Revisit any lesson at any time.

Lesson not marked complete.