Skip to the Main Content

Note:These pages make extensive use of the latest XHTML and CSS Standards. They ought to look great in any standards-compliant modern browser. Unfortunately, they will probably look horrible in older browsers, like Netscape 4.x and IE 4.x. Moreover, many posts use MathML, which is, currently only supported in Mozilla. My best suggestion (and you will thank me when surfing an ever-increasing number of sites on the web which have been crafted to use the new standards) is to upgrade to the latest version of your browser. If that's not possible, consider moving to the Standards-compliant and open-source Mozilla browser.

February 9, 2008

Metric Spaces

Posted by John Baez

guest post by Tom Leinster

While the world goes wild for categorification (and the part that doesn’t, should!), I seem to be fixated on decategorification — or counting as it’s popularly known. And right now I’m obsessed with counting metric spaces.

We’ve talked about how you can count a category. There, counting went under other names still, ‘Euler characteristic’ and ‘cardinality’. With your mind on autopilot, you can extend this definition to enriched categories. And a metric space is a special kind of enriched category! So we obtain a definition of the cardinality of a metric space.

I’ve known for a while that this can be done, but it’s only in the last few weeks that I’ve started to see the point. Below, I explain where this idea leads: to the geometry of convex sets, to fractal dimension, and to how the world looks when you take off your glasses.

This is also a cry for help! It seems that there’s a really nice story to be told, but I’m frustratingly stuck on a couple of elementary lemmas. They’re probably the sort of thing that a bright schoolkid could settle — but they’ve defeated me.

Background: the cardinality of a category

Here I’ll whizz through a definition that some of you already know… but if you don’t know it, you don’t need to. It just provides some extra motivation for the definition of the cardinality of a metric space, which I’ll define directly anyway. If you prefer, skip ahead to the definition (‘Let A be a finite metric space…’) a screen or so below.

Let A be a finite category (finitely many objects, finitely many arrows). Put the objects in some order: a 1 ,,a n. Let Z be the n×n matrix whose (i,j)-entry is Hom(a i,a j), the cardinality of the set of arrows from a i to a j. Assuming that Z is invertible, the cardinality of the category A is the sum of all n 2 entries of Z 1 . (Some of you know that you can sometimes get away without assuming Z to be invertible, but never mind.)

It’s easy to adapt this definition to enriched categories A. For instance, suppose that A is a category enriched in finite-dimensional vector spaces (and with only finitely many objects): then simply change ‘Hom(a i,a j)’ to ‘dim(Hom(a i,a j))’.

In general, suppose that A is enriched in some monoidal category V, and that we have some notion of the cardinality of objects of V. Mindlessly parroting the definition above, we can write down the definition of the cardinality of a V-enriched category with only finitely many objects. For the definition to behave sensibly, we probably want XY=XY and I=1 , where X,YV, vertical bars denote cardinality, and I is the unit object of V.

And… metric spaces are enriched categories! This was pointed out by Lawvere. Take [0 ,], the set of non-negative reals with adjoined. It’s an ordered set under , and so becomes a category — but that’s with the reverse of the usual ordering, so that there’s one arrow xy if xy and none otherwise. Indeed, it’s a monoidal category, with tensor product + and unit 0 . A V-enriched category is a set A of ‘points’ together with, for each a,bA, an element Hom(a,b)=d(a,b)[0 ,], satisfying some axioms. A few moments’ reflection should convince you that any metric space is a V-enriched category.

(In fact, you don’t need all the classical metric space axioms to show this, and Lawvere argues persuasively that the classical definition is wrong, but I won’t go into that.)

So it looks as if we can talk about the cardinality of a finite metric space. The only missing ingredient is a notion of the ‘cardinality’ of an element of [0 ,]. In other words, we need a way to assign a number x to every x[0 ,]! That’s not quite as trivial as it looks — I said that cardinality should turn tensor product into multiplication, which here means that x+y=xy and 0 =1 . Assuming that cardinality takes values in the real numbers and is continuous, the only possibility is x=α x for some constant α0 . Later I’ll try to convince you of what value I think α should take. If you can guess already, I want to know how!

Mr Motivator has been and gone; here’s the definition. In it, α0 is a constant.

Let A be a finite metric space, with points a 1 ,,a n and metric d. Write Z for the n×n matrix whose (i,j)-entry is α d(a i,a j). The cardinality A of A is the sum of all n 2 entries of Z 1 .

I’ll assume from now until nearly the end that Z is always invertible — though this is a question that has cost me much sleep and Simon Willerton much computing time.

Example  Let’s run through the case of a two-point space A. It has points a 1 and a 2 , distance d(a 1 ,a 2 )=d apart. So Z=(1 α d α d 1 ), and a short calculation shows that the sum A of the entries of Z 1 is 2 /(1 +α d). Suppose that 0 <α<1 . Then A is ‘how many points there appear to be to someone with bad eyesight’. As d increases from 0 to , A increases from 1 to 2 . If d is small then A is close to 1 : it looks as if there’s only one point. If d is large then A is nearly 2 : the points are far enough apart that you can see that there really are two of them.

