# Homotopy group

In mathematics, homotopy groups are used in algebraic topology to classify topological spaces. The first and simplest homotopy group is the fundamental group, denoted $\pi _{1}(X),$ which records information about loops in a space. Intuitively, homotopy groups record information about the basic shape, or holes, of a topological space.
To define the n-th homotopy group, the base-point-preserving maps from an n-dimensional sphere (with base point) into a given space (with base point) are collected into equivalence classes, called homotopy classes. Two mappings are homotopic if one can be continuously deformed into the other. These homotopy classes form a group, called the n-th homotopy group, $\pi _{n}(X),$ of the given space X with base point. Topological spaces with differing homotopy groups are never homeomorphic, but topological spaces that are not homeomorphic can have the same homotopy groups.
The notion of homotopy of paths was introduced by Camille Jordan.

## Introduction

In modern mathematics it is common to study a category by associating to every object of this category a simpler object that still retains sufficient information about the object of interest. Homotopy groups are such a way of associating groups to topological spaces.
That link between topology and groups lets mathematicians apply insights from group theory to topology. For example, if two topological objects have different homotopy groups, they cannot have the same topological structure—a fact that may be difficult to prove using only topological means. For example, the torus is different from the sphere: the torus has a "hole"; the sphere doesn't. However, since continuity (the basic notion of topology) only deals with the local structure, it can be difficult to formally define the obvious global difference. The homotopy groups, however, carry information about the global structure.
As for the example: the first homotopy group of the torus $T$ is $\pi _{1}(T)=\mathbb {Z} ^{2},$ because the universal cover of the torus is the Euclidean plane $\mathbb {R} ^{2},$ mapping to the torus $T\cong \mathbb {R} ^{2}/\mathbb {Z} ^{2}.$ Here the quotient is in the category of topological spaces, rather than groups or rings. On the other hand, the sphere $S^{2}$ satisfies: $\pi _{1}\left(S^{2}\right)=0,$ because every loop can be contracted to a constant map (see homotopy groups of spheres for this and more complicated examples of homotopy groups). Hence the torus is not homeomorphic to the sphere.

## Definition

In the n-sphere $S^{n}$ we choose a base point a. For a space X with base point b, we define $\pi _{n}(X)$ to be the set of homotopy classes of maps $f:S^{n}\to X\mid f(a)=b$ that map the base point a to the base point b. In particular, the equivalence classes are given by homotopies that are constant on the basepoint of the sphere. Equivalently, define $\pi _{n}(X)$ to be the group of homotopy classes of maps $g:[0,1]^{n}\to X$ from the n-cube to X that take the boundary of the n-cube to b.
For $n\geq 1,$ the homotopy classes form a group. To define the group operation, recall that in the fundamental group, the product $f\ast g$ of two loops $f,g:[0,1]\to X$ is defined by setting $f*g={\begin{cases}f(2t)&t\in \left[0,{\tfrac {1}{2}}\right]\\g(2t-1)&t\in \left[{\tfrac {1}{2}},1\right]\end{cases}}$
The idea of composition in the fundamental group is that of traveling the first path and the second in succession, or, equivalently, setting their two domains together. The concept of composition that we want for the n-th homotopy group is the same, except that now the domains that we stick together are cubes, and we must glue them along a face. We therefore define the sum of maps $f,g:[0,1]^{n}\to X$ by the formula $(f+g)(t_{1},t_{2},\ldots ,t_{n})={\begin{cases}f(2t_{1},t_{2},\ldots ,t_{n})&t_{1}\in \left[0,{\tfrac {1}{2}}\right]\\g(2t_{1}-1,t_{2},\ldots ,t_{n})&t_{1}\in \left[{\tfrac {1}{2}},1\right]\end{cases}}$
For the corresponding definition in terms of spheres, define the sum $f+g$ of maps $f,g:S^{n}\to X$ to be $\Psi$ composed with h, where $\Psi$ is the map from $S^{n}$ to the wedge sum of two n-spheres that collapses the equator and h is the map from the wedge sum of two n-spheres to X that is defined to be f on the first sphere and g on the second.
If $n\geq 2,$ then $\pi _{n}$ is abelian. Further, similar to the fundamental group, for a path-connected space any two choices of basepoint give rise to isomorphic $\pi _{n}.$
It is tempting to try to simplify the definition of homotopy groups by omitting the base points, but this does not usually work for spaces that are not simply connected, even for path-connected spaces. The set of homotopy classes of maps from a sphere to a path connected space is not the homotopy group, but is essentially the set of orbits of the fundamental group on the homotopy group, and in general has no natural group structure.
A way out of these difficulties has been found by defining higher homotopy groupoids of filtered spaces and of n-cubes of spaces. These are related to relative homotopy groups and to n-adic homotopy groups respectively. A higher homotopy van Kampen theorem then enables one to derive some new information on homotopy groups and even on homotopy types. For more background and references, see "Higher dimensional group theory" and the references below.

