Model categories were defined by
Quillen as an axiomatization of homotopy theory that applies to
topological spaces, but also to many other categories in
algebra and
geometry. The example that started the subject is the
category of topological spaces with
Serre fibrations as fibrations and
weak homotopy equivalences as weak equivalences (the cofibrations for this model structure can be described as the
retracts of relative cell complexes
X ⊆
Y). By definition, a
continuous mapping f:
X →
Y of spaces is called a weak homotopy equivalence if the induced function on sets of
path components :f_*\colon \pi_0(X) \to \pi_0(Y) is
bijective, and for every point
x in
X and every
n ≥ 1, the induced
homomorphism :f_*\colon \pi_n(X,x) \to \pi_n(Y,f(x)) on
homotopy groups is bijective. (For
X and
Y path-connected, the first condition is automatic, and it suffices to state the second condition for a single point
x in
X.) For
simply connected topological spaces
X and
Y, a map
f:
X →
Y is a weak homotopy equivalence if and only if the induced homomorphism
f*:
Hn(
X,
Z) →
Hn(
Y,
Z) on
singular homology groups is bijective for all
n. Likewise, for simply connected spaces
X and
Y, a map
f:
X →
Y is a weak homotopy equivalence if and only if the pullback homomorphism
f*:
Hn(
Y,
Z) →
Hn(
X,
Z) on
singular cohomology is bijective for all
n. Example: Let
X be the set of natural numbers {0, 1, 2, ...} and let
Y be the set {0} ∪ {1, 1/2, 1/3, ...}, both with the
subspace topology from the
real line. Define
f:
X →
Y by mapping 0 to 0 and
n to 1/
n for positive integers
n. Then
f is continuous, and in fact a weak homotopy equivalence, but it is not a
homotopy equivalence. The homotopy category of topological spaces (obtained by inverting the weak homotopy equivalences) greatly simplifies the category of topological spaces. Indeed, this homotopy category is
equivalent to the category of
CW complexes with morphisms being
homotopy classes of continuous maps. Many other model structures on the category of topological spaces have also been considered. For example, in the Strøm model structure on topological spaces, the fibrations are the
Hurewicz fibrations and the weak equivalences are the homotopy equivalences. ==Chain complexes==