This is the first piece of evidence that we should take α to be between 0 and 1 . Taking different values of α in this range amounts to rescaling the metric by a constant factor, so is not tremendously significant.

(Probe your psyche with the following question: what does the formula 2 /(1 +α d) remind you of? For some people it’s Fermi–Dirac statistics; for some it’s Todd classes; for others still it’s the exponential generating function for the Bernoulli numbers.)

For many months I could make nothing of this. But now I can! Read on…

Background: geometric measure theory

There’s a subject variously known as geometric measure theory, geometric probability, integral geometry, and (as a Rotary joke) continuous combinatorics. It contains, for instance, a fantastic solution to the Buffon needle problem. And it also has good things to say about cardinality.

Let’s start with a simple observation. Steve Schanuel has a paper ‘What is the length of a potato?’ in which he points out that a closed interval of length 1 centimetre is not very good as a ruler: if you put two of them end-to-end then you don’t quite get an interval of 2cm — there’s a point in the middle left over. A half-open interval would be better. Thus, the measure of the closed interval isn’t really 1 cm: it’s 1 cm+1 point, or 1 cm 1 +1 cm 0 , or simply 1 cm+1 . Similarly, a closed interval of length acm has length acm+1 .

What about a closed rectangle, say [0 ,a]×[0 ,b]? From a formal point of view, its measure ought to be (acm+1 )×(bcm+1 )=abcm 2 +(a+b)cm+1 . You can justify this formula by asking how much paint you’d need to cover the rectangle. Certainly you need to paint the abcm 2 in the middle. You also need to paint the boundary, which you might think would require (2 a+2 b)cm, but as you’re only painting the inside of the boundary, it’s half of that. Similarly, you have to paint 90 /360 =1 /4 of each of the four corner points, which requires 4 ×(1 /4 )cm 0 =1 unit of paint.

In the same fashion, you can calculate the measure of a right-angled triangle, using the fact that two of them stuck together make a rectangle, and you can play the game in higher dimensions, calculating the measure of cubes and so on. Schanuel explains how to do it for a spherical potato.

A big result in this field is Hadwiger’s Theorem, nicely explained in Klain and Rota’s book Introduction to Geometric Probability. Fix a natural number n. A subset of n is polyconvex if it can be expressed as a finite union of compact convex sets. Let V n be the set of ‘measures’ on the polyconvex subsets of n. Here I don’t mean measures in the usual sense. A ‘measure’ in this sense assigns a real number A to every polyconvex A n, and is finitely additive: AB=A+BAB. The other axioms for a measure are simple enough, and you can read them here.

Now, V n is a real vector space in an obvious way. If we asked for infinite additivity, it would be one-dimensional, consisting of the multiples of Lebesgue measure. Hadwiger’s Theorem says that, in fact, dim(V n)=n+1 . Specifically, V n has a basis 0 , 1 ,..., n where the measure d is d-dimensional: writing tA to mean a polyconvex set A scaled up by a factor of t, it satisfies tA d=t dA d. For instance, Eulercharacteristic,perimeter,area is a basis for V 2 . Give or take a constant factor, these are the coefficients in the formula above for the measure of a rectangle. So Hadwiger’s Theorem goes some way towards formalizing ‘potato theory’.

The point

Here’s where it all comes together. The idea is to define the cardinality of infinite metric spaces by approximating them by finite ones. This turns out to produce many of the invariants of geometric measure theory.

For example, take an interval [0 ,a] of length a. Let (A k) k be a sequence of finite subsets of [0 ,a] that converges to [0 ,a] in an obvious sense:

for all ε>0 there exists K such that for all kK, the ε-balls centred on the elements of A k cover [0 ,a].

Theorem  The sequence (A k) k of cardinalities converges to a+1 .

This is just like Schanuel’s observation that a closed interval of length acm should have measure acm+1 !

Recall, however, that the definition of the cardinality of a metric space depends on the choice of a constant α0 . To make the theorem true, we have to take α=e 2 ; otherwise, the sequence of cardinalities converges to Ca+1 for some positive constant C1 . So from now on, α=e 2 .

Assuming that every metric space has cardinality, lots of good things follow. Using the fact that every compact metric space is a limit (in the Gromov–Hausdorff metric) of a sequence of finite metric spaces, it can be shown that every compact metric space has a well-defined cardinality. Products behave well with respect to cardinality, so the rectangle [0 ,a]×[0 ,b] has cardinality ab+a+b+1 , and so on.

The Ancient Greeks knew that ratios are more significant than lengths. Lengths depend on the unit of measurement, but ratios don’t. So when we have a metric space A, it’s often worth considering the whole family (tA) 0 <t< of spaces, where tA means A with the metric multiplied by a factor of t. With this in mind, let’s define for each space A a function χ A: (0 ,) t tA. I’ll call χ A the cardinality function of A. It tells us the cardinality not only of A, but also of all its brothers and sisters tA.

Examples  Let A be a closed interval of length a. Then χ A(t)=at+1 . Let A be a closed a×b rectangle. Then χ A(t)=abt 2 +(a+b)t+1 , exactly the formula from the section on geometric measure theory, but with ‘t’ instead of ‘cm’.

Conjecture  Let A be a convex subset of n. Then χ A(t)=A nt n++A 1 t+A 0 where the d’s are the measures of Hadwiger’s Theorem, suitably normalized.

The conjecture says in particular that χ A is a polynomial and that its degree is the dimension of A.

We can also attempt to calculate the cardinality functions of some self-similar spaces. (For this I’ll assume some plausible-seeming but unproved statements on how cardinality behaves with respect to colimits.) Taking the hoariest example, let A be Sierpiński’s gasket. Since tA is the union of 3 copies of (t/2 )A, overlapping at 3 points, we’d expect χ A(t)=3 χ A(t/2 )3 . Solving this gives χ A(t)=bt D+3 /2 where D=(log3 )/(log2 ) and b is some other constant. Although this isn’t a polynomial, its ‘degree’ in some analytic sense is D. And D is the Hausdorff dimension of A! So just as in the conjecture, the degree of χ A is the dimension of A.

In all these examples, the constant term is the Euler characteristic. The higher coefficients depend on the metric, but the constant term is purely topological.

In summary, the story seems to go like this. The notion of the cardinality of a category leads to the notion of the cardinality of a finite metric space, which leads to the notion of the cardinality of a compact metric space, which encompasses the most important invariants of geometric measure theory: all of the measures on real polyconvex sets, Hausdorff dimension, and maybe more.

Cry for help

All of the above depends on some elementary lemmas that I’ve been unable to prove. This has been driving me up the wall! Kind reader: now that you’ve seen where this story seems to lead, perhaps you will be moved to help.

The main unproved assumption is that every metric space has cardinality. It’s true for metric spaces with 3 points, and Simon has tested millions of other spaces without finding a counterexample. But I can’t prove or disprove it!

I’ll state the problem in a completely elementary form, and I’ll try to give you the psychological advantage by calling it an exercise:

Exercise 1  Say that a square matrix Z is metric if it is symmetric, its diagonal entries are all 1 , its off-diagonal entries are all in [0 ,1 ), and Z ijZ jkZ ik for all i,j,k. Prove, or disprove, that every metric matrix is invertible.

Thinking of the cardinality of a finite space as how many points there appear to be to someone with bad eyesight, you’d expect spaces with points spaced more widely apart to have greater cardinality. This suggests the following.

Exercise 2  In this exercise, assume that the metric spaces involved have cardinality. Let A be a finite metric space.

  1. Let A˜ be another metric space with the same set of points as A and with d A˜(a,b)d A(a,b) for all a,b. Show that A˜A.
  2. Show that tAA for all t1 . (A special case of the previous part.)
  3. Show that if A has n points then 1 An.

These exercises are conjectures! It’s not obvious, but they’re closely related: the statements of Exercise 2 very nearly imply the statement of Exercise 1.

Simon’s tests suggest that the symmetry assumption might not be necessary to prove the conjecture in Exercise 1 or to prove that An in the last part of Exercise 2. He has a potential non-symmetric counterexample to the conjecture that A1 , but isn’t sure if it’s due to a rounding error or not. I’m most concerned to settle these conjectures in the symmetric case: metric spaces in the completely classical sense.

Posted at February 9, 2008 7:18 PM UTC

TrackBack URL for this Entry:   http://golem.ph.utexas.edu/cgi-bin/MT-3.0/dxy-tb.fcgi/1596

54 Comments & 1 Trackback

Re: Metric Spaces

Amazing post, Tom! I hope someone does those ‘exercises’!

Tom wrote:

Probe your psyche with the following question: what does the formula 2 /(1 +α d) remind you of? For some people it’s Fermi–Dirac statistics; for some it’s Todd classes; for others still it’s the exponential generating function for the Bernoulli numbers.

For what it’s worth, Alain Connes makes some cryptic remarks about Bernoulli numbers in the book Triangle of Thoughts, which suggest that all three of these things are closely linked — except maybe Bose–Einstein statistics rather than Fermi–Dirac!

The first remark goes like this: “Planck had been interested in the black body problem since 1894. Living in Berlin, he was familiar with the experiments by Rubens and Kurlbaum. In the fall of 1900, he had the amazing intuition of a function of a single variable that fit beautifully with the two types of experimental results, and reconciled Lord Rayleigh’s law with Wien’s displacement law. This function is not at all simple, and even from a purely mathematical view it contains an enormous number of hidden treasures, such as Bernoulli numbers…”

In the second remark, Marcel Schutzenberger says, “The origin of Bernoulli numbers lies in the symmetric functions of integers. They play a role in the sum of the kth powers of integers from 1 to n,” and Connes replies “These numbers appear in the asymptotics of x/(1 exp(x)), almost by definition.”

There are two more such remarks, which you can find by going to the Amazon link above and searching under ‘Bernoulli’. (I don’t usually link to sites that sell books, but this time I’ll make an exception.)

I’ve been trying to understand this stuff more deeply for years. Here are some comments designed to explain Connes’ remarks to people who know little of the history of physics, or indeed physics.

Suppose you have a system which can be in states labelled 0 ,1 ,2 ,, and the probability of being in the nth state is proportional to exp(nx) for some parameter x. Then the actual probability of being in the nth state is exp(nx)/Z, where the normalizing factor Z is

Z= n=0 exp(nx)=1 1 exp(x)

To physicists this is the ‘partition function of the harmonic oscillator’, deeply intertwined with ‘Bose–Einstein statistics’. The similar function for Fermi–Dirac statistics is 1 +exp(x).

If you try to Taylor expand this function

1 1 exp(x)

you run into a minor problem: it blows up at x=0 . You can just do a Laurent expansion instead — but the easiest way to do that is do a Taylor expansion of

x1 exp(x)

and then divide by x. This Taylor expansion turns out to be

x1 exp(x)= n=0 B nx nn!

where the coefficients B n are called the Bernoulli numbers.

The fun then lies in finding ways to compute and understand the Bernoulli numbers. I wrote a lengthy annotated problem set about this which contains my best insights so far about what’s ‘really going on’; you can also see answers by Jeff Morton. This problem set explains why Bernoulli numbers show up when you sum

1 k++n k

In a nutshell, they’re deeply linked to the discrete analogue of integration — obtained as the inverse of the discrete analogue of differentiation.

There’s still a lot that remains mysterious to me. I don’t really know why Bernoulli numbers show up in Kervaire and Milnor’s formula for the number of smooth structures on the (4 n1 )-sphere.

More importantly, I don’t really know why the function x/(1 exp(x)) is so crucial in the theory of Todd classes, and whether this is related to the partition function of the harmonic oscillator somehow. I think it is…

Anyway, it’s quite possible that none of this will help you at all. Maybe you’re secretly dealing with Fermi–Dirac statistics and dividing something by the partition function 1 +exp(x) — but if so, I sure don’t see why!

Posted by: John Baez on February 9, 2008 8:47 PM | Permalink | Reply to this

Re: Metric Spaces

We were chatting about Bernoulli numbers and species back in 2003. Something about the ordered set of unordered sets.

Posted by: David Corfield on February 9, 2008 11:52 PM | Permalink | Reply to this

Re: Metric Spaces

I asked John’s contemporary Jonathan Weitsman about this some time ago, and will presume I can quote his answer here:

Me: “I vaguely understand why x/(e^x-1) shows up in both the Euler summation formula and the Todd class. But why does it show up in the Planck distribution of black-body radiation? Is the tangent bundle radiating particles at me?”

JW: “Instead of answering your question, I’ll ask another one: Why does Td^{-1} appear in the derivative of the exponential map on a Riemannian manifold? (See for example Helgason, DGLGSS, Chapter 1, Theorem 6.5).

“Here is a more direct answer. The trace of the Hamiltonian of the Harmonic oscillator is given by Feynman-Kac as the determinant of the Laplacian on the circle. On the other hand, you could compute the path integral by the fixed point formula. The denominator you would get by Atiyah-Bott would involve the translation action of the circle on the tangent bundle of the fixed loops. But this is the same determinant that leads to Td in the index theorem (in the Atiyah-Bott form, which is the easiest one for me to understand).

“The comparison of these two approaches is at the heart of Getzler’s proof of the index theorem.”

Posted by: Allen Knutson on February 9, 2008 10:19 PM | Permalink | Reply to this

Re: Metric Spaces

Hi Tom,

This is a beautiful post. I REALLY enjoyed reading it. Thank you.

With each sentence, flashes were going off in my mind that this is related to stuff near and dear to my heart, but alas, I am cursed with the ability to “sense” something is deep without ever having the ability to see it myself. That is why it was so much fun working with Urs. I would just point in vague directions where my nose picked up something and he would see it immediately.

I’ll put some thought into your exercises, but don’t have any realistic expectation of being able to help. Just wanted to say thank you for adding a bit of beauty to this sunny southern California day.

Posted by: Eric on February 10, 2008 12:39 AM | Permalink | Reply to this

