In more detail, let
X and
Y be
topological spaces. Given a continuous mapping :f\colon X \to Y and a point
x in
X, consider for any
n ≥ 0 the induced
homomorphism :f_*\colon \pi_n(X,x) \to \pi_n(Y,f(x)), where π
n(
X,
x) denotes the
n-th homotopy group of
X with base point
x. (For
n = 0, π0(
X) just means the set of
path components of
X.) A map
f is a
weak homotopy equivalence if the function :f_*\colon \pi_0(X) \to \pi_0(Y) is
bijective, and the homomorphisms f_* are bijective for all
x in
X and all
n ≥ 1. (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.) The Whitehead theorem states that a weak homotopy equivalence from one CW complex to another is a homotopy equivalence. (That is, the map
f:
X →
Y has a homotopy inverse
g:
Y →
X, which is not at all clear from the assumptions.) This implies the same conclusion for spaces
X and
Y that are homotopy equivalent to CW complexes. Combining this with the
Hurewicz theorem yields a useful corollary: a continuous map f\colon X \to Y between
simply connected CW complexes that induces an isomorphism on all integral
homology groups is a homotopy equivalence. == Spaces with isomorphic homotopy groups may not be homotopy equivalent ==