## Homotopy groups and holes

A topological space has a hole with a d-dimensional boundary if-and-only-if it contains a d-dimensional sphere that cannot be shrunk continuously to a single point. This holds if-and-only-if there is a mapping S$^d$→X{\textstyle S^{d}\to X} that is not homotopic to a constant function. This holds if-and-only-if the d-th homotopy group of X is not trivial. In short, X has a hole with a d-dimensional boundary, if-and-only-if $\pi _{d}(X)\not \cong 0$.

## Long exact sequence of a fibration

Let $p:E\to B$ be a basepoint-preserving Serre fibration with fiber $F,$ that is, a map possessing the homotopy lifting property with respect to CW complexes. Suppose that B is path-connected. Then there is a long exact sequence of homotopy groups $\cdots \to \pi _{n}(F)\to \pi _{n}(E)\to \pi _{n}(B)\to \pi _{n-1}(F)\to \cdots \to \pi _{0}(E)\to 0.$
Here the maps involving $\pi _{0}$ are not group homomorphisms because the $\pi _{0}$ are not groups, but they are exact in the sense that the image equals the kernel.
Example: the Hopf fibration. Let B equal $S^{2}$ and E equal $S^{3}.$ Let p be the Hopf fibration, which has fiber $S^{1}.$ From the long exact sequence $\cdots \to \pi _{n}(S^{1})\to \pi _{n}(S^{3})\to \pi _{n}(S^{2})\to \pi _{n-1}(S^{1})\to \cdots$
and the fact that $\pi _{n}(S^{1})=0$ for $n\geq 2,$ we find that $\pi _{n}(S^{3})=\pi _{n}(S^{2})$ for $n\geq 3.$ In particular, $\pi _{3}(S^{2})=\pi _{3}(S^{3})=\mathbb {Z} .$
In the case of a cover space, when the fiber is discrete, we have that $\pi _{n}(E)$ is isomorphic to $\pi _{n}(B)$ for $n>1,$ that $\pi _{n}(E)$ embeds injectively into $\pi _{n}(B)$ for all positive $n,$ and that the subgroup of $\pi _{1}(B)$ that corresponds to the embedding of $\pi _{1}(E)$ has cosets in bijection with the elements of the fiber.
When the fibration is the mapping fibre, or dually, the cofibration is the mapping cone, then the resulting exact (or dually, coexact) sequence is given by the Puppe sequence.

### Homogeneous spaces and spheres

There are many realizations of spheres as homogeneous spaces, which provide good tools for computing homotopy groups of Lie groups, and the classification of principal bundles on spaces made out of spheres.

#### Special orthogonal group

There is a fibration
$SO(n-1)\to SO(n)\to SO(n)/SO(n-1)\cong S^{n-1}$
giving the long exact sequence
$\cdots \to \pi _{i}(SO(n-1))\to \pi _{i}(SO(n))\to \pi _{i}\left(S^{n-1}\right)\to \pi _{i-1}(SO(n-1))\to \cdots$
which computes the low order homotopy groups of $\pi _{i}(SO(n-1))\cong \pi _{i}(SO(n))$ for $i<n-1,$ since $S^{n-1}$ is $(n-2)$-connected. In particular, there is a fibration
$SO(3)\to SO(4)\to S^{3}$
whose lower homotopy groups can be computed explicitly. Since $SO(3)\cong \mathbb {RP} ^{3},$ and there is the fibration
$\mathbb {Z} /2\to S^{n}\to \mathbb {RP} ^{n}$
we have $\pi _{i}(SO(3))\cong \pi _{i}(S^{3})$ for $i>1.$ Using this, and the fact that $\pi _{4}\left(S^{3}\right)=\mathbb {Z} /2,$ which can be computed using the Postnikov system, we have the long exact sequence
${\begin{aligned}\cdots \to&\pi _{4}(SO(3))\to \pi _{4}(SO(4))\to \pi _{4}(S^{3})\to \\\to&\pi _{3}(SO(3))\to \pi _{3}(SO(4))\to \pi _{3}(S^{3})\to \\\to&\pi _{2}(SO(3))\to \pi _{2}(SO(4))\to \pi _{2}(S^{3})\to \cdots \\\end{aligned}}$
Since $\pi _{2}\left(S^{3}\right)=0$ we have $\pi _{2}(SO(4))=0.$ Also, the middle row gives $\pi _{3}(SO(4))\cong \mathbb {Z} \oplus \mathbb {Z}$ since the connecting map $\pi _{4}\left(S^{3}\right)=\mathbb {Z} /2\to \mathbb {Z} =\pi _{3}\left(\mathbb {RP} ^{3}\right)$ is trivial. Also, we can know $\pi _{4}(SO(4))$ has two-torsion.