Re: Metric Spaces

Unfortunately, Exercise 1 is false. Observe that the space of metric matrices is connected (indeed, the logarithms of the coordinates cut out a convex set). Hence if Exercise 1 were true, all metric matrices would not only be invertible; they must also be positive definite. But one can easily disrupt positive definiteness by testing against a signed vector. For instance, consider a 2 n×2 n matrix whose entries are equal to a on the upper left and bottom right n×n blocks (except on the diagonal, where they are 1 ), and equal to b on the other two blocks. This is a metric matrix whenever b 2 ab<1 . But by testing it against the vector which consists of n 1s followed by n -1s, we see that it ceases to be positive definite once 1 +(n1 )anb. The two conditions become compatible for n3 , e.g. take a=1 /2 and b=2 /3 . (Actually this gives an explicitly non-invertible metric matrix.)
Posted by: Terence Tao on February 10, 2008 5:59 AM | Permalink | Reply to this

Re: Metric Spaces

Terence said:

Unfortunately, Exercise 1 is false.

But all is not lost! Take the 2 n×2 n matrix you gave with 0 a,b<1 , but don’t necessarily force it to be metric. The determinant is given by

(1)(a1 ) 2 n2 ((n1 )a+1 +nb)((n1 )a+1 nb)

(at least according to maple – I haven’t checked properly). So the matrix is singular when a=1 n1 and b=2 n. However, one can still formally compute the cardinality from the adjoint matrix and get a lovely cancellation, so that the cardinality is given by

(2)2 n(n1 )a+1 +nb

which lies between 1 and 2 n as one would hope!

Posted by: Simon Willerton on February 10, 2008 9:56 AM | Permalink | Reply to this

Re: Metric Spaces

A quick note – it is easy to prove that Z has the determinent you claim above. Let M be the 2n x 2n matrix, divided into n x n blocks, which is 0 in the diagonal blocks and 1 in the nondiagonal blocks. So Z=(1 a)+bM+aM 2 /n. Now, M has rank 2, and M acts on the 2-dimensional space (u,u,…,u,v,v,…,v) with eigenvalues n and -n. So the eigenvalues of M are n, -n and 0, the last with multiplicity (2n-2) and the eigenvalues of Z are (1 a)+bn+an, (1 a)bn+an and 1 a, the last with multiplicty 2n-2.

Similarly, it is easy to show that the sum of the entries of Z^{-1} is 2 n/((n1 )a+1 +nb). Let v be the vector (1,1,..,1). Then we want to compute vZ 1 v T. Now, Zv T=(1 +(n1 )a+nb)v T so Z 1 v T=(1 +(n1 )a+nb) 1 v T and vZ 1 v T=(1 +(n1 )a+nb) 1 vv T=2 n/(1 +(n1 )a+nb)

More generally, if M is any metric space with n elements and a transitive symmetry group, the cardinality of M is n/ jMd(i,j)

Posted by: David Speyer on February 10, 2008 7:21 PM | Permalink | Reply to this

Re: Metric Spaces

Very nice David. It’s decidedly more pleasant than my hacking away with maple.

Posted by: Simon Willerton on February 10, 2008 8:14 PM | Permalink | Reply to this

Re: Metric Spaces

Thanks, Terry! It’s fantastic to have that sorted out.

It might look as if this is a disaster, but it’s not. The conjecture of Exercise 1 — that the matrix of a metric space is always invertible — was a sufficient condition for being able to develop geometric measure theory via the cardinality of enriched categories, but it might not be a necessary one.

To explain… The shortest way to define the cardinality of a category A is as the sum of the entries of Z 1 , where Z is the square matrix whose entries are the cardinalities of the hom-sets of A. (This also applies to enriched categories, and in particular to metric spaces.) However, we know a couple of ways to avoid the assumption that Z is invertible. Given Terry’s discovery, it looks as if we’ll have to press them into action.

The first way is via ‘weightings’. Let A be a (possibly enriched) category and Z its associated matrix. A weighting on A is a column vector w such that Zw=(1 1 ). A coweighting on A is a row vector w˜ such that w˜Z=(1 ,,1 ). A category A has cardinality if it admits both a weighting and a coweighting; its cardinality A is the sum iw i= jw˜ j for any weighting w and coweighting w˜. An easy lemma shows that A is independent of the choices involved.

When Z is invertible, there are a unique weighting and coweighting and the cardinality is the sum of the entries of Z 1 . When Z is not invertible, there are either no weightings or infinitely many. The possibility of multiple weightings is what makes life harder, and why I hoped that Exercise 1 would be true.

For metric spaces, Z is symmetric and a weighting is the same as a coweighting. Hence a metric space has cardinality if it has at least one weighting; its cardinality is then the total weight iw i for any weighting w. This notion of ‘has cardinality’ is more generous than the one in my post (that Z is invertible). Exercise 1 now becomes:

