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

Transcript

Welcome everyone. I'm Norman Wildberger, and  we're here at the University of New South Wales.   We're today going to have an introduction  to homology. So the last few lectures,   we've been talking about the fundamental group of  a surface or a space. This fundamental group is   especially useful for low-dimensional data  because it's basically concerning loops.

Because it's all about loops, we might  well ask, is there some kind of analog   of that for higher dimensions? Some kind of  higher-dimensional analog of studying loops? Well,   there are. So there are higher-dimensional analogs  called homotopy groups, Pi_n of X, for n bigger   than or equal to 2. And these are some kind of  generalization. So roughly speaking, for example,   Pi_2 is concerned with sort of two-dimensional  loops or maybe you might think of loops of loops.

So you might have a loop. What does a  loop of loop look like? Well, for example,   if you have a sphere, for example, then  you might start at a base point here,   and you might think of a sort of a film of  loops, one getting bigger and bigger this   and going all the way around and coming back to  a loop at the base point. That loop of loops is   somehow going all the way around the 2-sphere,  somehow capturing the two-dimensional hole in

the sphere in a way that the fundamental group  doesn't. So another way of thinking about it   is to think in terms of maps from the square  into space X which have a certain behavior   on the boundary that sort of pins them down.  Okay, so one can study these homotopy groups,   but one finds that they are more  complicated. So these are more complicated

and difficult to compute, and in some sense  they turn out to be a little bit bizarre.   So it turns out that when we look at the  fundamental homotopy groups of K-sphere,   the K-dimensional sphere, its homotopy groups  exist even if n is bigger than K. So in some   sense this somehow measuring higher-dimensional  holes in the K-dimensional sphere. So these   exist and are quite irregular and bizarre,  let's say, almost rather interesting. But...

So what we want is an  alternative to homotopy groups,   and that's what we're going to talk about today. So homology is commutative alternative to  homotopy. So for a topological space X,   what we are going to do is we're going to  cook up various groups called homology groups,   H_n of X. These are going to be the  homology groups going from N equals 0,   1, 2, and so on, and these are all  going to be commutative groups.

And in a very loose sense, H_n of X somehow  measures the number of n-dimensional holes in X, the idea being that we can try to compute these  things in a somewhat algorithmic computational   way even if we can't picture the space X or  we have only a dim idea of what n-dimensional   holes might actually be. All right, so I'm  going to start off by looking at an example,   and we'll look at some variants  on it to introduce the ideas of   homology in this lecture. So we will  introduce the ideas via some examples.

So here's our space X that we're going  to consider. We're gonna consider X,   which is just a graph, at least to start with,  and it's got three vertices. Let's call them X,   Y, and Z, and it's got a couple of edges  which will also direct. We'll call that   one A, that one B, that one C, and we'll  have another edge also going from Y to Z   called D. Okay, so this is a graph. So it only has  vertices X, Y, and Z, and edges A, B, C, and D.

Alright, so in some sense, we can see  that this graph has some kind of holes   in it. It's got a hole sort of represented  by this loop here. We can stick our finger   through it. There's also another kind of  hole represented by this loop here. So   the loop I will look at some loops here.  The loop ABC starts at X and ends at X, while the loop BCA, the CA starts and  ends at Y, and CA starts and ends at Z.

Now, if we're gonna work in the commutative  setting and all of these are going to be   essentially the same, then we can deduce that  commutativity implies that it doesn't really   matter where we start. So we are still going  to be looking at loops that go around holes,   but we are not going to look at these loops  in exactly the same way as we did for the   fundamental group. The fundamental group,  we had a specified starting point. Here, we're going to be a little more flexible. We  want all of these to sort of represent the same

loop. Another difference is that because we're  working in a commutative setting, in commutative   group theory, we prefer generally to write our  operation additively. Alright, so we're going to   make that shift from a multiplicative notation  like this to an additive notation. So also we   prefer to write the operation or operations as  addition in the commutative setting. So the loop   will now be represented as by the expression A  plus B plus C, and we'll agree that it doesn't

matter what order we take. That's the same as B  plus C plus A equals A plus C plus B, etcetera. Alright, this is an expression that actually  represents going around, so we're going to   call this particular kind of expression a  cycle. So we call this expression a cycle   because it physically represents going all the way  around because it is a closed-loop geometrically. Here's another cycle. Another cycle  would be to go around another hole,   say this one here, and let's choose a  direction sort of to go around but not

necessarily a starting point. So this cycle  can be expressed by the combination... well,   we're going along C and then we're kind  of going opposite to D, so we'll express   it with the expression C minus D. Or another is  a cycle that we get by going all the way around   the outside. That's also a closed loop, and  that cycle will be written as A plus B plus D.

So these three cycles represent sort of three  different holes, but there's a relationship   between them, algebraic relation between  these three cycles. So we're talking about   A plus B plus C and C minus D and A plus  B plus D, that each one represents some   kind of hole. The first one represents that  hole, the second one represents that hole,   and the third one represents that hole. Okay,  the algebraic relation is that A plus B plus

C equals A plus B plus D plus C minus D. Just  algebraically, we're sort of working in a group.   This plus D and that minus D cancel so we get A  plus B plus C. So somehow A plus B plus C we're   thinking is a combination of this cycle A plus  B plus D together with this cycle C minus D.

Alright, so what kind of arithmetic are we  really doing here? Well, we're working in   a group theoretical context. Let's try to be a  little bit specific, a little bit more specific   about what actually the objects are that we're  dealing with here. So, let's say C0 be the free   abelian or free commutative group rebuilding group  on the vertices or generated by the vertices X,   Y, and Z, and let's see C1 be the free abelian  group on these directed edges: a, b, c, and d.

So, what does that mean? Elements of C0  are just integral combinations of x, y,   and z, integral linear combinations  of x, y, and z, such as for example,   2x - 3y + 4. Is that? Without to make up any  combinations as we want. That's an element   in the free abelian group C0, and we're going to  give them a name. We're gonna call these things.   We call these zero-dimensional chains or maybe  just zero chains. Zero-dimensional chains. So,

a chain is just going to be a word for a  random element in this free abelian group,   a random combination with integer coefficients  of x, y, and z. Similarly, elements of C1 well,   they are integral linear combinations of our edges  a, b, c, and d, such as, well, such as maybe one   of the cycles that we've already considered. For  example, a + b + d or maybe something else which   doesn't correspond to a cycle like to a + b -  5c + 4d. We call these one-dimensional chains.

Alright, so at least now we have something that  we can do our arithmetic with. We can talk about   linear combinations of either vertices or edges,  and we can combine them using just naive addition,   like we did over there: a + b + c = a + b  = d + c - d. Let's now ask the question:   What do we mean by a cycle algebraically? There's something different about a  + b + d and some random one-chain.   We've seen that a + b + d corresponds to a  loop in the graph. We want to express that

looping closed behavior algebraically. So,  in other words, i.e., what's special about,   say, a + b + d, which is not shared  by other example two a + b - 5c + 14?

Well, so to answer that question, let's have  another look at the graph, and let's have a   look at the edges and the relationship  between the edges and the vertices. So,   the answer is, well, it depends on the  relationship between edges and vertices,   and we're going to express that relationship in  terms of a boundary. Talking about the boundary   of an edge. Alright, so each edge has a boundary.  So boundaries are so crucial in homology. So,

what, for example, is the boundary? And the  boundary, typically, would be denoted by Δ,   this Greek letter δ that will denote for us  sort of a boundary, boundary of something. So,   what's the boundary of a? Well, if a was an  undirected edge, you'd just say, "Well, it's   X union Y". But this edge a is actually directed.  It goes from here to here. So, we want to be a   little bit more precise about what its boundary  is. We'll say that the boundary of a is Y - X,

reflecting the fact that the final point is Y,  the initial point is X. This was like a vector in   space. This would correspond to the expression for  a vector final minus initial. In a similar way,   the boundary of b is Z - Y, the boundary of c is  X - Z, and the boundary of d is, well, it's also   X - Z. So, in general, the boundary of an edge  is final point - initial point. That's the rule.

Okay, so what we can think about this  algebraically is that what we have   here is a map that takes edges and gives us  vertices, or rather combinations of vertices,   while the combinations of vertices are what we're  calling the zero chains, the elements of C₀. So,   we're starting with something in C₁. The Delta is  taking something in C₁ and outputting something   in C₀. And since A, B, C, and D are the  generators for C₁, this map extends to

a group homomorphism. So, Delta from C₁ to  C₀ is the group homomorphism which extends. Star. So, let me be a little bit more  precise about what that means. Here is   Delta applied to a general one chain.  Suppose the general one chain is alpha   A plus beta B plus gamma C plus delta D.  Delta, not to be confused with this del. Okay, if it's a group homomorphism, then  this should be alpha times Delta A plus   beta times Delta B plus gamma times Delta C plus  delta times Delta D. So, it's going to be alpha

times... well, Delta A. Delta A was Y minus X.  Delta B was Z minus Y. That's A. That's A gamma,   plus gamma times Delta C, which is X minus  Z, and plus delta times another X minus Z.

So, we're extending this homomorphism linearly.  We're just talking about linear combinations.   And it's probably good for you just to think in  terms of this is a lot like linear algebra. Okay,   the algebra that we're doing here is like linear  algebra over the integers. And you can think of   these things as being almost vectors except that  the coefficients always have to be integers and   not rational numbers or real numbers. Alright,  let's write this out a little bit more concretely

in terms of the basis X, Y, and Z. If we group  together how many of the various things we get,   how many X's do we have? We have minus  alpha plus gamma plus delta number of X's.   And the total number of Y's that we get  is alpha from here minus beta from here,   and that's it. Alpha minus beta times Y. How  many Z's? Beta minus gamma minus delta. So,   what did they say? How many Z's?  Beta minus gamma minus delta, is it?

Alright, now let's make an observation. Let's  have a look at what the boundary operator does   to A plus B plus C, just a special case. So,  well, the boundary of A we said was Y minus X,   the boundary of B was Z minus Y, and the boundary  of C is X minus N. And so, when we compute or   simplify that in the group just generated by X,  Y, and Z, we get: the minus X cancels with that X,   the Y cancels with that - Y, that Z cancels minus  it, we get zero, which is exactly what we would

expect because we're talking about a cycle, A plus  B plus C. We're saying that the boundary of A is   this - this, the boundary of B is this minus this,  and the boundary of C is this - if so, if we add   up the various boundaries, they all cancel and we  get zero. That's going to be true for any cycle,   start at final minus initial, plus final minus  initial, plus final minus initial, you go all the

way around, by the time you get back, everything  cancels, all the finals cancel with an initial.   So, this is an algebraic way of detecting  whether we have a cycle or not. If I write   down some combination, I can define that to be  a cycle when its del is zero. So, let's do that. Definition: A chain, let's call it T in C₁,   so a one-dimensional chain is a cycle,  precisely when its boundary is zero.

So, let's ask the question, alright, in this case,  what are all the cycles? Well, the typical element   alpha A plus beta B plus gamma C plus delta D  is a cycle, precisely when its boundary is zero.   What we've already computed, what the boundary is,  there are the coefficients there. I'll write that   out again: minus alpha plus gamma plus delta has  to be zero, and alpha minus beta has to be zero, that's the coefficient of Y, and the coefficient  of Z was beta minus gamma minus delta. So,   we need these three conditions to be satisfied,  and if they are, then we have a cycle.

So, a natural question is, well, what  are all the cycles then? What are all   the possible solutions to this system of  equations? All these numbers are integers. What are all the solutions? Well, from first  year, we know how to solve a system of equations,   so let's do that. This is a system of equations  in four variables: alpha, beta, gamma, and delta.   We know that to solve it, what we need to do is  we need to write down an augmented matrix and row

reduce that. Okay, so the augmented matrix for  this is what? Well, the first equation is minus   alpha plus 0 beta plus gamma plus delta equals  zero, right-hand side's just zero, so we'll ignore   it. Then, the next equation is alpha minus beta,  so that's 1, minus 1, 0, 0 equals 0. And the third   equation is beta, so no alphas, 1, beta minus  alpha minus gamma rather, and minus delta. So,   that's the augmented matrix, but what we're trying  to do is we're trying to find the null space of

