Download or Listen

Whether you are writing a simple darts simulation 8-bit computer game or are traversing the galaxy Elite-style, you might well find yourself tangling with the mathematical concept known as the metric. In this episode I describe the mathematical concept of a metric which I address with the following questions. Brief answers are provided below but the show, I hope, gives more context and colour.

A type of ruler that is used in mathematics.

You can if all you want to do is measure distances in real life but if you want to work out distances from coordinates you need a metric.

In 1D, distance s equals change in x coordinate.

On a flat 2D surface, distance squared is the change in x squared plus change in y squared.

Yes, it is, but using the word distance and two co-ordinates.

Those x and y co-ordinates are called Cartesian co-ordinates. Instead we can use polar co-ordinates: radius r, and the angle φ (or phi) measured clockwise from the vertical. These might be more convenient in some cases, say for a dart board computer game, or if you are working with a compass bearing, eg head east for 1 km would become start at the origin (r=0) and move with phi=90° until r=1 km.

Yes and no. No, it is no longer true to say that distance squared equals radius squared plus φ squared, but since the geometry is the same - a flat 2D surface - we can say that a *change* in distance squared equals the *change* in radius squared plus radius squared times the *change* in φ squared.

Because one of our coordinates now appears in the metric. That is, the radius squared multiplies on to the change in φ squared. This means that a change in φ depends on r. In other words, bigger circles have bigger circumferences. Actually, it's more intricate than that, as we must deal with infinitesimals: quantities which are very, very, very small but not zero.

Only over short distances, much smaller than the radius of the Earth which is 6400 km. So up to about 100 km that's fine for many purposes, but not when flying a plane over great distances, say London to Singapore.

The surface of the Earth may look locally flat but of course the Earth has a curved 2D surface. This means that this surface has a non-euclidean geometry, which means that Pythagoras does not hold and we cannot even define Cartesian co-ordinates, let alone use them.

I will probably do more shows on this.

Sure:

Unless otherwise stated, our shows are released under a Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) license.

The HPR Website Design is released to the Public Domain.