Quarter Life Crisis

The world according to Sven-S. Porst

« Field TheoryMainDessert »

Homotopy for kids 2

2155 words

The puzzle

To the recent puzzle regarding hanging a picture, Tom gave what looks like a working answer to me. Let me elaborate on this a bit more, add some images which are easier to understand than words in this context and try to – roughly – fill in some theoretical background. If you haven’t read or tried the puzzle yourself yet, do that now as reading what comes next will spoil the feelgood factor of getting it right yourself.

The initial task was to hang a painting using two nails a and a rope. This should be done in a way that removing any of the nails will make the painting fall down. As this can be a tricky to see, I suggest a simpler problem to begin with: Hang the painting using a rope and two nails in a way that removing the right nail will make the painting fall down.

Solving the simplified problem

How can this be done? The answer sounds quite simple: Make sure the picture doesn’t actually hang on the left nail. The obvious way to do that looks like this:

Painting hanging on one nail only

Unfortunately this doesn’t use the left nail at all. So it doesn’t exactly solve the initial problem in the way we have in mind. Kind of looks like we’re trying to weasel our way out of this. Still – it’s a starting point. The painting will fall if we remove the right nail. Next, let’s change this setup a little in a way that uses the second nail but doesn’t actually go around it:

Second attempt to hang the painting.

This is still a bit strange as the painting isn’t hanging in the way we (and our aunt) would expect it to hang – namely centred beneath the nails. So in a final move, put the right end of the rope over the right nail again. Note that this won’t affect the fact that the painting falls down once the right nail is removed.

Third step in hanging the painting.

This solves the simplified problem. The painting will fall down as soon as the right nail is removed. Unfortunately this doesn’t solve the full problem yet. We absolutely have to remove the right nail to make the painting fall down. Removing the left one will result in the painting to be still hanging on the right nail. – Try to ‘see’ that in the picture above.

Solving the puzzle

So the next question is what we can do about that. One approach is to look at how the rope actually goes around the nails and hope to understand that.

Indicating which way the rope goes

We see that, starting from the left, the rope goes

  1. around the left nail clockwise,
  2. around the right nail clockwise,
  3. around the left nail counterclockwise and
  4. around the right nail clockwise.
So a difference between the left and the right nail is that the rope goes around the left nail twice in opposing directions while it goes around the right nail twice in the same direction. Removing the right nail means that the picture will have to hang on the left one. At least intuitively we may think that going around that nail clockwise first and then counterclockwise actually means that we’re undoing the first move with the second one and the painting will fall down, which it does. Yet, removing the left nail means that we are going around the right one twice in the same direction afterwards – leaving the painting fixed on that one.

Hence a way to solve the problem may be to change the direction in which the rope goes around the right nail once. The result could look like this:

Final solution

Note: The pictures above are be a bit misleading in that they don’t reflect how the rope is ordered front to back. That’s why there are ‘may’s and ‘could’s scattered through the text. There is the possibility that you tangle the rope too much in the back-to-front direction and the painting will not fall down. If, however, you arrange things such that the rope goes back to front as you run through it from left to right this will not happen and the painting will now fall down regardless of which nail your aunt removes.

Some Maths

Now let me try to sketch how mathematicians may prefer to think about this and throw in some fancy words. This will not be entirely rigourous but hopefully illustrates the ideas used.

To begin with, we simplify things. In a first step, we’ll simply omit the painting and just tie the two ends of the rope together – giving a single closed directed loop. As before, we’ll also ignore the fact that there is any back-to-front ordering of the rope and treat the loop as if it is living in a plane with things actually intersecting as they do in the pictures. This could be a real problem – as noted at the end of the previous section – but it turns out that it isn’t, a fact that I don’t want to go into. Thus all we are left with are loops in a plane.

In fact, we are left with loops in a plane with two holes. The holes represent the nails. We can move and deform – but not tear! – the loops freely but we may not move them across holes. That’s pretty much what the nails do in the original picture, if you think about it.

And this is a situation which mathematicians, topologists in particular, love. They’ll burble words like homotopy and fundamental group in this context. Basically we first agree that we want to consider two loops the same if we can continuously, i.e. without tearing, deform one into the other. For example, a loop that is a circle in a plane not containing a hole is considered the same as the loop that is the constant loop at the centre (or anywhere else) of the circle. We can just ‘shrink’ the original loop down in the obvious way.

Convince yourself that the ‘constant’ loop can also be considered a ‘loop’. On the other hand, the first loop we’ve seen just now cannot be deformed into the loop that is a circle which goes around a hole in the plane.

Those classes of ‘essentially the same’ loops are great tools for detecting holes in a plane. It turns out that we can even ‘multiply’ (or ‘add’ if you feel more comfortable with that term – to mathematicians those are mostly the same in this context) those classes of loops under the mild technical conditions that they all start at the same point and something called reparametrisation. I won’t go into details here and also drop the ‘classes of’ in front of ‘loops’ in what follows.

