1. Home
  2. Explore
  3. Mathematics
  4. Introduction to Homology

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Introduction to Homology

Speaker 1Speaker 2

Introduction to Homology

9:45
0:00-9:45
  1. Maria

    Welcome back. Today we're introducing homology, beginning with a comparison to the fundamental group and higher homotopy groups. The fundamental group studies loops in a space, so it is especially useful for low-dimensional data where those one-dimensional loops are the main objects of interest.

  2. Anna

    And that naturally raises a question: if the fundamental group studies one-dimensional loops, is there a higher-dimensional version of the same idea? There is. The higher homotopy groups are written as Pi_n of X for n greater than or equal to 2, and they generalize the idea of studying loops.

  3. Maria

    For example, Pi_2 is related to two-dimensional loops, which you can picture as loops of loops. Imagine a sphere with a chosen base point. Starting at that point, you can imagine a family of loops that gradually gets larger, travels around the sphere, and then returns to the base point. This kind of construction detects the two-dimensional hole of the sphere in a way that the fundamental group does not.

  4. Anna

    Another way to describe that idea is through maps from a square into a space X, with prescribed behavior on the boundary that pins the map down. But although homotopy groups are powerful, they become complicated and difficult to compute. They can also behave in surprising ways: the homotopy groups of a K-dimensional sphere can be nontrivial even when n is greater than K.

  5. Maria

    So homology provides an alternative. Homology groups are written H_n of X, for n equal to zero, one, two, and so on, and they are commutative groups. Very loosely, H_n measures the number of n-dimensional holes in X, while being designed so that the groups can often be computed algorithmically, even when the space is difficult to picture.

  6. Anna

    Let's build the idea from a concrete example. Start with a directed graph having three vertices, called X, Y, and Z, and four directed edges, called A, B, C, and D. The first three edges are arranged so that A goes from X to Y, B goes from Y to Z, and C goes from Z to X. Edge D also goes from Y to Z in the setup under discussion.

  7. Maria

    This graph contains several visible loops. One is the loop A followed by B followed by C, written ABC. You can also begin that same geometric loop at a different vertex, writing BCA or CAB. In the fundamental group, a specified starting point matters, but homology uses a commutative setting, so these different starting points are treated more flexibly.

  8. Anna

    That commutative viewpoint also changes the notation. Instead of multiplying symbols such as ABC, we use additive notation and write A plus B plus C. Since the operation is commutative, A plus B plus C is the same as B plus C plus A, or any other rearrangement.

  9. Maria

    A closed combination of edges is called a cycle. Besides A plus B plus C, another cycle is C minus D, where the minus sign means that D is traversed in the opposite direction. There is also the outer cycle A plus B plus D. These may look like three different loops, but they are algebraically related.

  10. Anna

    Indeed, A plus B plus C equals A plus B plus D plus C minus D. The added D and subtracted D cancel. So the cycle C minus D is the difference between the cycles A plus B plus C and A plus B plus D. This is why the graph has three visible loops but only two independent ones.

  11. Maria

    Now we make the arithmetic precise. Let C_0 be the free abelian group generated by the vertices X, Y, and Z. Its elements are arbitrary integer combinations of those vertices, such as 2X minus 3Y plus 4Z. These elements are called zero-dimensional chains, or simply zero-chains.

  12. Anna

    Likewise, let C_1 be the free abelian group generated by the directed edges A, B, C, and D. Its elements are integer combinations of edges. For example, A plus B plus D is a one-chain, and so is 2A plus B minus 5C plus 4D, even though the latter does not necessarily represent a closed loop.

  13. Maria

    So a chain is just an integer linear combination of the relevant building blocks. The coefficients are integers, which makes this resemble linear algebra, except that we are working over the integers rather than over the real or rational numbers.

  14. Anna

    The key question is how to recognize algebraically whether a one-chain forms a closed loop. The answer uses a boundary operator, written with the Greek letter delta. The boundary records the endpoint minus the starting point of each directed edge.

  15. Maria

    For edge A, which goes from X to Y, the boundary is delta A equals Y minus X. Similarly, delta B equals Z minus Y, delta C equals X minus Z, and delta D also equals X minus Z according to the graph's directed-edge assignments. In general, the boundary of an edge is its final vertex minus its initial vertex.

  16. Anna

    The boundary map sends one-chains to zero-chains, so it is a map from C_1 to C_0. Because it respects addition, it extends to a group homomorphism. For a general one-chain alpha A plus beta B plus gamma C plus delta D, its boundary is alpha delta A plus beta delta B plus gamma delta C plus delta delta D.

  17. Maria

    Expanding that gives alpha times Y minus X, plus beta times Z minus Y, plus gamma times X minus Z, plus delta times X minus Z. Grouping coefficients by vertex, the result is minus alpha plus gamma plus delta times X, plus alpha minus beta times Y, plus beta minus gamma minus delta times Z.

  18. Anna

    Now test the chain A plus B plus C. Its boundary is Y minus X, plus Z minus Y, plus X minus Z. Every term cancels, leaving zero. That makes sense geometrically: as you travel around a closed loop, every endpoint is canceled by the next starting point.

  19. Maria

    This motivates the algebraic definition: a one-chain T is a cycle precisely when its boundary is zero. In other words, the cycles are exactly the elements of the kernel of the boundary map from C_1 to C_0.

  20. Anna

    To find every cycle in this example, take the general chain alpha A plus beta B plus gamma C plus delta D. Setting its boundary equal to zero gives three equations: minus alpha plus gamma plus delta equals zero; alpha minus beta equals zero; and beta minus gamma minus delta equals zero.

  21. Maria

    This is an integer linear system in four variables. We can represent it with a matrix and find its null space by row reduction. The null space consists of all coefficient vectors whose corresponding chains have boundary zero.

  22. Anna

    After row reduction, two variables can be chosen as free parameters. If we call them R and S, the solutions are alpha equals R plus S, beta equals R plus S, gamma equals R, and delta equals S.

  23. Maria

    In vector form, the coefficient vector is R times the vector with entries 1, 1, 1, 0, plus S times the vector with entries 1, 1, 0, 1. Therefore, the null space is generated by those two vectors.

  24. Anna

    Translating back into chains, the two generators are A plus B plus C and A plus B plus D. Every cycle is an integer linear combination of these two cycles. The third visible cycle, C minus D, is already obtained by subtracting the second generator from the first.

  25. Maria

    Thus the group of cycles, which is the kernel of the boundary map, is isomorphic to the direct sum of two copies of the integers, written Z plus Z or Z squared. In this first example, that group is being used as the first homology group H_1 of the graph.

  26. Anna

    The important interpretation is that the graph has two independent one-dimensional holes, not three. There are three loops we can draw, but one is algebraically dependent on the other two. Homology is counting independent cycles rather than simply counting every visible loop.

  27. Maria

    Now generalize from this small graph to any connected graph with V vertices and E edges. In principle, we could orient every edge, construct the boundary matrix, row-reduce it, and find a basis for the null space. The number of basis vectors would tell us how many independent cycles generate H_1.

  28. Anna

    But for a large graph, that can involve a lot of linear algebra. A more efficient argument uses a spanning tree. Every connected graph has a spanning tree: a subgraph that includes every vertex but contains no circuits.

  29. Maria

    A tree with V vertices always has V minus one edges. One way to see this is to start with one vertex and add edges one at a time. Each new edge brings in one new vertex, so every edge can be paired with a vertex except for the initial vertex.

  30. Anna

    Since the original graph has E edges and the spanning tree uses V minus one of them, the number of edges outside the spanning tree is E minus V plus one. Each such unused edge creates exactly one cycle when added to the spanning tree, because the tree already contains a unique path between that edge's endpoints.

  31. Maria

    Those cycles are independent because each one contains a different edge that was not in the spanning tree. Therefore, for a connected graph, the first homology group is isomorphic to a direct sum of E minus V plus one copies of the integers: H_1 of X is Z to the power E minus V plus one.

  32. Anna

    So the formula gives the number of independent one-dimensional holes directly from the number of edges and vertices. It also explains the small example: the graph had four edges and three vertices, so E minus V plus one equals two, matching the two independent cycles we found by row reduction.

  33. Maria

    This has been a first, example-driven introduction rather than a complete formal definition of homology. We have seen the central ingredients: chains, the boundary map, cycles as elements with zero boundary, and homology as a way to organize independent holes.

  34. Anna

    And the next step is to move beyond graphs. By adding two-dimensional cells and three-dimensional cells to an example, we can see how higher-dimensional chains and their boundaries change the cycle groups. That is where homology becomes more than just the cycle space of a graph.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent