logo

Definition of Simplicial Homology group 📂Topological Data Analysis

Definition of Simplicial Homology group

Buildup

Despite the complexity of the content, I made sure to leave detailed calculations and explanations to make it as understandable as possible. If you’re interested in homology, I highly recommend reading this.

20220118_105805.png

Consider a topological space XX of interest, represented through a Δ\Delta-complex structure according to a specific simplicial complex. As a small example, in the image on the right, the torus represents XX, and the left side corresponds to the simplicial complex.

Definition of a simplex:

  1. The convex hull of v0,v1,,vnRn+1v_{0}, v_{1} , \cdots , v_{n} \in \mathbb{R}^{n+1}, which are affinely independent, is called an nn-simplex Δn\Delta^{n}, and the vectors vkv_{k} are called vertices. Mathematically, it is expressed as follows. Δn:={ktkvk:vkRn+1,tk0,ktk=1} \Delta^{n} := \left\{ \sum_{k} t_{k} v_{k} : v_{k} \in \mathbb{R}^{n+1} , t_{k} \ge 0 , \sum_{k} t_{k} = 1 \right\}
  2. An n1n-1-simplex Δn1\Delta^{n-1} created by removing a vertex from Δn\Delta^{n} is called a face of Δn\Delta^{n}. The union of all faces of Δn\Delta^{n} is called the boundary of Δn\Delta^{n} and is denoted as Δn\partial \Delta^{n}.
  3. The interior of a simplex (Δn):=ΔnΔn\left( \Delta^{n} \right)^{\circ} := \Delta^{n} \setminus \partial \Delta^{n} is called an open simplex.

Let’s say a simplicial complex is a complex made up of simplices, specifically forming a CW complex as follows:

The definition of nn:

  1. DnRnD^{n} \subset \mathbb{R}^{n} defined as follows is called an nn-unit disk. Dn:={xRn:x1} D^{n} := \left\{ \mathbf{x} \in \mathbb{R}^{n} : \left\| \mathbf{x} \right\| \le 1 \right\}
  2. A subset ene^{n} that is homeomorphic to DnDnD^{n} \setminus \partial D^{n} is called an nn-cell.

Definition of CW Complex:

  1. A discrete set X0X^{0} \ne \emptyset is considered as 0-cells.
  2. An nn-skeleton XnX^{n} is made by attaching nn-cells eαne_{\alpha}^{n} to Xn1X^{n-1} using the maps ϕα:Sn1Xn1\phi_{\alpha} : S^{n-1} \to X^{n-1}.
  3. X:=nNXnX := \bigcup_{n \in \mathbb{N}} X^{n} becomes a topological space with a weak topology, then XX is called a cell complex.

Definition

Consider a topological space XX with a Δ\Delta-complex structure.

  1. Let’s denote the free Abelian group with a basis of open nn-simplices, or nn-cells eαne_{\alpha}^{n} in XX, as Δn(X)\Delta_{n} (X). Elements of Δn(X)\Delta_{n} (X) are called nn-chains and are represented as formal sums with coefficients kαZk_{\alpha} \in \mathbb{Z} as follows. αkαeαn \sum_{\alpha} k_{\alpha} e_{\alpha}^{n} Each nn-cell eαne_{\alpha}^{n} corresponds to a characteristic map σα:ΔnX\sigma_{\alpha} : \Delta^{n} \to X, allowing representation as follows. αkασα \sum_{\alpha} k_{\alpha} \sigma_{\alpha}
  2. The boundary homomorphism n:Δn(X)Δn1(X)\partial_{n} : \Delta_{n} (X) \to \Delta_{n-1} (X) is defined as follows, where σα[v1,,v^i,,vn]\sigma_{\alpha} | \left[ v_{1} , \cdots , \hat{v}_{i} , \cdots , v_{n} \right] indicates the restriction of σα\sigma_{\alpha} to an n1n-1-simplex in XX. n(σα):=i=0n(1)iσα[v1,,v^i,vn] \partial _{n} \left( \sigma_{\alpha} \right) := \sum_{i=0}^{n} \left( -1 \right)^{i} \sigma_{\alpha} | \left[ v_{1} , \cdots , \hat{v}_{i} \cdots , v_{n} \right]
  3. The quotient group kern/Imn+1\ker \partial_{n} / \operatorname{Im} \partial_{n+1} is denoted as HnΔH_{n}^{\Delta}, and since HnΔH_{n}^{\Delta} is a homology group, it is called the nnth simplicial homology group of XX.

  • The group 00 is a magma defined on 0{ 0 }, essentially an empty algebraic structure.
  • The homomorphism 2=0\partial^{2} = 0 is a zero morphism.
  • Im\operatorname{Im} refers to the image.
  • ker\ker refers to the kernel.
  • In a set, the notation v^i\hat{v}_{i} means excluding viv_{i}, as follows: v1,,v^i,,vn:=v1,,vnvi { v_{1} , \cdots , \hat{v}_{i} , \cdots , v_{n} } := { v_{1} , \cdots , v_{n} } \setminus { v_{i} }

