in one of my posts on tensors and covariance versus contravraiance i gave what eilenberg and maclane gave as their primordial example of a functor which is naturally equivalent to the identity functor. namely the double dual operation, which when applied to a finite dimensional vector space gives back an isomorphic one.
OK, a category is a bunch of objects of the same kind equipped with structure preserving maps between them.
examples: groups and group homomorphisms, topological spaces and continuous maps, banach spaces and bounded linear transformations, metric spaces and continuous maps, algebraic varieties and regular morphisms, algebraic varieties and rational maps, analytic manifolds and analytic maps, differentiable manifolds and differentiable maps, simplicial complexes and simplicial maps, cw complexes and homotopy classes of maps,...had enough??
i do not know the axioms but they are all trivially obvious, such as: to every object there is an associated identity map. composition of maps is associative. the identity map of any object acts trivially under composition when it is defined.
an isomorphism is by definition a map X-->Y with another inverse map Y-->X defined so that both compositions equal their respective identities.
They are not very interesting, and are only defined so that one can define functors.
a functor is a construction that takes any object of one category and changes it into an object in that or a different category, and ALSO that changes maps between two objects into maps between the two corresponding objects in the other category.
for example, the "dual" space functor, changes a vector space V into its dual V^ = {linear maps from V to the field k of scalars}. the map T:V-->W transforms into the map T^:W^-->V^ taking the map f:W-->k, to the composed map T^(f) = foT:V--W-->k.
The composition of this functor with itself, the double dual functor, takes V to V^^, and T to T^^. Here there is a further concept, the "natural transformation". This is a relation between two functors. a "natural equivalence" is a natural transformation with an inverse, up to isomorphism. in this case the double dual functor is equivalent to the dientity functor. i.e. there is a natural choice, for every (finite dimensional) V, of an isomorphism between V and V^^, such that any map T:V-->W corresponds under that isomorphism to the map T^^:V^^-->W^^.
A functor F has two basic properties: if F(T) goes in the same direction as T, F is called covariant (for example the double dual functor), and one requires: F(ToS) = F(T)oF(S). also one requires F(id(X)) = id(F(X)), i.e. functors take compositions to compositions and identities to identities.
(a contravariant functor reverses the direction of maps (for example the dual functor)
it follows that all functors take isomorphisms to isomorphisms.
big corollary: if there is a functor such that F(T) is not an isomorphism, then T was not an isomorphism.
Fact: there exists a homotopy invariant functor from topological spaces to abelian groups, that vanishes on a point but that does not vanish on spheres.
(examples, homology, cohomology)
corollary: an n disc cannot be retracted onto its boundary:
proof: let F be the functor whose existence was asserted.
then F(disc) = F(point) = {0}. so if the disc S retracts onto its boundary sphere S, via D-->S then the composition S-->D-->S is the identity so F of this composition is non zero, but it factors through F(S-->D) = F(S)-->F(D) = {0}, which must be zero, a contradiction.
if one does not know category theory, one belabors all the details of this prroof over and over for every separate case in which this type of proof is used. for example an old fashioned book such as hocking and young, first proves that homolgy is a functor and then proves that it takes homeomorphisms to group isomorphisms, as if that were not true of every functor in the world.
the derivative is a functor, from non linear maps to lnear maps. the proof of functoriality is the chain rule. corollary: if two manifolds are diffeomorphic then they have the same dimension, since their tangent spaces at corresponding points are linearly isomorphic.
a cute exercise in category theory i like is that an object is always characterized by its family, i.e. functor, of morphisms. i.e. for any object X, there is an associated functor
hom(X, ), from objects to sets (of maps out of X), taking X to hom(X, ), and taking a map T:X-->Y to the composition map from hom(Y, )-->hom(X, ) sending the map f:Y-->Z in hom(Y,Z) to the map foT:X-->Y-->Z in hom(X,Z). then if two such functors hom(X, ) and hom(Y, ) are naturally equivalent, then the two objects X,Y are isomorphic.
to see how to get at least a map from X to Y, from the hypothesis, we have
hom(X,X) bijectively equivalent to hom(Y,X) so the identity map X-->X correspodns top some map Y-->X. doing the same to get a map X-->Y, gives its inverse.
the functor above taking X to hom(X, ), is contravariant, and the other one taking X to hom( ,X) is covariant. note these functors take objects to functors. in particular, the set of functors between two given categories is itself a category with natural transformations as morphisms. note too that the dual functor is the functor hom( ,k) associated in this way to the object k.
a class of categories called "abelian categories" have more axioms, like exact sequences, and kernels and so on, but turn out to always be equivalent to subcategories of abelian groups, hence largely lose their independent interest. still the concept is useful.