Given a topological spaceand a point
let
be the set of loops in
with base point
is an equivalence relation on a set
for the set of loops with the same base point
with
if
is a loop in
homotopic to a loop
and
and
have the same base point
The set of homotopy classes is then
The operationof composing loops is associative and has identity
Also ifis a loop,
and since
the inverse of
is
The spacewith operation
is a group with identity
called the fundamental group of the space
based on