Definition 8.1 Let X⊂Rn be a subset, and fix x0∈X. A loop in X based at x0 is a continuous function
[0,1]γRn
satisfying the following conditions:
For every t∈[0,1], we have γ(t)∈X.
γ(0)=γ(1)=x0.
Example 8.1 Let
X=Rn∖{0},x0=(1,0).
Definition 8.2 Given two curves γ1 and γ2, we say that γ1 and γ2 are homotopic if γ1 can be continuously deformed into γ2 without changing γ(0) or γ(1).
That is, there exists a continuous map
Γ:[0,1]×[a,b](t,s)→X↦Γ(t,s)
such that
Γ(t,a)=γ1(t).
Γ(t,b)=γ2(t).
For every s,
Γ(0,s)=Γ(1,s)=x0.
Here [a,b] is some interval.
You may think of this as a “path animation” lasting b−a seconds.
Lemma 8.1 If
γ1∼γ2
if and only if γ1 and γ2 are homotopic, then ∼ is an equivalence relation.
Informally:
Every path can be deformed back to itself by “doing no deformation”.
If γ1 can be deformed into γ2, then γ2 can be deformed back into γ1 by reversing the deformation.
If γ1 can be deformed into γ2 and γ2 can be deformed into γ3, then γ1 can be deformed into γ3 by performing the two deformations consecutively.
Definition 8.3 Define
π1(X,x0)={loops based at x0}/∼.
This is called the fundamental group of X based at x0.
Remark If X is connected, then for any two base points,
π1(X,x0)≅π1(X,x0′).
Composition in the fundamental group is defined as follows: