GLOBAL KNOWLEDGE ARK

Mathematics · Article

Universal properties, limits and colimits

Use compatible arrows and unique factorizations to construct and compare limits and colimits in sets, vector spaces and ordered categories.

Back to Mathematics

After reading, you can

  • Write and verify the compatibility equations of cones and cocones.
  • Construct products, coproducts, equalizers and coequalizers with their complete unique factorization properties.
  • Calculate pullbacks and pushouts for explicit sets and vector spaces and prove how their squares paste.
  • Build general small limits and colimits from the needed products and equalizers or coproducts and coequalizers.
  • Analyze bounds, directed unions, eventual identifications and compatible sequences as universal examples.
  • Verify canonical comparison maps, pointwise limits of functors and concrete preservation failures.
01

What a unique factorization determines

A map into a product is determined by its coordinates. A map out of a disjoint union is determined by its restrictions. Each condition identifies an object by how arrows factor through it.

Apply this idea to diagrams that carry more than just their objects. Require the comparison arrows to respect the diagram's maps and solve the same compatibility conditions for every test vertex.

Construct pullbacks, pushouts and the limits or colimits of larger diagrams. Check which factorizations survive a change of category and how finite or infinite indices change the examples.

02

Write out a cone and each of its compatibility equations

Let D:J→C be the diagram and X an object of C. Its constant diagram Δ_X sends each position to X and each arrow to id_X. A component of a proposed natural transformation p:Δ_X⇒D therefore has type p_i:X→D(i).

For an index arrow u:i→j the naturality equation is D(u)∘p_i=p_j∘Δ_X(u). Since Δ_X(u)=id_X, this is D(u)∘p_i=p_j. Both expressions are arrows from X to D(j).

Given any legs satisfying these equations for all index arrows, these two paths agree for every u and define a natural transformation. Conversely, read its equations at each u to see that its components form those compatible legs. The two assignments recover exactly the same component functions.

