If we take a category, we can consider another category where the arrows go in reverse. This is the idea behind the opposite category:
Opposite Category
Let be a category. The opposite category has
- the same objects as , and
- a morphism for each in so that
Notice that for and in , we can still compose but the composition is in the opposite order in , .
Any theorem which holds for all categories also necessarily applies to the opposites of these categories. As a result, any proof in category theory simultaneously proves two theorems: the original, and its dual. For example, consider the following lemma:
Lemma
The following are equivalent
- is an isomorphism in .
- For all objects , post-composition with defines a bijection .
- For all objects , pre-composition with defines a bijection .
Proof:
- 1 implies 2: Let have inverse . Consider some and . Notice that and . Thus, is a bijection as and are both identities.
- 2 implies 1: Since is a bijection, there is some such that . By construction . Likewise being a bijection and and implies that . Thus, and are inverses.
- 1 if and only if 3: Notice that we just proved 1 if and only if 2 for all categories. So it follows that is an isomorphism if and only if is a bijection for all . This is equivalent to saying that is a bijection for all since composition runs backwards.
Mono/epimorphism
A morphism in a category is
- a monomorphism if for any parallel morphism , implies that ; or
- an epimorphism if for any parallel morphism , implies that .
In terms of the previous lemma:
- is a monomorphism in if and only if for all , is injective.
- is an epimorphism in if and only if for all , is surjective.
As an example, let be a monomorphism in the category of sets. Given two maps it follows that implies that . Likewise, if is an epimorphism, the equation implies that the on the image of .
Let be morphisms such that . We call a section or right inverse to and call a retraction or left inverse to . In such a case, is always a monomorphism and is always an epimorphism. We sometimes call a split monomorphism and a split epimorphism.
While isomorphisms are both monic (monomorphism) and epic (epimorphism), there may be morphisms that are both monic and epic but not isomorphisms. For example, the inclusion is both monic and epic in . Indeed, if satisfy then they are equal on . Since they are ring homomorphisms, we get
But there is no homomorphisms from to so the morphism is not an isomorphism.
Lemma
- If and are monomorphisms, then so is .
- If and are morphisms so that is monic; then is monic.
- If and are epimorphisms, then so is .
- If and are morphisms so that is epic; then is epic.
Proof:
- Let such that . Since is monic, and since is monic, . Thus, is monic.
- Let such that . Then clearly , but that implies that . Thus, is monic.
- Similar to 1.
- Similar to 2.
Exercises
- What are the monomorphisms in the category of fields?
Let be a homomorphism. Consider such that . Assume that . Then there is some such that . Notice that
implying that is non-trivial. But is an ideal, and the only ideals of a field are trivial or the whole field. Thus, . Therefore, the morphisms in the category of fields are either trivial or monic.
- Prove that a morphism that is both a monomorphism and a split epimorphism is necessarily an isomorphism. Argue by duality that a split monomorphism that is an epimorphism is also an isomorphism.
Let such that and is a monomorphism. Notice that . Since is monic and , . Therefore, is an isomorphism.
Let such that and is an epimorphism. Notice that by duality satisfies and is a monomorphism. Therefore, is an isomorphism implying that is an isomorphism.