Skip to content

Notes of Topology ​

Lesson 1: Topological Spaces ​

Topological Spaces ​

Definition of topological spaces ​

A topological space is a pair (X,T) where X is a set and T is a collection of subsets of X such that:

  • ∅∈T and X∈T,
  • for every infinite collection {Oα}α∈A⊂T, we have ⋃α∈AOα∈T,
  • for every finite collection {Oi}1≤i≤n⊂T, we have ⋂1≤i≤nOi∈T.

The set T is called a topology on X. The elements of T are called the open sets.

Definition via closed sets ​

Let (X,T) be a topological space. For every open set O∈T, its complement cO={x∈X,x∉O} is called a closed set.

In other words, a set A⊂X is closed iff cA is open.

Topology of Rn ​

Open balls of Rn ​

Let x∈Rn and r>0. The open ball of center x and radius r, denoted B(x,r), is defined as:

B(x,r)={y∈Rn,∥x−y∥<r}

Euclidean topology ​

Let A⊂Rn be a subset. Let x∈A.

We say that A is open around x if there exists ϵ>0 such that B(x,ϵ)⊂A.

We say that A is open if for every x∈A, A is open around x.

We denote the set of such open set by TRn, the Euclidean topology on Rn.

Topology of Subsets of Rn ​

Subspace topology ​

Let (X,T) be a topological space, and Y⊂X a subset. We define the subspace topology on Y as the following set:

T|Y={O∩Y,O∈T}

Continuous Maps ​

Continuous maps ​

(X,T) (Y,U)

Let f:X→Y be a map. We say that f is continuous if for every O∈U, the preimage f−1(O)={x∈X,f(x)∈O} is in T.

Lesson 2: Homeomorphisms ​

Homeomorphic Topological Spaces ​

Definition of homeomorphism ​

Let (X,T) and (Y,U) be two topological spaces, and f:X→Y a map.

We say that f is a homeomorphism if

  • f:X→Y is continuous,
  • f is a bijection,
  • f−1:Y→X is continuous.

If there exist such a homeomorphism, we say that the two topological spaces are homeomorphic.

Homeomorphism equivalence relation ​

Let us write X≃Y if the two topological spaces X and Y are homeomorphic, i.e., if there exists a homeomorphism f:X→Y.

For any X, we have X≃X.

Moreover, we have X≃Y⟺Y≃X.

We also have a third property X≃Y and Y≃X⟹X≃Z.

Connected Components ​

Connectedness ​

Let (X,T) be a topological space. We say that X is connected if for every open sets O, O′∈T such that O∩O′=∅, we have X=O∪O′⟹O=∅ or O′=∅.

In other words, a connected topological space cannot be divided into two non-empty disjoint open sets.

Connectedness as an invariant ​

Invariant property ​

Two homeomorphic topological spaces admit the same number of connected components.

Dimension ​

Invariance of domain ​

If m≠n, the Euclidean spaces Rm and Rn are not homeomorphic.

Dimension ​

Let (X,T) be a topological space, and n≥0. We say that it has dimension n if the following is true: for every x∈X, there exists an open set O such that x∈O, and a homeomorphism O→Rn.

Dimension Invariant ​

Let X, Y be two homeomorphic topological spaces. If X has dimension n, then Y also has dimension n.

Lesson 3: Homotopies ​

Homotopy Equivalence between Maps ​

Definition ​

Let (X,T) and (Y,U) be two topological spaces, and f,g:X→Y two continuous maps. A homotopy between f and g is a map F:X×[0,1]→Y such that:

  • F(⋅,0) is equal to f,
  • F(⋅,1) is equal to g,
  • F:X×[0,1]→Y is continuous.

If such a homotopy exists, we say that the maps f and g are homotopic.

For any t∈[0,1], the notation F(⋅,t) refers to the map

F(⋅,t):X⟶Yx⟼F(x,t)

Trivial maps ​

From a homotopic point a view, a trivial map is a map that is homotopic to a constant map.

Homotopy Equivalence between Topological Spaces ​

Definition of homotopy equivalence ​

Let (X,T) and (Y,U) be two topological spaces. A homotopy equivalence between X and Y is a pair of continuous maps f:X→Y and g:Y→X such that:

  • g∘f:X→X is homotopic to the identity map id: X→X,
  • f∘g:Y→Y is homotopic to the identity map id: Y→Y.

If such a homotopy equivalence exists, we say that X and Y are homotopy equivalent.

Deformation retractions ​

Let (X,T) be a topological space and Y⊂X a subset, endowed with the subspace topology T|Y.

A retraction is a continuous map r:X→X such that ∀x∈X, r(x)∈Y and ∀y∈Y, r(y)=y.

A deformation retraction is a homotopy F:X×[0,1]→Y between the identity map id: X→X and a retraction r:X→X.