this matrix. This matrix is say A, then what we're  doing is we're trying to solve Ax equals 0. Notice   we're finding the null space of this matrix,  then we'll have found all the cycles. Okay,   how do we do such a thing? Well, we row reduce.  So, let's move this around a little bit. So, the standard procedure is to let's say move  things so we have a 1 up at the top. Maybe we'll   do that, change rows, and then, with row reduced,  we'll use this one here to get rid of this thing

here below it. So, that gives us 1, minus 1, 0, 0,  and this plus this is 0, this plus this is minus   1, this plus this is 1, this plus this is 1, and  this one already has a 0, 1, minus 1, minus 1 in   it. And then, at the next stage, we could go up  here, we'll leave that first row where it is,   we'll multiply this second row by minus 1 so  that there's a 1 in the pivot position, and   then this second and third row are essentially the  same so we've just subtract one from the other,

we're going to get a row of zeros. Not quite  in fully reduced row echelon form, to get fully   reduced row echelon form, we'll use this pivot to  get rid of the altri above it. Okay, so we get 1,   we'll add the second row to the first row, keep  the second row where it is, third row where it is,   we'll just add this row to the first one, giving  us 0, minus 1, minus 1. So, it's now fully reduced

row echelon form. There's some pivot entries,  that means that for variables alpha, beta, gamma,   and delta, these ones here are parameters. Let's say call the parameters R and S. So,   if we then solve in terms of those parameters,  the first equation is alpha equals alpha minus   R minus S equals 0, so alpha equals R plus S.  The next one is beta equals the same thing,   R plus S. Gamma, we said, is equal to R, and Delta  is equal to S. So, those are all the solutions.

Let me write it in vector form. So, another way  of saying is that alpha, beta, gamma, delta,   this vector, is R times the vector 1 1 1 0 plus S  times the vector 1 1 0 1 1 1 0 1, telling us that   the null space is two-dimensional and it's spanned  by these two vectors. Okay, so this is a vector of   this, is a vector of solution, 1 1 1 0, this is  a solution, and any linear combination is also a

solution. So, these two vectors form a basis for  the null space of our matrix A. In other words,   they form a basis for the solutions or for the  cycles. And what are these when we interpret back   in our original framework what we're talking  about, alpha, beta, gamma, and delta? We're   talking about combinations here. So, if these are  all 1 1 1 1 0, then we're talking about the chain   A plus B plus C, and the second one, 1 1 0 1,  corresponds to A B 0 C and D, so it corresponds

to A plus B plus D. So, what we found is that  these two cycles, these... these are cycles,   and any other cycle is a linear combination of  those, forming a basis for the space of cycles.

So, in intergroup theoretic language, we  had this map Delta from C₁ to C₀. We've   now established that we found that the kernel of  this, this map, the things that get sent to 0,   so that's what we're calling cycles, that  is the span of those two particular cycles,   A plus B plus C and A plus B plus D. So, in  particular, this kernel, the cycles as a group,

are isomorphic to Z plus Z, and this  is our first homology group. Okay,   so each one of this space, let's call the space X  h₁ and X is now it's the space of cycles. For now,   so far cycles. Well, later we'll modify  this, the cycles here are Z squared.

Alright, so that's our sort of a first example of  a baby homology group where we're sort of counting   the number of holes, so we see that algebraically  this sort of has two holes corresponding to the   two generators of this group, not three holes as  we first might have guessed because we might say,   well, there are three loops, yes, there are three  loops, but there's a linear relationship between those loops, so the other loop C minus D is  just already contained in this group because,   of course, it's just the difference  between these two. Note that C minus   D is contained is in this kernel too, just  a linear, just that this one - this one.

Alright, what would happen if  we had a more general graph? So, let's look at a more general graph.  So, suppose our graph X is this one here.

Okay, it doesn't have to be a planar graph,  just a graph with a certain number of vertices,   certain number of edges. Okay, so let's  suppose that we have V vertices and E edges,   and the natural question might be, suppose  we do the same thing that we just did over   here and compute the cycles, how many cycles  will we expect in such a graph? We're gonna   get more than just two independent cycles because  this is a more complicated graph, so there's lots

of cycles that you... we can kind of see, well,  for example, well just on the triangle there,   there's a cycle, or maybe this one, that's  the cycle, we can imagine all kinds of cycles,   we go around something three or four times, that  would be a cycle as well. So, the cycles form this   group, how do we... how do we find this group?  So, the question is, what is when is H₁ of X? Well, we could do a linear algebra thing just like  we did in this question here, we could label the

vertices, we could give directions to the edges,  we could set up the boundary operator, we can have   a big augmented matrix, and then we could row  reduce that matrix, and the number of vectors   in the spanning set for that null space would  be then the number of generating cycles. Okay,   if that seems like a lot of work for this graph  and if the graph is even bigger, it's a lot of   linear algebra, so we'd like to think of some more  clever way of thinking about that, and what we'll

do is we'll make use of the following well-known  theorem for from graph theory that, well,   it's almost obvious back: every connected graph,  say X, has a spanning tree. Okay, what's that?   That's a tree which is a subgraph which uses all  the vertices which passes through all the vertices   or which includes all the vertices. Alright,  there are many different spanning trees, let's   find one. So, let's start here and maybe I'll use  this vertex and I'll make this edge. You can make

a tree that goes through all the vertices,  it doesn't have to go through all the edges,   it just needs to go through all the vertices.  Okay, and this is a tree, so it means that we're   not allowed to come back, there can be no circuits  in this graph. Alright, we've got almost all the   vertices, we still need this one, so we'll just  include one more edge. Okay, so in red there,   that's a spanning tree. T is a spanning tree. Okay, how many edges does this spanning tree

have? Well, a tree with V vertices  always has V minus one edges. In any tree, the number of edges is always  one less than the number of vertices. Why is   that? Well, because let's say we start with  one of them, start with one of the vertices,   then every time you add an edge,  you also add the final vertex. So,   if we pair this edge with that vertex, they get  matched up. We pair this one with that vertex,   this one with that vertex, this one with that  vertex, this one with that vertex. Every time

we add an edge, we also add a vertex, so  they called and get up, it get paired up,   except for the initial one that we start with.  So, there's always one more vertex than edge. Okay, so we know the number of vertices. The  number of vertices of this tree has to be the   original number of vertices, namely V. And so, we  know the number of edges in this spanning tree,   it's got to be V minus one. And that means  that the number of those edges that are not in the spanning tree, and therefore there are,  well, altogether we said there were E edges,   so there are E edges, E minus V minus one  edges not included in the spanning tree.

And of course, E minus V minus 1 is the same as  E minus V plus 1. So, that's the number of edges,   E minus V plus 1, is the number of edges not in  the spanning tree, and that would be in this case,   one, two, three, four, five. Give me  five edges not in the spanning tree. Okay, so what happens? Well, it turns out  that each of these edges which is not in the   spanning tree gives us a cycle. How? Let's say we  consider one such edge, say number two. So, that

edge number two, once we add it to the spanning  tree, we immediately get a cycle, namely this   cycle right here. If we don't think about this  edge, well, this edge is associated to this cycle,   this edge is associated to this cycle, this edge  is associated to this cycle, and then this edge is   associated to this cycle. So, every non-used edge  gives us a cycle in the original graph, and these   cycles are all sort of obviously independent  because each one uses a different unused edge.

So, what ends up happening, almost proving  this but not quite, is that the homology,   the first homology of this graph, is Z to  the E minus V plus one. There are that many   generators for the homology, got many edges  that we can use to generate new cycles. So,   that's sort of the homology of a general graph. Alright, but of course, homology gets more  interesting when we go beyond the one-dimensional

case. So, next time we're going to actually  stick with this example here, but we're going   to build some higher-dimensional stuff on top  of it by adding some two cells and three cells,   and we're going to see how that changes mammalogy  and that changes our understanding of what   homology is. We have not yet defined homology  properly. Alright, so next time we'll have a look   at what homology really is in the context still  of a very specific example. So, see you then.

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent