## Pushouts and pullbacks

If we have two sets and we can take their union : the set of all elements in at least one of the two. We can also characterize this in categorical terms without reference to elements.

One thing we can see right off is that and are both subsets of . That is, there are arrows and . So maybe the union is the coproduct of the two sets. Well, it’s a good guess, but there’s a problem. There may be some elements in *both* and . Let’s say we have one, called . I could take functions and with . But any function from has to send to only one point, so we can’t satisfy the coproduct property with the union. In fact the coproduct is the *disjoint* union, where the two copies of have different images. We need some way to equalize the two images.

And indeed, we have such a way: the *coequalizer* (you thought I was going to say “equalizer”, right?). The set of points we have the be careful about is the intersection . This is a subset of each of and , so we have arrows and . Now we can take the disjoint union (coproduct) , which comes with arrows and . We compose these with the two from before to get a pair of arrows . Now we take the coequalizer of those arrows. This takes the disjoint union of and and identifies the two copies of each point that came from the intersection, giving the union.

Now let’s back up a bit and draw a diagram as usual.

We have objects and , each with an arrow into it from the object . We want to put in an object to complete the commuting square, so that for any other object and arrows that complete the square there exists a unique arrow from our object to . The object (along with its arrows!) is called the “pushout” of the square. We also sometimes label the square “p.o.” to remember that it’s not just any commuting square, but a pushout square. If you’ve followed the discussion of products, coproducts, equalizers, and coequalizers, you should be able to write down a category in which this is a universal object.

If whenever we have the left side of this square (the three objects and two arrows) in a category we can find a pushout, then we say the category “has pushouts”. The discussion in the case of sets above generalizes, and we see that if a category has coproducts and has coequalizers then it has pushouts. In this case, the pushout is constructed exactly as we did before. However, it’s possible to have pushouts on their own.

Pushouts are closely related to coproducts, as you might guess. In fact, notice that the setup here — the three objects and two arrows — is actually the same thing as two objects in the comma category . That is, we start with two arrows from . Then the pushout also has an arrow from — both paths around the square are the same — so it’s another object in the comma category. The arrows from and to are compatible with the arrows from , so they’re morphisms in the comma category. The upshot is that the pushout of the above diagram is the coproduct in the comma category.

On the other hand, what if our category has an initial object ? Then every other object has a unique arrow , and all morphisms in are compatible with these arrows from . That is, is isomorphic to the comma category . Then if has pushouts we know that in particular has coproducts, and so does too: coproducts are pushouts over an initial object when one exists.

We’ve already seen a few more places that coproducts come up. The amalgamated free product of two groups over a third is a coproduct in . In particular, this means that free products of groups are coproducts, since they’re amalgamated over the trivial group. Also the amalgamated direct sum of modules is a pushout in .

Here’s one that we haven’t considered directly: let be a commutative ring with unit and let be an algebra over with unit. Then we have a homomorphism of rings sending to — the action of on the unit of . That is, an -algebra is an object in the comma category . Now if we have two such algebras, show that their tensor product is a coproduct in this comma category, or equivalently a pushout in .

The dual notion to a pushout is a pullback. Here we use the diagram:

As for the other dual notions, you should go through the discussion of pushouts and write down the dualized versions explicitly.

As a (somewhat complicated) exercise in pullbacks, note first that a pullback over is the same as a product in the comma category . Now consider the category of groupoids. Verify that if the functors from and to are both faithful, then the arrow from to is faithful. In particular, if is a a group, then and are both (equivalent to) group actions, and their pullback will be another one. Check that if is equivalent to the action groupoid of acting on and is equivalent to the action groupoid of acting on then is equivalent to the action groupoid of acting on by the product action. This may be a bit difficult, but just working at it for a while should give some insights into how these things work.

[…] start by considering a category with pullbacks. A span in is a diagram of the form . We think of it as going from to . It turns out that we can […]

Pingback by Spans and Cospans « The Unapologetic Mathematician | March 18, 2008 |