We can introduce the notion of a ‘product’ of two loops starting at the same point. It is the loop we get by running through the first and then through the second loop. We can also take an ‘inverse’ by running through a loop backwards. Taking the ‘product’ with the constant loop we’ve seen above won’t change anything. It’s like multiplying with 1. All this, the classes of loops, the product, constant loop and inverse give what is known as the fundamental group. It’s a good tool for getting to know some basic properties of spaces.

Let me just give three examples. Firstly, the plane without holes: Here, every loop can be deformed to a constant loop. All loops will be considered the same and thus the fundamental group only contains a single element.

Secondly, consider the plane with a single hole. There are two types of loops now. Those enclosing the hole and those that don’t. Again, the latter can all be deformed to a constant loop. But there are more varieties of the former type. Notably, a loop that goes once around the hole clockwise is different form a loop that goes once around the hole counterclockwise or a loop that goes around the hole multiple times in the same direction. It turns out that there are as many different types of loops as there are integers with every loop corresponding to the number of times it goes around the hole counterclockwise (the direction is in fact arbitrarily chosen but mathematicians prefer to think of counterclockwise as the ‘positive’ way to go around something). The ‘product’ from above is just adding of integers and we see that essentially we only need the loop going around the hole once and then we can generate all the other ones by using that loop several times or backwards. The constant loop corresponds to zero.

Thirdly, consider the plane with two holes. This turns out to be much trickier. There are again loops not going around any hole. Then we have a loop going around the left hole once, I’ll call it a, and one going around the right hole once which I’ll call b. For both of these we also have all integer multiples as in the case for a single hole. But what about loops going around both holes? Remember that we could take the product of two loops. And going around both holes will just be the product of b and a: ba. This means that we run around the right hole counterclockwise and then around the left hole counterclockwise in a ‘figure 8’ shape which we don’t run through in the way that the figure is usually drawn, though. As we may deform things a little, we can get rid of the intersection and end up with a loop going around both holes.

Regarding this product, one thing that’s different from computations with numbers, however, is the fact that this is not commutative, i.e. that ab and ba are not the same. Thus, the fundamental group we get for the plane with two holes is the collection of all ‘words’ consisting of the letters a, a-1, b, b-1, e.g. ab-1aaab. Technically this is known as the free product of the integers with themselves, denoted as Z∗Z, where we write Z (from German Zahlen) for the integers.

Now that we’ve got the technicalities sorted, let’s return to our painting. Recall that we have simplified things already to deal with a loop in the plane with two holes. In this simplification recall the solution for the simplified puzzle from above:

Indicating which way the rope goes Boiled down to the abstract picture.

I’ll simplify this up even more now – just by deforming, no cutting happens –, making sure that we have four loops left each of which goes around a single hole only.

split up into simple loops

In this setup we can now look at the correspondence between the way we hand our painting and the fundamental group. We have

  1. around the left nail clockwise: a-1,
  2. around the right nail clockwise: b-1,
  3. around the left nail counterclockwise: a and
  4. around the right nail clockwise: b-1.
Thus, in total our loop corresponds to the word a-1b-1ab-1. It remains to see how formulate the removing a nail in this setting.

Luckily that’s not too hard. Removing a nail means we ‘fill’ the hole representing it. Looking at that in a slightly different way it means we embed the plane with two holes into the plane with a single hole. Actually we have two such embeddings, one going to the plane with only the left hole and one going to the plane with only the right hole. These embeddings also induce maps between the fundamental groups – a nice property called functoriality – which we can figure out.

After we remove the right hole this means that any loop around the right hole can be deformed to the constant loop. Loops around the left hole will remain the same. Piecing things together, we need to get a map from Z∗Z, the fundamental group of the plane with two holes to Z, the fundamental group of the plane with a single hole. It is given by mapping b to 0 because loops around the right hole can now be deformed to a constant loop and a to 1 as we figured out that stands for a loop that goes around the single hole once. Applying this to our element a-1b-1ab-1 gives (-1)+1 which is zero, corresponding to the fact that the painting falls down.

Removing the left nail will map a to 0 and b to 1 and give us (-1)+(-1) = -2. As before in the concrete case, we can figure out how to ‘fix’ the problem by replacing one of the b-1s by b.

Conclusion

We can throw a lot of maths at simple problem which we can also solve with a rope and some nails.

This may also convince use that some simple fun puzzles actually are more about maths than we initially think.

Now what happens if we start with three nails?

August 28, 2004, 15:04

Add your comment

« Field TheoryMainDessert »

Comments on

Photos

Categories

Me

This page

Out & About

pinboard Links

People

Ego-Linking