# Pullback (category theory)

In category theory, a branch of mathematics, a **pullback** (also called a **fiber product**, **fibre product**, **fibered product** or **Cartesian square**) is the limit of a diagram consisting of two morphisms *f* : *X* → *Z* and *g* : *Y* → *Z* with a common codomain; it is the limit of the cospan *X*→ *Z* ← *Y*. The pullback is often written

*P*=*X*×_{Z}*Y*.

The categorical dual of a pullback is a called a *pushout*. Remarks opposite to the above apply: the pushout is a coproduct with additional structure.

## Universal property

Explicitly, the pullback of the morphisms Template:Mvar and Template:Mvar consists of an object Template:Mvar and two morphisms *p*_{1} : *P* → *X* and *p*_{2} : *P* → *Y* for which the diagram

commutes. Moreover, the pullback (*P*, *p*_{1}, *p*_{2}) must be universal with respect to this diagram. That is, for any other such triple (*Q*, *q*_{1}, *q*_{2}) for which the following diagram commutes, there must exist a unique *u* : *Q* → *P* (called a mediating morphism) such that

As with all universal constructions, the pullback, if it exists, is unique up to isomorphism. In fact, given two pullbacks (*A*, *a*_{1}, *a*_{2}) and (*B*, *b*_{1}, *b*_{2}) of the same cospan, there is a unique isomorphism between Template:Mvar and Template:Mvar respecting the pullback structure.

## Weak pullbacks

A **weak pullback** of a cospan *X* → *Z* ← *Y* is a cone over the cospan that is only weakly universal, that is, the mediating morphism *u* : *Q* → *P* above is not required to be unique.

## Pullback and product

The pullback is similar to the product, but not the same. One may obtain the product by "forgetting" that the morphisms Template:Mvar and Template:Mvar exist, and forgetting that the object Template:Mvar exists. One is then left with a discrete category containing only the two objects Template:Mvar and Template:Mvar, and no arrows between them. This discrete category may be used as the index set to construct the ordinary binary product. Thus, the pullback can be thought of as the ordinary (Cartesian) product, but with additional structure. Instead of "forgetting" Template:Mvar, Template:Mvar, and Template:Mvar, one can also "trivialize" them by specializing Template:Mvar to be the terminal object (assuming it exists). Template:Mvar and Template:Mvar are then uniquely determined and thus carry no information, and the pullback of this cospan can be seen to be the product of Template:Mvar and Template:Mvar.

## Examples

### Commutative rings

In the category of commutative rings (with identity), denoted **CRing**, the pullback is called the fibered product. Let

*A*,*B*,*C*∈ Ob(**CRing**),*α*:*A*→*C*∈ Hom(**CRing**),*β*:*B*→*C*∈ Hom(**CRing**).

So Template:Mvar, Template:Mvar, and Template:Mvar are commutative rings with identity and Template:Mvar and Template:Mvar are ring homomorphisms. Then the pullback of these objects and morphisms is defined to be the subset of the Cartesian product *A* × *B* defined by

along with the morphisms

such that

### Sets

In the category of sets, a pullback of Template:Mvar and Template:Mvar is given by the set

together with the restrictions of the projection maps *π*_{1} and *π*_{2} to *X* ×_{Z} *Y*.

Alternatively one may view the pullback in **Set** asymmetrically:

where is the *disjoint* (tagged) union of sets (the involved sets are not disjoint on their own unless Template:Mvar resp. Template:Mvar is injective). In the first case, the projection *π*_{1} extracts the Template:Mvar index while *π*_{2} forgets the index, leaving elements of Template:Mvar.

This example motivates another way of characterizing the pullback: as the equalizer of the morphisms *f* ∘ *p*_{1}, *g* ∘ *p*_{2} : *X* × *Y* → *Z* where *X* × *Y* is the binary product of Template:Mvar and Template:Mvar and *p*_{1} and *p*_{2} are the natural projections. This shows that pullbacks exist in any category with binary products and equalizers. In fact, by the existence theorem for limits, all finite limits exist in a category with a terminal object, binary products and equalizers.

### Fiber Bundles

Another example of a pullback comes from the theory of fiber bundles: given a bundle map *π* : *E* → *B* and a continuous map *f* : *X* → *B*, the pullback *X* ×_{B} *E* is a fiber bundle over Template:Mvar called the pullback bundle. The associated commutative diagram is a morphism of fiber bundles.

### Categories with a terminal object

In any category with a terminal object Template:Mvar, the pullback *X* ×_{T} *Y* is just the ordinary product *X* × *Y*.^{[1]}

### Preimages

Preimages of sets under functions can be described as pullbacks as follows:

Suppose *f* : *A* → *B*, *B*_{0} ⊆ *B*. Let Template:Mvar be the inclusion map *B*_{0} ↪ *B*. Then a pullback of Template:Mvar and Template:Mvar (in **Set**) is given by the preimage *f*^{−1}[*B*_{0}] together with the inclusion of the preimage in Template:Mvar

*f*^{−1}[*B*_{0}] ↪*A*

and the restriction of Template:Mvar to *f*^{−1}[*B*_{0}]

*f*^{-1}[*B*_{0}] →*B*_{0}.

## Properties

- Whenever
*X*×_{Z}*Y*exists, then so does*Y*×_{Z}*X*and there is an isomorphism*X*×_{Z}*Y*≅*Y*×_{Z}*X*. - Monomorphisms are stable under pullback: if the arrow Template:Mvar above is monic, then so is the arrow
*p*_{2}. For example, in the category of sets, if Template:Mvar is a subset of Template:Mvar, then, for any*g*:*Y*→*Z*, the pullback*X*×_{Z}*Y*is the inverse image of Template:Mvar under Template:Mvar. - Isomorphisms are also stable, and hence, for example,
*X*×_{X}*Y*≅*Y*for any map*Y*→*X*. - Any category with pullbacks and products has equalizers.

## See also

## Notes

- ↑ Adámek, p. 197.

## References

- Adámek, Jiří, Herrlich, Horst, & Strecker, George E.; (1990).
*Abstract and Concrete Categories*(4.2MB PDF). Originally publ. John Wiley & Sons. ISBN 0-471-60922-6. (now free on-line edition). - Cohn, Paul M.;
*Universal Algebra*(1981), D.Reidel Publishing, Holland, ISBN 90-277-1213-1*(Originally published in 1965, by Harper & Row)*.

## External links

- Interactive web page which generates examples of pullbacks in the category of finite sets. Written by Jocelyn Paine.
- pullbacks on the N-Category Lab.