Here I’ll try to reorganize the entry limit according to the structure discussed in the forum entry “objects” and tools to compute them. As this page will be complete I’ll move it into the Lab. Editing of this page is strongly encouraged :)
In category theory a limit of a diagram in a category is an object of equipped with morphisms to the objects for all , such that everything in sight commutes. Moreover, the limit is the universal object with this property, i.e. the “most optimized solution” to the problem of finding such an object.
One can think of the category of cones over as the collection of all displacements of arrows stemming from a fixed “source” (the base of the cone) suitably linked by morphisms.
This in turn can be regarded as a functor from the diagram to ‘extending’ (see the page over quasi-category); now the universal property makes a terminal object in the category of these functors.
In the -categorical setting, this suggests to define limits again in terms of terminal objects, but using the joins of quasi-categories instead of the join of categories?.
For and two quasi-categories and a morphism of quasi-categories (i.e. nothing more than a map of simplicial sets?. Then the limit of is, if it exists, the quasi-categorical terminal object in the over quasi-category :
where . (This is HTT Definition 1.2.13.4)
As an object of the limit of can be regarded as a 0-simplex in the simplicial set : see HTT Notation 1.2.8.4 and the join of quasi-categories? page.
Fosco: this generalization is not at all evident, since the definition of weighted limit seems to conflict (see the page weighted join) with the classical one.
There is an evident generalization to weighted limit?s: replace in the above the join with the weighted join where is any functor – then called the weight. The -weighted limit of , , also written , is, if it exists, the quasicategorical terminal oject in .
Below this line is the entry limit as it was on the nLab on January 4, 2010.
In category theory? a limit of a diagram? in a category? is an object? of equipped with morphisms to the objects for all , such that everything in sight commutes. Moreover, the limit is the universal object with this property, i.e. the “most optimized solution” to the problem of finding such an object.
The limit construction has a wealth of applications throughout category theory and mathematics in general. In practice, it is possibly best thought of in the context of representable functor?s as a classifying space for maps into a diagram. So in some sense the limit object “subsumes” the entire diagram into a single object, as far as morphisms into it are concerned. The corresponding universal object for morphisms out of the diagram is the colimit?.
Often, the general theory of limits (but not colimits!) works better if the source of is taken to be the opposite category? (or equivalently, if is taken to be a contravariant functor?). This is what we do below. In any given situation, of course, you use whatever categories and functors you're interested in.
In some cases the category-theoretic notion of limit does reproduce notions of limit as known from analysis. See the examples below.
In correspondence to the local defintion of adjoint functor?s (as discussed there), there is a local definition of limits (in terms of cones), that defines a limit (if it exists) for each individual diagram, and there is a global definition, which defines the limit for all diagrams (in terms of an adjoint?).
If all limits over the given shape of diagrams exist in a category, then both definitions are equivalent.
See also the analogous discussion at homotopy limit?.
A limit is taken over a functor? and since the functor comes equipped with the information about what its domain is, one can just write for its limit. But often it is helpful to indicate how the functor is evaluated on objects, in which case the limit is written ; this is used particularly when is given by a formula (as with other notation with bound variables.)
In some schools of mathematics, limits are called projective limits, while colimits are called inductive limits. Also seen are (repsectively) inverse limits and direct limits. Both these systems of terminology are alternatives to using ‘co-’ when distinguishing limits and colimits. The first system also appears in pro-object? and ind-object?.
Correspondingly, the symbols and are used instead of and . (Actually, the arrows should be directly underneath the ‘’s, something like and . But the text should also be at normal size.)
Confusingly, many authors restrict the meanings of these alternative terms to (co)limits whose sources are directed set?s; see directed limit?. In fact, this is the original meaning; projective and inductive limits in this sense were studied in algebra before the general category-theoretic notion of (co)limit.
There is a general abstract definition of limits in terms of representable functors, which we describe now. This reproduces the more concrete and maybe more familiar description in terms of universal cones, which is described further below.
Let in the following be a small category? and Set? the category of sets (possibly realized as the category of -small sets with respect to a given Grothendieck universe?.)
The limit of a Set-valued functor is the hom-set?
in the functor category? (the presheaf? category), where
is the functor constant on the point?, i.e. the terminal? diagram.
The set is equivalently called
the set of global sections of ;
the set of generalized element?s of .
The set can be equivalently expressed as an equalizer? of a product?, explicitly:
In particular, the limit of a set-valued functor always exists.
Notice the important triviality that the covariant hom-functor? comutes with set-valued limits: for every set we have a bijection of sets
where .
The above formula generalizes straightforwardly to
a notion of limit for functors for an arbitrary category if we take the object “” to be a presheaf? on . The true is then, if it exists, the object of representing? this presheaf.
More precisely, using the the Yoneda embedding? define for the presheaf? by the analog of the above formula
for all .
Here the on the right is again that of Set?-valued functors defined before.
By the above this can also be written as
or, suppressing the subscripts for readability:
So also the presheaf?-valued limit always exist. If this presheaf is representble? by an object of , then this is the limit of :
In the above formulation, there is an evident generalization to weighted limit?s:
replace in the above the constant terminal functor with any functor – then called the weight –, then the -weighted limit of
often written
is, if it exists, the object representing the presheaf
i.e. such that
naturally in .
The very definition of limit as above asserts that the covariant hom-functor? commutes with forming limits. Indeed, the definition is equivalent to saying that the hom-functor? is a continuous functor?.
Unwrapping the above abstract definition of limits yields the following more hands-on description in terms of universal cones.
Let be a functor.
Notice that for every object an element
is to be identified with a collection of morphisms
for all , such that all triangles
commute. Such a collection of morphisms is called a cone over , for the obvious reason.
If the limit of exist, then it singles out a special cone given by the composite morphism
where the first morphism picks the identity morphism? on and the second one is the defining bijection of a limit as above.
This cone
is called the universal cone over , because, again by the defining proprty of limit as above, everey other cone as above is bijectively related to a morphism
By inspection one finds that, indeed, the morphism is the morphism which exhibits the factorization of the cone through the universal limit cone
An illustrative example is the following: a limit of the identity functor? is, if it exists, an initial object? of .
Given categories and , limits over functors may exist for some functors, but not for all. If it does exist for all functors, then the above local definition of limits is equivalent to the following global definition.
For a small category? and any category, the functor category? is the category of -diagram?s in . Pullback along the functor to the terminal? category induces a functor
which sends every object of to the diagram functor constant on this object.
The left adjoint?
of this functor is, if it exists, the functor which sends every diagram to its colimit? and the right adjoint? is, if it exists, the functor
which sends every diagram to its limit. The Hom-isomorphisms of these adjunction?s state precisely the universal property of limit and colimit? given above.
Concretely this means that for all we have a bijection
Compare this with the discussion at Kan extension?.
From this perspective, a limit is a special case of a Kan extension?, as described there, namely a Kan extension to the point?.
The definition of a limit as a terminal cone has a straightforward generalization to the context of (infinity,1)-categories?.
For and two quasi-categories? and a morphism of quasi-categories?, the limit over is, if it exists, the quasi-categorical terminal object? in the over quasi-categories :
For more details see limit in quasi-categories?.
Here are some important examples of limits, classified by the shape of the diagram:
For any functor and the functor constant on the point?, the limit of is the hom-set?
in the functor category?, i.e. the set of natural transformation?s from the constant functor into .
For a locally small? category, for a functor and writing , we have
Depending on how one introduces limits this holds by definition or is an easy consequence.
Let be a small category and let be any category. Let be a category which admits limits of shape . Write for the functor category?. Then * admits -shaped limits; * these limits are computed objectwise (“pointwise”) in : for a functor we have for all that . Here the limit on the right is in .
Let and be small catgeories and let be a category which admits limits of shape as well as limits of shape . Then these limits commute with each other, in that
for a functor , with corresponding induced functors and , then
Let be a functor that is right adjoint? to some functor . Let be a small category such that admits limits of shape . Then commutes with -shaped limits in in that
for some diagram, we have
Using the adjunction isomorphism and the above fact that Hom commutes with limits, one obtains for every
Since this holds naturally for every , the Yoneda lemma, corollary II? on uniquenes of representing objects implies that .
The limit of is, if it exists, a subobject of the product of the , namely the equalizer of
and
In particular therefore, a category has all limits already if it has all products and equalizers.
See limits and colimits by example? for what this formula says for instance for the special case Set?.
In general limits do not commute with colimits. But under a number of special conditions of interest they do. More on that at commutativity of limits and colimits?.