Definition
A category
-
a class of objects denoted
-
for each pair of objects
, a set of morphisms from to denoted . that satisfies the following conditions:
There is an associative composition law
and for each
such that for every
Note if a morphism has an inverse it is called an isomorphism.
Examples
Sets
-
Objects: Sets
-
Morphisms: functions between sets Composition is composition of functions, and
is the identity function.
Vector fields
-
Objects: For a field
, objects are vector fields over . -
Morphisms:
-linear maps (linear transformations). Composition is composition of linear functions (preserves linearity).
Groups
-
Objects: groups
-
Morphisms: group homomorphisms
Subcategory
A subcategory
with make
Therefore, there is a canonical inclusion functor
with is injective on objects and morphisms.