Introduction to Categories

Arun Ram
Department of Mathematics and Statistics
University of Melbourne
Parkville, VIC 3010 Australia
aram@unimelb.edu.au

Last update: 14 September 2012

Introduction

A category is

  1. a collection of objects 𝒞,
  2. for each X,Y∈𝒞 a set Hom(X,Y) of morphisms,
  3. for each X,Y,Z ∈𝒞 a function
Hom(X,Y) ×Hom(Y,Z) ⟶ Hom(X,Z) (f,g) ⟼ g∘f such that
  1. if f∈ Hom(X,Y), g∈Hom(Y,Z) and h∈ Hom(Z,W) then h∘(g∘f) =(h∘g)∘ f,
  2. If X∈𝒞 then there exists idX∈ Hom(X,X) such that
    1. if f∈ Hom(X,Y) then f∘idX =f and
    2. if f∈Hom(W,X) then idX∘f =f.

A functor from 𝒞 to 𝒟 is a collection of functions F:𝒞⟶𝒟 and F:Hom(X,Y) ⟶Hom(FX, FY), for X,Y∈𝒞, such that

  1. If f∈Hom(X,Y) and g∈Hom(Y,Z) then F(g∘f) =F(g)∘ F(f).
  2. If X∈𝒞 then F(idX) =idF(X) .

A contravariant functor from 𝒞 to 𝒟 is a collection of functions F:𝒞⟶𝒟 and F: Hom(X,Y) ⟶Hom(FY,FX) for X,Y∈𝒞 such that

  1. If f∈ Hom(X,Y) and g∈ Hom(Y,Z) then F(g∘f) =F(f) ∘F(g) ,
  2. If X∈𝒞 then F(idX) =idF(X) .

A full functor is a functor F:𝒞⟶𝒟 such that if X,Y∈𝒞 then F:Hom(X,Y) ⟶ Hom(FX,FY) is surjective.

A faithful functor is a functor F: 𝒞⟶𝒟 such that if X,Y∈𝒞 then F:Hom(X,Y) ⟶ Hom(FX,FY) is injective.

An equivalence of categories is a pair of functors F:𝒞⟶𝒟 and G:𝒟⟶𝒞 with natural isomorphisms id𝒞 ≃G∘F and id𝒟≃ F∘G.

A full subcategory of 𝒞 is a subcategory 𝒮⊆𝒞 such that the inclusion 𝒮↪𝒞 is full.

A terminal object is Y∈𝒞 such that if X∈𝒞 then there exists a unique f∈Hom(X,Y) .

An initial object is X∈𝒞 such that if Y∈𝒞 then there exists a unique f∈Hom(X,Y) .

A null object is 0∈𝒞 such that 0is both initial and terminal.

A split monic is a monic ι: A⟶B such that there exists a left inverse r: B⟶A.

A split epi is an epi E⟶pB such that there exists a right inverse s: B⟶E.

Categories

A category 𝒞 is a collection of objects and morphisms, with composition maps Hom𝒞(X,Y) × Hom𝒞(Y,Z) ⟶ Hom𝒞 (X,Z) (f,g) ⟼ g∘f for which associativity holds and identities exist (if X,Y and Z are objects of 𝒞 then there exists an identity morphism idX:X →X such that idX ∘f=f for all f:Y→X and g∘idX =g for all g: X→Z).

Examples.

ObjectsMorphisms
SetsFunctions
GroupsGroup homomorphisms
RingsRing homomorphisms
Vector spacesLinear transformations
A-modulesA-modulehomomorphisms
Abelian groupsℤ-modulehomomorphisms
Topological spacesContinuous functions
ManifoldsSmooth maps
Complex manifoldsHolomorphic maps
AlgebrasHomomorphisms of algebras
Lie algebrasLie algebra homomorphisms
VarietiesMorphisms of varieties
Affine varietiesRegular functions
SchemesMorphisms of schemes
Affine schemesMorphisms of schemes
SheavesMorphisms of sheaves
Vector bundlesMorphisms of vector bundles
Principal bundlesMorphisms of principal bundles
CategoriesFunctors
FunctorsNatural transformations
ComplexesChain maps
Homotopy categoryChain maps
Derived categoryMorphisms

The category of categories

The category of categories has

Let 𝒜 and ℬ be sets of objects. A functor is a map ℱ which takes objects to objects and morphisms to morphisms ℱ: 𝒜 ⟶ ℬ M ⟼ ℱ(M) and ℱ: Hom𝒜(M,N) ⟶ Homℬ (ℱ(M), ℱ(N)) f ⟼ ℱ(f) such that ℱ(idM) = idℱ(M) and ℱ(f1 ∘f2) =ℱ(f1) ∘ ℱ(f2) .

Example. Let A and B be algebras with A⊆B (e.g. A=ℂS3 and B=ℂS4). Let 𝒜 be the category of A-modules and ℬ be the category of B-modules. Then induction is a functor IndAB: 𝒜-mod ⟶ ℬ-mod M ⟼ B⊗AM with IndAB(f) : B⊗AM ⟶ B⊗AN b⊗m ⟼ b⊗f(m) if f:M→N is an A-module homomorphism.

The category of functors

Let 𝒜 and ℬ be categories. The category of functors from 𝒜 to ℬ has

A natural transformation ϕ:ℱ→𝒢 is a collection of morphisms {ϕM: ℱ(M)→ 𝒢(M) | M∈𝒜} such that if f:M→N then the following diagram commutes. ℱ(M) ⟶ ℱ(f) ℱ(N) ↓ ϕM ϕN ↓ 𝒢(M) ⟶ 𝒢(f) 𝒢(N)

Example. An additive category is a category 𝒜 such that Hom𝒜(M,N) is an abelian group and there is a 0 object in 𝒜 and direct sums M⊕N exist in 𝒜.

A 2-category is a category 𝒜 such that Hom𝒜(M,N) is a category and there is a 0 object in 𝒜 and direct sums M⊕N exist in 𝒜.

The category of categories is an example of a 2-category.

Example of a category of functors

Let X be a topological space with topology 𝒯. The topology 𝒯 is a category with

Let 𝒞 be the category of commutative rings with identity. A presheaf (of commutative rings) on X is a contravariant functor ℱ: 𝒯→𝒞. A morphism of presheaves is a morphism of functors ℱ to 𝒢.

The category of presheaves is the category of functors 𝒯op→𝒞.

The category of complexes

Let 𝒜 be a abelian category (e.g. 𝒜 is the category of A-modules). The category Kom(𝒜) of complexes over 𝒜 has

A complex M over 𝒜 is a sequence of morphisms ⋯→Mi →di Mi+1 →di+1 ⋯ with di+1 ∘di =0. i.e. a ℤ-graded A-module M with a map d: M→M with degd=1 and degd2=0. A chain map f:M→N is a collection of morphisms {fi: Mi→Ni | i∈ℤ} such that

Mi Ni Mi+1 Ni+1 di fi di+1 fi+1

commutes.

Totalization

Elements of the category Kom( Kom(𝒜)) look like

Mij+1 Mij Mi+1j+1 Mi+1j xij+1 yij xij yi+1j … … … … ⋮ ⋮ ⋮ ⋮

Let 𝒜 be an abelian category (i.e. Hom𝒜(X, Y) are abelian groups, there exists a 0 object and direct sums X⊕Y).

The totalization functor tot: Kom(Kom(𝒜)) →Kom(𝒜) is given by

Mij+1 Mij Mi+1j+1 Mi+2j Mi+1j Mi+1j-1 x+y tot(M)= ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋰ ⋰

Cohomology

An abelian category is a category 𝒜 such that Hom𝒜 (M,N) are abelian groups, there exists a 0 object and direct sums M⊕N and kernels and cokernels exist.

Let 𝒜 be an abelian category and let Kom(𝒜) be the category of complexes over 𝒜 M=(⋯ →Mi →di Mi+1 →⋯) with di+1 ∘di =0. The cohomology of a complex (M,d) is H(M) = Z(M) B(M) , where Z(M)=kerd and B(M)=imd and H(f): H(M) ⟶ H(M) [c] ⟼ [f(c)] , if f:M→N is a morphism in Kom(𝒜).

The derived category D(𝒜)

Let 𝒜 be an abelian category, let Kom(𝒜) be the category of complexes over 𝒜, and let H(M) be the cohomology of a complex M.

A quasiisomorphism is a morphism f:M→N in Kom(𝒜) such that H(f: H(M)→ H(N)) is an isomorphism.

The derived category of 𝒜 is the category D(𝒜) with a functor Q: Kom(𝒜)→ D(𝒜) such that

  1. if f is a quasiisomorphism then Q(f) is an isomorphism, and
  2. if F:Kom(𝒜) →𝒞 is a functor that takes quasiisomorphisms to isomorphisms then there exists a unique functor F∼: D(𝒜)→𝒞 such that

    Kom(𝒜) 𝒞 D(𝒜) Q F F~

The homotopy category

Let 𝒜 be an abelian category and Kom(𝒜) the category of complexes over 𝒜. Let M and N be objects of Kom(𝒜). A homotopy between morphisms f: M→N and g: M→N is a collection of morphisms { hi: Mi→ Ni+1 | i∈ℤ} such that fi-gi =hi+1 ∘di +di-1 ∘hi.

HW: Show that if f and g are homotopic then H(f) =H(g).

The homotopy category Ho(𝒜) has

Notes and References

These notes originated from a presentation in a working seminar at University of Melbourne, 12 November 2009.

References

[KL] M. Khovanov and A. Lauda, A diagrammatic approach to categorification of quantum groups I, Representation Theory 13 (2009), 309–347. MR2525917

[Ro] R. Rouquier, 2 Kac-Moody algebras, arXiv:08125023

[MH] A. Mathas and J. Hu, arXiv:0907.2985

page history