A lot of category theory involves diagrams that commute, that is, you get to the same result whichever route you take.
Here is an example of a commutative square in set: The red elements must end up in the same place regardless of which route they take. |
![]() |
- The top left of the diagram is like a product with arrows going out of it.
- The bottom right of the diagram is like a sum with arrows going in to it.
but they are not quite products or sums without universal properties, so far it is just a commutative square.
By applying limits and co-limits we get pullbacks and pushouts.
![]() |
A pushout in category theory is a kind of colimit. This is a generalisation of a sum discussed on page here. It consists of the sum A+B with two arrows into it, one from A and the other from B. For the pushout we add a third object C with arrows into A and B such that the square commutes. It must have a universal property which is: For any other object Z with maps from A and B there must be a unique arrow from A+B to Z. |
Example in Set
On this page I am trying to get some intuition for the concepts so I am relating it to set theory. Usually in category theory we do not look inside objects and they are only defined upto isomorphism so don't take this too literally.
![]() |
Here we have added set C to the diagram (on the page about sum). Now the square needs to commute. |
Example in Directed Graph
![]() |
How does this work when we add structure to the set? For instance, in a directed graph, can we have edges into and out of the intersection? |
Table of Results
Sum |
||
|---|---|---|
| generalisation | a kind of colimit | |
| set example |
|
disjoint union {a,b,c}+{x,y}= |
| group | free product the free product for groups is generated by the set of all letters from a similar "almost disjoint" union where no two elements from different sets are allowed to commute. |
|
| Grp (abelian) | direct sum the group generated by the "almost" disjoint union (disjoint union of all nonzero elements, together with a common zero) |
|
| vector space | direct sum | |
| poset | least upper bound join |
|
| base topological space | wedge | |
| POS |
|
least upper bounds (joins) |
| Rng | ||
| Top | disjoint unions with their disjoint union topologies | |
| Grf | ||
| category |
Sum
When generating a sum for objects with structure then the structure associated with the link can be added to the sum object.





