A homotopy from f,g:X→Yf,g:X\to Y is a continuous map

H:X×[0,1]→Y,H(x,0)=f(x),H(x,1)=g(x),H:X\times[0,1]\to Y,\qquad H(x,0)=f(x),\quad H(x,1)=g(x),

where the domain has the . If one exists, ff and gg are homotopic, written f≃gf\simeq g.

Fixing a subset

For A⊆XA\subseteq X, a homotopy relative to AA additionally satisfies H(a,t)=f(a)=g(a)H(a,t)=f(a)=g(a) for every a∈Aa\in A and t∈[0,1]t\in[0,1]. In the , homotopies of paths fix both endpoints.

Example

For maps into a convex subset of Rn\mathbb R^n, H(x,t)=(1−t)f(x)+tg(x)H(x,t)=(1-t)f(x)+tg(x) is a homotopy.

References
  1. Allen Hatcher, Algebraic Topology, Cambridge University Press, 2002, §0 and §1.1. Author-hosted text.