A subspace is a retract of if there is a continuous retraction
such that for every . A space is a contractible space if its identity map is homotopic to a constant map.
Let be the inclusion and let
be a contraction, with and . Then
is continuous and satisfies
Thus contracts , proving that every retract of a contractible space is contractible.