# Pushout (category theory)

__: Most general completion of a commutative square given two morphisms with same domain__

**Short description**In category theory, a branch of mathematics, a **pushout** (also called a **fibered coproduct** or **fibered sum** or **cocartesian square** or **amalgamated sum**) is the colimit of a diagram consisting of two morphisms *f* : *Z* → *X* and *g* : *Z* → *Y* with a common domain. The pushout consists of an object *P* along with two morphisms *X* → *P* and *Y* → *P* that complete a commutative square with the two given morphisms *f* and *g*. In fact, the defining universal property of the pushout (given below) essentially says that the pushout is the "most general" way to complete this commutative square. Common notations for the pushout are [math]\displaystyle{ P = X \sqcup_Z Y }[/math] and [math]\displaystyle{ P = X +_Z Y }[/math].

The pushout is the categorical dual of the pullback.

## Universal property

Explicitly, the pushout of the morphisms *f* and *g* consists of an object *P* and two morphisms *i*_{1} : *X* → *P* and *i*_{2} : *Y* → *P* such that the diagram

commutes and such that (*P*, *i*_{1}, *i*_{2}) is universal with respect to this diagram. That is, for any other such triple (*Q*, *j*_{1}, *j*_{2}) for which the following diagram commutes, there must exist a unique *u* : *P* → *Q* also making the diagram commute:

As with all universal constructions, the pushout, if it exists, is unique up to a unique isomorphism.

## Examples of pushouts

Here are some examples of pushouts in familiar categories. Note that in each case, we are only providing a construction of an object in the isomorphism class of pushouts; as mentioned above, though there may be other ways to construct it, they are all equivalent.

- Suppose that
*X*,*Y*, and*Z*as above are sets, and that*f*:*Z*→*X*and*g*:*Z*→*Y*are set functions. The pushout of*f*and*g*is the disjoint union of*X*and*Y*, where elements sharing a common preimage (in*Z*) are identified, together with the morphisms*i*_{1},*i*_{2}from*X*and*Y*, i.e. [math]\displaystyle{ P = (X \sqcup Y)/\!\sim }[/math] where*~*is the finest equivalence relation (cf. also this) such that*f*(*z*) ~*g*(*z*) for all*z*in*Z*. In particular, if*X*and*Y*are subsets of some larger set*W*and*Z*is their intersection, with*f*and*g*the inclusion maps of*Z*into*X*and*Y*, then the pushout can be canonically identified with the union [math]\displaystyle{ X \cup Y \subseteq W }[/math].- A specific case of this is the cograph of a function. If [math]\displaystyle{ f \colon X \to Y }[/math] is a function, then the
**cograph**of a function is the pushout of f along the identity function of X. In elementary terms, the cograph is the quotient of [math]\displaystyle{ X \sqcup Y }[/math] by the equivalence relation generated by identifying [math]\displaystyle{ x \in X \subseteq X \sqcup Y }[/math] with [math]\displaystyle{ f(x) \in Y \subseteq X \sqcup Y }[/math]. A function may be recovered by its cograph because each equivalence class in [math]\displaystyle{ X \sqcup Y }[/math] contains precisely one element of Y. Cographs are dual to graphs of functions since the graph may be defined as the pullback of f along the identity of Y.^{[1]}^{[2]}

- A specific case of this is the cograph of a function. If [math]\displaystyle{ f \colon X \to Y }[/math] is a function, then the
- The construction of adjunction spaces is an example of pushouts in the category of topological spaces. More precisely, if
*Z*is a subspace of*Y*and*g*:*Z*→*Y*is the inclusion map we can "glue"*Y*to another space*X*along*Z*using an "attaching map"*f*:*Z*→*X*. The result is the adjunction space [math]\displaystyle{ X \cup_{f} Y }[/math], which is just the pushout of*f*and*g*. More generally, all identification spaces may be regarded as pushouts in this way. - A special case of the above is the wedge sum or one-point union; here we take
*X*and*Y*to be pointed spaces and*Z*the one-point space. Then the pushout is [math]\displaystyle{ X \vee Y }[/math], the space obtained by gluing the basepoint of*X*to the basepoint of*Y*. - In the category of abelian groups, pushouts can be thought of as "direct sum with gluing" in the same way we think of adjunction spaces as "disjoint union with gluing". The zero group is a subgroup of every group, so for any abelian groups
*A*and*B*, we have homomorphisms [math]\displaystyle{ f : 0 \to A }[/math] and [math]\displaystyle{ g : 0 \to B }[/math]. The pushout of these maps is the direct sum of*A*and*B*. Generalizing to the case where*f*and*g*are arbitrary homomorphisms from a common domain*Z*, one obtains for the pushout a quotient group of the direct sum; namely, we mod out by the subgroup consisting of pairs (*f*(*z*), −*g*(*z*)). Thus we have "glued" along the images of*Z*under*f*and*g*. A similar approach yields the pushout in the category of*R*-modules for any ring*R*. - In the category of groups, the pushout is called the free product with amalgamation. It shows up in the Seifert–van Kampen theorem of algebraic topology (see below).
- In
**CRing**, the category of commutative rings (a full subcategory of the category of rings), the pushout is given by the tensor product of rings [math]\displaystyle{ A \otimes_{C} B }[/math] with the morphisms [math]\displaystyle{ g': A \rightarrow A \otimes_{C} B }[/math] and [math]\displaystyle{ f': B \rightarrow A \otimes_{C} B }[/math] that satisfy [math]\displaystyle{ f' \circ g = g' \circ f }[/math]. In fact, since the pushout is the colimit of a span and the pullback is the limit of a cospan, we can think of the tensor product of rings and the fibered product of rings (see the examples section) as dual notions to each other. In particular, let*A*,*B*, and*C*be objects (commutative rings with identity) in**CRing**and let*f*:*C*→*A*and*g*:*C*→*B*be morphisms (ring homomorphisms) in**CRing**. Then the tensor product is:

- [math]\displaystyle{ A \otimes_{C} B = \left\{\sum_{i \in I} (a_i,b_i) \; \big| \; a_i \in A, b_i \in B \right\} \Bigg/ \bigg\langle (f(c)a,b) - (a,g(c)b) \; \big| \; a \in A, b \in B, c \in C \bigg\rangle }[/math]

- See Free product of associative algebras for the case of non-commutative rings.
- In the multiplicative monoid of positive integers [math]\displaystyle{ \mathbf{Z}_+ }[/math], considered as a category with one object, the pushout of two positive integers
*m*and*n*is just the pair [math]\displaystyle{ \left(\frac{\operatorname{lcm}(m,n)}{m}, \frac{\operatorname{lcm}(m,n)}{n}\right) }[/math], where the numerators are both the least common multiple of*m*and*n*. Note that the same pair is also the pullback.

## Properties

- Whenever the pushout
*A*⊔_{C}*B*exists, then*B*⊔_{C}*A*exists as well and there is a natural isomorphism*A*⊔_{C}*B*≅*B*⊔_{C}*A*. - In an abelian category all pushouts exist, and they preserve cokernels in the following sense: if (
*P*,*i*_{1},*i*_{2}) is the pushout of*f*:*Z*→*X*and*g*:*Z*→*Y*, then the natural map coker(*f*) → coker(*i*_{2}) is an isomorphism, and so is the natural map coker(*g*) → coker(*i*_{1}). - There is a natural isomorphism (
*A*⊔_{C}*B*) ⊔_{B}*D*≅*A*⊔_{C}*D*. Explicitly, this means:- if maps
*f*:*C*→*A*,*g*:*C*→*B*and*h*:*B*→*D*are given and - the pushout of
*f*and*g*is given by*i*:*A*→*P*and*j*:*B*→*P*, and - the pushout of
*j*and*h*is given by*k*:*P*→*Q*and*l*:*D*→*Q*, - then the pushout of
*f*and*hg*is given by*ki*:*A*→*Q*and*l*:*D*→*Q*.

- if maps

- Graphically this means that two pushout squares, placed side by side and sharing one morphism, form a larger pushout square when ignoring the inner shared morphism.

## Construction via coproducts and coequalizers

Pushouts are equivalent to coproducts and coequalizers (if there is an initial object) in the sense that:

- Coproducts are a pushout from the initial object, and the coequalizer of
*f*,*g*:*X*→*Y*is the pushout of [*f*,*g*] and [1_{X}, 1_{X}], so if there are pushouts (and an initial object), then there are coequalizers and coproducts; - Pushouts can be constructed from coproducts and coequalizers, as described below (the pushout is the coequalizer of the maps to the coproduct).

All of the above examples may be regarded as special cases of the following very general construction, which works in any category *C* satisfying:

- For any objects
*A*and*B*of*C*, their coproduct exists in*C*; - For any morphisms
*j*and*k*of*C*with the same domain and the same target, the coequalizer of*j*and*k*exists in*C*.

In this setup, we obtain the pushout of morphisms *f* : *Z* → *X* and *g* : *Z* → *Y* by first forming the coproduct of the targets *X* and *Y*. We then have two morphisms from *Z* to this coproduct. We can either go from *Z* to *X* via *f*, then include into the coproduct, or we can go from *Z* to *Y* via *g*, then include into the coproduct. The pushout of *f* and *g* is the coequalizer of these new maps.

## Application: the Seifert–van Kampen theorem

The Seifert–van Kampen theorem answers the following question. Suppose we have a path-connected space *X*, covered by path-connected open subspaces *A* and *B* whose intersection *D* is also path-connected. (Assume also that the basepoint * lies in the intersection of *A* and *B*.) If we know the fundamental groups of *A*, *B*, and their intersection *D*, can we recover the fundamental group of *X*? The answer is yes, provided we also know the induced homomorphisms
[math]\displaystyle{ \pi_1(D,*) \to \pi_1(A,*) }[/math]
and
[math]\displaystyle{ \pi_1(D,*) \to \pi_1(B,*). }[/math]
The theorem then says that the fundamental group of *X* is the pushout of these two induced maps. Of course, *X* is the pushout of the two inclusion maps of *D* into *A* and *B*. Thus we may interpret the theorem as confirming that the fundamental group functor preserves pushouts of inclusions. We might expect this to be simplest when *D* is simply connected, since then both homomorphisms above have trivial domain. Indeed, this is the case, since then the pushout (of groups) reduces to the free product, which is the coproduct in the category of groups. In a most general case we will be speaking of a free product with amalgamation.

There is a detailed exposition of this, in a slightly more general setting (covering groupoids) in the book by J. P. May listed in the references.

## References

- May, J. P.
*A concise course in algebraic topology.*University of Chicago Press, 1999.- An introduction to categorical approaches to algebraic topology: the focus is on the algebra, and assumes a topological background.

- Ronald Brown "Topology and Groupoids" pdf available Gives an account of some categorical methods in topology, use the fundamental groupoid on a set of base points to give a generalisation of the Seifert-van Kampen Theorem.

- Philip J. Higgins, "Categories and Groupoids" free download Explains some uses of groupoids in group theory and topology.

## References

- ↑ Riehl,
*Category Theory in Context*, p. xii - ↑ https://math.stackexchange.com/questions/1350657/does-the-concept-of-cograph-of-a-function-have-natural-generalisations-exten

## External links

Original source: https://en.wikipedia.org/wiki/Pushout (category theory).
Read more |