Formal Definition
A Homotopy is a continuous deformation between two continuous maps.
Let be continuous maps. We say that and are homotopic, written
if there is a family of maps for such that:
- and ,
- the map defined by is continuous.
The map is called a homotopy from to . The continuity of implies in particular that each individual map is continuous. homotopy is an equivalence relation on maps
nullhomotopic
A constant map is a A map is nullhomotopic if it is homotopic to a constant map, meaning that there exists a homotopy such that and
Homotopy Equivalence
A map is a homotopy equivalence if there exists a map such that
In this case, and are called homotopy equivalent, or said to have the same homotopy type.
Homotopy type is an equivalence relation:
- Reflexive: is a homotopy equivalence.
- Symmetric: if is a homotopy equivalence with inverse up to homotopy , then is also a homotopy equivalence.
- Transitive: the composition of homotopy equivalences is again a homotopy equivalence.
Homotopy Class
The equivalence class of is called its homotopy class and denoted
The set of homotopy classes between two spaces and is usually written as Its elements are not spaces, but equivalence classes of maps , where two maps are considered the same if they are homotopic.
Contractible Spaces
A space is contractible if it has the homotopy type of a point.
note that is the identity map of a space to it self: with
Example:
The Euclidean space is homotopy equivalent to the one-point space
Let be the unique map, and let send to the origin. We want to show that and We know is the constant map sending every point to . The homotopy
deforms the constant map to the identity map . Hence
so is contractible.
Deformation Retractions
A deformation retraction of onto a subspace is a homotopy such that:
- ,
- for all ,
- .
Thus every point of is continuously moved into , while every point of stays fixed throughout the homotopy.
In this case, is a homotopy equivalence with homotopy inverse given by the inclusion
Therefore, if is a deformation retract of , then and have the same homotopy type.
Homotopy of path
A homotopy of paths in is a family , such that
- and (independent of )
- The associated map defined by is continuous

product path
The composition or product path of two paths is defined by the formula

Geometric Intuition: Blender :D
In Blender (the software), one can create a smooth spine curve and use Geometry Nodes to generate a 3D tubular shape around it. One can then use a parameter to control the tube’s radius so it changes continuously over time to make an animation ( change continuously).
- Consider the solid tube
- Each map from to is a deformation retraction by nearest-point projection.
- Consider the surface of the tube
- The changing produces a homotopy