Universal properties and representable functors
Describe an object by a natural family of mapping problems and a universal element.
On this page
The question for today
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 is locally small and let be covariant. An object represents when there is a natural isomorphism from to . For every target , this gives a bijection between arrows out of and elements of . Naturality requires that changing the target by corresponds to applying to the encoded datum. It ties all these bijections into a single construction.
The contravariant version uses instead. Then elements of the functor at are encoded by arrows from 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.
One universal element generates all data
Given a covariant representation, evaluate it on the identity of . The resulting element is universal: every is uniquely for some . 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.
Uniqueness preserves the chosen universal data
Suppose and are two covariant universal-element presentations of the same functor. Universality gives a unique carrying to and a unique carrying back to . 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.
Work it through
Represent ordered pairs with two labeled probes
Let and on Set. Take with universal candidate . Establish the representation and count its maps into .
Send a function to the ordered pair . Given a pair , define the inverse function by those two values. There is no remaining value to choose.
For a target map , the encoded pair becomes . This is also the pair encoded by , proving naturality rather than just a numerical correspondence.
There are three independent choices for each of the two images, hence nine functions. The pair 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.
The two-element set with its ordered universal pair represents the ordered-pair functor. The concrete target has nine encoded data and nine maps.
The living notebook
Explore the model
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.
- Mean · np
- 5
- Variance · np(1−p)
- 2.5
- Total probability
- 1
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.
Pause & reason
Check your understanding
Your turn
Try it yourself
For the ordered-pair functor, let have universal pair and let have universal pair . Find the uniquely compatible isomorphism from to 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 , 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.
Keep the idea
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.