Exercise 1   Say that a square matrix Z is metric if it is symmetric, its diagonal entries are all in [0 ,1 ), and Z ijZ jkZ ik for all i,j,k. Prove, or disprove, that (1 ,,1 ) is in the row-span of every metric matrix.

Terry’s answer doesn’t settle Exercise 1 . Indeed, the class of metric matrices that he constructs all have cardinality in this wider sense; it’s given by the same formula that Simon found. When you choose a and b so that Z is not invertible, the cardinality comes out as 1 /b.

If Exercise 1 is false, this still isn’t a disaster! But it would seem to complicate things — there’d be some singularities around.

The second way of avoiding the assumption that Z is invertible is to use a suggestion of Clemens Berger, discussed previously. Write adj(M) for the adjugate, or classical adjoint, of a matrix M. If Z is invertible then the sum of the entries of Z 1 is sumofentriesofadj(Z)det(Z). But for every Z there’s a rational function g(t)=sumofentriesofadj(Zt)det(Zt) and this is well-defined at t=0 in many cases where Z is not invertible. You can then take g(0 ) to be the substitute for ‘sum of the entries of Z 1 ’. That’s essentially what Simon did in his previous comment.

So, we have progress! Exercise 1 is false, but Exercises 1 and 2 remain open.

Posted by: Tom Leinster on February 10, 2008 5:25 PM | Permalink | Reply to this

Re: Metric Spaces

Dear Tom, Unfortunately, Exercise 1’ is false also. The analysis I gave earlier indicates that the set of non-invertible metric matrices is an algebraic subvariety of codimension 1 inside the space of all metric matrices (it is where the determinant vanishes; this vanishing is pretty generic, and can happen well away from the boundaries of the space cut out by the triangle inequalities z ijz jkz ik). On the other hand, the variety of matrices which are non-invertible but have (1 ,,1 ) in its rowspace has codimension 2 inside the affine space of symmetric matrices with 1s on the diagonal (in which the space of metric matrices form an open subset). So a generic non-invertible metric matrix will necessarily be a counterexample to Exercise 1’. One can probably cook up an explicit example by looking at perturbations of the example I described earlier; one needs to find a perturbation in which the determinant is zero, but the n1 ×n1 cofactors fail to sum to zero. Any sufficiently generic perturbation that obeys the determinant-zero constraint should work for this.
Posted by: Terence Tao on February 10, 2008 11:09 PM | Permalink | Reply to this

Re: Metric Spaces

With Terry solving problems posed here and framing lecture material in terms of categories of dynamical systems at his blog, has the gulf between the two cultures been overstated?

Posted by: David Corfield on February 11, 2008 8:44 AM | Permalink | Reply to this

Re: Metric Spaces

Very interesting.

We now know that there exist ‘singularities’ in the space of metric matrices: points Z where neither the most simple-minded approach to cardinality nor the weighting approach returns an answer. The next step is to understand what those singularities look like.

Specifically, fix n and a non-invertible metric matrix Z. There are plenty of invertible metric matrices near Z, since a generic metric matrix is invertible. Each one has a ‘cardinality’ — the sum of the entries of its inverse. How do the cardinalities of the invertible metric matrices near Z behave? There are three possibilities:

  1. their cardinalities converge towards some value at Z
  2. their cardinalities don’t converge at Z, but they do stay within some bounded interval
  3. their cardinalities don’t stay within any bounded interval.

Do we have any idea which of these might occur?

Exercise 2(3) conjectured that the cardinality stays within the interval [1 ,n].

Posted by: Tom Leinster on February 11, 2008 5:05 AM | Permalink | Reply to this

Re: Metric Spaces

Oh, hang on — I can answer part of that myself. Since the cardinality of a matrix is a rational function in its entries, namely sumofentriesofadj(Z)det(Z), (2) doesn’t happen. The question is whether any metric matrices are poles of this function.

Posted by: Tom Leinster on February 11, 2008 5:18 AM | Permalink | Reply to this

Re: Metric Spaces

By may Aesthetic, this is already one of the most Beautiful threads in n-Category Cafe history.

Hear hear. Just a random question from the dog-box concerning Exercises 1 and 1’: is there a “flow equation” for inverting a matrix? Maybe I’ve been giving too many calculus tutorials, but recall the row-echelon method for inverting a matrix A. You write down A on the left, and a copy of the identity matrix next to it on the right. Then you perform elementary row operations to both sides until A is magically transformed into the identity matrix, at which point the right-hand matrix gives you A 1 .

Is there a differential equation that implements this procedure? Some pair of equations, I guess of the form

(1)dAdt=f(A),dBdt=f(A)

