Let C\mathcal{C} be a and let JJ be an indexing category. A diagram of shape JJ in C\mathcal{C} is a

D:J→C.D:J\to \mathcal{C}.

A cone to DD consists of an object LL of C\mathcal{C} together with morphisms

λj:L→D(j)(j∈Ob(J))\lambda_j: L \to D(j)\quad (j\in \mathrm{Ob}(J))

such that for every morphism α:j→k\alpha:j\to k in JJ,

D(α)∘λj=λkD(\alpha)\circ \lambda_j = \lambda_k

(using ).

A limit of DD is a cone (L,λj)(L,\lambda_j) such that for every other cone (N,νj)(N,\nu_j) to DD, there exists a unique morphism m:N→Lm:N\to L with

λj∘m=νjfor all j.\lambda_j\circ m = \nu_j\quad\text{for all }j.

One writes L=lim←⁡DL = \varprojlim D (or lim⁡D\lim D). If a limit exists, it is unique up to unique .

Relationship to other constructions
  • The dual notion is the .
  • Many familiar constructions are special limits (see examples below).
Examples

Example (Categorical product)

If JJ is the discrete category on two objects and DD picks out objects XX and YY, then lim⁡D\lim D is the X×YX\times Y.

In Set\mathbf{Set}, this recovers the usual of sets.

Example (Equalizer)

If JJ is the “parallel pair” shape A⇉BA \rightrightarrows B, then lim⁡D\lim D is the of the two morphisms.

In Set\mathbf{Set}, for functions f,g:A→Bf,g:A\to B, the equalizer is the subset {a∈A∣f(a)=g(a)}\{a\in A\mid f(a)=g(a)\}.

Example (Pullback)

If JJ is the cospan shape X→Z←YX\to Z \leftarrow Y, then lim⁡D\lim D is the X×ZYX\times_Z Y.

In Set\mathbf{Set}, this is the fiber product {(x,y)∈X×Y∣f(x)=g(y)}\{(x,y)\in X\times Y \mid f(x)=g(y)\}.