##### Application to sphere bundles

Milnor used the fact $\pi _{3}(SO(4))=\mathbb {Z} \oplus \mathbb {Z}$ to classify 3-sphere bundles over $S^{4},$ in particular, he was able to find exotic spheres which are smooth manifolds called Milnor's spheres only homeomorphic to $S^{7},$ not diffeomorphic. Note that any sphere bundle can be constructed from a $4$-vector bundle, which have structure group $SO(4)$ since $S^{3}$ can have the structure of an oriented Riemannian manifold.

### Complex projective space

There is a fibration
$S^{1}\to S^{2n+1}\to \mathbb {CP} ^{n}$
where $S^{2n+1}$ is the unit sphere in $\mathbb {C} ^{n+1}.$ This sequence can be used to show the simple-connectedness of $\mathbb {CP} ^{n}$ for all $n.$

## Methods of calculation

Calculation of homotopy groups is in general much more difficult than some of the other homotopy invariants learned in algebraic topology. Unlike the Seifert–van Kampen theorem for the fundamental group and the excision theorem for singular homology and cohomology, there is no simple known way to calculate the homotopy groups of a space by breaking it up into smaller spaces. However, methods developed in the 1980s involving a van Kampen type theorem for higher homotopy groupoids have allowed new calculations on homotopy types and so on homotopy groups. See for a sample result the 2010 paper by Ellis and Mikhailov.
For some spaces, such as tori, all higher homotopy groups (that is, second and higher homotopy groups) are trivial. These are the so-called aspherical spaces. However, despite intense research in calculating the homotopy groups of spheres, even in two dimensions a complete list is not known. To calculate even the fourth homotopy group of $S^{2}$ one needs much more advanced techniques than the definitions might suggest. In particular the Serre spectral sequence was constructed for just this purpose.
Certain homotopy groups of n-connected spaces can be calculated by comparison with homology groups via the Hurewicz theorem.

## A list of methods for calculating homotopy groups

* The long exact sequence of homotopy groups of a fibration.
* Hurewicz theorem, which has several versions.
* Blakers–Massey theorem, also known as excision for homotopy groups.
* Freudenthal suspension theorem, a corollary of excision for homotopy groups.

## Relative homotopy groups

There is also a useful generalization of homotopy groups, $\pi _{n}(X),$ called relative homotopy groups $\pi _{n}(X,A)$ for a pair $(X,A),$ where A is a subspace of $X.$
The construction is motivated by the observation that for an inclusion $i:(A,x_{0})\hookrightarrow (X,x_{0}),$ there is an induced map on each homotopy group $i_{*}:\pi _{n}(A)\to \pi _{n}(X)$ which is not in general an injection. Indeed, elements of the kernel are known by considering a representative $f:I^{n}\to X$ and taking a based homotopy $F:I^{n}\times I\to X$ to the constant map $x_{0},$ or in other words $H_{I^{n}\times 1}=f,$ while the restriction to any other boundary component of $I^{n+1}$ is trivial. Hence, we have the following construction:
The elements of such a group are homotopy classes of based maps $D^{n}\to X$ which carry the boundary $S^{n-1}$ into A. Two maps $f,g$ are called homotopic relative to A if they are homotopic by a basepoint-preserving homotopy $F:D_{n}\times [0,1]\to X$ such that, for each p in $S^{n-1}$ and t in $[0,1],$ the element $F(p,t)$ is in A. Note that ordinary homotopy groups are recovered for the special case in which $A=\{x_{0}\}$ is the singleton containing the base point.
These groups are abelian for $n\geq 3$ but for $n=2$ form the top group of a crossed module with bottom group $\pi _{1}(A).$
There is also a long exact sequence of relative homotopy groups that can be obtained via the Puppe sequence:
    $\cdots \to \pi _{n}(A)\to \pi _{n}(X)\to \pi _{n}(X,A)\to \pi _{n-1}(A)\to \cdots$

## Related notions

The homotopy groups are fundamental to homotopy theory, which in turn stimulated the development of model categories. It is possible to define abstract homotopy groups for simplicial sets.
Homology groups are similar to homotopy groups in that they can represent "holes" in a topological space. However, homotopy groups are often very complex and hard to compute. In contrast, homology groups are commutative (as are the higher homotopy groups). Hence, it is sometimes said that "homology is a commutative alternative to homotopy". Given a topological space $X,$ its n-th homotopy group is denoted by $\pi _{n}(X),$ and its n-th homology group is denoted by $H_{n}(X)$ or $H_{n}(X;\mathbb {Z} ).$