Archive for October, 2010

Theorem 37: Sperner’s lemma

October 10, 2010

I’ve written about various theorems in combinatorics so far, but I don’t think any of them have the flavour of today’s theorem.

We’re going to concentrate on the set \{1, 2, \dotsc, n\}, which I might sometimes write as [n] (that’s standard notation in combinatorics).  This set has lots of subsets, such as \{1, 5\}, and [n] itself, and \emptyset (the empty set, which contains no elements at all).  How many such subsets? 

Well, there are n elements, each of which either belongs or does not belong to any given subset.  So there are 2 possibilities for whether a given element belongs to a given subset, so 2^n subsets in total.  Write out the subsets of \{1, 2, 3\}, say, if you don’t believe me!

How can we think about these subsets?  There are two helpful pictures I have in mind; sometimes one is more convenient, sometimes the other.

Here’s the first, which might explain why mathematicians sometimes talk of this object (the family of subsets of [n]) as the cube.  My limitations when it comes to graphics software mean that I’ve written \{\} for \emptyset, the empty set.

The subsets of {1,2,3} displayed as a cube

Hopefully this picture will make it all clear, and I don’t need to say anything.  But there is one thing I want to say.  This picture shows a graph (in the combinatorics sense), in which the vertices are the subsets of [n], and two subsets are joined exactly when they differ by just one element.  By positioning the vertices carefully, I end up with a picture that we all recognise as a cube.  But if you’re struggling to imagine a 15-dimensional cube, don’t worry about it: we can think about it more abstractly, without needing to draw a picture.  (I can draw representations of the 4-, 5- and 6-dimensional cubes if necessary, though — I’ll leave that for you to think about.)

What’s the other way of thinking about this family of subsets?  I’m going to call this the layered model (I don’t know of a standard term for it).  Each layer contains all the subsets of the same size.  So here it is for n=3.  I’ve written in what the various subsets are, but normally I’d just draw the blobs without the subsets.

Layered model

Notice that the top and bottom blobs are the same size because they contain the same number of sets, and similarly the second and third blobs are the same size.  In general, the picture would look something like this.

The layered model

The picture on the left is for n even; the picture on the right is for n odd.  Why the difference?  If n is even, then the largest layer will correspond to subsets of size n/2 (exercise: prove this!).  If n is odd, then there are two largest layers, corresponding to subsets of size \lfloor n/2 \rfloor and \lceil n/2 \rceil (that is, (n-1)/2 and (n+1)/2).  Again, I’ll leave this for you to prove.

Now, what sort of questions can we ask about the family of subsets of [n]?

Here’s one.  The family contains some chains.  Here’s a linguistic analogy.  Have you come across those word puzzles where each answer uses the letters of the previous answer, plus a new letter?  For example, the chain of answers might be: A, AT, PAT, TAPS, PASTE, PLATES, STAPLER, PRATTLES (to give an example off the top of my head).  A chain in the family of subsets uses the same idea, but adding new elements of [n] each time, rather than new letters.  For example, here’s a chain in [4]: the collection \emptyset, \{1\}, \{1,2\}, \{1,2,3\}, \{1,2,3,4\}.  And here’s another: \{2\}, \{2,4\}, \{1,2,3,4\}.

Formally, a chain is a collection of subsets where for each pair of subsets A and B in the chain, either A \subseteq B or B \subseteq A.  So the subsets are nicely nested.    Get the idea?

So what’s the question?  If you’re like me, you’ll have looked at my chain of words above, and wondered whether we could add another word on the end.  (I didn’t try very hard, so it may well be possible.)  And could I have made a longer chain, if I’d started in a different place or chosen a different option?  In fact, what’s the longest possible chain of words like this (bearing in mind that we have 26 letters to choose from)?

Well, we could ask the same question about chains in [n].  (And since we’re only after subsets, rather than valid English words, it might be an easier problem!)  So: what’s the length of the longest chain in [n]?

It’s pretty easy to see that we can always have a chain of length n+1.  I gave an example of such a chain when n=4, and hopefully you can see how this generalises.  (Notice that I’m not claiming this is the only example of a long chain: there are lots!)

Can we ever have a longer chain?

Here’s where the layer picture helps us a lot.  I’m imagining a chain as a line working from top to bottom (or bottom to top!) through the layers.  Could the chain ever have two sets from the same layer?  Err…quick think…no.  (Do you agree?)  So any chain contains at most one subset from each layer.  And how many layers are there?  Err…quick think…n+1, right?  Oh, but that means any chain has length at most n+1, and since we’ve already seen that length n+1 is possible, that must be the answer!

That didn’t detain us for very long.  (I bet it’s much harder to solve the problem with words!)

Let’s ask a different question, perhaps the opposite question, in a way.  What happens if, instead of insisting that every subset contains or is contained in every other subset, we instead say that no subset can contain or be contained in another?  (I feel confident that one could generate a very, very long list of words like that, so I’m not even going to bother!)  We’ll call the resulting objects antichains.  (Some people call them Sperner families, but I prefer `antichain’ because it seems more descriptive.)

Here’s an example in [4]: \{1,2,3\}, \{1,2,4\}, \{2,3,4\}.  No subset contains or is contained in any other, right?  Could we make that antichain longer?  Yes, we could add \{1,3,4\}, but not anything else.  (Check this!)  But could we have made a longer antichain by starting in a different place?  What’s the length of the longest possible antichain?  And what’s the length of the longest possible antichain for general [n]? (more…)


Follow

Get every new post delivered to your Inbox.

Join 50 other followers