Explanation

The definition section might be overwhelming with its dense text. It’s normal if it’s not immediately clear. The explanation aims to be thorough and accessible, addressing points that were confusing during my study.

Why are elements of Δn(X)\Delta_{n} (X) called chains?

Considering the notation σα:ΔnX\sigma_{\alpha} : \Delta^{n} \to X, we can abstract away whether eαne_{\alpha}^{n} is an element of Δn\Delta^{n} or XX. For n=2n=2 and all coefficients kα=1k_{\alpha} = 1, the geometric representation can be imagined as the figure on the right, denoted as i=17σi\sum_{i=1}^{7} \sigma_{i}.

20220128_152811.png

The term “chain” might make sense now, but it’s not crucial for understanding. What’s important is that the collection of nn-chains in Δn(X)\Delta_{n} (X) forms a chain complex.

Is Δn(X)\Delta_{n} (X) really a group?

It’s crucial to note that the “formal sum” used to describe chains is not an algebraic operation within Δn(X)\Delta_{n} (X). This notation is merely symbolic. For example, the expression

2😀 + 💎 - 3🍌

has no mathematical meaning as it's unclear what "twice 😀 plus 💎 minus three 🍌" would entail. This confusion is similar to the uncertainty in _αk_αe_α_αk_ασ_α\sum\_{\alpha} k\_{\alpha} e\_{\alpha} \simeq \sum\_{\alpha} k\_{\alpha} \sigma\_{\alpha} regarding - The addition of open simplices e_αne\_{\alpha}^{n}, which is undefined - The interpretation of σ_α\sigma\_{\alpha}, which is a function - The meaning of operations like 3e_1n+7e_2n3σ_1+7σ_2-3 e\_{1}^{n} + 7 e\_{2}^{n} \simeq -3 \sigma\_{1} + 7 \sigma\_{2}

Thankfully, these concerns are irrelevant to Δn(X)\Delta_{n} (X). If we define

σ=\sigma=2😀 + 💎 - 3🍌

as an nn-chain in Δ_n(X)\Delta\_{n} (X), its inverse can be defined using the inverses of coefficients k_α(Z,+)k\_{\alpha} \in (\mathbb{Z}, +), resulting in

σ=-\sigma= (-2)😀 + (-1)💎 + 3🍌

This definition is sufficient regardless of the specific structure of Δn(X)\Delta_{n} (X). The identity element of Δn(X)\Delta_{n} (X) can be defined as 0:=σ+(σ)0 := \sigma + (-\sigma), and since Z\mathbb{Z} is an Abelian group, so is Δn(X)\Delta_{n} (X). The operation ++ in (Δn(X),+)(\Delta_{n} (X), +) is induced from (Z,+)(\mathbb{Z}, +) but is distinct, and Δn(X)\Delta_{n} (X) is a free Abelian group, with αkασα\sum_{\alpha} k_{\alpha} \sigma_{\alpha} now being an algebraic sum.

In summary:

  • The initial definition’s appearance of addition in αkασα\sum_{\alpha} k_{\alpha} \sigma_{\alpha} was merely notational, not an operation.
  • The ++ in (Δn(X),+)(\Delta_{n} (X), +) is derived from (Z,+)(\mathbb{Z}, +) but is not the same.
  • (Δn(X),+)(\Delta_{n} (X), +) is a free Abelian group, and αkασα\sum_{\alpha} k_{\alpha} \sigma_{\alpha} is now an algebraic sum.

Why is \partial called the boundary?

The definition of n\partial_{n} may seem abstract, but the following illustration clarifies its meaning.

20220128_161210.png

For example, for 2\partial_{2}, we can perform the following calculation. 2[v0,v1,v2]=i=02(1)i[v0,v1,v2][vi]=(1)0[v1,v2]+(1)1[v0,v2]+(1)2[v0,v1]=[v1,v2][v0,v2]+[v0,v1] \begin{align*} & \partial _{2} \left[ v_{0} ,v_{1}, v_{2} \right] \\ =& \sum_{i=0}^{2} (-1)^{i} \left[ v_{0} ,v_{1}, v_{2} \right] \setminus \left[ v_{i} \right] \\ =& (-1)^{0} \left[ v_{1}, v_{2} \right] + (-1)^{1} \left[ v_{0}, v_{2} \right] + (-1)^{2} \left[ v_{0}, v_{1} \right] \\ =& \left[ v_{1}, v_{2} \right] - \left[ v_{0}, v_{2} \right] + \left[ v_{0}, v_{1} \right] \end{align*}

If you’re studying homology, it’s generally accepted that the boundary of a triangle [v0,v1,v2]\left[ v_{0} ,v_{1}, v_{2} \right] consists of the segments [v1,v2],[v0,v2],[v0,v1]\left[ v_{1}, v_{2} \right], \left[ v_{0}, v_{2} \right], \left[ v_{0} , v_{1} \right]. The real challenge is understanding what [v1,v2][v0,v2]\left[ v_{1}, v_{2} \right] - \left[ v_{0}, v_{2} \right] means. How can segments be subtracted? And how about operations on 2-simplices like triangles?

These questions miss the point. Refocusing, 2[v0,v1,v2]Δ1(X)\partial_{2} \left[ v_{0} ,v_{1}, v_{2} \right] \in \Delta_{1} (X) is simply a formal sum of the three elements [v1,v2],[v0,v2],[v0,v1]\left[ v_{1}, v_{2} \right], \left[ v_{0}, v_{2} \right], \left[ v_{0} , v_{1} \right]. (+1)[v1,v2]+(1)[v0,v2]+(+1)[v0,v1] (+1) \left[ v_{1}, v_{2} \right] + (-1) \left[ v_{0}, v_{2} \right] + (+1) \left[ v_{0}, v_{1} \right]

Denoting these as a:=[v1,v2] b:=[v0,v2] c:=[v0,v1] \begin{align*} a := \left[ v_{1}, v_{2} \right] \ b:= \left[ v_{0}, v_{2} \right] \ c:= \left[ v_{0} , v_{1} \right] \end{align*} reveals the nature of Δ1(X)\Delta_{1} (X). For example, a 11-chain xΔ1(X)x \in \Delta_{1} (X) can be represented with coefficients ka,kb,kcZk_{a} , k_{b} , k_{c} \in \mathbb{Z} as x=kaa+kbb+kcc x = k_{a} a + k_{b} b + k_{c} c

Viewing from the perspective of a,b,ca,b,c, the free group Δ1(X):=F[a,b,c]\Delta_{1} (X) := F[{ a,b,c }] is constructed, essentially equivalent to Z3ZZZ\mathbb{Z}^{3} \simeq \mathbb{Z} \oplus \mathbb{Z} \oplus \mathbb{Z}.

This shift in perspective is crucial for understanding subsequent examples. We must think algebraically rather than geometrically.

Examples

Consider the following scenario: n:Δn(X)Δn1(X)HnΔ(X)=kern/Imn+1 \begin{align*} \\ \partial_{n} :& \Delta_{n} (X) \to \Delta_{n-1} (X) \\ H_{n}^{\Delta} (X) =& \ker \partial_{n} / \operatorname{Im} \partial_{n+1} \end{align*}

For n=0n = 0, 0:Δ0(X)0\partial_{0} : \Delta_{0} (X) \to 0 implies ker0=Δ0(X)\ker \partial_{0} = \Delta_{0} (X).

Circle S1S^{1}

20220129_120627.png

For a circle X=S1X = S^{1}, there’s one 0-simplex (vertex vv), one 1-simplex (edge ee), and no nn-simplices for n2n \ge 2. The chain complex is structured as follows: 0Δ1(S1)1Δ0(S1)00 \cdots \longrightarrow 0 \longrightarrow \Delta_{1}\left( S^{1} \right) \overset{\partial_{1}}{\longrightarrow} \Delta_{0}\left( S^{1} \right) \overset{\partial_{0}}{\longrightarrow} 0

Δ1(S1)\Delta_{1}(S^{1}), being generated solely by ee, is isomorphic to Z\mathbb{Z}, and similarly, Δ0(S1)\Delta_{0}(S^{1}) is isomorphic to Z\mathbb{Z} due to being generated by vv alone. Since 1\partial_{1} is a zero morphism: e=vv=0 \partial e = v - v = 0

For n=0n = 0, ker0=Δ0(S1)\ker \partial_{0} = \Delta_{0} (S^{1}), and since 1\partial_{1} is a zero morphism, its image is 0{ 0 }, leading to: H0Δ(S1)=ker0/Im1Δ0(S1)/{0}Z \begin{align*} H_{0}^{\Delta} \left( S^{1} \right) =& \ker \partial_{0} / \operatorname{Im} \partial_{1} \\ \simeq& \Delta_{0} \left( S^{1} \right) / \left\{ 0 \right\} \\ \simeq& \mathbb{Z} \end{align*}

