A XX is contractible if there exist a point x0Xx_0\in X and a

H:X×[0,1]X,H(x,0)=x,H(x,1)=x0H:X\times[0,1]\to X,\qquad H(x,0)=x,\quad H(x,1)=x_0

for every xXx\in X. Thus the identity map of XX is homotopic to a constant map. The homotopy is not required to keep x0x_0 fixed at intermediate times.

Examples and scope

Every nonempty convex subset of Rn\mathbb R^n is contractible: choose x0x_0 in it and use H(x,t)=(1t)x+tx0H(x,t)=(1-t)x+tx_0. A one-point space is contractible. The empty space is not contractible under this convention, because no point x0x_0 exists.

Contractibility is a property of the space with its given topology; an ambient deformation that leaves the space is not a contraction of that space.