If J has no objects, it has no arrows. There is a unique empty family of legs and the naturality conditions are vacuous. Thus every choice of vertex X gives exactly one cone over the empty diagram. Related reading: [Legs of cones and cocones](https://emilyriehl.github.io/files/context.pdf), [Size conditions for sets of diagram indices](https://emilyriehl.github.io/files/context.pdf), [Natural transformations as composable diagram maps](https://arxiv.org/pdf/1612.09375). The vertex functor is constant and its identity-valued arrows give the typed cone equation, including the empty shape.

03

Construct the category of cones to one diagram

For two cones p=(X,(p_i)) and q=(Y,(q_i)) over the same D, an arrow p→q is an arrow a:X→Y in the ambient category satisfying q_i∘a=p_i for all i. This says that the legs of p factor through the legs of q using the same a.

If b:Y→Z is a cone arrow from q to r, then r_i∘b=q_i for each i. Associativity gives r_i∘(b∘a)=(r_i∘b)∘a=q_i∘a=p_i, proving that b∘a is a cone arrow from p to r.

The arrow id_X qualifies from p to itself because p_i∘id_X=p_i. Two composites of three cone arrows agree in the ambient category by associativity. Since cone arrows are particular ambient arrows, ambient equality proves their equality as cone arrows.

These operations define a category for the fixed D. For an arrow p→q the equation is always that the target cone's legs precomposed by the arrow produce the source cone's legs. An equation with the legs interchanged would in general have mismatched domains. Related reading: [Legs of cones and cocones](https://emilyriehl.github.io/files/context.pdf), [Morphisms, universal cones and unique comparisons](https://emilyriehl.github.io/files/context.pdf). The source cone legs are the target legs after the comparison arrow. Closure follows from the fixed diagram and ambient associativity.

04

Prove uniqueness of limiting cones by a canonical comparison

Let p with vertex L and q with vertex M be terminal in the same cone category. There is a unique cone arrow a:L→M into q from p, and a unique cone arrow b:M→L into p from q. Their defining equations are q_i∘a=p_i and p_i∘b=q_i.

The composite b∘a is a cone endomorphism of p, since p_i∘b∘a=q_i∘a=p_i. Terminality of p makes this self-arrow unique, and the identity on L is one such arrow. Therefore b∘a=id_L.

Similarly q_i∘a∘b=p_i∘b=q_i, so a∘b=id_M follows from terminality of q. Thus a and b are inverse both in the cone category and as arrows between the two vertices.

The comparison is unique among arrows preserving every leg. Some other isomorphism of the underlying objects might exist with different action on the legs, so the claimed canonical identification is the typed comparison of the full limiting cones. Related reading: [Morphisms, universal cones and unique comparisons](https://emilyriehl.github.io/files/context.pdf), [Natural universal cone and cocone bijections](https://emilyriehl.github.io/files/context.pdf), [Universal arrows to and from empty-shaped data](https://emilyriehl.github.io/files/context.pdf). Both directions are forced by terminality. The composites preserve the appropriate legs so uniqueness supplies the identity equations.

05

Construct cocones and express colimits by duality

A cocone q from D to X has legs q_i:D(i)→X with q_j∘D(u)=q_i for every u:i→j. An arrow a from cocone q at X to cocone r at Y is a map a:X→Y with a∘q_i=r_i. These equations are preserved by composing the ambient arrows and by identities.

Form D^op:J^op→C^op by reversing all arrows. Each q_i^op is now a leg from X to D^op(i). Reversing q_j∘D(u)=q_i says D(u)^op∘q_j^op=q_i^op, the cone condition at u^op:j→i.

Reversing the equation a∘q_i=r_i gives q_i^op∘a^op=r_i^op, the cone-arrow equation from the cone with legs r_i^op to the cone with legs q_i^op. This reverses composition and gives the original data back when applied twice.

Thus the opposite of the cocone category is identified with the cone category of D^op. Initiality of a colimit cocone becomes terminality of the opposite cone. The unique map out of a colimit to another cocone vertex becomes the unique map from the opposite cone to the opposite limiting cone. Related reading: [Legs of cones and cocones](https://emilyriehl.github.io/files/context.pdf), [Morphisms, universal cones and unique comparisons](https://emilyriehl.github.io/files/context.pdf). Reverse both index and target category arrows. The opposite of the cocone comparison reverses the vertex arrow and gives a cone comparison.

06

Identify limits and colimits of the empty diagram

There is exactly one diagram from the empty category to C. For each X there is an empty family of legs forming its unique cone. Any arrow a:X→Y is an arrow between these empty cones, because it has no leg equations to satisfy.

These cone objects and arrows identify with C with its original composition and identity. Thus a terminal cone on the empty diagram is exactly a terminal object of C, with one map from every vertex.

The cocone family on the empty diagram is likewise empty. Its corresponding cocone category is C, and its initial object is a colimiting cocone. Its universal arrows go from the colimit to every vertex.

In Set a singleton is terminal, given the unique constant map from every set, including ∅. The empty set is initial because each map with empty domain has an empty graph. Thus the empty limit and colimit use different vertices and opposite arrow directions. Related reading: [Morphisms, universal cones and unique comparisons](https://emilyriehl.github.io/files/context.pdf), [Products, equalizers, towers and fiber pairs](https://emilyriehl.github.io/files/context.pdf), [Meets and joins as universal comparisons](https://arxiv.org/pdf/1612.09375), [Universal arrows to and from empty-shaped data](https://emilyriehl.github.io/files/context.pdf). The cone and cocone conditions for the empty shape place no restrictions on an ambient comparison arrow.

07

Evaluate a diagram using an initial or terminal position

Suppose i₀ is initial in J. Let e_i:i₀→i be the unique arrow to i, with e_{i₀}=id_{i₀}. For u:i→j, both u∘e_i and e_j are arrows from the initial object to j, so they coincide. Define p_i=D(e_i):D(i₀)→D(i).

Functoriality sends each equation u∘e_i=e_j to D(u)∘p_i=p_j, giving a cone. For any cone r_i:X→D(i), its compatibility at e_i gives r_i=D(e_i)∘r_{i₀}, so the arrow r_{i₀}:X→D(i₀) factors every leg.

The component p_{i₀} is id_{D(i₀)}, forcing any factorization to equal r_{i₀} by the equation at i₀. Hence the proposed cone is terminal in the cone category.

If t is terminal in J, let d_i:i→t be the unique arrows and set q_i=D(d_i). For u:i→j, d_j∘u=d_i verifies the cocone equations. Any cocone s_i:D(i)→X has s_i=s_t∘D(d_i), so s_t is the forced factorization out of D(t) because q_t is the identity. This proves the colimit assertion. Related reading: [Legs of cones and cocones](https://emilyriehl.github.io/files/context.pdf), [Universal arrows to and from empty-shaped data](https://emilyriehl.github.io/files/context.pdf). Initiality of the index supplies its outgoing arrows to each position. Terminality supplies the reverse family from the positions.

08

Derive the product and coproduct universal equations from a discrete shape

A discrete two-object diagram in C takes the two positions to A and B. The only compatibility equations come from the identities, so a cone from X is exactly a pair of arrows f:X→A and g:X→B.

A terminal such cone gives an object P with projections p_A:P→A and p_B:P→B and a unique h:X→P satisfying p_A∘h=f and p_B∘h=g. These equations are the binary product property.

A cocone to Y is exactly two arrows a:A→Y and b:B→Y. An initial such cocone gives Q and injections i_A:A→Q, i_B:B→Q with a unique h:Q→Y satisfying h∘i_A=a and h∘i_B=b. These are the coproduct equations.

If A=∅ in Set, the product ∅×B is empty. Any maps into both factors require X empty and then factor through the unique empty map. The coproduct ∅⊔B is the tagged copy of B, with the B injection a bijection and the unique map from ∅. The factorization is determined by the given map from B. Related reading: [Legs of cones and cocones](https://emilyriehl.github.io/files/context.pdf), [Products, equalizers, towers and fiber pairs](https://emilyriehl.github.io/files/context.pdf), [Meets and joins as universal comparisons](https://arxiv.org/pdf/1612.09375). Discrete diagrams impose no equations except at identity arrows. Maps into products and out of coproducts follow their respective leg orientations.

09

Prove the Cartesian product property in Set

For sets A,B let P be the ordered pairs (a,b) with a∈A and b∈B. The projections evaluate the first and second coordinates, giving functions p_A:P→A and p_B:P→B.

For f:X→A and g:X→B define h(x)=(f(x),g(x)). Both component values belong to their assigned sets, so this is a function to P. Evaluation shows p_A∘h=f and p_B∘h=g.

For any other function h′ satisfying the same equations, both coordinates of h′(x) equal those of h(x) at each x. Ordered-pair equality then gives equality of the functions. This supplies the unique factorization.

Recover the unique map to the product from its coordinatesPair three probes into a six-point product; The row gives the first coordinate and the column gives the second. A binary product with an empty factor is empty, whereas the product of no factors in Set is a singleton.Recover the unique map to the product from its coordinatesA \ B0120(0, 0)(0, 1)(0, 2)1(1, 0)(1, 1)(1, 2)Highlighted ordered pairs are images of the declared probe.Source keys: 0 ↦ (1,2) ; 1 ↦ (0,0) ; 2 ↦ (1,1)Two factors are declared, even when one factor is empty.
The row gives the first coordinate and the column gives the second. A binary product with an empty factor is empty, whereas the product of no factors in Set is a singleton.

Each demanded pair of coordinate functions determines exactly one ordered pair at every source element. When the source is empty, the only function is the empty map.

Exact product and pairing
QuantityExact result
A×B{(0, 0), (0, 1), (0, 2), (1, 0), (1, 1), (1, 2)}
Pairing map by source index(1, 2), (0, 0), (1, 1)
Unique map with both projectionsTrue
Product of no factorsA singleton
Exact inputs and supporting calculations
Declared inputs
ParameterValue
p2
q3
left[1,0,1]
right[2,0,1]
Probe and the two projections
SourceFirst projectionSecond projectionProduct value
012(1, 2)
100(0, 0)
211(1, 1)

If X is empty, both legs and the factorization are their unique empty-domain maps. If one factor is empty, then P is empty and the corresponding leg cannot exist for nonempty X. The universal property therefore holds for every permitted pair of maps, including empty factors. Related reading: [Limits and colimits of diagrams in Set](https://stacks.math.columbia.edu/tag/002U), [Products, equalizers, towers and fiber pairs](https://emilyriehl.github.io/files/context.pdf). The product pairs the actual values of two functions. Empty factors determine when the given legs can exist.

10

Prove the product property for vector spaces

For a set-indexed family (V_i) of vector spaces over k, take P to be all tuples with i-th component in V_i. Coordinatewise addition and scalar multiplication remain in P, and each vector-space identity follows by its equality in every coordinate.

The coordinate projection p_i:P→V_i is linear because it preserves coordinatewise sums and scalar multiples. If f_i:X→V_i is a family of linear maps, put h(x)=(f_i(x))_i. This has the required codomain and each projection of h is f_i.

For vectors x,y and scalars a,b, the i-th coordinate of h(ax+by) is f_i(ax+by)=af_i(x)+bf_i(y). This is the i-th coordinate of ah(x)+bh(y). All coordinates agree, proving linearity.

Any linear map into P with these projections has those same coordinates at every x, so h is unique. For an empty family the tuple collection has one element and is the zero vector space. From each X its unique zero map is the required factorization for the empty family. Related reading: [Linear direct sums and binary products](https://arxiv.org/pdf/1612.09375), [Products and finite-support linear sums](https://personal.math.ubc.ca/~lior/teaching/1920/412_F19/412_notes.pdf). A vector product contains arbitrary tuples and its operations and factor map are coordinatewise over the same field.

11

Show why products test arrows into their vertex

Let P be a binary product with projections p_A and p_B. If u,v:T→P have p_A∘u=p_A∘v and p_B∘u=p_B∘v, then both are factorizations of the same pair of maps from T. The uniqueness part of the product property implies u=v.

The reverse implication follows by composing an equality u=v with the respective projections. The hom-set test therefore determines arrows with target P because the projections can be applied after those arrows.

For a test on maps with domain P, take A=B={0,1} with basepoint 0 and P=A×B. Its two axis inclusions are a↦(a,0) and b↦(0,b). Define h:P→{0,1} to be constant zero and k:P→{0,1} to be 1 only at (1,1).

Every point on either axis has at least one zero coordinate. Thus h and k agree on both inclusions while they differ at (1,1). These axis maps are specific additional maps into the product, whose restrictions do not establish equality of all functions out of it. Related reading: [Products, equalizers, towers and fiber pairs](https://emilyriehl.github.io/files/context.pdf). Product projections test arrows into the product. The displayed test inclusions of two axes need not detect arrows out.

12

Construct equalizers of parallel functions

For parallel functions f,g:A→B let E={a∈A:f(a)=g(a)} and let e:E→A be inclusion. For every element of E the values are equal, so f∘e=g∘e as maps from E to B.

If h:X→A satisfies f∘h=g∘h, then for every x the value h(x) lies in E. Define the map h_E:X→E by assigning exactly that value but with codomain E. Inclusion gives e∘h_E=h.

Any factorization through e has the same value at each x because e is an inclusion. The map h_E is therefore unique, verifying the equalizer property with the stated domain and target.

Factor the probe through the exact agreement locusProbe factors through the three-point agreement set; The highlighted x values satisfy f(x)=g(x). The inclusion E→A records them without imposing an equivalence relation.Factor the probe through the exact agreement locusxf(x)g(x)x∈E000True110False211True322TrueE={0, 2, 3}; probe=(3, 0, 2).Factor indices in the ordered E: (2, 0, 1).
The highlighted x values satisfy f(x)=g(x). The inclusion E→A records them without imposing an equivalence relation.

Factorization exists precisely when all probe values lie in the equalizer. When it exists, the inclusion fixes every factor value, making the factor unique.

Exact equalizer factorization
QuantityExact result
Agreement set E{0, 2, 3}
Factors through ETrue
First bad probe indexNone
Induced indices within increasing E(2, 0, 1)
Exact inputs and supporting calculations
Declared inputs
ParameterValue
f[0,1,1,2]
g[0,0,1,2]
probe[3,0,2]

If A is empty, its parallel maps are equal and E is empty. Any map into A then has empty domain and factors uniquely. Even when A is nonempty, if E is empty and an h equalizes f,g, every x would have to map to E, which forces X to be empty. The same proof applies. Related reading: [A linear equalizer as a kernel](https://arxiv.org/pdf/1612.09375), [Limits and colimits of diagrams in Set](https://stacks.math.columbia.edu/tag/002U), [Products, equalizers, towers and fiber pairs](https://emilyriehl.github.io/files/context.pdf). The equalizing subset uses equality of values at the same domain element, with inclusion after every factor map.

13

Show equalizer maps are monic and compute a linear equalizer

Suppose e:E→A is an equalizer of f,g:A→B. For u,v:X→E with e∘u=e∘v, put h=e∘u. The defining equality for e gives f∘h=g∘h. Both u and v factor the same h through the equalizer e.

The equalizer property makes that factorization unique, so u=v. As this holds for any source X and parallel u,v, it is precisely monicity of e.

For vector spaces over k, f−g is a linear map A→B. Its kernel K is a subspace, and its inclusion e:K→A has f∘e=g∘e because (f−g)(x)=0 for x∈K.

If h:X→A is linear and f∘h=g∘h, its image lies in K. Giving h codomain K preserves all its linearity identities since K uses the inherited operations. The inclusion property forces the factorization to be unique, so this linear kernel is an equalizer. Related reading: [A linear equalizer as a kernel](https://arxiv.org/pdf/1612.09375). Equalizer monicity follows from a unique lifted arrow. The linear kernel construction uses two maps of the same type.

14

Construct any small limit from products and an equalizer

Let J be small, D:J→C and P=∏_{i∈Ob J}D(i) with projections p_i. Let Q be the product indexed by all arrows of J. For an arrow u:i→j, the corresponding factor is the target value D(j).

Define r,s:P→Q by their u-components D(u)∘p_i and p_j, respectively. The product property of Q supplies each of those maps. Let e:L→P be their equalizer. Its legs p_i∘e satisfy D(u)∘p_i∘e=p_j∘e by projecting r∘e=s∘e at u.

For any cone l_i:X→D(i), first factor those individual maps through P as one h:X→P. The projections of r∘h and s∘h in Q agree by the cone equations, so the product property gives r∘h=s∘h. The equalizer therefore yields a unique h_L:X→L with e∘h_L=h.

The legs of h_L are the l_i. Any competing arrow into L with those legs would have the same composite to P by its product property, then equal h_L by the equalizer property. This proves terminality of the constructed cone. Empty products and identity arrows are allowed in these two indexing sets. Related reading: [General limits from products and equalizers](https://arxiv.org/pdf/1612.09375), [Coproducts and arrow-indexed coequalizers](https://emilyriehl.github.io/files/context.pdf), [Limits and colimits of diagrams in Set](https://stacks.math.columbia.edu/tag/002U), [Size conditions for sets of diagram indices](https://emilyriehl.github.io/files/context.pdf). The second product indexes the target of every diagram arrow. The equalizer imposes exactly the claimed compatibility and gives each factorization.

15

Prove the fiber-pair construction of a pullback in Set

For functions f:A→S and g:B→S let P consist of the pairs (a,b)∈A×B with f(a)=g(b). Its projections to A and B restrict the ordinary projections. The defining equality means that both routes from P to S agree.

Suppose u:X→A and v:X→B satisfy f∘u=g∘v. For each x the pair (u(x),v(x)) then lies in P. Taking this pair defines a function w:X→P with the two given projections.

If w′ has the same projections, its value at every x has the same two coordinates. Hence w′=w and the factorization is unique. This proves the universal property of the commutative pullback square.

Match both legs over the same base valueBoth probe legs have the same two base values; Column and row headers give the two functions into the common base. A green position represents one pair in the pullback.Match both legs over the same base valuef \ gb0→1b1→0a0→0—(0, 1) ●a1→1(1, 0) ●—a2→0—(2, 1)Pullback pairs {(0, 1), (1, 0), (2, 1)}.Unique factor values: (0, 1), (1, 0).Blue ● marks a supplied probe; green alone marks an unused legal pair.
Column and row headers give the two functions into the common base. A green position represents one pair in the pullback.

The universal property only applies to compatible legs. Even a nonempty pullback cannot receive the specified pairing when one of the given pairs has unequal base images.

Exact pullback test
QuantityExact result
Pullback{(0, 1), (1, 0), (2, 1)}
Probe compatibleTrue
First failed probe positionNone
Unique factor(0, 1), (1, 0)
Exact inputs and supporting calculations
Declared inputs
ParameterValue
f[0,1,0]
g[1,0]
p[0,1]
q[1,0]
Base-value check on the probe
Probe indexPairf(p(x))g(q(x))
0(0, 1)00
1(1, 0)11

If none of the fibers match, P is empty. The equality of the two composites for any such u,v then forces X empty, since an x would supply a pair. The construction gives exactly the unique empty-domain factorization in that case. Related reading: [Limits and colimits of diagrams in Set](https://stacks.math.columbia.edu/tag/002U), [Products, equalizers, towers and fiber pairs](https://emilyriehl.github.io/files/context.pdf). A fiber pair has inputs with matching images in the one common codomain. The factorization assigns its actual coordinate values.

16

Prove the pullback pasting property

Write top arrows A→B→C and bottom arrows D→E→F. The vertical arrows are A→D, B→E and C→F. Assume the two squares commute and the right square makes B a pullback of C→F and E→F.

If the left square is also a pullback, take maps X→D and X→C that agree in F. The first gives X→D→E. Together with X→C it uniquely determines X→B by the right pullback. This map and X→D satisfy the left compatibility in E, so the left pullback gives a unique X→A.

That arrow has the required endpoints in C and D. For any other arrow with those endpoints, its map into B has the same two images in C and E by commutativity. The right pullback forces that map, and then the left pullback forces the arrow into A. This proves the outer property.

Conversely assume the outer rectangle is a pullback. Maps X→D and X→B agreeing in E give compatible maps X→D and X→B→C in F. The outer property gives a unique map to A with those D and C legs. Its route through B equals the given B leg because the two maps into B agree in C and E. Any map reconstructing the left pair already reconstructs the outer pair, so the left factorization is unique. Related reading: [Pasting of pullback squares](https://arxiv.org/pdf/1612.09375). The two commuting squares and the right pullback are required. Use its uniqueness before treating the left or outer property.

17

Express a linear kernel as a pullback

Take the cospan V→W←0 with the first map f and the second the unique zero map. The subspace K=ker(f) has its inclusion e:K→V and the unique map z:K→0. Applying f after e is zero, so it agrees with the other path to W.

For any space X with compatible linear maps r:X→V and s:X→0, the compatibility requires f∘r=0 because the route through 0 is zero. Thus r(x) lies in K for every x, and the function with those values and codomain K is linear.

This restricted map produces r when followed by e and produces s when followed by z, since the map to zero is unique. Any other factorization has the same values in V via the inclusion and therefore the same values in K. This proves the pullback property.

Inside V×0 the corresponding fiber-pair space is the pairs (v,0) with f(v)=0. Projection onto v gives a linear isomorphism to K with inverse v↦(v,0). The second coordinate contributes exactly its unique zero value. Related reading: [A linear equalizer as a kernel](https://arxiv.org/pdf/1612.09375), [Universal arrows to and from empty-shaped data](https://emilyriehl.github.io/files/context.pdf). The unique arrow to the zero space supplies the zero comparison coordinate and forces the given kernel.

18

Prove the disjoint-sum property in Set

For two sets A and B, form Q as the union of the two tagged sets {0}×A and {1}×B. The injections take a to (0,a) and b to (1,b), respectively. Their ranges are disjoint even if the original sets overlap.

Given f:A→Y and g:B→Y, set h(0,a)=f(a) and h(1,b)=g(b). Each element of Q has exactly one of these forms, so this is a function. Its restrictions along the two injections recover the given arrows.

Any other such function must have those same values on the two ranges, whose union is all of Q. Therefore it equals h, which proves the coproduct property including the case where either input set is empty.

For failure of ordinary union take A=B={x} and let f(x)=0 and g(x)=1 in Y={0,1}. Both original inclusions into A∪B would take x to the same element, so no function out of that union could have the two required different values. The two tags permit both. Related reading: [Limits and colimits of diagrams in Set](https://stacks.math.columbia.edu/tag/002U), [Set pushouts and coproducts over an initial object](https://arxiv.org/pdf/1612.09375). Tag each input copy even when the sets overlap. Factor maps are fully determined on both tag ranges.

19

Prove the direct-sum property for vector spaces

For a set-indexed family (V_i) of vector spaces over k, let Q consist of the tuples whose nonzero coordinates form a finite set. The sum and scalar multiples of such tuples still have finite support. Coordinatewise operations therefore make Q a vector space.

The injection i_j sends v∈V_j to the tuple with v in the j-th coordinate and zero elsewhere. Given linear maps f_j:V_j→X, define h((v_j))=∑_j f_j(v_j) over the finitely many nonzero coordinates. This is a finite sum unaffected by adding zero terms.

Linearity follows by taking the union of the two finite supports, distributing each f_j and combining the finite sums. Composing h with any i_j gives f_j. Every tuple is a finite sum of its injections, so linearity and the given factorization force the value of h on every tuple.

The product admits arbitrary tuples, while the direct sum admits only finite support. For countably many copies of k the constant-one tuple demonstrates the difference. In the usual setting allowing a choice of a nonzero vector from each space, the same argument gives a tuple of infinite support for any infinite family of nonzero spaces. Related reading: [Linear direct sums and binary products](https://arxiv.org/pdf/1612.09375), [Products and finite-support linear sums](https://personal.math.ubc.ca/~lior/teaching/1920/412_F19/412_notes.pdf). The direct sum uses finite supports so the factor map is a finite sum. All operations use the same field.

20

Show why coproducts test arrows out of their vertex

Let Q be a coproduct of A and B, with injections i_A,i_B. For u,v:Q→X that give equal composites on both injections, the two maps factor the same pair of arrows from A and B. Uniqueness implies u=v. Equality of u,v also implies agreement on the injections by composition.

Now let f:A→A′ and g:B→B′ and let Q′ have injections j_A,j_B. The arrows j_A∘f and j_B∘g have common target Q′. The coproduct property gives an arrow f⊔g:Q→Q′ whose composites on i_A and i_B equal those two arrows.

When f and g are identities and the same coproduct data are used in the source and target, these restrictions give i_A and i_B. The identity on Q has those restrictions, so the induced map is id_Q by uniqueness.

Given another pair f′,g′ with appropriately matching source and target, the composite (f′⊔g′)∘(f⊔g) restricts on i_A and i_B to the final injections precomposed with f′∘f and g′∘g, respectively. Those are the restrictions of (f′∘f)⊔(g′∘g). Hence the composites coincide. Related reading: [Linear direct sums and binary products](https://arxiv.org/pdf/1612.09375). Equality of arrows out of a coproduct is tested on its injections. The comparison for factor maps is fixed by these same restrictions.

21

Construct coequalizers of parallel functions by closing an equivalence relation

For parallel functions f,g:A→B take R to be the intersection of the equivalence relations on B containing every pair (f(x),g(x)) with x∈A. This family is nonempty because the universal relation is one such relation, and its intersection is an equivalence relation.

The quotient map q:B→B/R sends each element to its class. Every prescribed pair lies in R, so q∘f=q∘g. If h:B→Y also satisfies h∘f=h∘g, the relation of having equal h-values is an equivalence relation containing all prescribed pairs.

Thus R is contained in the relation of equal h-values, and the value h(b) depends only on the class of b. Define h_bar:B/R→Y by that value. It gives h_bar∘q=h and is unique because every class is reached by q.

Close the generated pairs before testing a factorTwo generated classes and a valid factor; Class numbers follow their least element. Even elements with no direct relation edge may belong to the same class after transitive closure.Close the generated pairs before testing a factor01234Solid arcs are generators; the dashed arc is inferred.ClassElements after closureh values on the class0{0, 1, 2}(4, 4, 4)1{3, 4}(2, 2)h is constant on each class and induces a factor.0∼2 by transitivity (not a generator)
Class numbers follow their least element. Even elements with no direct relation edge may belong to the same class after transitive closure.

A function coequalizes f and g if it identifies each generated pair. This is equivalent to being constant on every generated equivalence class.

Exact coequalizer
QuantityExact result
Generating pairs(0, 1), (1, 2), (3, 4)
Equivalence classes{0, 1, 2} · {3, 4}
Quotient by input(0, 0, 0, 1, 1)
h induces a mapTrue
Induced labels(4, 2)
Exact inputs and supporting calculations
Declared inputs
ParameterValue
n5
f[0,1,3]
g[1,2,4]
h[4,4,4,2,2]

For instance, if the prescribed pairs on B={0,1,2} are (0,1) and (1,2), the equivalence closure also contains (0,2). A relation keeping only the first two identifications and their reversals would omit this required pair, so it could not define the quotient classes. Related reading: [Limits and colimits of diagrams in Set](https://stacks.math.columbia.edu/tag/002U), [Equivalence closure and difference quotients](https://arxiv.org/pdf/1612.09375). Use the least equivalence relation containing every generator pair. Any compatible target map factors because it is constant on whole classes.

22

Show coequalizer maps are epic and compute a linear coequalizer

Let q:B→Q be a coequalizer of f,g:A→B. Suppose two arrows r,s:Q→X satisfy r∘q=s∘q. Their common map h:B→X also satisfies h∘f=h∘g, because q coequalizes f and g.

Both r and s factor h through the coequalizer. The uniqueness part of its property gives r=s for any such X and arrows. Thus q is epic by the defining cancellation test.

In Vec_k, take the image I of the linear map f−g:A→B. This is a subspace of B. The quotient map q:B→B/I sends equal differences to zero, so q∘f=q∘g.

For a linear h:B→X with h∘f=h∘g, h vanishes on I. Set h_bar(b+I)=h(b), well defined because representatives differ by a vector of I. It is linear and factors h. Every class has a representative, so the factor map is unique. Related reading: [Equivalence closure and difference quotients](https://arxiv.org/pdf/1612.09375). Coequalizer epicity follows from uniqueness. A linear map coequalizing the pair vanishes on the full image of their difference.

23

Construct any small colimit from coproducts and a coequalizer

Let D:J→C with J small. Form B=⊔_{i∈Ob J}D(i) with injections ι_i, and A=⊔_{u:i→j in J}D(i). The factor in A indexed by u is its domain value D(i).

Define r,s:A→B by restrictions on each u-summand equal to ι_i and ι_j∘D(u). Take their coequalizer q:B→L. Then the legs q_i=q∘ι_i satisfy q_j∘D(u)=q_i, by restricting q∘r=q∘s to the u-summand.

Given any cocone t_i:D(i)→Y, the coproduct B gives one h:B→Y extending all t_i. The cocone equations imply h∘r and h∘s agree on every A injection, so they are equal. Therefore the coequalizer gives a unique h_bar:L→Y with h_bar∘q=h.

This map extends all the t_i. Any other map with those legs supplies the same h by the coproduct property of B, then must equal h_bar by uniqueness for the coequalizer. This proves that L is the colimit, also when an indexing collection is empty and the stated operations exist. Related reading: [Coproducts and arrow-indexed coequalizers](https://emilyriehl.github.io/files/context.pdf), [Limits and colimits of diagrams in Set](https://stacks.math.columbia.edu/tag/002U), [Size conditions for sets of diagram indices](https://emilyriehl.github.io/files/context.pdf). The arrow-indexed coproduct uses the source value. Its two arrows include respectively at source and after following its transition.

24

Construct a pushout of sets as a quotient of a tagged union

For f:S→A and g:S→B use the tagged coproduct A⊔B, with injections i_A and i_B. Let R be the least equivalence relation containing (i_A(f(s)),i_B(g(s))) for every s∈S. Let Q=(A⊔B)/R.

Compose each tag injection with the quotient map to obtain a:A→Q and b:B→Q. Then a∘f=b∘g by the defining pairs of R. These composites into Q may identify distinct elements from the same original set.

Given compatible maps u:A→Y and v:B→Y, first define h:A⊔B→Y by the two given restrictions. Compatibility makes h constant on each generating pair. Equality of h-values is an equivalence relation containing those pairs, so h is constant on all R-classes.

Push out by quotienting the tagged disjoint unionA common image identifies both B points; Links indicate only the generator identifications from A. The displayed classes include all tagged elements and their transitive identifications.Push out by quotienting the tagged disjoint unionB0B1C0C1Tagged BTagged C[0] = {B0, B1, C0}[1] = {C1}Canonical B leg injective: False; C leg injective: True.Both B₀ and B₁ land in class 0.
Links indicate only the generator identifications from A. The displayed classes include all tagged elements and their transitive identifications.

Tags prevent unrelated elements from merging before imposing the generated relation. If A is empty there are no required identifications, so the pushout is the tagged disjoint union.

Exact tagged quotient
QuantityExact result
Classes{B0, B1, C0} · {C1}
Canonical B→quotient(0, 0)
Canonical C→quotient(0, 1)
B leg injectiveFalse
C leg injectiveTrue
Exact inputs and supporting calculations
Declared inputs
ParameterValue
p2
q2
f[0,1]
g[0,0]

Define the factor map Q→Y by the common value on each class. It extends u and v. Each class contains a tagged representative from one input set, so any map with these two restrictions already has its values fixed on all classes. This proves the pushout property. Related reading: [Limits and colimits of diagrams in Set](https://stacks.math.columbia.edu/tag/002U), [Set pushouts and coproducts over an initial object](https://arxiv.org/pdf/1612.09375). A pushout leg from a tagged summand is a quotient composite and may merge points.

25

Compute the pushout of two linear maps by a signed quotient

For f:U→V and g:U→W, take I={ (f(u),−g(u)):u∈U } as a subspace of V⊕W, the image of a linear map. Let q:V⊕W→Q=(V⊕W)/I be the quotient and set j_V(v)=q(v,0), j_W(w)=q(0,w).

The difference j_V(f(u))−j_W(g(u)) is q(f(u),−g(u)), hence zero. Thus the canonical legs give one common composite from U and make the square commute.

For compatible maps a:V→X and b:W→X, the linear function h(v,w)=a(v)+b(w) vanishes on I because h(f(u),−g(u))=a(f(u))−b(g(u))=0. The sign is exactly the sign used by the compatibility equality.

Then h factors through q by evaluating on representatives. Its descended map extends a and b. The classes q(v,w) are sums of j_V(v) and j_W(w), so anyone extending a and b has these same values by linearity. This proves the unique pushout factorization. Related reading: [Linear direct sums and binary products](https://arxiv.org/pdf/1612.09375), [Equivalence closure and difference quotients](https://arxiv.org/pdf/1612.09375), [Set pushouts and coproducts over an initial object](https://arxiv.org/pdf/1612.09375), [Products and finite-support linear sums](https://personal.math.ubc.ca/~lior/teaching/1920/412_F19/412_notes.pdf). The quotient uses (f(u),−g(u)); this sign lets an extending linear map vanish on the relation for compatible legs.

26

Prove the pushout pasting property in the correct direction

Write the two squares with top row A→B→C and bottom row D→E→F, and all vertical arrows downward. Suppose both commute and the left square makes E a pushout of B←A→D. In the opposite category, rotate the rectangle so the top row is F→E→D and the bottom row is C→B→A. The original left pushout is now the right pullback. Under this rotation the outer rectangle stays outer, so the pullback pasting equivalence gives the claimed dual result.

Directly, if the right square is also a pushout, test maps C→X and D→X agreeing on A. The first gives a map B→C→X. Together with D→X it factors uniquely through E by the left pushout. This E map and the C map agree on B, so the right pushout gives a map F→X.

It has the required restrictions along C and D. Any competing F map with those restrictions has an E restriction agreeing with the forced maps on B and D, hence the same E restriction. The right pushout then gives uniqueness of the map on F. This proves the outer property.

Conversely assume the outer rectangle is a pushout. Given C→X and E→X agreeing on B, use D→E→X to get agreement on A, then factor through F by the outer property. The resulting restriction on E agrees with the given map on B and D, so the left pushout identifies the two E maps. Uniqueness for F on the right pair follows from uniqueness for the outer pair. Related reading: [Pasting of pullback squares](https://arxiv.org/pdf/1612.09375). With commuting squares the left pushout gives the stated equivalence. Reversal and rotation identify the exact pullback theorem.

27

Express a linear cokernel as a pushout

Consider the span W←V→0 in Vec_k, with first leg f. Let Q=W/im f with quotient arrow q:W→Q. The other leg from 0 is uniquely zero. Their composites from V agree because q(f(v))=0.

Any compatible maps a:W→X and b:0→X satisfy a∘f=0, since b is the zero map. Thus a vanishes on every vector of im f.

Set u(w+im f)=a(w). This gives a well-defined linear map because differences of representatives belong to the subspace where a is zero. It satisfies u∘q=a and its composite from 0 is the required b.

Every element of Q is a class of some w, so u is unique. Hence Q with those arrows is the pushout. In this form it is the cokernel and represents exactly the maps out of W vanishing on im f. Related reading: [Equivalence closure and difference quotients](https://arxiv.org/pdf/1612.09375), [Universal arrows to and from empty-shaped data](https://emilyriehl.github.io/files/context.pdf). The unique arrow into the zero domain supplies the zero relation used in the cokernel span.

28

Recognize limits and colimits in a poset

Use a poset P as a category, with one arrow y→z exactly when y≤z. For D:J→P, legs of a cone with vertex x exist exactly when x≤D(i) for every i. Once they exist, all required compatibility equations hold by uniqueness of arrows at a given pair of endpoints.

A cone arrow from x to y exists exactly when x≤y, because the two leg routes are then parallel arrows in the poset. A terminal cone therefore corresponds to a lower bound l for which every other lower bound x satisfies x≤l. This is the greatest lower bound.

Similarly a cocone with vertex y exists exactly when D(i)≤y for all i. The arrow between any two such cocones follows the poset order, so initiality picks the least upper bound of the diagram values.

Identify universal bounds inside the declared carrierMeet and join exist in the powerset; Green marks the universal candidate when it exists. The upper and lower membership checks quantify only over the selected family.Identify universal bounds inside the declared carrier{}{0}{1}{0, 1}ElementSelectedLower bound?Upper bound?{}FalseTrueFalse{0}TrueFalseFalse{1}TrueFalseFalse{0, 1}FalseFalseTrueCarrier ordered by inclusion; all candidates checked.Greatest lower bound: {}.Least upper bound: {0, 1}.meetSelectedSelectedjoin
Green marks the universal candidate when it exists. The upper and lower membership checks quantify only over the selected family.

An omitted subset is not an available candidate. For the empty family, every object is both an upper and lower bound, so the limit is top and the colimit is bottom if they exist.

Exact poset limit and colimit
QuantityExact result
Lower bounds{}
Upper bounds{0, 1}
Limit (GLB){}
Colimit (LUB){0, 1}
Exact inputs and supporting calculations
Declared inputs
ParameterValue
objects[[],[0],[1],[0,1]]
indices[1,2]

Even when the diagram has internal arrows they only constrain the displayed family of values to be a diagram. They add no equations on a lower or upper bound beyond the unique-arrow conditions. An empty family has all objects as both kinds of bounds, yielding the top and bottom if they exist. Related reading: [Legs of cones and cocones](https://emilyriehl.github.io/files/context.pdf), [Meets and joins as universal comparisons](https://arxiv.org/pdf/1612.09375), [Directed systems and inverse systems](https://stacks.math.columbia.edu/tag/002Z). In a poset, existence of legs supplies bounds and parallel arrows are already equal. The corresponding extreme bound can fail to exist.

29

Prove a directed union is the colimit of inclusions

Let I be a nonempty directed poset and suppose sets X_i lie in one ambient set with X_i⊆X_j for each i≤j. The injections into X=⋃_i X_i are compatible with all the inclusion arrows, so X receives a cocone.

Let h_i:X_i→Y be a compatible family. For x∈X choose any index i with x∈X_i and define h(x)=h_i(x). If also x∈X_j, directedness gives k with i≤k and j≤k.

Compatibility with the two inclusions into X_k gives h_i(x)=h_k(x)=h_j(x). The proposed value is independent of representation and defines a function on the union. It agrees with h_i on every X_i.

Every union element lies in at least one X_i, so any factorization of the given arrows must have exactly that value on each element. The function h is consequently unique, proving that the union is the colimit of this diagram of inclusions. Related reading: [Limits and colimits of diagrams in Set](https://stacks.math.columbia.edu/tag/002U), [Eventual agreement in a filtered colimit](https://stacks.math.columbia.edu/tag/04AX), [Directed systems and inverse systems](https://stacks.math.columbia.edu/tag/002Z). Directedness and the inclusions allow two representatives to have one compatible comparison value at a later position.

30

Calculate an inverse limit of finite prefixes

Use the category of nonnegative integers with an arrow n→m when n≥m. Send n to A^n, with zero-length tuple () at n=0, and each arrow to truncation of the final coordinates. Truncations preserve identities and compose to the corresponding shorter truncation.

An infinite sequence (a_1,a_2,…) gives a family with nth prefix (a_1,…,a_n). These prefixes are compatible by truncation, so the sequence space with its prefix maps gives a cone.

For a compatible family of prefixes (b_n), define a_i to be the i-th coordinate of b_i for i≥1. For each n≥i, truncating b_n to length i yields b_i. Thus the i-th coordinate of b_n is a_i and every b_n recovers the matching sequence prefix.

For maps from a common set X into all A^n with those properties, apply the reconstruction at each x to give the unique function into the sequence space. The zero-length map has the unique empty tuple as value. If A is empty, the condition at n=1 forces X empty, as does the absence of infinite sequences, so the factorization still holds. Related reading: [Limits and colimits of diagrams in Set](https://stacks.math.columbia.edu/tag/002U), [Products, equalizers, towers and fiber pairs](https://emilyriehl.github.io/files/context.pdf), [Directed systems and inverse systems](https://stacks.math.columbia.edu/tag/002Z). Truncations reverse the time-index order. Each coordinate is determined by a finite prefix, including the exact empty-set case.

31

Calculate the direct limit of a chain of sets and arbitrary functions

For a chain (X_n) with arrows X_n→X_{n+1}, let t_{i,k}:X_i→X_k for i≤k be the composite, identity for i=k. On the tagged union of the X_i say (i,x)∼(j,y) if some k≥i,j satisfies t_{i,k}(x)=t_{j,k}(y).

Reflexivity uses k=i and symmetry uses the same witness in either order. For transitivity choose a later stage at least as large as the witnesses for (i,x)∼(j,y) and (j,y)∼(l,z). Applying further maps gives equality of all three images at the common later stage.

Use the quotient classes as Q. The map q_i:X_i→Q sends x to [(i,x)]. The definition gives compatibility along each arrow, because (i,x) and its assigned tagged later image agree at the target stage.

Given compatible maps h_i:X_i→Y, the candidate h on classes has value h_i(x). If two tags have equal images at some k, compatibility gives equal h-values by applying h_k there. The factor exists and every class has a representative, so these restrictions give uniqueness and the colimit property. Related reading: [Limits and colimits of diagrams in Set](https://stacks.math.columbia.edu/tag/002U), [Eventual agreement in a filtered colimit](https://stacks.math.columbia.edu/tag/04AX), [Directed systems and inverse systems](https://stacks.math.columbia.edu/tag/002Z). A common later stage witnesses equality of two tagged values. A later shared stage also proves transitivity.

32

Induce maps between chosen limits and chosen colimits

Let α:D⇒E be a natural transformation of diagrams of the same shape, with chosen limiting legs p_i:L_D→D(i) and q_i:L_E→E(i). The family α_i∘p_i forms a cone to E since for u:i→j, E(u)∘α_i∘p_i=α_j∘D(u)∘p_i=α_j∘p_j.

The unique comparison ℓ_α:L_D→L_E satisfies q_i∘ℓ_α=α_i∘p_i. The identity transformation gives the identity comparison because it has the original legs. For β:E⇒H the composite ℓ_β∘ℓ_α has components β_i∘α_i∘p_i after the H legs, so uniqueness identifies it with ℓ_{β∘α}.

For chosen colimits with legs d_i:D(i)→K_D and e_i:E(i)→K_E, the family e_i∘α_i is a cocone from D, again by naturality. Its factorization k_α:K_D→K_E obeys k_α∘d_i=e_i∘α_i.

With another transformation β, the outgoing comparison composite k_β∘k_α has the same restrictions on each d_i as k_{β∘α}. They are therefore equal. The identity gives the original d_i as restrictions and hence the identity comparison. This proves both laws for chosen universal objects in both directions. Related reading: [Legs of cones and cocones](https://emilyriehl.github.io/files/context.pdf), [Morphisms, universal cones and unique comparisons](https://emilyriehl.github.io/files/context.pdf), [Limits of functors from pointwise data](https://emilyriehl.github.io/files/context.pdf), [Natural universal cone and cocone bijections](https://emilyriehl.github.io/files/context.pdf), [Natural transformations as composable diagram maps](https://arxiv.org/pdf/1612.09375). Natural diagram maps supply compatible new legs. All induced identity and composition identities follow by matching those legs.

33

Prove a pointwise construction of limits of functors

Let a small diagram of functors F_j:B→C have a chosen pointwise limit L_X with legs p_{j,X}:L_X→F_j(X) for every X∈B. For f:X→Y, the arrows F_j(f)∘p_{j,X} assemble a cone at Y. This follows from naturality of each diagram transition F_j⇒F_k and the cone equations at X.

Use the pointwise property at Y to define L(f):L_X→L_Y by p_{j,Y}∘L(f)=F_j(f)∘p_{j,X}. Comparing these legs gives L(id_X)=id_{L_X}, and the two routes for a composite arrow agree because each F_j preserves composition. Thus L is a functor and the p_j are natural transformations by these equations.

Given a cone of natural transformations h_j:G⇒F_j, the pointwise property gives h_X:G(X)→L_X at every X. For an arrow f:X→Y, the two routes L(f)∘h_X and h_Y∘G(f) have the same composite under every p_{j,Y}, by the naturality of each h_j. They are equal by uniqueness in the pointwise limit.

The h_X therefore form the required natural factorization, and any other one equals it pointwise by the same limit property. Colimits follow by applying the construction to opposite source and target categories and reversing the diagram arrows. Equivalently one defines the outgoing pointwise legs first and tests equality on each of those legs. Related reading: [Limits of functors from pointwise data](https://emilyriehl.github.io/files/context.pdf), [Size conditions for sets of diagram indices](https://emilyriehl.github.io/files/context.pdf), [Natural transformations as composable diagram maps](https://arxiv.org/pdf/1612.09375). The construction assumes chosen limits at each source object, then verifies the candidate arrows and natural comparison maps.

34

Transport limiting or colimiting data across a natural isomorphism

Take α:D⇒E to be a natural isomorphism and let β:E⇒D be its inverse. With chosen limiting cones, their comparisons ℓ_α:L_D→L_E and ℓ_β:L_E→L_D satisfy the component equations for α and β.

Composing these maps gives the comparison for β∘α=id_D and for α∘β=id_E in the other order, because the compared maps agree after every limiting leg. Those identity comparisons are identities at the respective vertices.

Hence ℓ_α is an isomorphism preserving all legs in the comparison sense q_i∘ℓ_α=α_i∘p_i, and it is unique with those equations. It depends on the given diagram isomorphism and the chosen limiting data.

The induced colimit maps obey the same composition and identity law with equations k_α∘d_i=e_i∘α_i on the incoming legs. Using the two inverse transformations again yields inverse colimit comparisons. This proves the dual transport statement with the incoming legs appropriately matched. Related reading: [Morphisms, universal cones and unique comparisons](https://emilyriehl.github.io/files/context.pdf), [Limits of functors from pointwise data](https://emilyriehl.github.io/files/context.pdf), [Natural universal cone and cocone bijections](https://emilyriehl.github.io/files/context.pdf), [Natural transformations as composable diagram maps](https://arxiv.org/pdf/1612.09375). Use both directions of the natural isomorphism and exact compatibility of their induced maps to preserve all legs.

35

Construct and type preservation comparison arrows

Let p_i:L→D(i) be a limiting cone in C and F:C→E a functor. Then F(p_i):F(L)→FD(i) form a cone since F preserves the cone equations. A chosen limit of FD with legs q_i:M→FD(i) gives a unique c:F(L)→M satisfying q_i∘c=F(p_i).

If F(p_i) is limiting, c is the unique comparison of limiting cones and is an isomorphism. If c is invertible, a cone r into FD first factors uniquely through M and then through c⁻¹ to F(L). This gives all the F(p_i) factorizations, with uniqueness obtained by composing back with c.

For a chosen colimit K of D with legs d_i:D(i)→K, their F images give a cocone to F(K). A chosen colimit N of FD with legs e_i induces a comparison c′:N→F(K) through the equations c′∘e_i=F(d_i).

If F(d_i) is colimiting, c′ is the canonical comparison between colimits and is invertible. Conversely, if c′ is invertible, the unique factorization u:N→X of any test cocone gives u∘(c′)⁻¹:F(K)→X. The same comparison in the forward direction establishes uniqueness. Thus the comparison direction reverses and the criterion remains invertibility. Related reading: [Morphisms, universal cones and unique comparisons](https://emilyriehl.github.io/files/context.pdf), [Canonical preservation and failure of a coproduct in Set](https://arxiv.org/pdf/1612.09375). The comparison maps for limits and colimits have dual directions. Each criterion concerns the exact canonical map.

36

Check preservation and failure by forgetting vector-space structure

The forgetful functor U:Vec_k→Set sends a linear map to its underlying function, retaining compositions and identities. For each set-indexed family of vector spaces the vector product has the set of all tuples as its underlying set and the same coordinate projections.

Its projections therefore have the Set product property on all functions into the underlying sets. For the empty family, the one-element zero vector space becomes the singleton, which is the empty product in Set. Thus the product cones are preserved.

For the coproduct of two copies of k, its vertex is k⊕k with injections on the two coordinate axes. In Set after forgetting, those two maps have ranges contained in the axes, which omit (1,1) because the field unit is nonzero.

Take two functions on the underlying k² to {0,1}, one constant zero and one equal to 1 only at (1,1). Both restrict to zero on each injection and hence both would factor the same pair of maps out of the copies of k. They differ, violating the required uniqueness, so this coproduct is not preserved. Related reading: [Linear direct sums and binary products](https://arxiv.org/pdf/1612.09375), [Canonical preservation and failure of a coproduct in Set](https://arxiv.org/pdf/1612.09375), [Products and finite-support linear sums](https://personal.math.ubc.ca/~lior/teaching/1920/412_F19/412_notes.pdf). Forgetting retains the set of all product tuples, while the two vector coproduct axes miss mixed pairs in Set.

37

Prove the natural bijections represented by the universal objects

For limiting legs p_i:L→D(i), associate to each h:X→L the cone with legs p_i∘h. Compatibility follows by composition with h, and the universal property says that every cone from X is obtained by exactly one h.

For u:Y→X, the cone associated to h∘u has legs p_i∘h∘u. They are just the legs associated to h followed before by u, giving the naturality relation of the bijection under precomposition in the cone vertex.

For colimiting legs q_i:D(i)→K, associate to h:K→X the cocone with legs h∘q_i. This is compatible by the original cocone equations, and the universal property gives exactly one h for each such cocone.

For u:X→Y, the associated cocone of u∘h has legs u∘h∘q_i. These are the postcomposites with u of all the former legs. Thus the colimit bijection is natural by postcomposition in the target vertex, as prescribed by its arrow directions. Related reading: [Legs of cones and cocones](https://emilyriehl.github.io/files/context.pdf), [Morphisms, universal cones and unique comparisons](https://emilyriehl.github.io/files/context.pdf), [Natural universal cone and cocone bijections](https://emilyriehl.github.io/files/context.pdf). The limiting comparison is natural under precomposition at the vertex. The colimiting comparison is natural under postcomposition.

38

Build finite limits using a terminal object and pullbacks

Given a terminal object 1 and two objects A,B, the unique maps A→1 and B→1 form a cospan. Each pair of test maps from X into A,B has equal composites to 1 by terminality. Its pullback is therefore a product with the two projections and the same unique paired map.

With these products, let f,g:A→B be parallel. Form the pair ⟨f,g⟩:A→B×B and the diagonal Δ_B:B→B×B with both projections id_B. Pull these back and call the leg from the pullback vertex E to A the arrow e.

For the other leg b:E→B, equality of the two routes to B×B gives f∘e=b=g∘e. Conversely, if h:X→A has f∘h=g∘h, pair h with that common arrow X→B to give the required equal composites. Its unique pullback factor reconstructs h. Any factor to E with e-leg h has its other leg forced to the same common arrow.

So e is an equalizer. The terminal object supplies the empty product, and binary products build all finite products by induction. A diagram with finitely many objects and arrows can now use these products and the equalizer construction, giving its finite limit. Related reading: [General limits from products and equalizers](https://arxiv.org/pdf/1612.09375), [Finite limits and finite colimits from basic squares](https://emilyriehl.github.io/files/context.pdf), [Universal arrows to and from empty-shaped data](https://emilyriehl.github.io/files/context.pdf). Terminal-object pullbacks give products. The diagonal pullback gives precisely the equalizing factorizations of parallel maps.

39

Build finite colimits using an initial object and pushouts

With an initial object 0 and objects A,B, form the pushout of A←0→B. Any pair of test maps from A and B to X agrees on 0 by initiality. Thus the pushout has exactly the coproduct universal property, with the two incoming arrows.

For f,g:A→B use the span B←A⊔A→A. Its first map restricts to f and g on the two injections, and the second is the fold map with both restrictions id_A. Let the pushout have leg q:B→Q and other leg a:A→Q.

The pushout commutativity gives q∘f=a=q∘g by restriction to the two injections. If h:B→X equalizes f and g, the second test map from A is forced to be h∘f=h∘g. These two maps agree on the span because they agree on both injections, so the pushout gives exactly one Q→X with q restriction h.

The second restriction of any map extending h on q is forced by the equality q∘f=a, so this is precisely a coequalizer. The initial object supplies the empty coproduct, and binary coproducts build all finite coproducts. The finite form of the general coproduct and coequalizer construction then gives every diagram colimit with finitely many objects and arrows. Related reading: [Coproducts and arrow-indexed coequalizers](https://emilyriehl.github.io/files/context.pdf), [Set pushouts and coproducts over an initial object](https://arxiv.org/pdf/1612.09375), [Finite limits and finite colimits from basic squares](https://emilyriehl.github.io/files/context.pdf), [Universal arrows to and from empty-shaped data](https://emilyriehl.github.io/files/context.pdf). Initial-object pushouts give coproducts. A fold pushout gives precisely the coequalizing factorizations including uniqueness of its other leg.

Compute the exact sets, witnesses and comparison maps for six universal constructions.

Pair pointwise maps through one product

Pair three probes into a six-point product

Recover the unique map to the product from its coordinatesPair three probes into a six-point product; The row gives the first coordinate and the column gives the second. A binary product with an empty factor is empty, whereas the product of no factors in Set is a singleton.Recover the unique map to the product from its coordinatesA \ B0120(0, 0)(0, 1)(0, 2)1(1, 0)(1, 1)(1, 2)Highlighted ordered pairs are images of the declared probe.Source keys: 0 ↦ (1,2) ; 1 ↦ (0,0) ; 2 ↦ (1,1)Two factors are declared, even when one factor is empty.
The row gives the first coordinate and the column gives the second. A binary product with an empty factor is empty, whereas the product of no factors in Set is a singleton.

Each demanded pair of coordinate functions determines exactly one ordered pair at every source element. When the source is empty, the only function is the empty map.

Exact product and pairing
QuantityExact result
A×B{(0, 0), (0, 1), (0, 2), (1, 0), (1, 1), (1, 2)}
Pairing map by source index(1, 2), (0, 0), (1, 1)
Unique map with both projectionsTrue
Product of no factorsA singleton
Exact inputs and supporting calculations
Declared inputs
ParameterValue
p2
q3
left[1,0,1]
right[2,0,1]
Probe and the two projections
SourceFirst projectionSecond projectionProduct value
012(1, 2)
100(0, 0)
211(1, 1)

Keep precisely the inputs on which two maps agree

Probe factors through the three-point agreement set

Factor the probe through the exact agreement locusProbe factors through the three-point agreement set; The highlighted x values satisfy f(x)=g(x). The inclusion E→A records them without imposing an equivalence relation.Factor the probe through the exact agreement locusxf(x)g(x)x∈E000True110False211True322TrueE={0, 2, 3}; probe=(3, 0, 2).Factor indices in the ordered E: (2, 0, 1).
The highlighted x values satisfy f(x)=g(x). The inclusion E→A records them without imposing an equivalence relation.

Factorization exists precisely when all probe values lie in the equalizer. When it exists, the inclusion fixes every factor value, making the factor unique.

Exact equalizer factorization
QuantityExact result
Agreement set E{0, 2, 3}
Factors through ETrue
First bad probe indexNone
Induced indices within increasing E(2, 0, 1)
Exact inputs and supporting calculations
Declared inputs
ParameterValue
f[0,1,1,2]
g[0,0,1,2]
probe[3,0,2]

Pair only the inputs whose base values coincide

Both probe legs have the same two base values

Match both legs over the same base valueBoth probe legs have the same two base values; Column and row headers give the two functions into the common base. A green position represents one pair in the pullback.Match both legs over the same base valuef \ gb0→1b1→0a0→0—(0, 1) ●a1→1(1, 0) ●—a2→0—(2, 1)Pullback pairs {(0, 1), (1, 0), (2, 1)}.Unique factor values: (0, 1), (1, 0).Blue ● marks a supplied probe; green alone marks an unused legal pair.
Column and row headers give the two functions into the common base. A green position represents one pair in the pullback.

The universal property only applies to compatible legs. Even a nonempty pullback cannot receive the specified pairing when one of the given pairs has unequal base images.

Exact pullback test
QuantityExact result
Pullback{(0, 1), (1, 0), (2, 1)}
Probe compatibleTrue
First failed probe positionNone
Unique factor(0, 1), (1, 0)
Exact inputs and supporting calculations
Declared inputs
ParameterValue
f[0,1,0]
g[1,0]
p[0,1]
q[1,0]
Base-value check on the probe
Probe indexPairf(p(x))g(q(x))
0(0, 1)00
1(1, 0)11

Close the exact generated equivalence relation

Two generated classes and a valid factor

Close the generated pairs before testing a factorTwo generated classes and a valid factor; Class numbers follow their least element. Even elements with no direct relation edge may belong to the same class after transitive closure.Close the generated pairs before testing a factor01234Solid arcs are generators; the dashed arc is inferred.ClassElements after closureh values on the class0{0, 1, 2}(4, 4, 4)1{3, 4}(2, 2)h is constant on each class and induces a factor.0∼2 by transitivity (not a generator)
Class numbers follow their least element. Even elements with no direct relation edge may belong to the same class after transitive closure.

A function coequalizes f and g if it identifies each generated pair. This is equivalent to being constant on every generated equivalence class.

Exact coequalizer
QuantityExact result
Generating pairs(0, 1), (1, 2), (3, 4)
Equivalence classes{0, 1, 2} · {3, 4}
Quotient by input(0, 0, 0, 1, 1)
h induces a mapTrue
Induced labels(4, 2)
Exact inputs and supporting calculations
Declared inputs
ParameterValue
n5
f[0,1,3]
g[1,2,4]
h[4,4,4,2,2]

Identify only the points generated by the common source

A common image identifies both B points

Push out by quotienting the tagged disjoint unionA common image identifies both B points; Links indicate only the generator identifications from A. The displayed classes include all tagged elements and their transitive identifications.Push out by quotienting the tagged disjoint unionB0B1C0C1Tagged BTagged C[0] = {B0, B1, C0}[1] = {C1}Canonical B leg injective: False; C leg injective: True.Both B₀ and B₁ land in class 0.
Links indicate only the generator identifications from A. The displayed classes include all tagged elements and their transitive identifications.

Tags prevent unrelated elements from merging before imposing the generated relation. If A is empty there are no required identifications, so the pushout is the tagged disjoint union.

Exact tagged quotient
QuantityExact result
Classes{B0, B1, C0} · {C1}
Canonical B→quotient(0, 0)
Canonical C→quotient(0, 1)
B leg injectiveFalse
C leg injectiveTrue
Exact inputs and supporting calculations
Declared inputs
ParameterValue
p2
q2
f[0,1]
g[0,0]

Find greatest lower and least upper candidates

Meet and join exist in the powerset

Identify universal bounds inside the declared carrierMeet and join exist in the powerset; Green marks the universal candidate when it exists. The upper and lower membership checks quantify only over the selected family.Identify universal bounds inside the declared carrier{}{0}{1}{0, 1}ElementSelectedLower bound?Upper bound?{}FalseTrueFalse{0}TrueFalseFalse{1}TrueFalseFalse{0, 1}FalseFalseTrueCarrier ordered by inclusion; all candidates checked.Greatest lower bound: {}.Least upper bound: {0, 1}.meetSelectedSelectedjoin
Green marks the universal candidate when it exists. The upper and lower membership checks quantify only over the selected family.

An omitted subset is not an available candidate. For the empty family, every object is both an upper and lower bound, so the limit is top and the colimit is bottom if they exist.

Exact poset limit and colimit
QuantityExact result
Lower bounds{}
Upper bounds{0, 1}
Limit (GLB){}
Colimit (LUB){0, 1}
Exact inputs and supporting calculations
Declared inputs
ParameterValue
objects[[],[0],[1],[0,1]]
indices[1,2]

Worked examples

Factor a map into a product of sets

Let X={0,1}, A={a,b}, B={p,q}. Let f(0)=a,f(1)=b and g(0)=g(1)=q. Compute the unique map into A×B and prove that any arrow with the same two legs equals your factorization.

  1. The product contains the four ordered pairs with first coordinate in {a,b} and second in {p,q}. Its two projections return the coordinates with those respective types.
  2. The factorization h is given by h(x)=(f(x),g(x)). Thus h(0)=(a,q) and h(1)=(b,q), both in the product.
  3. Projecting onto the first coordinate sends the two inputs to a and b. Projecting onto the second sends both to q. These agree with f and g respectively, so this is a factorization of the given maps.
  4. For any other arrow with these projections, the two coordinates at 0 and 1 are forced to be those shown. Changing a leg therefore changes the required pair of maps, while keeping both legs forces the same factorization.

The unique map has values 0↦(a,q) and 1↦(b,q). Its two coordinates are fixed by the given legs.

Evaluate a chain-shaped diagram at the right endpoints

In Set take X→Y→Z with X={0,1}, Y={a,b}, Z={z}, f(0)=a,f(1)=b and g constant to z. Give the vertex and all legs of a chosen limit and a chosen colimit.

  1. The indexing category includes the arrow for the composite from the first object to the last. A cone from X is given by the identity at the first position and the forward composites f,g∘f at the next positions.
  2. In those legs, 0 goes to a and 1 goes to b at Y, and both go to z at Z. From any test cone the first leg determines both later legs, so it is its own unique factorization through this limit cone.
  3. For a cocone to Z, the arrows from X and Y have their indicated values z throughout, and the arrow at Z is id_Z. They satisfy the cocone equations along both original arrows and their composite.
  4. From any cocone to another vertex, the last arrow out of Z determines all earlier legs by composition. Because the Z leg above is its identity, that last arrow is the unique factorization out of the chosen colimit.

The limit vertex is X with legs id_X,f,g∘f. The colimit vertex is Z with legs g∘f,g,id_Z.

Compute a linear equalizer

For f(x,y,z)=x+2y and g(x,y,z)=y−z on ℝ³, find the equalizer subset, give a basis, and factor the map t↦(t,−t,0) through its inclusion.

  1. Equating x+2y and y−z yields x+y+z=0. This defines a linear subspace E of ℝ³ and the equalizer arrow is its inclusion.
  2. Let e₁=(1,−1,0) and e₂=(0,1,−1). The equations for their first and third coordinates show they are independent. If x+y+z=0, then x e₁−z e₂=(x,−x−z,z)=(x,y,z).
  3. The map R:ℝ→ℝ³ with R(t)=(t,−t,0) lands in E because its coordinate sum is zero. The factorization into E is t↦t e₁, whose coordinates on (e₁,e₂) are (t,0).
  4. Composing the factor with inclusion gives R at every t. Since inclusion keeps the ambient coordinates, any factorization must have that same value of E at every t, so this is the unique linear map required.

The equalizer is x+y+z=0. A basis is (1,−1,0),(0,1,−1), and the requested factorization has coordinates (t,0).

Compute a pullback by examining its fibers

Let A={a,b,c}, B={u,v,w}, S={0,1}, with f(a)=f(b)=0,f(c)=1 and g(u)=1,g(v)=g(w)=0. List every pair of the pullback, compute its two projections at (b,w), and decide which pairs are excluded by the relation.

  1. The f fiber over 0 is {a,b} and its fiber over 1 is {c}. The g fiber over 0 is {v,w} and its fiber over 1 is {u}. A pullback pair must use one member of each corresponding fiber.
  2. The fiber pairs over 0 are (a,v),(a,w),(b,v),(b,w). Over 1 the only pair is (c,u). Together those five comprise the pullback set.
  3. Its two projections send (b,w) to b in A and w in B. Both composite values in S equal 0, so these projections satisfy the square at this pair.
  4. The excluded pairs are (a,u),(b,u),(c,v),(c,w) because their f and g values disagree. A pair of matching legs would factor by its coordinate pairs through precisely the included part.

The pullback has (a,v),(a,w),(b,v),(b,w),(c,u). At (b,w) the projections give b and w.

Factor two maps through a tagged union

Let A=B={0,1} as sets but use separate labels. Let f:A→ℤ send 0↦2,1↦3, and g:B→ℤ send 0↦5,1↦7. Give the factorization's full values and show why ordinary union fails.

  1. Use tag 0 for A and tag 1 for B. The coproduct consists of the four distinct pairs (0,0),(0,1),(1,0),(1,1), with ordinary labels recovered by removing the associated tag.
  2. The factorization H agrees with f on tag 0, so H(0,0)=2 and H(0,1)=3. It agrees with g on tag 1, so H(1,0)=5 and H(1,1)=7.
  3. The four values satisfy both restriction equations. Each element is reached by one of the two injections, so these values are also forced in any proposed factorization.
  4. The plain union would be {0,1}. A factorization out of that union would need to take 0 both to 2 and 5, because both input copies would have the same element there. This violates the function rule.

The tag values are (0,0)↦2, (0,1)↦3, (1,0)↦5 and (1,1)↦7. Ordinary union would identify inputs that need different outputs.

Compute a coequalizer of overlapping identifications

Let A={1,2}, B={a,b,c,d}, f(1)=a,f(2)=b,g(1)=b,g(2)=c. Find the equivalence classes and factor h:B→{0,1} with h(a)=h(b)=h(c)=0 and h(d)=1.

  1. The prescribed pairs are (a,b) from the first input and (b,c) from the second. They make a,b,c equivalent by transitivity, and there is no generator involving d.
  2. The partition into {a,b,c} and {d} defines an equivalence relation containing both pairs, so no generator forces d to join the first class. The least equivalence relation has exactly these two classes.
  3. The map h is constant at 0 on the first class and at 1 on the other. The function from the quotient taking these values is well defined and its composite with the quotient gives h.
  4. It is unique because both classes have representatives in B, so each of its two values is fixed by h. This matches the coequalizer factorization for the specific h.

The quotient classes are {a,b,c} and {d}. The induced map sends them to 0 and 1 respectively.

Compute a pushout with a noninjective leg

Let S={1,2}, A={a}, B={b,c,d}, with both S elements mapping to a, and g(1)=b,g(2)=c. Find the pushout points and both maps. Decide whether each map is injective.

  1. In the disjoint union, s=1 prescribes the identification a∼b, while s=2 prescribes a∼c. Their equivalence closure puts a,b,c in a single class.
  2. The element d is outside that class because the partition with second block {d} already satisfies both identifications. Therefore the pushout has exactly the classes [a,b,c] and [d].
  3. The map from A sends a to [a,b,c]. The map from B sends both b and c to [a,b,c] and d to [d]. These two legs have agreed compositions from S by construction.
  4. A has one element, so its function is injective. B has distinct b,c with the same value, so its function is not injective. Both satisfy the required universal cocone property regardless of this difference.

The pushout has [a,b,c] and [d]. The map from A is injective and the map from B identifies b and c.

Compute a signed linear pushout

Take U=V=W=ℝ and f(t)=2t,g(t)=3t. Describe the quotient of ℝ², exhibit a linear function to ℝ inducing an isomorphism of the quotient, and compute both induced maps into ℝ.

  1. The image of the signed map from U is the line spanned by (2,−3), so use the quotient Q of ℝ² by that line. The original legs map v to [(v,0)] and w to [(0,w)].
  2. Define ℓ(x,y)=3x+2y. It vanishes on the generating vector because 3·2+2·(−3)=0. If ℓ(x,y)=0, then y=−3x/2 and (x,y)=(x/2)(2,−3), so that line is exactly its kernel.
  3. The map ℓ is onto because for any t the vector (t/3,0) has value t. Its descended map on Q is therefore onto, and its exact kernel gives injectivity there. Thus it is a linear isomorphism.
  4. Under that identification the first coprojection becomes v↦3v and the second becomes w↦2w. On f(t)=2t and g(t)=3t they both give 6t, checking the span commutativity.

The quotient is ℝ²/span{(2,−3)}. The function (x,y)↦3x+2y identifies it with ℝ and gives legs v↦3v and w↦2w.

Compute poset universal bounds in divisibility

In the category of positive integers ordered by divisibility, use the discrete diagram with values 6 and 10. Determine the limit and colimit and check the universal arrows for one further divisor and one further common multiple.

  1. A lower bound of 6 and 10 is a positive integer dividing both. Each such divisor divides 2·6−10=2, and 2 divides both 6 and 10. This makes 2 their greatest lower bound in the divisibility order.
  2. An upper bound is a common multiple. Each is divisible by 2,3 and 5, and hence by 30 because these primes are distinct. Since 30 is a multiple of both 6 and 10, it is their least upper bound.
  3. The limiting legs go from 2 to 6 and 10. The further common divisor 1 has an arrow 1→2, and then the two routes to 6 and 10 are the unique corresponding divisibility arrows.
  4. The colimiting legs go from 6 and 10 to 30. The further common multiple 60 receives the arrow 30→60, and likewise the compositions give the specified arrows from 6 and 10 to 60.

The limit is 2 and the colimit is 30. For example, the lower bound 1 maps to 2 and 30 maps to the upper bound 60.

Read an inverse limit from binary prefixes

For A={0,1}, truncate prefixes of lengths 0,1,2,3. Test the family (), (1), (1,0), (1,0,1), and contrast with changing its last prefix to (0,0,1). Explain the choices for a compatible next bit.

  1. The empty tuple is the unique zero-length restriction of every finite tuple. The length-one prefix (1) is the first coordinate of (1,0), so the first adjacent truncations agree.
  2. Truncating (1,0,1) to length two gives (1,0), so the last adjacent test also succeeds. Every longer truncation is a composite of adjacent ones, which then supplies all the corresponding compatibility equations.
  3. Replacing the length-three tuple by (0,0,1) changes its truncation to (0,0), different from the prescribed (1,0). Hence the altered family is incompatible.
  4. To extend the original length-three tuple, append 0 or 1. Both extensions truncate to (1,0,1) and consequently to all previous entries. Any compatible next prefix retains the first three coordinates and differs only in that bit.

The first family is compatible. The altered length-three prefix fails the length-two test. Either new bit can extend the original family.

Compute an eventual identification in a chain

For X₀={a,b}, X₁={u,v}, X₂={w} with a↦u,b↦v followed by u,v↦w, and X_n={w} with identity maps for n≥2, compute the colimit and show when the two initial classes first agree.

  1. At stage zero, a and b are distinct. Their images u and v at stage one are still distinct. The stage-two function sends both u and v to w, so the images first coincide there.
  2. The colimit equivalence uses some common later stage, so the tags (0,a) and (0,b) belong to one class. The two tags at stage one also become that class because their images at stage two are w.
  3. Each later tag consists of the single element w at its index. Those tags have equal images at any shared later index, so they are equivalent to one another and to the class already found.
  4. Every member of the tagged union falls into this class, producing a singleton colimit. The maps from all stages send every input to that point, consistent with the stated eventual equalities.

There is one class in the colimit. The two initial classes first agree in their images at stage 2.

Check a comparison for the vector-space coproduct in Set

Use k=ℝ and the coproduct ℝ⊕ℝ. Write the canonical map from the disjoint union of the underlying copies of ℝ to the underlying product. Find one missing point and two distinct inputs with equal image.

  1. The Set coproduct of the two underlying real lines is the tagged union. Its comparison into the underlying ℝ⊕ℝ is forced on the tag-0 input x as (x,0) and on the tag-1 input y as (0,y).
  2. The point (1,1) lies in ℝ² and neither coordinate is zero. It is on neither axis, so it is not in the image of the comparison.
  3. The tag-0 input (0,0) and the tag-1 input (1,0), with the first position read as the tag, are distinct inputs of the disjoint union. Both zero values map to the origin of the plane.
  4. This comparison is thus neither injective nor surjective. It cannot be a Set isomorphism, which shows that the vector-space coproduct legs do not form a Set coproduct after forgetting.

The comparison maps the two tagged copies to their axes. It misses (1,1) and maps both distinct tagged zeros to (0,0).

Try it yourself

  1. Given D(i)→D(j)→D(k) and a leg to D(i), find the forced legs to D(j),D(k) and verify the composite condition. State the hypotheses needed for the computed family to be a cone on the three-object chain.

    Show the answer and reasoning

    Starting with h:X→D(i), the later legs are D(i→j)∘h and D(j→k)∘D(i→j)∘h.

    Let the chain arrows be u:i→j and v:j→k. If p_i=h, the cone equation at u forces p_j=D(u)∘h, which has source X and target D(j). The equation at v then forces p_k=D(v)∘p_j=D(v)∘D(u)∘h. Each factor is composable because p_j has codomain D(j). The equation at the composite v∘u requires p_k=D(v∘u)∘h. This agrees with the computed value by the composition law for D. If the shape is precisely the three-object chain category, its other arrows are the identities, which impose only tautological equations. The given h and the functor laws then suffice for the resulting full cone.

  2. Given limiting cones p and q for the same diagram, derive the component equations for their comparison arrows and use uniqueness to check both inverse equations.

    Show the answer and reasoning

    The canonical comparisons a:L→M and b:M→L satisfy b∘a=id_L and a∘b=id_M.

    For any index i, let p_i:L→D(i) and q_i:M→D(i) be the given limiting legs. Terminality of q gives a with q_i∘a=p_i. Terminality of p gives b with p_i∘b=q_i. Compute p_i∘b∘a=q_i∘a=p_i. Therefore b∘a is a map from L to itself preserving all p legs. The identity on L has those same compositions. Applying the limit property of p to the cone p itself gives b∘a=id_L. Likewise q_i∘a∘b=p_i∘b=q_i for each i. By the limit property of q this proves a∘b=id_M. The inverse equations follow from the particular preserved legs.

  3. For the empty shape, prove the universal cone has singleton vertex and the universal cocone has empty vertex, with the precise arrow directions.

    Show the answer and reasoning

    The empty limit is a singleton with one incoming map for every set. The empty colimit is ∅ with one outgoing map into every set.

    The diagram with no positions has no arrows or prescribed leg types. Every set X gives its sole empty cone, and every function X→Y is compatible between those cones. A singleton has exactly one function from each set X, with every possible input sent to its sole element. This is true also for X empty. It is therefore terminal among the empty cones. Every set also gives the sole empty cocone with no restrictions on a function between cocone vertices. For each X the empty set has one function into X, with the empty graph. The empty set is initial among those cocones and gives the colimit. The two universal conditions thus quantify maps in opposite directions, and the different vertices meet their respective conditions.

  4. In the diagram 0→1 in Set, take X={0,1}, Y={*}, f constant. Determine the limiting and colimiting legs, using uniqueness of each factorization.

    Show the answer and reasoning

    The limit is X with id_X and f as legs. The colimit is Y with f and id_Y as legs.

    A cone from T to the arrow-shaped diagram has legs a:T→X and b:T→Y obeying b=f∘a. The cone at X using id_X and f is compatible by that same equation. For an arbitrary cone a,b, the unique map into X extending it is a, because the leg id_X forces its value. Once chosen, the second leg gives f∘a=b. A cocone to T has maps c:X→T and d:Y→T obeying c=d∘f. The cocone at Y with f and id_Y solves that equation, and its map into T is forced to be d. Here f sends both input values to *, so these factorizations include the required concrete arrow values. The initial index 0 provides the limit vertex and the terminal index 1 supplies the colimit vertex.

  5. If u,v:T→A×B satisfy pr_A∘u=pr_A∘v and pr_B∘u=pr_B∘v, prove equality. Give a test for T empty and a test when one factor is empty.

    Show the answer and reasoning

    The pair of projections forces u=v, including all cases in which the maps actually exist with empty sets.

    For any t∈T, the first coordinates of u(t) and v(t) agree by the first given projection equality. Their second coordinates agree by the other projection equality. Equality of both coordinates implies equality of ordered pairs. Thus u(t)=v(t) for every t and u=v as functions. Equivalently, they are two factorizations of the same legs into a product. If T is empty, the functions are equal because both have the empty graph. This matches the same pointwise test, which has no t to check. If either A or B is empty, their product is empty. For u and v to exist the domain T must be empty, reducing to that same uniqueness case. The property does not assume nonempty factors.

  6. Take f,g:{x}→{0,1} with f(x)=0,g(x)=1. Describe the equalizer and prove the allowed cone vertex maps have empty domain.

    Show the answer and reasoning

    The equalizer subset is empty and any equalizing h:T→{x} has empty domain T.

    At the sole input x, f(x)=0 and g(x)=1. These outputs are distinct, so the subset of the domain on which their values agree has no members. The equalizer arrow is the inclusion ∅→{x}. Both composites starting in ∅ are empty-domain maps into {0,1}, so they agree. If T is nonempty and h:T→{x}, then the image of each t is x. Consequently the two composite values at any t are 0 and 1 and cannot agree. Hence a permitted h has T empty, and there is exactly one map from it to ∅. The composite of that map with the inclusion is h, proving the required universal factorization.

  7. For the parallel-arrow diagram A⇉B, show a cone is determined by h:X→A with f∘h=g∘h. Type the additional leg to B and compare the limit with the equalizer object.

    Show the answer and reasoning

    The cone data are h:X→A and the forced leg f∘h=g∘h to B. An equalizer provides the limiting cone.

    For a cone from X on the diagram with two arrows f,g:A→B, write h:X→A and b:X→B. Compatibility at f says f∘h=b, and at g it says g∘h=b. Such a b exists precisely when f∘h=g∘h. When it exists, it is forced to be their common composite, a map from X to B. Take an equalizer e:E→A and equip E with legs e and f∘e. Its equalizer equation makes it a cone on both arrows, in the stated type order. Every allowed h factors uniquely through e. Composing further with f sends that factorization to b, so its B leg agrees automatically. This proves the terminal cone property from the equalizer property.

  8. For f:A→S and id_S:S→S, show the set of fiber pairs is in bijection with A by projection, and check the canonical inverse and the two legs.

    Show the answer and reasoning

    The bijection projects (a,f(a)) to a and its inverse sends a to (a,f(a)). The other leg is f under this identification.

    The pullback subset of A×S contains exactly the pairs (a,s) for which f(a)=id_S(s)=s. Such a pair has its second coordinate forced by the first. Define h:A→P by h(a)=(a,f(a)), which belongs to P. The first projection p:P→A sends h(a) to a, so p∘h=id_A. For any (a,s)∈P, applying p then h gives (a,f(a))=(a,s). Thus h∘p=id_P and the functions are inverse, including the empty case. The other projection to S has value f(a) on h(a). The two legs of the pullback are thus identified with id_A and f, which have the same composite to S.

  9. For A,B⊆S, identify their pullback as A∩B using explicit maps and prove it also has the pullback property if the intersection is empty.

    Show the answer and reasoning

    The pullback is canonically A∩B with the inclusions into both subsets.

    View A and B as subsets of S, and use their inclusions f:A→S and g:B→S. A fiber pair (a,b) satisfies equality of these elements in S, hence a=b∈A∩B. Send x∈A∩B to (x,x), and send any fiber pair to its common value. Both functions are well defined and compose to identities on their respective sets. The projections correspond to the two inclusions of the intersection. For two compatible maps u:T→A and v:T→B, at each t their values agree in S and lie in the intersection, defining the unique factorization by that common value. If the intersection is empty, the existence of a t with two compatible values would contradict emptiness. Any allowed test maps then have T empty, and the unique empty map verifies the same universal property.

  10. In Vec_k take a countable collection of copies of k. Show the constant-one sequence belongs to their product and has no preimage under the canonical injection from the direct sum.

    Show the answer and reasoning

    The constant-one sequence lies in the product and is outside the image of the direct sum because its support is infinite.

    An element of the product chooses any scalar from k at each index. In particular t=(1,1,…) is a product element, since 1 lies in every copy of k. An element s of the direct sum has only finitely many coordinates with nonzero values. The canonical map into the product leaves each coordinate unchanged. If some direct-sum element mapped to t, all its coordinates would have to be 1. In a field 1≠0, so its support would be the entire infinite index set, a contradiction. The canonical map is injective since a tuple is determined by all its coordinates, but the element t proves it is not surjective. The difference is precisely the allowed support of the two kinds of tuples.

  11. For the pairs (0,1) and (1,2) on {0,1,2,3}, list the quotient classes and give a map to {a,b} that descends and is nonconstant.

    Show the answer and reasoning

    The two classes are {0,1,2} and {3}. The function sending their points to a and b respectively descends and is nonconstant.

    The generated relation contains 0∼1 and 1∼2. Because it is required to be transitive, it also contains 0∼2, connecting those three elements. The partition with blocks {0,1,2} and {3} gives an equivalence relation containing all generators. It belongs to the family whose intersection defines the least relation, so 3 is not forced into the first block. Define h(0)=h(1)=h(2)=a and h(3)=b, with a≠b. It is constant on each required class. Therefore the quotient function assigning those class values is well defined. Each class has representatives, so this quotient function is the unique one whose composite equals h. Its two distinct outputs show that the generated quotient need not collapse the fourth element.

  12. For f:ℝ→ℝ², f(t)=(t,2t), find a map ℝ²→ℝ exhibiting coker f. Prove its kernel is the image of f and explicitly factor any linear map vanishing on that image.

    Show the answer and reasoning

    The cokernel arrow is q(x,y)=y−2x. It is epic, and a map h vanishing on im f factors by t↦h(0,t).

    The image of f is the line {(t,2t):t∈ℝ}. For q(x,y)=y−2x, the equation q(x,y)=0 is equivalent to y=2x, so the kernel of q is exactly this image. The map q is linear and onto, since q(0,t)=t. If two maps from its target have equal composites with q, evaluate them at every t using preimage (0,t). Their values agree everywhere, proving epicity. If h:ℝ²→V is linear and vanishes on im f, decompose (x,y) as (x,2x)+(0,y−2x). Then h(x,y)=h(0,y−2x). This gives the proposed linear factor t↦h(0,t). Its composite with q is h, and uniqueness follows because q is onto. Thus q has exactly the universal cokernel property for the given f and expresses the stated quotient as a one-dimensional space.

  13. Use A={a,α}, B={b,β}, S={s} with s↦a and s↦b. Map A,B into {0,1} by sending a,b to 0 and α,β to 1. Find the pushout and the unique function out of it.

    Show the answer and reasoning

    The pushout has classes [a,b], [α] and [β], with induced values 0, 1 and 1 respectively.

    In the tagged union, there is just one generator identifying the a-tagged point with the b-tagged point, because S contains one element s. The partition into [a,b], [α] and [β] already obeys that relation, so the equivalence closure identifies no other pairs. These are the pushout points. The test maps agree on S because the assigned values of a and b are both zero. Assign 0 to the common class and assign 1 to each singleton class for α and β. The function gives the specified two original maps under the two structural arrows. Its values on all three classes are forced by those restrictions, because each class has a representative in A or B. This verifies uniqueness.

  14. Use the poset of subsets of {1,2,3} ordered by inclusion with values {1,2},{2,3},{1,3}. Determine the limit and colimit of the discrete shape and verify the comparison directions.

    Show the answer and reasoning

    The limit is ∅ and the colimit is {1,2,3}, with comparison arrows given by the inclusion order.

    A lower bound is a subset contained in each of {1,2},{2,3},{1,3}. Their common intersection is empty, because no element 1,2 or 3 occurs in all three. The empty set is a lower bound with arrows into the three specified subsets. Any other lower bound must be contained in this empty intersection, so the unique comparison into the limit follows the inclusion order. An upper bound must contain the union of the three sets, namely {1,2,3}. That union is an upper bound, and is the least one under inclusion. The arrows for the colimit run from each displayed subset into the union, and the comparison from the union to any upper bound is its inclusion. Neither the meet nor the join needs to coincide with any input.

  15. For X_n={0,…,n} with inclusion maps and h_n:X_n→ℕ₀ given by h_n(k)=2k, find the unique map out of the colimit and prove compatibility and uniqueness.

    Show the answer and reasoning

    The colimit is ℕ₀. The compatible map into ℕ₀ sends each k to 2k and is uniquely determined there.

    The sets X_n increase under inclusion and are subsets of ℕ₀={0,1,2,…}. Their union is ℕ₀, since the element k first appears in X_k and remains in all later stages. For n≤m and k∈X_n, h_m(k)=2k=h_n(k), so the inclusion compatibility holds. Define h:ℕ₀→ℕ₀ by h(k)=2k. The restriction of h to each X_n is exactly the prescribed map, so it provides the desired factorization out of the directed union. Any alternative factorization must have the same value on each k by restricting to X_k, where k occurs. Thus every output value is uniquely determined by the given family.

  16. Given each consistent prefix b_n of length n, define the ith element from b_i and prove each prefix is recovered using truncation. Check the empty prefix.

    Show the answer and reasoning

    Recover entry i as the ith coordinate of b_i. The sequence has exactly the given finite prefixes and is unique.

    Let b_n have precisely n entries for every n≥0, and assume every restriction from longer prefixes gives the prescribed shorter one. Define a_i to be entry i of b_i for i≥1. For n≥i, the length-i truncation of b_n equals b_i. It keeps coordinate i, so the ith entry of b_n is a_i. This shows b_n agrees with the prefix of the sequence on every position it has. For n=0 the prescribed prefix is the sole empty tuple, which is also the prefix of length zero of the reconstructed sequence. No separate value of a_i is needed there. Any other sequence with those prefixes must have each ith coordinate equal to the ith entry of b_i. Hence the sequence recovered from the compatible prefixes is unique.

  17. Given transformations D⇒E⇒F with specified limiting vertices, derive the successive comparison maps, check the composite on every leg and use uniqueness. Give the identity case.

    Show the answer and reasoning

    The successive limit maps compose to the map for the composite transformation. The identity transformation induces the actual identity.

    Let p_i,q_i,r_i be the legs of limits of D,E,F, respectively. For α:D⇒E the induced map a satisfies q_i∘a=α_i∘p_i, and for β:E⇒F the induced map b satisfies r_i∘b=β_i∘q_i. Then r_i∘b∘a=β_i∘q_i∘a=β_i∘α_i∘p_i. These are precisely the required leg equations for the comparison into the limit of F corresponding to β∘α. That limiting cone makes the comparison unique. Thus the map for β∘α is b∘a, with the source the limiting vertex of D and target the limiting vertex of F. For α=id_D using the same chosen limit, the required composites at all indices are its own p_i. The identity at its vertex has those composites and is the unique map satisfying them.

  18. With k=ℝ, give two different functions from the underlying ℝ⊕ℝ to {0,1} that agree when restricted to both axes, and use this to disprove the Set coproduct property.

    Show the answer and reasoning

    The zero function and the function equal to 1 only at (1,1) agree on both axes. They violate uniqueness for the underlying Set cocone.

    In Vec_ℝ the two coproduct legs send a to (a,0) and b to (0,b). After applying the forgetful functor they are functions from the underlying copies of ℝ into ℝ² with the same ranges. Define u:ℝ²→{0,1} to be constant zero and v to be 1 at (1,1) and zero at all other pairs. These are well-defined functions of sets. Neither axis contains (1,1), so both u and v restrict to zero on both original legs. They are distinct because their values at (1,1) differ. The pair of zero functions on both underlying real lines would have to factor uniquely through a Set coproduct. The two different functions give that same factorization data, so the given vector-space cocone after forgetting fails the Set property.

What to carry forward

  • The compatibility of each cone or cocone leg depends on its exact direction.
  • A limit is terminal among cones. A colimit is initial among cocones.
  • Universal comparison maps are unique when they preserve the specified legs.
  • A pullback records compatible pairs. A pushout imposes the identifications required by its span.
  • An arrow out of a coproduct is fixed by its restrictions to the injections.
  • Limits of set diagrams use compatible coordinates. Colimits use representatives and compatible identifications.
  • Choose pointwise limits in the target before constructing the corresponding limit functor.
  • Preservation is tested by the canonical comparison for the actual universal cone or cocone.

References

Sources for the concepts and teaching approaches in this article.

  1. Legs of cones and coconesEmily RiehlPrimary · PDFemilyriehl.github.ioRead source
  2. A linear equalizer as a kernelTom LeinsterPrimaryarxiv.orgRead source
  3. The Stacks Project Authors3 sources
    1. Limits and colimits of diagrams in SetThe Stacks Project AuthorsPrimarystacks.math.columbia.eduRead source
    2. Eventual agreement in a filtered colimitThe Stacks Project AuthorsPrimarystacks.math.columbia.eduRead source
    3. Directed systems and inverse systemsThe Stacks Project AuthorsPrimarystacks.math.columbia.eduRead source
  4. Products and finite-support linear sumsLior SilbermanPrimary · PDFpersonal.math.ubc.caRead source