A Zoo of Categories

Set, Grp, Top, Vect, and poset categories in action

A Zoo of Categories

The power of category theory lies in its universality. The same framework describes wildly different areas of mathematics. Let's tour the most important categories and see how each branch of math fits into the categorical mold.

The Category Set

The most important category: Set has sets as objects and functions as morphisms. Every element in the domain maps to exactly one element in the codomain.

ABab123
Injective?
Yes
Surjective?
No
Bijective?
No

Key insight: In Set, bijections are exactly the isomorphisms — morphisms with a two-sided inverse. Composition is ordinary function composition, and identities are identity functions.

The Category Grp

In Grp, objects are groups and morphisms are group homomorphisms — functions that preserve the group operation.

Z₂
0
1
+mod 2
φ
Z₄
0
1
2
3
+mod 4
00
12

The inclusion Z₂ → Z₄ sends 0↦0 and 1↦2. This preserves the group operation: φ(a+b) = φ(a)+φ(b).

Key insight: A homomorphism must satisfy phi(a * b) = phi(a) * phi(b) — it preserves the group operation. The kernel (elements mapping to the identity) measures how much structure the homomorphism "forgets."

The Category Top

In Top, objects are topological spaces and morphisms are continuous maps. A continuous map never "tears" the space — nearby points stay nearby.

SourceCirclecontinuousTargetEllipse (homeomorphic!)
Stretching is continuous — nearby points stay nearby. This is a morphism in Top!

Key insight: In Top, the isomorphisms are homeomorphisms — continuous maps with continuous inverses. A coffee cup and donut are isomorphic in Top! The category structure captures exactly which properties are "topological."

The Category Vect

In Vect, objects are vector spaces and morphisms are linear maps (matrices). Composition is matrix multiplication!

Before (R²)
After (T applied)
[ 2   1 ]
[ 0   1 ]
det = 2
Invertible (isomorphism)

Key insight: In Vect, every morphism is a matrix. Composition is matrix multiplication, and isomorphisms are invertible matrices (det is not 0). Linear algebra is literally the study of one category!

Poset Categories

Every partially ordered set (poset) is a category! Objects are elements, and there is a unique morphism a → b whenever a ≤ b. The Hasse diagram shows only the "covering" relations.

1234612
Arrows: covering relations | Total morphisms: 13 (incl. identities)

Key insight: A poset-as-category has at most one morphism between any two objects (a ≤ b gives a unique arrow). Reflexivity gives identity morphisms, and transitivity gives composition. This is the simplest non-trivial class of categories!

Key Takeaways

  • Set — Sets + functions. Bijections are the isomorphisms.
  • Grp — Groups + homomorphisms. Kernels measure information loss.
  • Top — Spaces + continuous maps. Homeomorphisms are the isomorphisms.
  • Vect — Vector spaces + linear maps (matrices). Invertible matrices are the isomorphisms.
  • Posets — At most one morphism between any two objects — the simplest categories.