For n=1n = 1, Im2=0\operatorname{Im} \partial_{2} = { 0 } since 1\partial_{1} is a zero morphism, and ker1=Δ1(S1)\ker \partial_{1} = \Delta_{1} (S^{1}), resulting in: H1Δ(S1)=ker1/Im2Δ1(S1)/{0}Z \begin{align*} H_{1}^{\Delta} \left( S^{1} \right) =& \ker \partial_{1} / \operatorname{Im} \partial_{2} \\ \simeq& \Delta_{1} \left( S^{1} \right) / \left\{ 0 \right\} \\ \simeq& \mathbb{Z} \end{align*}

For n2n \ge 2, HnΔ(S1)0H_{n}^{\Delta} (S_{1}) \simeq 0, summarizing as: HnΔ(S1){Z,if n=0,10,if n2 H_{n}^{\Delta} \left( S_{1} \right) \simeq \begin{cases} \mathbb{Z} & , \text{if } n = 0, 1 \\ 0 & , \text{if } n \ge 2 \end{cases}

Torus T2T^{2}

20220118_105805.png

Considering a torus T2T^{2} as in the image, there’s one 0-simplex (vertex vv), three 1-simplices (edges aa, bb, cc), two 2-simplices (UU, LL), and no nn-simplices for n3n \ge 3. The chain complex is organized as follows: 0Δ2(T)2Δ1(T)1Δ0(T)00 \cdots \longrightarrow 0 \longrightarrow \Delta_{2}\left( T \right) \overset{\partial_{2}}{\longrightarrow} \Delta_{1}\left( T \right) \overset{\partial_{1}}{\longrightarrow} \Delta_{0}\left( T \right) \overset{\partial_{0}}{\longrightarrow} 0

Hence, the free groups Δn(T)\Delta_{n} (T) are: Δn(T){Z1,if n=0Z3,if n=1Z2,if n=20,if n3 \Delta_{n} \left( T \right) \simeq \begin{cases} \mathbb{Z}^{1} & , \text{if } n = 0 \\ \mathbb{Z}^{3} & , \text{if } n = 1 \\ \mathbb{Z}^{2} & , \text{if } n = 2 \\ 0 & , \text{if } n \ge 3 \end{cases}

Since the edges aa, bb, cc connect to vertex vv at both ends: a=vv=0b=vv=0c=vv=0 \begin{align*} \partial a =& v - v = 0 \\ \partial b =& v - v = 0 \\ \partial c =& v - v = 0 \end{align*} and 1\partial_{1} is a zero morphism, similar to the circle case.

For n=0n = 0, the situation mirrors that of the circle: H0Δ(T)=ker0/Im1Δ0(T)/{0}Z \begin{align*} H_{0}^{\Delta} \left( T \right) =& \ker \partial_{0} / \operatorname{Im} \partial_{1} \\ \simeq& \Delta_{0} \left( T \right) / \left\{ 0 \right\} \\ \simeq& \mathbb{Z} \end{align*}

For n=1n = 1, since 1\partial_{1} is a zero morphism, ker1=Δ1(T)\ker \partial_{1} = \Delta_{1} (T). The boundary homomorphism 2:Δ2(T)Δ1(T)\partial_{2} : \Delta_{2}(T) \to \Delta_{1}(T) yields: 2U=a+bc=2L \partial_{2} U = a + b - c = \partial_{2} L and since a,b,a+bc{ a, b, a + b - c } is a basis for Δ1(T)\Delta_{1}(T), H1ΔH_{1}^{\Delta} is isomorphic to the free group generated by aa and bb, resulting in: H1Δ(T)ZZ H_{1}^{\Delta} \left( T \right) \simeq \mathbb{Z} \oplus \mathbb{Z}

For n=2n = 2, Im3=0\operatorname{Im} \partial_{3} = { 0 } and considering the dimensions of Δ2(T)\Delta_{2}(T) and Δ1(T)\Delta_{1}(T), we get: H2Δ(T)=ker2/Im3Z32/{0}Z \begin{align*} H_{2}^{\Delta} \left( T \right) =& \ker \partial_{2} / \operatorname{Im} \partial_{3} \\ \simeq& \mathbb{Z}^{3-2} / \left\{ 0 \right\} \\ \simeq& \mathbb{Z} \end{align*}

For n3n \ge 3, HnΔ(T)0H_{n}^{\Delta} (T) \simeq 0, summarizing as: HnΔ(T){Z,if n=0ZZ,if n=1Z,if n=20,if n3 H_{n}^{\Delta} \left( T \right) \simeq \begin{cases} \mathbb{Z} & , \text{if } n = 0 \\ \mathbb{Z} \oplus \mathbb{Z} & , \text{if } n = 1 \\ \mathbb{Z} & , \text{if } n = 2 \\ 0 & , \text{if } n \ge 3 \end{cases}

Theorem

HnΔH_{n}^{\Delta} is a homology group

Definition of a homology group:

  1. Let nN0n \in \mathbb{N}_{0}. A sequence of Abelian groups CnC_{n} and homomorphisms n:CnCn1\partial_{n} : C_{n} \longrightarrow C_{n-1} forming a chain Cn+1n+1CnnCn1C11C000 \cdots \longrightarrow C_{n+1} \overset{\partial_{n+1}}{\longrightarrow} C_{n} \overset{\partial_{n}}{\longrightarrow} C_{n-1} \longrightarrow \cdots \longrightarrow C_{1} \overset{\partial_{1}}{\longrightarrow} C_{0} \overset{\partial_{0}}{\longrightarrow} 0 that satisfies nn+1=0 \partial_{n} \circ \partial_{n+1} = 0 for all nn is called a chain complex.
  2. The quotient group Hn:=kern/Imn+1H_{n} := \ker \partial_{n} / \operatorname{Im} \partial_{n+1} is called the nnth homology group of the complex.
  3. The homomorphism n:CnCn1\partial_{n} : C_{n} \longrightarrow C_{n-1} is called the boundary or differential operator.

For the chain complex (Δn(X),n)n=0{ (\Delta_{n} (X), \partial_{n}) }_{n=0}^{\infty}, HnΔ:=kern/Imn+1H_{n}^{\Delta} := \ker \partial_{n} / \operatorname{Im} \partial_{n+1} is a homology group. That is, nn+1\partial_{n} \circ \partial_{n+1} is a zero morphism for all nNn \in \mathbb{N}.

Proof

Applying n1n\partial_{n-1} \circ \partial_{n} to σΔn\sigma \in \Delta_{n} yields: (n1n)(σ)=n1(n(σ))=n1(i=0n(1)iσα[v1,,v^i,,vn])=j<i(1)i(1)jσα[v1,,v^i,,v^j,,vn]+(1)j>i(1)i(1)jσα[v1,,v^i,,v^j,,vn]=0 \begin{align*} & \left( \partial_{n-1} \circ \partial_{n} \right) \left( \sigma \right) \\ =& \partial_{n-1} \left( \partial_{n} \left( \sigma \right) \right) \\ =& \partial_{n-1} \left( \sum_{i=0}^{n} \left( -1 \right)^{i} \sigma_{\alpha} | \left[ v_{1} , \cdots , \hat{v}_{i} , \cdots , v_{n} \right] \right) \\ =& \sum_{j < i} \left( -1 \right)^{i} \left( -1 \right)^{j} \sigma_{\alpha} | \left[ v_{1} , \cdots , \hat{v}_{i} , \cdots , \hat{v}_{j} , \cdots , v_{n} \right] \\ & + \left( -1 \right) \sum_{j >i} \left( -1 \right)^{i} \left( -1 \right)^{j} \sigma_{\alpha} | \left[ v_{1} , \cdots , \hat{v}_{i} , \cdots , \hat{v}_{j} , \cdots , v_{n} \right] \\ =& 0 \end{align*}

Such proofs are often more illuminating with specific examples rather than generalizations. 1(2[v0,v1,v2])=1([v1,v2][v0,v2]+[v0,v1])=1[v1,v2]1[v0,v2]+1[v0,v1]=[v2][v1]([v2][v0])+[v1][v0]=0 \begin{align*} & \partial_{1} \left( \partial_{2} \left[ v_{0}, v_{1} , v_{2} \right] \right) \\ =& \partial_{1} \left( \left[ v_{1} , v_{2} \right] - \left[ v_{0}, v_{2} \right] + \left[ v_{0}, v_{1} \right] \right) \\ =& \partial_{1} \left[ v_{1} , v_{2} \right] - \partial_{1} \left[ v_{0}, v_{2} \right] + \partial_{1} \left[ v_{0}, v_{1} \right] \\ =& \left[ v_{2} \right] - \left[ v_{1} \right] - \left( \left[ v_{2} \right] - \left[ v_{0} \right] \right) + \left[ v_{1} \right] - \left[ v_{0} \right] \\ =& 0 \end{align*}