Category

A category is a collection of objects and morphisms such that

  1. Each morphism has a domain and codomain object
  2. Each object has a identity morphism
  3. For morphisms and , there is a morphism .

We have the additional requirement that composition is associative, i.e., .

A common alternative name for morphisms are arrows or maps.

Some examples of Categories:

  1. has sets as objects and functions as morphisms
  2. has topological spaces as objects and continuous functions as morphisms
  3. has groups as objects and group homomorphisms as morphisms

These are concrete categories, i.e., categories whose objects have underlying sets and morphisms are functions. An example of an abstract category is which has topological spaces as objects but homotopy classes of continuous maps as morphisms.

The term “collection” in the definition is to avoid Russell’s paradox: let

then if and only if . However, it is ultimately not important as a primary focus in category theory is functors rather than categories themselves.

Small Category

A category is small if it has a only a set’s worth of arrows.

There is a bijective correspondence between the objects of a category and their identity morphisms. Hence if is a small category, then there are functions that send a morphism to its domain and its codomain and object to its identity.

None of our examples are small, but they are locally small.

Locally Small

A category is locally small if between any pair of objects there is a set’s worth of arrows.

The set of morphisms from to is typically denoted or .

The most important type of morphism in any category is the isomorphism.

Isomorphism

An isomorphism in a category is a morphism for which there is another morphism such that and . In such a case, and are isomorphic and denoted .

In our three examples above:

  1. The isomorphisms in are bijections
  2. The isomorphisms in are homeomorphisms
  3. The isomorphisms in are bijective homomorphisms.

A category where every morphism is an isomorphism is called a groupoid. Given any category , the subcategory containing all of the objects and only those morphisms that are isomorphisms is the maximal groupoid.

Exercises

  1. Show that a morphism can have at most one inverse isomorphism.

Let be an isomorphism and are inverse isomorphisms. Then

Notice that and . Therefore, .

  1. Show that the collection of isomorphisms in a category defines a subcategory.

First notice that for , , i.e., is an isomorphism. Next let and be isomorphism. Then there are morphisms and such that , , and . Notice that

and

Thus, is an isomorphism.

  1. For any category and show that there is a category whose objects are morphism with domain and in which a morphism from to is a map so that .

Let . Notice that the map satisfies . Thus, each morphism has an identity morphism. Next let and be morphisms from to and from to respectively. Then and . Notice that

Therefore, is a morphism.