Homotopy Equivalence Relation ​

Homeomorphic implies homotopic ​

Let X, Y be two topological spaces. If they are homeomorphic, then they are homotopic equivalent.

Invariants ​

Number of connected components ​

Two homotopy equivalent topological spaces admit the same number of connected components.

Lesson 4: Simplicial Complexes ​

Combinatorial Simplicial Complexes ​

Standard simplices ​

单纯形 - 维基百科,自由的百科全书

The standard simplex of dimension n is the following subset of Rn+1

Δn={x=(x1,…,xn+1)∈Rn+1,x1,…,xn+1≥0 and x1+⋯+xn+1=1}

凸包 - 维基百科,自由的百科全书

For any collection of points a1,…,ak∈Rn, their convex hull is defined as:

conv({a1…ak})={∑1≤i≤ktiai,t1+⋯+tk=1,t1,…,tk≥0}

We can say that Δn is the convex hull of the vectors e1,…,en+1 of \Rn+1, where ei=(0,…,1,0,…,0)

Simplicial complexes ​

单纯复形 - 维基百科,自由的百科全书

Let V be a set (called the set of vertices). A simplicial complex over V is a set K of subsets of V (called the simplices) such that, for every σ∈K and every non-empty τ⊂σ, we have τ∈K.

Topology ​

Topological realization ​

Let K be a simplicial complex, with vertex V={1,…,n}.

In Rn, consider, for every i∈[1,n], the vector ei=(0,…,1,0,…,0).

Let |K| be the subset of Rn defined as:

|K|=⋃σ∈Kconv({ej,j∈σ})

where conv represent the convex hull of points.

Endowed with the subspace topology, (|K|,T|K|) is a topological space, that we call the topological realization of K.

Triangulations ​

Let (X,T) be a topological space. A triangulation of X is a simplicial complex K such that its topological realization |K| is homeomorphic to X.

Euler Characteristic ​

Euler characteristic ​

Let K be a simplicial complex of dimension n. Its Euler characteristic is the integer:

χ(K)=∑0≤i≤n(−1)i⋅(number of simplices of dimension i)

Let X be a topological space. Its Euler characteristic is defined as the Euler characteristic of any triangulation of it.

Euler characteristic is an invariant ​

If X and Y are two homotopy equivalent topological spaces, then χ(X)=χ(Y).

Lesson 5: Homological Algebra ​

Reminder of Algebra ​

Groups ​

We recall that a group (G,+) is a set G endowed with an operation

G×G⟶G(g,h)⟼g+h

such that:

  • (associativity) ∀a,b,c∈G, (a+b)+c=a+(b+c),
  • (identity) ∃0∈G, ∀a∈G, a+0=0+a=a,
  • (inverse) ∀a∈G, ∃b∈G, a+b=b+a=0.

Quotient group ​

商群 - 维基百科,自由的百科全书

A subgroup of (G,+) is a subset H⊂G such that

∀a,b∈H,a+b∈H

If H is a subgroup of G, the operation +:G×G→G restricts to an operation +:H×H→H, making H a group on its own.

Suppose that ∗∗G is commutative**, and that ∗∗H is a subgroup of G**. We define the following equivalence relation on G: ∀a,b∈G,

a∼b⟺a−b∈H

Denoted by G/H the quotient set of G under this relation. For any a∈G, one shows that the equivalence class of a is equal to a+H={a+h,h∈H}

Let a0,a1,…,an be a choice of representants of equivalence classes of the relation ∼.

The quotient set can be written as G/H={0+H,a1+H,…,an+H}.

One defines a group structure ⊕ on G/H as follows: for any i,j∈[0,n],

(ai+H)⊕(aj+H)=(ai+aj)+H

The group (G/H,⊕) is called the quotient group.

The group Z/2Z ​

The subgroup 2Z⊂Z consists of all even numbers.

The relation a∼b⟺a−b∈2Z admits two equivalence classes: 2Z={2n,n∈Z} and 1+2Z={1+2n,n∈Z}

The quotient group can be seen as the group Z/2Z={0,1} with the operation

0+0=00+1=11+0=11+1=0

For any n≥1, the product group ((Z/2Z)n,+) is the group whose underlying set is

(Z/2Z)n={(ϵ1,…,ϵn),ϵ1,…,ϵn∈Z/2Z}

and whose operation is defined as

(ϵ1,…,ϵn)+(ϵ1′,…,ϵn′)=(ϵ1+ϵ1′,…,ϵn+ϵn′)

Note that the set (Z/2Z)n has 2n elements.

Vector spaces ​

Let (F,+,×) be a field. We recall that a vector space over F is a group (V,+) endowed with an operation:

F×V⟶V(λ,v)⟼λ⋅v

such that

  • (compatibility of multiplication) ∀λ,μ∈F, ∀v∈V, λ⋅(μ⋅v)=(λ×μ)⋅v,
  • (identity) ∀v∈V, 1⋅v=v where 1 denotes the unit of F,
  • (scalar distributivity) ∀λ,υ∈F, ∀v∈V, (λ+υ)⋅v=λ⋅v+υ⋅v,
  • (vector distributivity) ∀μ∈F, ∀v,w∈V, λ⋅(u+v)=λ⋅v+υ⋅v.

Let {v1,…,vn} be a collection of elements of V. We say that it is free if

∀λ1,…,λn∈F,∑1≤i≤nλivi=0⟹λ1=⋯=λn=0

We say that it is spans V if

∀v∈V,∃λ1,…,λn∈F,∑1≤i≤nλivi=v

If the collection {v1,…,vn} is free and spans V, we say that it is a basis.


A linear subspace of (V,+,⋅) is a subset W⊂V such that

∀u,v∈W,u+v∈W and ∀v∈W,∀λ∈F,λv∈W

Just as for groups, we can define an equivalence relation ∼ on V, and a quotient vector space V/W.

Isomorphism & Isomorphic ​

We have dim⁡V/W=dim⁡V−dim⁡W

Let (V,+,⋅) and (W,+,⋅) be two vector spaces. A linear map is a map f:V→W such that

∀u,v∈V,f(u+v)=f(u)+f(v) and ∀v∈V,∀λ∈F,f(λv)=λ⋅f(v)

If f is a bijection, it is called an isomorphism, and we say that V and W are isomorphic.

Z/2Z-vector spaces ​

Let (V,+) be a commutative group.

It can be given a Z/2Z-vector space structure iff ∀v∈V, v+v=0.

Chains, cycles, and boundaries ​

Skeleton ​

Let K be a simplicial complex. For any n≥0, define the n-skeleton of K:

Kn={σ∈K,dim⁡(σ)≤n}

Also, define

K(n)={σ∈K,dim⁡(σ)=n}

Chains ​

Let n≥0. The n-chains of K is the set Cn(K) whose elements are the formal sums

∑σ∈K(n)ϵσ⋅σ where ∀σ∈K(n),ϵσ∈Z/2Z

Boundary operator ​

Let n≥1, and σ=[x0,…,xn]∈K(n) a simplex of dimension n. We define its boundary as the following element of Cn−1(K):

∂nσ=∑τ⊂σ,|τ|=|σ|−1τ

We can extend the operator ∂n as a linear map ∂n:Cn(K)→Cn−1(K) as follows: for any element of Cn(K),

∂n∑σ∈K(n)ϵσ⋅σ=∑σ∈K(n)ϵσ⋅∂nσ

For any n≥1, for any c∈Cn(K), we have ∂n−1∘∂n(c)=0.

Cycles and boundaries ​

Let n≥0. We have a triplet of vector spaces

Cn+1(K)→Cn(K)→Cn−1(K)

We can consider their kernel and image.


We define:

Kernel (set theory) - Wikipedia

  • The n-cycles: Zn(K)=Ker(∂n),
  • The n-boundaries: Bn(K)=Im(∂n+1).

We say that two chains c, c′∈Cn(K) are homologous if there exists b∈Bn(K) such that c=c′+b. Two chains are homologous if they are equal up to a boundary.

Homology Groups ​

Homology groups ​

nth homology group of K:

Hn(K)=Zn(K)/Bn(K)

dim⁡Hn(K)=dim⁡Bn(K)−dim⁡Zn(K).


Let K be a simplicial complex and n≥0. Its nth Betti number is the integer βn(K)=dim⁡Hn(K).

Homology Groups of Topological Spaces ​

Invariant property ​

The homology groups of a topological space are the homology groups of any triangulation of it. We define its Betti numbers similarly.

If X and Y are two homotopy equivalent topological spaces, then for any n≥0 we have isomorphic homology groups Hn(X)≃Hn(Y). As a consequence, βn(X)=βn(Y).

Incremental Algorithm ​

Incremental Algorithm ​

Ordering the simplicial complex ​

Positivity of simplices ​

Let i∈[1,n], and d=dim⁡(σi). Recall that Ki=Ki+1∪{σi}.

The simplex σi is positive if there exists a cycle c∈Zd(Ki) that contains σi.

In other words, there exists c=∑σ∈K(n)iϵσ⋅σ∈Cn(Ki) such that ϵσi=1 and ∂n(c)=0. Otherwise, σi is negative.


Input: an increasing sequence of simplicial complexes K1⊂⋯⊂Kn=K

Output: the Betti numbers β0(K),…,βd(K)

One day we will climb the highest mountain, and suvey the smallest point.