with the initial conditions A(0 )=A,B(0 )=id, and having the property that A()=id,B()=A 1 . If there is such a differential equation, does it represent the gradient flow lines of some interesting functional?

Posted by: Bruce Bartlett on February 11, 2008 10:05 PM | Permalink | Reply to this

Re: Metric Spaces

Life is trickier than that when considering real valued rational functions of more than one variable. Consider the rational function

2 u 2 v 2 u 4 +v 4

As you approach (0,0 ) in any direction, this stays in the interval [0,1 ], yet it does not have a well defined limit.

I am 99% sure that this problem can only arise when the zero locus of the denominator is singular at the limit point. The function det is singular at the matrices of corank 2 and higher, which is codimension 4, so you should be able to dodge it pretty easily. As Terry says, perturbing his example (while staying singular) will probably exhibit divergence of type (3).

Posted by: David Speyer on February 13, 2008 8:20 PM | Permalink | Reply to this

Re: Metric Spaces

Thanks, David. I realized later that I didn’t understand how rational functions of several variables behave near singularities.

Let me run through your example. Write f(u,v)=2 u 2 v 2 u 4 +v 4 , which is defined for all (u,v) 2 except (0 ,0 ). Since (u 2 v 2 ) 2 0 , we have u 4 +v 4 2 u 2 v 2 , so f(u,v)1 for all (u,v). Obviously f(u,v)0 , so f(u,v)[0 ,1 ] for all (u,v). However, if we take any nonzero real λ and consider f(u,λu) as u0 , we find lim u0 f(u,λu)=lim u0 2 λ 2 +1 /λ 2 =2 λ 2 +1 /λ 2 , which, of course, depends on λ. So there’s no way to extend f continuously to (0 ,0 ).

I’ve been trying to digest what Terry wrote, and I think I agree that divergence of type (3) does occur. In fact, I think I’ve got some examples to back up this claim, but I’ll check the calculations again before I post.

Posted by: Tom Leinster on February 13, 2008 11:22 PM | Permalink | Reply to this

Re: Metric Spaces

Nice post, Tom! By the way, Rota was and I am fascinated by profinite mathematics which can be used to study infinite spaces (groups or categories) via the techniques of finite spaces (groups or categories).

Posted by: Charlie Stromeyer Jr on February 10, 2008 1:28 PM | Permalink | Reply to this

Beautiful Math; Re: Metric Spaces

By may Aesthetic, this is already one of the most Besutiful threads in nN-Category Cafe history.

The Baez/ Tao / Leinster subthread alone is gorgeous.

If you enter “bernoulli numbers” in the Online Encyclopedia of Integer Sequences, you get 378 results.

I wonder if there’s a deep Physics connection to Irregular Primes, just as we have connections between primes and eigenvalues of random matrices and physical systems, and the Reimann hypothesis.

A000928 Irregular primes: p is regular if and only if the numerators of the Bernoulli numbers B_2, B_4, …, B_{p-3} (A000367) are not divisible by p.

n a(n)
1 37
2 59
3 67
4 101
5 103
6 131
7 149
8 157
9 233
10 257
11 263
12 271
13 283
14 293
15 307
16 311
17 347
18 353
19 379
20 389
21 401
22 409
23 421
24 433
25 461
26 463
27 467
28 491
29 523
30 541
31 547
32 557
33 577
34 587
35 593
36 607
37 613
38 617
39 619
40 631
41 647
42 653
43 659
44 673
45 677
46 683
47 691
48 727
49 751
50 757
51 761
52 773
53 797
54 809
55 811
56 821
57 827
58 839
59 877
60 881
61 887
62 929
63 953
64 971
65 1061
OFFSET
1,1

COMMENT
Jensen proved in 1915 that there are infinitely many irregular primes. It is not known if there are infinitely many regular primes.

“The pioneering mathematician Kummer, over the period 1847-1850, used his profound theory of cyclotomic fields to establish a certain class of primes called ‘regular’ primes. … It is known that there exist an infinity of irregular primes; in fact it is a plausible conjecture that only an asymptotic fraction 1/Sqrt(e) ~ 0.6 of all primes are regular” [Ribenboim]

Posted by: Jonathan Vos Post on February 10, 2008 5:42 PM | Permalink | Reply to this

Typos corrected; Re: Beautiful Math; Re: Metric Spaces

“may” ==> “my”

“Besutiful” ==> beautiful

“nN” ==> n

It’s so hard to proofread in the microscopic form box that I get on Firefox on my Linux PC. Sorry.

Posted by: Jonathan Vos Post on February 10, 2008 5:45 PM | Permalink | Reply to this

Re: Typos corrected; Re: Beautiful Math; Re: Metric Spaces

Jonathan wrote:

It’s so hard to proofread in the microscopic form box that I get on Firefox on my Linux PC.

This is what the ‘Preview’ feature is for. After you’ve composed your comment, you have to click ‘preview’ before you can post it. You then either get error messages or a preview of your comment, showing how it’ll look when it appears. Look at it and see if it’s right.

If you don’t like the microscopic form box in which you compose your comment, you’re in luck — since you use Firefox. You can download a plugin called Greasemonkey, which let people to write scripts to modify the behavior of websites. Then, you can download Mike Stay’s script specially made for the n-Category Café.

You can then expand the microscopic form box simply by clicking on the lower right corner and dragging it.

Usually when people say stuff like this — “just download Zot, version 5.3 or higher, and turn on the degluxifier, and all your problems will be solved” — I decide I have something better to do with my time. But this was actually not so hard, and it worked.

Mike Stay is my grad student, so you can trust him not to have inserted viruses in the script that’ll infect your computer and make all your comments contain sentences like “What happens if we categorify this?” Honest.

But, if you prefer a script that only does this resizing thing, you can use this one on my website.

Posted by: John Baez on February 10, 2008 8:16 PM | Permalink | Reply to this

Re: Metric Spaces

Going off on a tangent (or more precisely an integral) about Bernoulli numbers, JB’s notes and Jeff Morton’s solutions have been very helpful. Falhauber’s fabulous formula relates the sum of the kth powers to an integral via the Bernoulli numbers. It is my suspicion that there are higher dimensional reasons to believe that these formulas hold. For example, that the polynomial formulas in n-choose-2 that hold for odd powers (see eg. Knuth ) must be combinatorial versions of the decomposition of various higher dimensional volumes. I think there must be scissor’s congruences between the pyramidal objects that the sum of kth powers represent and the polynomial expressions in the triangles. Here n is the number of terms that are added together.

For example, Dylan Thurston told me a proof that he, Walter Neumann and Dave Bayer worked out in 4d for the sum of cubes. The sum of cubes represents the cone o a cube, this can be decomposed as the union of two cones on two pyramids, and the square of a triangle can also be decomposed as the union of two cones on two pyramids.

Dror Bar-Natan gave a proof in the continuous case by considering the cone on a cube as the set \{ (x,y,z,w) \in [0,1]x[0,1]x[0,1]x[0,1]: x \le y,z,w \}, and then considering this as two cones on pyramids. One pyramid has z \le w and y can be anything (x is still to the left of all). The other has w \le z. The triangles times triangle has x \le y and z \le w but no relations hold between {x,y} and {z,w}.

A geometric interpretation of the Bernoulli numbers would help discover these connections.

Posted by: Scott Carter on February 10, 2008 7:15 PM | Permalink | Reply to this

Re: Metric Spaces

There’s something curious going on here. Tom Leinster, discussing his postmodern approach to geometric measure theory, ponders the cardinality of the set of two points a distance x apart:

2 /(1 +e 2 x)

and says it reminds him of Bernoulli numbers, whose genenerating function is

x/(1 e x)

This led me to chat about the Bernoulli numbers, and now Scott is talking about proving stuff about Bernoulli numbers using scissors congruences between polyhedra… which is very much all about geometric measure theory!

So, there’s a strange loop of ideas here. It could be interesting or it could be just junk, the result of too much free-association. Simulated annealing is great, but now maybe we should lower the temperature a bit.

So, Tom: you say the cardinality of two points a distance x apart should be

2 /(1 +e 2 x)

Here’s a simple question: what coefficients do you get when you Taylor-expand this about x=0 ?

And here’s a more open-ended one: what do these coefficients mean?

You have a nice conjecture about how the cardinality of a convex subset of n changes as you rescale it by a factor of x: you hope to get a Taylor series in x where the coefficients are certain geometric measures showing up in Hadwiger’s Theorem.

What does Hadwiger say about nonconvex sets? What about the 2-point set?

Posted by: John Baez on February 10, 2008 9:30 PM | Permalink | Reply to this

Re: Metric Spaces

John asked me to Taylor-expand 2 /(1 +e 2 x) about x=0 . Since 2 1 +e 2 x=1 +tanh(x), I can cheat and look it up. According to Wikipedia, the answer is 1 + n1 B 2 n4 n(4 n1 )(2 n)!x 2 n1 where the B 2 n’s are the Bernoulli numbers. (For those who haven’t met the Bernoulli numbers, I highly recommend Cartier’s paper.) And using the formula at the bottom of p.54 of Cartier’s paper, the coefficients look rather similar to the values of the Riemann ζ function at even positive integers.

John also asked:

What does Hadwiger say about nonconvex sets? What about the 2-point set?

Good questions. Hadwiger’s Theorem is phrased in terms of polyconvex sets, i.e. finite unions of compact convex sets. My conjecture was only about convex sets. This is because even for the simplest non-convex sets, it’s clearly false. For a space A consisting of two points distance d apart, the cardinality function χ A is given by