# hpr3101 :: Metrics

### A layman's explanation of the mathematical concept of metric.

Hosted by Andrew Conway on Monday 2020-06-22 is flagged as Clean and is released under a CC-BY-SA license.
Tags: mathematics,relativity,physics.

Listen in ogg, spx, or mp3 format. | Comments (3)

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.

### What is a metric?

A type of ruler that is used in mathematics.

### Why not just use a ruler?

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.

### What's the simplest example of a metric?

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

### OK, can I have a more interesting example please?

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

### Isn't that pythagoras?

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

### What other co-ordinates can we use for a flat 2D surface?

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.

### Does Pythagoras still work in polar coords?

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.

### Why do we have to talk about changes in s, r and φ?

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.

### Can we use Cartesian or polar co-ordinates on the surface of the Earth?

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.

### Why not?

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 want to know more OR my mind is not fully blown.

I will probably do more shows on this.

Sure:

## Show Transcript

Automatically generated using whisper

whisper --model tiny --language en hpr3101.wav

<< First, < Previous, Latest >>

#### Looking forward to further episodes.

Thank you for this episode, it's a nice gentle introduction to the topic, I definitely look forward to future episodes.

#### Excellent!

I'm looking forward to more shows from this person.

#### more episodes

keep going with this, great topic

## Leave Comment

Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.

Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

Provide feedback
 Your Name/Handle: Title: Comment: Anti Spam Question: What does the P in HPR stand for ? Are you a spammer → Yes No Who hosted this show → Select a Host@einebiene2BFrankA Shadowy FigureAaressaarAccipiterAdamAhukaAkranisAlaldenpAlek GrigorianAlk3Alpha32AmunizpAndrew ConwayAnonymous HostaparanoidshellArcher72arfabArigornStriderAukonDKb-yeezib1ackcr0wBarimanBeezabeniBetobgryderclockBill "NFMZ1" MillerBill_MIbinrcBitboxBitviperbjbBlacKernelblackmathBlackratchetBob EvansBob TregilusBob WoodenBobJonkmanbobobexBookewyrmmBrad CarterbrianBrian in OhioBroamBrocktonBobbrother mouseBrotherredCarlCCHits.net TeamccmusiqueCedric De VroeyCelesteChadCharles in NJcheeto4493Chess GriffinChristopher M. HobbsCibola JerrycidcjmclackeClaudio MirandacleaveyClinton Roycobra2code.cruncherCoder365CoGocoldstealcorenominalCottonballsCovcrvsCurbuntuCurtis Adkins (CPrompt^)cyanCybercodDaniel PerssonDannDanNixonDarkShadowDaveDave MorrissDave YatesDavid Thrane ChristiansenDavid WhitmanDavid WillsondawDeb NicholsondeepgeekDeltarayDelwindesearcherdf99diablomarcusDick ThomasDigital ManiacDismal ScienceDismal Science and Sunzofman1DjBoodmfreydntdodddummyDominic UilanoDoorToDoorGeekdosmanDospoddoubiDoug FarrellDownerDr^ZigManDrake AnubisDravendroopsdual_parallelDude-mandwickEC LugEdward Miro / c1ph0rElectromanelelEmilien KleinEnigmaenistelloEpicanisEric DuhamelFacemanFamicomanfawkesfyreFiftyOneFifty (R.I.P.)Finfinuxfinux and code.cruncherFlaviu SimihaianFloyd C PoynterfolkyFrank BellFrederic CouchetfthGabriel EvenfiregarjolaGeddesGeoNineGermGNULinuxRTMgoibhniuguitarmanhakerdefohandsome_pirateHannah, of Terra, of SolHaqHeisenbugHelvetinHipernikeHonkeymagooHPR VolunteersHPR_AudioBookClubimahuphInsciusIrongeekIronic SodiumJ-HoodJ. A. MathisJames Michael DuPont (h4ck3rm1k3)janedocJared MayesJason ScottjavatardJBu92jelkimantisJeremyJeroen BatenJezraJezra and NYbillJoeJoe WakumaraJoelJoel DJoey HessjohanvJohn DuarteJohninscJon DoeJon KulpJonathan NadeauJosh KnappjrobbJrulloJulian NeuerJustMeJWPKeith MurrayKen FallonKevieKevin BenkoKevin GranadeKevin WisherKFiveKillersmurfKinghezykitcheKlaatuKn1ghtl0rdknightwiseKnoxkotrinkurakuraKynan DentL3pprd/ocCodelaindirLeeLinLinlivindedLord Drachenblut (R.I.P.)lostnbronxLowtek MystikLuminaireLunarsphereLurking PrionLyle Lastingerm0dese7enm1rr0r5h4d35MadjimisimiMadRushmarcozMark ClarkeMark Katerberg and Courtney SchauerMark WatersMatt McGraw (g33kdad)matthewmattkingusaMc FrontalotMC SmedleyMechatroniacMerkMessymanMetatronMichael Foord Michal CieraszynskimightbemikeMike HingleyMike RayminnixmirovengimirwiMongomonochromecmonsterbMoral VolcanomordancyMorgellonMPardoMrEMrGadgetsMrsXokeMrXMubixN50Nacho JordiNeandergeekNeodragonNewAgeTechnoHippieNido MediaNihilazonjuliannoplacelikeslashhomenorristNYbillo9lone_of_spoonsOnlyHalfTheTimeoperat0rp0trill0Padraig Jeroen FallonPat from TLLTSPatrick L Archibald (R.I.P.)Paul JPaul QuirkpegwolePeterPeter64PhilipPhizonePhreakerD7PipeManMusicpixel JuicePixelfiendPlexipokeyponyboypope523pyrrhicQuvmohReg ARho`nRichard HughesriddleboxRiley Gelwicks (glwx)RillriscphreerkirkRoadrunnerRobin CatlingrootoutcastrowinggolferRujiRuss WennerRyuno-KiSarahsaras foxScedhaschismscrewtapescriptmunkeeScynerSealSeeteesemioticroboticShane ShennanShannon Wrightsigflupsikilpaake and badbitSilverSkirletskryeslick0SlurrySome Guy On The Internetsp0russp0rus and biosshadowspacemanspaceoutspiffytechStache_AFStankDawgStarshipTuxSteve BickleSteve SanerSteve SmethurstStilvoidStitchSunzofman1Svenswift110takov751tcucTgtm News TeamThaj SaraThe Air Staff of Erie Looking ProductionsThe Alien Brothers Podcast (ABP)The BishopThe Linux Experimentthe_remoraTheDUDEthelovebugthewtexTheYellow1ThistlewebThoughtPhreakerthreethirtytimttmytmacuk Toby MeehanTodd MitchellToeJetTony Hughes AKA TonyH1212Tony PelaezTottenkophTracy Holz_HolzsterTreyTrixterTrumpetJohntuturtoUberChickUnderrunerUrban KoistinenUTOSCVarious Creative Commons WorksVarious HostsvenamW3lshrarebitweexWill JasonwilljasenWindigoWintermute21x1101XcaliburXokeXtratoYannickZachZachary De SantosZen_Floater2 What does HPR mean to you ?