<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.explainxkcd.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=2607%3AF140%3A400%3A6F%3A9832%3A655B%3A9E48%3A6AC2</id>
		<title>explain xkcd - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://www.explainxkcd.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=2607%3AF140%3A400%3A6F%3A9832%3A655B%3A9E48%3A6AC2"/>
		<link rel="alternate" type="text/html" href="https://www.explainxkcd.com/wiki/index.php/Special:Contributions/2607:F140:400:6F:9832:655B:9E48:6AC2"/>
		<updated>2026-04-17T02:30:36Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://www.explainxkcd.com/wiki/index.php?title=1991:_Research_Areas_by_Size_and_Countedness&amp;diff=389241</id>
		<title>1991: Research Areas by Size and Countedness</title>
		<link rel="alternate" type="text/html" href="https://www.explainxkcd.com/wiki/index.php?title=1991:_Research_Areas_by_Size_and_Countedness&amp;diff=389241"/>
				<updated>2025-10-22T02:08:46Z</updated>
		
		<summary type="html">&lt;p&gt;2607:F140:400:6F:9832:655B:9E48:6AC2: /* Explanation */ Mentioned alternative interpretation of title text&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{comic&lt;br /&gt;
| number    = 1991&lt;br /&gt;
| date      = May 9, 2018&lt;br /&gt;
| title     = Research Areas by Size and Countedness&lt;br /&gt;
| image     = research_areas_by_size_and_countedness.png&lt;br /&gt;
| titletext = Mathematicians give a third answer on the vertical axis, &amp;quot;That question is poorly defined, but we have a sub-field devoted to every plausible version of it.&amp;quot;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Explanation==&lt;br /&gt;
&lt;br /&gt;
This comic is a [[:Category:Scatter plots|scatter plot]] that ranks different research fields according to the precision of the knowledge of the number of the studied object (vertical axis) vs. how large (the size of) the studied object is on the horizontal axis. &lt;br /&gt;
&lt;br /&gt;
For instance, the facts pertaining to the number of United States presidents are well known (although the exact number can be disputed, in that Grover Cleveland's non-consecutive terms are usually counted seperately, so the official count exceeds the number of individuals who have become President; Donald Trump repeating&amp;lt;!-- not yet (November 2024 to January 2025), but imminently --&amp;gt; this feat), so the study of their history is at the top of the Y-axis. This study is placed close to the Y-axis as the size of a president is about midway in size between the two extremes of the X-axis, elementary particles to the left (small) and the entire cosmos (cosmology) to the right (big). &lt;br /&gt;
&lt;br /&gt;
On the X-axis, Presidents are close to the middle. Both presidents and other larger life forms (as a research area) including extinct animals (paleontology) and exobiology are all close to the same central position just right of the Y-axis, with smaller animals like birds and insects just to the left of the Y-axis. But where the number of presidents is well known (aside from the handling of split-terms), then the number of exoplanet life forms (exobiology) is completely unknown (and would likely be affected by other disputes, such as whether something the size of Pluto counts as a planet) and thus it will be found at the very bottom of the Y-axis, since we have no idea if there is life elsewhere and if so how many places will it be and how varied.&lt;br /&gt;
&lt;br /&gt;
The 19 research areas are listed and explained in the [[#Tables of research areas|tables]] below.&lt;br /&gt;
&lt;br /&gt;
In the title text, mathematicians may give a third answer that the concept of counting the things being studied is not reasonable, because the things are abstract or otherwise not discrete.  There are many different types of math that blend into each other, and many have turned into separate sub-disciplines based on different interpretations of fundamental rules.  As a specific example in geometry, different interpretations of how many lines you may draw parallel to another line through a given point has lead to {{w|hyperbolic geometry|hyperbolic}} (infinite parallel lines) and {{w|spherical geometry|spherical}} (0 parallel lines) geometric systems that are just as valid (and valuable, in some contexts) as the more commonly known {{w|Euclidean geometry|Euclidean}} (1 parallel line) geometry.  As a specific example of the blending, {{w|number theory}}, {{w|set theory}}, and {{w|topology}} all interrelate and it is difficult to concretely say whether many theorems belong to one branch of math or another.&lt;br /&gt;
&lt;br /&gt;
Another way to interpret this is that mathematicians do not know exactly how many mathematical objects there are. For example, under one interpretation of contingent, mathematicians do not know whether there are any infinities between {{w|beth zero|| to {{w|beth one}} (and analogously for {{w|Large cardinal axiom#Hierarchy of consistency strength|large cardinal axioms}}, so mathematicians do not know how many types of infinity there are, but based on set theorists investigating how the existence of certain types of infinity implies the existence of certain other types of infinity, one can say that set theory is a field devoted to studying every plausible version.&lt;br /&gt;
&lt;br /&gt;
For a table with the coordinates given in percentage for each research field, see the table in the [[#Trivia|trivia]] section&lt;br /&gt;
&lt;br /&gt;
===Upper left quadrant===&lt;br /&gt;
This is the section with the small items with count known.&lt;br /&gt;
&lt;br /&gt;
{| class = &amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Research field&lt;br /&gt;
! Size of the thing&lt;br /&gt;
! Knowledge of #&lt;br /&gt;
! Explanation&lt;br /&gt;
|-&lt;br /&gt;
|{{w|Elementary particle physics}}&lt;br /&gt;
| The smallest subjects that we have actually detected are the {{w|elementary particles}}. In the {{w|Standard Model}} of particle physics, they are considered point masses (i.e. to have zero width). They may be made of smaller {{w|String theory|strings}} but if so these have still not been detected.&lt;br /&gt;
| We think we have a fairly good estimate of how many elementary particles that are known. There could be some uncertainty though, so it is not at the very top.&lt;br /&gt;
|Elementary particle physics is concerned with the study of subatomic particles (the smallest things that we know of), of which there are 17, not including antimatter. Most notably, until recently it was uncertain whether the {{w|Higgs boson}} was one of the elementary particles, but scientists have a &amp;quot;pretty good estimate&amp;quot; because the mathematical models don't predict the existence of many other particles.&lt;br /&gt;
|-&lt;br /&gt;
|{{w|Dentistry}}&lt;br /&gt;
|Several mm to several centimeters&lt;br /&gt;
|Most teeth are visible to the naked eye, and dentists have x-ray technology to see what's not visible, so counting them is pretty straightforward.&lt;br /&gt;
|Dentistry is the study of teeth (pretty small, both in size as well as in quantity). Humans adults grow 32 teeth, which is a &amp;quot;pretty good estimate&amp;quot; since it is very rare for {{w|Hyperdontia|more than 32 teeth to grow}} and it is rather common for {{w|wisdom teeth}} to be surgically extracted or in some cases never to develop. Children may only have 20 teeth before they start falling out, but each tooth that falls out is because another tooth is growing underneath, so a child might have as many as 52 teeth, counting the child teeth that haven't fallen out yet plus the adult teeth that are starting to form.  So while a dentist will usually have a good idea how many teeth will be in a patient's mouth, they won't know for sure until they look or consult dental records.&lt;br /&gt;
|-&lt;br /&gt;
|{{w|Shakespeare}} studies&lt;br /&gt;
|Most are the size of typical book.  In printed form, they would be in the range of tens of centimeters in height and width and ~1 centimeter in depth.  Although, if stored in digital form, they could be much smaller than a tooth, so it seems to refer to print or handwritten originals.&lt;br /&gt;
|Generally, 36 plays are attributed to him, but between 1 and 3 additional plays are considered &amp;quot;lost&amp;quot; (i.e. at some point between being first published or performed and scholars seriously studying Shakespeare, all known copies, references, and fragments were destroyed, making it impossible to determine whether Shakespeare actually wrote them or whether they actually existed as separate plays), and {{w|Shakespeare apocrypha|some 20 more}} are believed to have been written by him, but not signed. To make matters worse, some plays that ''were'' published or performed under Shakespeare's name are believed to have been written as collaborations (not fully by him) or mis-attributed (we don't know who wrote them but most people say it was him).&lt;br /&gt;
There are also {{w|Shakespeare authorship question|various fringe theories}} that say very few, or even none, of the 'Shakespeare' works are actually by that man from Stratford. None of the alternative origins are widely accepted, however, and &amp;quot;Shakespeare studies&amp;quot; could still be considered the best umbrella term for the same group creative works that all the different Anti-Stratfordians are wanting to reattribute to numerous other people.&lt;br /&gt;
|Shakespeare studies is concerned with the works ascribed to William Shakespeare. These works are studied fairly commonly, so the position in about the middle makes sense. We also have a &amp;quot;pretty good&amp;quot; estimate of how many works are 'by Shakespeare'. Although the exact number is unknown, relative to other items on this list, we have a good estimate.&lt;br /&gt;
|-&lt;br /&gt;
|{{w|Ornithology}}&lt;br /&gt;
|Birds tend to be small, with most species able to be held comfortably in hand; even the largest known flying bird, the {{w|Condor}}, stands smaller than the average human, with a handful of non-flying avians such as the {{w|ostrich}} being larger, but still weighing less than 2-3 humans.&lt;br /&gt;
|The number of known bird species is [https://en.wikipedia.org/wiki/Bird#Diversification_of_modern_birds estimated at about 10,000], though [https://www.amnh.org/about-the-museum/press-center/new-study-doubles-the-estimate-of-bird-species-in-the-world a 2016 research result] suggested a near-doubling of this figure. As for the number of individual birds, a paper aptly titled [https://link.springer.com/article/10.1023/A:1018341530497 &amp;quot;How many birds are there?&amp;quot;] examines a number of ways of counting them; the results are &amp;quot;surprisingly consistent&amp;quot;, with counts of approximately 200-400 billion individual birds.&lt;br /&gt;
|We do have a &amp;quot;pretty good estimate&amp;quot;, to within perhaps a factor of two.&lt;br /&gt;
|-&lt;br /&gt;
|Ancient {{w|literature}}&lt;br /&gt;
|As above, with Shakespeare plays, original or print reproductions would be the size of a book, typically.  Although ancient {{w|scrolls}} may have different dimensions with similar total volume.&lt;br /&gt;
|Because of the high number of {{w|lost works}}, it is hard to have a solid estimate of the number, although rough lists have been made (e.g. {{w|Ancient literature#List of ancient texts}}).&lt;br /&gt;
|While it is fairly straightforward to look up how many books [http://www.proquest.com/products-services/Books-in-Print.html are currently in print], or how many books [https://mashable.com/2010/08/05/number-of-books-in-the-world/ all currently printed information would fit into if bound into equal-length volumes], and then limiting those estimates to those that date before a specific year, counting how many books from the period of interest haven't survived to the present day (books that were &amp;quot;{{w|lost work|lost}}&amp;quot; either by deliberate discontinuation, or accidental destruction such as in the {{w|Destruction of the Library of Alexandria|Library of Alexandria}}) is a bit more difficult. However, because we know the work existed (it is mentioned by name in some other text), we have &amp;quot;pretty good estimate&amp;quot; that the number of lost works is &amp;quot;only&amp;quot; in the tens of thousands, as is the number of surviving works.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Upper right quadrant===&lt;br /&gt;
This is the section with the big items with count known.&lt;br /&gt;
&lt;br /&gt;
{| class = &amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Research field&lt;br /&gt;
! Size&lt;br /&gt;
! Knowledge of #&lt;br /&gt;
! Explanation&lt;br /&gt;
|-&lt;br /&gt;
|{{w|Marine mammal|Marine}} {{w|Mammalogy|Mammology}}''[sic]''&lt;br /&gt;
|They range in size from the {{w|Marine Otter}} (about 1m) to the {{w|Blue Whale}} (up to 30m).&lt;br /&gt;
|About 125 non-extinct species.&lt;br /&gt;
|Marine mammals are the largest extant animals. The US Government [http://www.nmfs.noaa.gov/pr/species/mammals/ recognizes] 119 marine mammals. However, what constitutes each species is [https://www.marinemammalscience.org/species-information/list-marine-mammal-species-subspecies/ constantly being revised], with new studies indicating either that what used to be considered a subspecies is actually a separate species, or that what used to be considered a separate species is actually a subspecies. As the depths of the ocean are further explored, species that were outright unknown are spotted and need to be classified. However, since marine mammals breathe air and thus must surface, it's likely that all species have been observed by scientists.&lt;br /&gt;
|-&lt;br /&gt;
|{{w|List_of_Presidents_of_the_United_States|Presidential History}}&lt;br /&gt;
|All presidents are {{w|Heights of presidents and presidential candidates of the United States|human-sized}}, with the tallest being {{w|Abraham Lincoln}} at 6 ft 4 in and the shortest being {{w|James Madison}} at 5 ft 4 in.&lt;br /&gt;
|As of 2021, 46 people (only 45 are unique; Grover Cleveland is counted twice because his terms were not consecutive) have served or are serving as President of the United States.&lt;br /&gt;
|Presidents are generally considered &amp;quot;big&amp;quot; men in history. Therefore, each one is fairly well known and documented. There is, however, some discussion on how many presidents there have been in the history of the United States, since prior to the {{w|Twenty-fifth Amendment to the United States Constitution|25th amendment}}, it was unspecified whether vice presidents counted as presidents during the President's absence. Most notably, this ambiguity is the reason {{w|David Rice Atchison}}'s tombstone is inscribed with the words &amp;quot;President of the United States for one day&amp;quot; (he was not eligible and did not accept the duties even if he was). &lt;br /&gt;
|-&lt;br /&gt;
|{{w|Railway engineering}}&lt;br /&gt;
|Railways can span across countries, and therefore are fairly large&lt;br /&gt;
|As railroads are built by humans, we know pretty well how many there are. However small systems (parks, mines) may make this number uncertain.&lt;br /&gt;
|A railway can span anywhere from a few hundred feet, to thousands of miles, so they're pretty big. The type of a railway is generally given by its {{w|track gauge}}, which is defined as &amp;quot;standard&amp;quot; (the usual gauge for a region or country), &amp;quot;narrow&amp;quot; (rails closer together than that standard) and &amp;quot;broad&amp;quot; (rails farther apart than that standard). Since what is standard varies from country to country, and indeed from line to line, how many kinds of &amp;quot;narrow&amp;quot; gauge and &amp;quot;broad&amp;quot; gauge exist depend on who you ask. However, whereas every region has ''a'' standard gauge, &amp;quot;{{w|standard-gauge railway}}&amp;quot; has a specific meaning used by rail technicians and enthusiasts worldwide, of a track with rails 1435 mm (4 ft 8.5 in) apart. Anything narrower than that is often described as a narrow-gauge line, even if it is the standard gauge for a particular rail network.&lt;br /&gt;
|-&lt;br /&gt;
|{{w|Geology}}&lt;br /&gt;
|The {{w|Earth}} is larger, by far, than everything else on the chart except the universe (Cosmology), black holes, and God (at least under some conceptions, see &amp;quot;Theology&amp;quot; below).&lt;br /&gt;
|There is only one Earth (at least if you set aside the possibility of multiverses, see below in Cosmology).&lt;br /&gt;
|Geology is generally considered the study of rocks (small rocks being considered fragments of mountain layers, so what counts as a &amp;quot;rock&amp;quot; for a geologist can be pretty big). There is no universally agreed upon number to how many {{w|List of rock types|types of rock}} there are, but all geologists agree they can be grouped into igneous, metamorphic, and sedimentary rock. Alternatively, geology can be construed as the study of the planet Earth's composition ( *geo*- meaning &amp;quot;Earth&amp;quot; ), and geologists are confident that the planet Earth is big and there is only one of it.&lt;br /&gt;
|-&lt;br /&gt;
|{{w|Cosmology}}&lt;br /&gt;
| As this encompasses (at least) all of the visible parts of the {{w|universe}} we live in, there can be no other &amp;quot;items&amp;quot; to study that would be larger.&lt;br /&gt;
| There is only one visible universe, but there could be multiverses/parallel universes, and also an infinite universe beyond the borders of our own part of this universe's event horizon. So it depends on who you ask if they say there is one of and infinite number of universes to study, thus it is placed close to the middle of the two extremes.&lt;br /&gt;
|Cosmology is the study of the universe.  There is an asterisk with the note &amp;quot;Depends on who you ask&amp;quot;, relating to the estimate of how many universes there are.  While it might seem obvious that there is only one universe, some branches of physics believe that our universe is part of a {{w|multiverse}}, and this remains an open and contested subject in the field.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Lower left quadrant===&lt;br /&gt;
This is the section with the small items with count unknown.&lt;br /&gt;
&lt;br /&gt;
{| class = &amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Research field&lt;br /&gt;
! Size&lt;br /&gt;
! Knowledge of #&lt;br /&gt;
! Explanation&lt;br /&gt;
|-&lt;br /&gt;
|{{w|Mycology}}&lt;br /&gt;
|microscopic to a few miles&lt;br /&gt;
|Estimated at 2.2 million to 3.8 million species.(Though of these only about 120,000 have been described.)&lt;br /&gt;
|Mycology is the study of fungi (since fungi tend to grow flat -- excepting for mushrooms, which are their sexual organs, and do not exceed a foot in height (see [http://www.isciencetimes.com/articles/5740/20130729/giant-fungus-china-mushroom-world-s-largest-size.htm World's Largest mushrooms] -- mushrooms are generally considered small). Many fungi are microscopic, but some get to be a few miles in diameter.[http://www.nationalgeographic.com.au/nature/the-worlds-largest-living-organism.aspx The World's largest living organism.]  It is a lot harder to discern which species a fungus is, and therefore classify it, so we &amp;quot;have no idea&amp;quot; how many kinds of fungi there are. Studies [https://www.ncbi.nlm.nih.gov/pubmed/21613136 vary wildly] between about 70,000 to over 5,000,000. There is a comic named after this study: [[1664: Mycology]].&lt;br /&gt;
|-&lt;br /&gt;
|[[1012: Wrong Superhero|Entymology]]&lt;br /&gt;
| For insects, from a fraction of a mm to several 100.&lt;br /&gt;
| Estimated from 1,000,000 to 3,000,000&lt;br /&gt;
|It is unclear whether [[Randall]] means {{w|entomology}} or {{w|etymology}} (probably neither; it's likely that this wasn't a mistake and it is possibly a direct reference to [[1012: Wrong Superhero]]). He may be referring to both fields as insects and words overlap in size. In either case, [https://www.ncbi.nlm.nih.gov/pubmed/28938083 estimates for insects] (entomology) vary from less than 1,000,000 to 30,000,000; and [https://www.quora.com/How-many-root-words-are-there-in-the-English-language estimates for root words] (etymology) reaching hundreds of thousands.  Entomology was mentioned in the title text of [[1610: Fire Ants]].&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|{{w|Microbiology}}&lt;br /&gt;
|The {{w|Smallest organisms|smallest viruses}} are around 30nm long. The largest bacterium may reach almost 1mm.[https://curiosity.com/topics/the-worlds-largest-bacterium-is-visible-to-the-naked-eye-curiosity/]. &lt;br /&gt;
|120,000 to 10,000,000+.&lt;br /&gt;
|Microbiology studies microscopic (too small to see) organisms, of which some 1,400 are known and &amp;quot;estimates for the total number of microbial species vary wildly, from as low as 120,000 to tens of millions and higher&amp;quot;, according to [https://www.quora.com/How-many-root-words-are-there-in-the-English-language Nature magazine]. &lt;br /&gt;
|-&lt;br /&gt;
|{{w|Pharmacology}}&lt;br /&gt;
|{{w|Drugs}}, including {{w|medications}} and {{w|recreational drug use|illegal and recreational drugs}} are molecules which are sub-microscopic (in the range of nanometers).&lt;br /&gt;
|Although it is possible to tally all the known drugs, this is at the extreme low end of the pile because the number of possible organic compounds is nearly infinite and the fraction of those are bioactive is completely unknown.&lt;br /&gt;
|The number of drugs (pharmaceuticals) discovered and synthesized is not tallied, according to [https://www.raps.org/regulatory-focus%E2%84%A2/news-articles/2014/10/how-many-drugs-has-fda-approved-in-its-entire-history-new-paper-explains recent studies], but an estimate can be obtained by seeing how many have passed through the {{w|Food and Drug Administration|U.S. FDA}} (1,453). Many home remedies, which might technically qualify as drugs, have not been approved because {{w|Novelty (patent)|&amp;quot;everybody knows that&amp;quot;}}, as well as many solely recreational drugs since regulation might result in outlawing. Because of this, &amp;quot;we have no idea&amp;quot; how many drugs truly exist. Since drugs are extremely powerful molecules that are only administered in choice amounts, they are generally perceived as small.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Lower right quadrant===&lt;br /&gt;
This is the section with the big items with count unknown.&lt;br /&gt;
&lt;br /&gt;
{| class = &amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Research field&lt;br /&gt;
! Size&lt;br /&gt;
! Knowledge of #&lt;br /&gt;
! Explanation&lt;br /&gt;
|-&lt;br /&gt;
|{{w|Botany}}&lt;br /&gt;
|Plants tend to range from few centimeters to hundreds of meters. Therefore, on average plants are about the same size as human beings.&lt;br /&gt;
|Plants estimated from 295,000 to 305,000 in total.&lt;br /&gt;
|Botany studies plants, which can reach {{w|List of superlative trees|hundreds of feet by any measure}}.  Some {{w|Pando (tree)|clonal colonies of trees}} spread for miles. However, plant tend to clump together in forests and jungles, which makes it hard to get to them and document them. Every year, thousands of new plants are discovered, with the best estimate being that there are [https://news.mongabay.com/2016/05/many-plants-world-scientists-may-now-answer/ nearly 400,000 vascular plants] and an additional [https://www.britannica.com/topic-browse/Plants/Nonvascular-Plants 12,000 non-vascular plants]. However, the rate of discovery doesn't appear to be slowing down significantly, so we truly &amp;quot;have no idea.&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|{{w|Paleontology}}&lt;br /&gt;
|Paleontologists study fossils, which range in size from very small to very large.  When most people think of paleontologists though, they tend to think of them as studying large animals such as dinosaurs.&lt;br /&gt;
|Estimated at around 5 billion species.&lt;br /&gt;
|Paleontology studies fossils, particularly those of extinct animals, which can reach {{w|Largest prehistoric animals|huge sizes}}. However, since fossils form under very special circumstances, if the animal did not die under those special circumstances, there will be no record of their existence. Therefore, the number of extinct animals can never truly be known, but we've found [http://scienceblogs.com/authority/2010/01/12/how-do-we-know-that-most-of-th/ around 250,000]&lt;br /&gt;
|-&lt;br /&gt;
|{{w|Black Hole}} {{w|Astronomy}}&lt;br /&gt;
|Compared to most astronomical objects, black holes are fairly small.  However, most of them (that we are able to detect) are still larger than the Earth, so they would still fall on the &amp;quot;big&amp;quot; end of this chart.  Alternatively, Randall may be referring to their mass, which is on the scale of stars.&lt;br /&gt;
|It has been estimated that the number of black holes in the {{w|Milky Way}} is around 100 million ([http://hubblesite.org/explore_astronomy/black_holes/encyc_mod3_q7.html]), although there is uncertainty in that estimate and the total number in the universe depends on the size of the universe (see &amp;quot;cosmology&amp;quot;, above).&lt;br /&gt;
|&amp;quot;Most stellar black holes [...] are impossible to detect. Judging from the number of stars large enough to produce such black holes, however, scientists estimate that there are as many as ten million to a billion such black holes in the Milky Way alone.&amp;quot; ([https://science.nasa.gov/astrophysics/focus-areas/black-holes NASA Black Hole information page])&lt;br /&gt;
|-&lt;br /&gt;
|{{w|Exobiology}}&lt;br /&gt;
|The comic puts this in the size range of paleontology, which can include many sizes (see above), and also marine mammalogy, which tends to have individuals that are in the range of tens of centimeters to several tens of meters.  However, {{w|life|life as we know it}} is dominated in numbers by {{w|microbes}}, and {{w|Evolutionary history of life|life on Earth}} began {{w|Abiogenesis|microscopic}}, leading most {{w|Astrobiology|Astrobiologists}} to hypothesize that life on other planets would necessarily include microbes and [https://en.wikipedia.org/wiki/Fermi_paradox#No_other_intelligent_species_have_arisen only possibly include macroscopic life].&lt;br /&gt;
|The estimate of {{w|List of potentially habitable exoplanets|how many planets with life there are}} varies from 16 to 40,000,000,000; additionally, [https://en.wikipedia.org/wiki/Habitability_of_natural_satellites#In_the_Solar_System multiple moons] are believed to be potentially habitable for some forms of life in our own solar system. However, the number of bodies apart from Earth confirmed to have life is currently zero. Even more uncertain than the number of potentially habitable exoplanets is the {{w|Rare Earth Hypothesis|huge uncertainty}} in the likelihood of life arising on a habitable planet.&lt;br /&gt;
|Exobiology refers to the study of life outside Earth, which requires {{w|SETI|scanning the entire universe for life}}. Currently, exobiology seeks to find a planet or similar body with life (and, {{w|definition of planet|to qualify as a planet}}, bodies capable of sustaining life are big). The uncertainty about how many planets have life in the Milky Way relates to the {{w|Fermi Paradox}}. For life, of the type we know, to exist outside of the Solar system there need to be planets around other stars. Such planets are called Exoplanets, and they have been a [[:Category:Exoplanets|recurrent subject]] on xkcd.&lt;br /&gt;
|-&lt;br /&gt;
|{{w|Theology}}&lt;br /&gt;
|Presumably, any god transcends the bounds of spacetime, making this the largest.&lt;br /&gt;
|Depends on who you ask.&lt;br /&gt;
|Theology is not a strict science, but as presented here it is the field concerned with the study of one or more {{w|deity|deities}} which is a sacred supernatural being. In particular, theologians study the question of whether {{w|theism|one or more gods exist}} {{w|atheism|or not}}, and, in the former case, whether there are {{w|polytheism|multiple gods}} or {{w|monotheism|just one}}  or indeed whether there is literally only {{w|pantheism|one god}}. Although the existence of any supernatural being(s) is unfalsifiable by any known means, the entire human race has very strong opinions on the subject, so this field probably deserves the “depends on who you ask” disclaimer as well.  Quantitative uncertainty is also mentioned in [[900: Religions]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Transcript==&lt;br /&gt;
:[An X-Y scatter plot of research areas, written in gray font, where both axes have arrows in both ends. At the end of each arrow is a label. Above the left part of the X-axis there is a line which goes to a text about the meaning of the X-axis. Similarly there is a line to from the top of the Y-axis to a questions “asked” to those that study the given subject, their answers being somewhere between the two labels on the Y axis.]  &lt;br /&gt;
&lt;br /&gt;
:[The X-axis from left to right, text first and then labels:]&lt;br /&gt;
:Size of the thing you study&lt;br /&gt;
:Small&lt;br /&gt;
:Big&lt;br /&gt;
&lt;br /&gt;
:[The Y-axis from top to bottom, question first and then labels:]&lt;br /&gt;
:&amp;quot;That thing you study - how many of them are there?&amp;quot;&lt;br /&gt;
:&amp;quot;We have a pretty good estimate.&amp;quot;&lt;br /&gt;
:&amp;quot;We have no idea&amp;quot;&lt;br /&gt;
&lt;br /&gt;
:[The research areas names are listed here below by sorting them into the four quadrants from top left to bottom right. In each quadrant the areas are listed after most left first, and then top to bottom for those at the same x position.]&lt;br /&gt;
&lt;br /&gt;
:[Upper left quadrant (Small &amp;amp; count known):]&lt;br /&gt;
:Elementary particle physics &lt;br /&gt;
:Dentistry &lt;br /&gt;
:Shakespeare studies&lt;br /&gt;
:Ornithology&lt;br /&gt;
:Ancient Literature&lt;br /&gt;
&lt;br /&gt;
:[Upper right quadrant (Big &amp;amp; count known):]&lt;br /&gt;
:Presidential History 	&lt;br /&gt;
:Marine Mammology 	&lt;br /&gt;
:Railway Engineering 	&lt;br /&gt;
:Geology 	&lt;br /&gt;
:Cosmology*&lt;br /&gt;
:&amp;lt;small&amp;gt;(*Depends who you ask)&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:[Lower left quadrant (Small &amp;amp; count unknown):]&lt;br /&gt;
:Pharmacology&lt;br /&gt;
:Microbiology&lt;br /&gt;
:Entymology&lt;br /&gt;
:Mycology&lt;br /&gt;
&lt;br /&gt;
:[Upper right quadrant (Big &amp;amp; count unknown):]&lt;br /&gt;
:Botany 	&lt;br /&gt;
:Paleontology 	&lt;br /&gt;
:Exobiology 	&lt;br /&gt;
:Black Hole Astronomy 	&lt;br /&gt;
:Theology&lt;br /&gt;
&lt;br /&gt;
==Trivia==&lt;br /&gt;
Sortable table with the coordinates in percent:&lt;br /&gt;
{|class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Research area&lt;br /&gt;
! Size (%)&lt;br /&gt;
! Estimate (%)&lt;br /&gt;
|-&lt;br /&gt;
|Elementary Particle Physics ||7 ||72&lt;br /&gt;
|-&lt;br /&gt;
|Pharmacology ||12 ||6&lt;br /&gt;
|-&lt;br /&gt;
|Microbiology ||15 ||13&lt;br /&gt;
|-&lt;br /&gt;
|Dentistry ||21 ||84&lt;br /&gt;
|-&lt;br /&gt;
|Entymology ||24 ||25&lt;br /&gt;
|-&lt;br /&gt;
|Mycology ||29 ||38&lt;br /&gt;
|-&lt;br /&gt;
|Ornithology ||34 ||62&lt;br /&gt;
|-&lt;br /&gt;
|Shakespeare Studies ||37 ||88&lt;br /&gt;
|-&lt;br /&gt;
|Ancient Literature ||38 ||53&lt;br /&gt;
|-&lt;br /&gt;
|Botany ||60 ||40&lt;br /&gt;
|-&lt;br /&gt;
|Presidential History ||62 ||89&lt;br /&gt;
|-&lt;br /&gt;
|Marine Mammology ||66 ||68&lt;br /&gt;
|-&lt;br /&gt;
|Paleontology ||68 ||31&lt;br /&gt;
|-&lt;br /&gt;
|Exobiology ||68 ||5&lt;br /&gt;
|-&lt;br /&gt;
|Railway Engineering ||79 ||81&lt;br /&gt;
|-&lt;br /&gt;
|Geology ||90 ||90&lt;br /&gt;
|-&lt;br /&gt;
|Theology ||91 ||5&lt;br /&gt;
|-&lt;br /&gt;
|Black Hole Astronomy ||92 ||26&lt;br /&gt;
|-&lt;br /&gt;
|Cosmology ||94 ||62&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{comic discussion}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Scatter plots]]&lt;br /&gt;
[[Category:Rankings]]&lt;br /&gt;
[[Category:Science]]&lt;br /&gt;
[[Category:Physics]]&lt;br /&gt;
[[Category:Astronomy]]&lt;br /&gt;
[[Category:Math]] &amp;lt;!--Title text --&amp;gt;&lt;br /&gt;
[[Category:Fiction]] &amp;lt;!--Shakespeare/Theology --&amp;gt;&lt;br /&gt;
[[Category:Religion]] &amp;lt;!--Theology --&amp;gt;&lt;br /&gt;
[[Category:Animals]] &amp;lt;!-- Several studies --&amp;gt;&lt;br /&gt;
[[Category:Exoplanets]] &amp;lt;!--Exo biology --&amp;gt;&lt;br /&gt;
[[Category:Politics]] &amp;lt;!--President --&amp;gt;&lt;br /&gt;
[[Category:Geology]]&lt;br /&gt;
[[Category:Scientific research]]&lt;br /&gt;
[[Category:Mycology]]&lt;/div&gt;</summary>
		<author><name>2607:F140:400:6F:9832:655B:9E48:6AC2</name></author>	</entry>

	<entry>
		<id>https://www.explainxkcd.com/wiki/index.php?title=2435:_Geothmetic_Meandian&amp;diff=389240</id>
		<title>2435: Geothmetic Meandian</title>
		<link rel="alternate" type="text/html" href="https://www.explainxkcd.com/wiki/index.php?title=2435:_Geothmetic_Meandian&amp;diff=389240"/>
				<updated>2025-10-22T01:52:00Z</updated>
		
		<summary type="html">&lt;p&gt;2607:F140:400:6F:9832:655B:9E48:6AC2: /* Explanation */ Added italics for minima&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{comic&lt;br /&gt;
| number    = 2435&lt;br /&gt;
| date      = March 10, 2021&lt;br /&gt;
| title     = Geothmetic Meandian&lt;br /&gt;
| image     = geothmetic_meandian.png&lt;br /&gt;
| titletext = Pythagorean means are nice and all, but throwing the median in the pot is really what turns this into random forest statistics: applying every function you can think of, and then gradually dropping the ones that make the result worse.&lt;br /&gt;
}}&lt;br /&gt;
==Explanation==&lt;br /&gt;
This is another one of [[Randall|Randall's]] [[:Category:Tips|Tips]], this time a stats tip. This came as the first tip comic after the statistics tip in [[2400: Statistics]].&lt;br /&gt;
&lt;br /&gt;
There are a number of different ways to identify the &amp;quot;{{w|average}}&amp;quot; value of a series of values, the most common unweighted methods being the {{w|median}} (take the central value from the ordered list of values if there are an odd number - or the value half-way between the two that straddle the divide between two halves if there are an even number) and the {{w|arithmetic mean}} (add all the numbers up, divide by the number of numbers). The {{w|geometric mean}} is less well-known but works similarly to the arithmetic mean. The geometric mean of ''n'' positive numbers is the ''n''th root of the product of those numbers. If all of the numbers in a sequence are identical, then its arithmetic mean, geometric mean and median will be identical, since they would all be equal to the common value of the terms of the sequence. However, if the sequence is not constant, then {{w|Inequality_of_arithmetic_and_geometric_means#Geometric_interpretation|the arithmetic mean will be greater than the geometric mean}}, and the median may be different than either of those means.&lt;br /&gt;
&lt;br /&gt;
The geometric mean, arithmetic mean, and the {{w|harmonic mean}} (not shown) are collectively known as the {{w|Pythagorean means}}, as specific modes of a greater and more generalized mean formula that extends arbitrarily to various other possible nuances of mean-value rationisations (cubic, etc.).&lt;br /&gt;
&lt;br /&gt;
{{w|Outlier}}s and internal biases within the original sample can make boiling down a set of values into a single 'average' sometimes overly biased by flaws in the data, with your choice of which method to use perhaps resulting in a value that is misleading, exaggerating or suppressing the significance of any blips.&lt;br /&gt;
&lt;br /&gt;
In this depiction, the three named methods of averaging are embedded within a single function that produces a sequence of three values - one output for each of the methods. Being a series of values, Randall suggests that this is ideally suited to being ''itself'' subjected to the comparative 'averaging' method. Not just once, but as many times as it takes to narrow down to a sequence of three values that are very close to one another. &lt;br /&gt;
&lt;br /&gt;
It can be shown that the xkcd value of 2.089 for GMDN(1,1,2,3,5) is validated:&lt;br /&gt;
&lt;br /&gt;
{|-border =1 width=100% cellpadding=5 class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
 !&lt;br /&gt;
 ! Arithmetic mean &lt;br /&gt;
 ! Geometric mean &lt;br /&gt;
 ! Median&lt;br /&gt;
 |-&lt;br /&gt;
 ! F1 &lt;br /&gt;
 | 2.4 || ''1.974350486'' || 2		&lt;br /&gt;
 |-&lt;br /&gt;
 ! F2&lt;br /&gt;
 | '''2.124783495''' ||	2.116192461 || ''2''		&lt;br /&gt;
 |-&lt;br /&gt;
 ! F3&lt;br /&gt;
 | 2.080325319 || ''2.079536819'' || '''2.116192461'''	&lt;br /&gt;
 |-&lt;br /&gt;
 ! F4&lt;br /&gt;
 | '''2.0920182''' || 2.091948605 || ''2.080325319''	&lt;br /&gt;
 |-&lt;br /&gt;
 ! F5&lt;br /&gt;
 | 2.088097374 || ''2.088090133'' || '''2.091948605'''		&lt;br /&gt;
 |-&lt;br /&gt;
 ! F6&lt;br /&gt;
 | '''2.089378704''' ||	2.089377914 || ''2.088097374''		&lt;br /&gt;
 |-&lt;br /&gt;
 ! F7&lt;br /&gt;
 | 2.088951331 ||	''2.088951244'' || '''2.089377914'''	&lt;br /&gt;
 |-&lt;br /&gt;
 ! F8&lt;br /&gt;
 | '''2.089093496''' || 2.089093487 || ''2.088951331''	&lt;br /&gt;
 |-&lt;br /&gt;
 ! F9&lt;br /&gt;
 | 2.089046105 || ''2.089046103'' || '''2.089093487'''	&lt;br /&gt;
 |-&lt;br /&gt;
 ! F10&lt;br /&gt;
 | '''2.089061898''' || 2.089061898 || ''2.089046105''		&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
Each row in this table shows the set Fn(..) composed of the average, geomean and median computed on the previous row, with the sequence {1,1,2,3,5} as the initial F0. While GMDN is not differentiable, due to the median, this can be interpreted as somewhat similar to a heat equation which approaches equilibrium through averaging. Interestingly, the maximum value alternates between the average and the median (bolded in the table), while the minimum value alternates between the geometric mean and the median (italiticzed in the table). This observation holds for many inputs.&lt;br /&gt;
&lt;br /&gt;
To not distract from the comedic effect, the definition of the GMDN in the comic is left as a simplified sketch. To make the definition mathematically rigorous the implied infinite limit in the second line can be made precise, for example, as the result of a {{w|fixed-point iteration}} via &amp;lt;code&amp;gt;G = lim_{k -&amp;gt; infinity} m_k &amp;lt;/code&amp;gt; where &amp;lt;code&amp;gt;m_0 = F(x_1, x_2, ..., x_n)&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;m_{k+1} = F(m_k) for k &amp;gt; 0&amp;lt;/code&amp;gt;. This definition is well-defined only if we can proof convergence to a fixpoint of F for a set of inputs. Indeed, convergence holds if all numbers are non-negative (see discussions for proof and more cases). Note that the above definition yields a three-dimensional fixpoint G. Because all fixpoints of F are of the form &amp;lt;code&amp;gt;G=(g, g, g)&amp;lt;/code&amp;gt;, with elements that are all equal, we can define &amp;lt;code&amp;gt;GMDN(x_1, x_2, ..., x_n) = G_1&amp;lt;/code&amp;gt;, as the first element of G. This formal definition avoids the inconsistency present in the comic's definition sketch where the function GMDN as defined in the second line has the same three-dimensional output as F, but GMDN in the last line is shown to produce a single real number rather than a vector and is thus missing a final operation of returning a single component. Note also that the comic's definition of the median as the (n+1)/2-th {{w|order statistic}}, i.e. the (n+1)/2-th smallest value, coincides with the more regularly used sample median only on lists of odd length. For lists of even length the sample median is usually defined as the (arithmetic) mean of the two middle values &amp;lt;code&amp;gt;X_{n/2}&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;X_{(n+2)/2}&amp;lt;/code&amp;gt; instead. Indeed, for lists of even lengths &amp;lt;code&amp;gt;X_{(n+1)/2}&amp;lt;/code&amp;gt; is not well-defined without adding a flooring operation as (n+1)/2 is not an integer.&lt;br /&gt;
&lt;br /&gt;
The comment in the title text about suggests that this will save you the trouble of committing to the 'wrong' analysis as it gradually shaves down any 'outlier average' that is unduly affected by anomalies in the original inputs. It is a method without any danger of divergence of values, since all three averaging methods stay within the interval covering the input values (and two of them will stay strictly within that interval).&lt;br /&gt;
&lt;br /&gt;
The title text may also be a sly reference to an actual mathematical theorem, namely that if one performs this procedure only using the arithmetic mean and the harmonic mean, the result will converge to the geometric mean. Randall suggests that the (non-Pythagorean) median, which does not have such good mathematical properties with relation to convergence, is, in fact, the secret sauce in his definition.&lt;br /&gt;
&lt;br /&gt;
The question of being unsure of which mean to use is especially relevant for the arithmetic and harmonic means in following example.&lt;br /&gt;
   * Cueball has some US Dollars and wishes to buy Euros. Suppose the bank will exchange US Dollars to Euros at a rate of €5 for $6 (about 0.83333€/$ or 1.20000$/€).&lt;br /&gt;
   * Megan   has some Euros and wishes to buy US Dollars. Suppose the bank will exchange Euros to US Dollars at a rate of $7 for €6 (about 0.85714€/$ or 1.16667$/€).&lt;br /&gt;
[[Cueball]] and [[Megan]] decide to complete the exchange between themselves in order to save the {{w|Bid-ask spread}} of the {{w|Exchange rate}} which is the cost the bank imposes on Cueball and Megan for its service as a {{w|Market maker}}. &lt;br /&gt;
   * Cueball offers to split the difference by averaging the rates €5:$6 and €6:$7 yielding a rate of €71:$84 (about 0.84524€/$ or 1.18310$/€).&lt;br /&gt;
   * Megan   offers to split the difference by averaging the rates $6:€5 and $7:€6 yielding a rate of €60:$71 (about 0.84507€/$ or 1.18333$/€).&lt;br /&gt;
In one direction (€/$), Cueball is using the arithmetic mean but Megan is using the harmonic mean while in the other direction ($/€), Megan is using the arithmetic mean but Cueball is using the harmonic mean. This creates two new exchange rates which are closer than the orginal rates, but the new rates are still different for each other. Megan and Cueball can then iterate this process and the rates will converge to the geometric mean of the original rates, namely:&lt;br /&gt;
   * sqrt((5/6)*(6/7)) = sqrt(5/7) = 0.84515€/$ or&lt;br /&gt;
   * sqrt((6/5)*(7/6)) = sqrt(7/5) = 1.18322$/€.&lt;br /&gt;
&lt;br /&gt;
There does exist an {{w|arithmetic-geometric mean}}, which is defined identically to this except with the arithmetic and geometric means, and sees some use in calculus.  In some ways it's also philosophically similar to the {{w|truncated mean}} (extremities of the value range, e.g. the highest and lowest 10%s, are ignored as not acceptable and not counted) or {{w|Winsorized mean}} (instead of ignored, the values are readjusted to be the chosen floor/ceiling values that they lie beyond, to still effectively be counted as &amp;quot;edge&amp;quot; conditions), only with a strange dilution-and-compromise method rather than one where quantities can be culled or neutered just for being unexpectedly different from most of the other data.&lt;br /&gt;
&lt;br /&gt;
The input sequence of numbers (1, 1, 2, 3, 5) chosen by Randall is also the opening of the {{w|Fibonacci sequence}}.  This may have been selected because the Fibonacci sequence also has a convergent property: the ratio of two adjacent numbers in the sequence approaches the {{w|Golden ratio#Relationship to Fibonacci sequence|golden ratio}} as the length of the sequence approaches infinity.&lt;br /&gt;
&lt;br /&gt;
Here is a table of averages classified by the various methods referenced:&lt;br /&gt;
&lt;br /&gt;
{|border =1 width=100% cellpadding=5 class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ averages using various methods&lt;br /&gt;
! Method &lt;br /&gt;
! Value&lt;br /&gt;
! Formula&lt;br /&gt;
|-&lt;br /&gt;
! Arithmetic&lt;br /&gt;
| 2.4&lt;br /&gt;
| Add all numbers, then divide the sum by n, where n is the number of terms.&lt;br /&gt;
|-&lt;br /&gt;
! Geometric&lt;br /&gt;
| 1.9743504858348&lt;br /&gt;
| Multiply all numbers, then take the product's nth root, where n is the number of terms.&lt;br /&gt;
|-&lt;br /&gt;
! Median &lt;br /&gt;
| 2&lt;br /&gt;
| Find the term or terms which separate the upper half of the set from the lower set. If the set has an even number of terms, find the arithmetic mean of the middle two terms.&lt;br /&gt;
|-&lt;br /&gt;
! GMDN &lt;br /&gt;
| 2.089&lt;br /&gt;
| (see above)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Transcript==&lt;br /&gt;
&lt;br /&gt;
F(x1,x2,...xn)=({x1+x2+...+xn/n [bracket: arithmetic mean]},{nx,x2...xn, [bracket: geometric mean]} {x n+1/2 [bracket: median]})&lt;br /&gt;
&lt;br /&gt;
Gmdn(x1,x2,...xn)={F(F(F(...F(x1,x2,...xn)...)))[bracket: geothmetic meandian]}&lt;br /&gt;
&lt;br /&gt;
Gmdn(1,1,2,3,5) [equals about sign] 2.089&lt;br /&gt;
&lt;br /&gt;
Caption: Stats tip: If you aren't sure whether to use the mean, median, or geometric mean, just calculate all three, then repeat until it converges&lt;br /&gt;
&lt;br /&gt;
==Trivia==&lt;br /&gt;
Geothm means &amp;quot;counting earths&amp;quot; (From Ancient Greek γεω- (geō-), combining form of γῆ (gê, “earth”) and ἀριθμός arithmos, 'counting').  Geothmetic means &amp;quot;art of Geothming&amp;quot; based on the etymology of Arithmetic (from Ancient Greek ἀριθμητική (τέχνη) (arithmētikḗ (tékhnē), “(art of) counting”).  This is an exciting new terminology that is eminently suitable for modern cosmology &amp;amp; high energy physics - particularly when doing math on the multiverse.  However, it is unlikely this etymology is related to the term &amp;quot;geothmetic meandian&amp;quot; as coined by Randall, as it can be more simply explained as a portmanteau of the three averages in its construction: '''geo'''metric mean, ari'''thmetic mean''', and me'''dian'''.&lt;br /&gt;
&lt;br /&gt;
The following Python code (inefficiently) implements the above algorithm for a list of non-negative numbers:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
from functools import reduce&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
def f(*args):&lt;br /&gt;
    args = sorted(args)&lt;br /&gt;
    mean = sum(args) / len(args)&lt;br /&gt;
    gmean = reduce(lambda x, y: x * y, args) ** (1 / len(args))&lt;br /&gt;
    if len(args) % 2:&lt;br /&gt;
        median = args[len(args) // 2]&lt;br /&gt;
    else:&lt;br /&gt;
        median = (args[len(args) // 2] + args[len(args) // 2 - 1]) / 2&lt;br /&gt;
    return mean, gmean, median&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
max_iterations = 10&lt;br /&gt;
l = [1, 1, 2, 3, 5]&lt;br /&gt;
for iterations in range(max_iterations):&lt;br /&gt;
    fst, *rest = l&lt;br /&gt;
    if all((abs(r - fst) &amp;lt; 0.00000001 for r in rest)):&lt;br /&gt;
        break&lt;br /&gt;
    l = f(*l)&lt;br /&gt;
print(l[0], iterations)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Here is a slightly more efficient version of the Python code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
from scipy.stats.mstats import gmean&lt;br /&gt;
import numpy as np&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
def get_centers(a, tol=0.00001, print_rows = True):&lt;br /&gt;
    a = np.array(a)&lt;br /&gt;
    l_of_a = len(a)&lt;br /&gt;
    if l_of_a == 1:&lt;br /&gt;
        return a[0]&lt;br /&gt;
    elif l_of_a &amp;gt; 2: &lt;br /&gt;
        result = all(&lt;br /&gt;
            (&lt;br /&gt;
                np.abs(a[0] / a[1]) &amp;lt;= tol,&lt;br /&gt;
                np.abs(a[0] / a[2]) &amp;lt;= tol,&lt;br /&gt;
                np.abs(a[1] / a[2]) &amp;lt;= tol,&lt;br /&gt;
            )&lt;br /&gt;
        )&lt;br /&gt;
        if result:&lt;br /&gt;
            return a[0]&lt;br /&gt;
    res = [np.mean(a), np.median(a), gmean(a)]&lt;br /&gt;
&lt;br /&gt;
    if print_rows:&lt;br /&gt;
        print(res)&lt;br /&gt;
    return get_centers(res, tol)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And here is an implementation of the Gmdn function in R:&lt;br /&gt;
&lt;br /&gt;
    Gmdn &amp;lt;- function (..., threshold = 1E-6) {&lt;br /&gt;
      # Function F(x) as defined in comic&lt;br /&gt;
      f &amp;lt;- function (x) {&lt;br /&gt;
        n &amp;lt;- length(x)&lt;br /&gt;
        return(c(mean(x), prod(x)^(1/n), median(x)))&lt;br /&gt;
      }&lt;br /&gt;
      # Extract input vector from ... argument&lt;br /&gt;
      x &amp;lt;- c(...)&lt;br /&gt;
      # Iterate until the standard deviation of f(x) reaches a threshold&lt;br /&gt;
      while (sd(x) &amp;gt; threshold) x &amp;lt;- f(x)&lt;br /&gt;
      # Return the mean of the final triplet&lt;br /&gt;
      return(mean(x))&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{comic discussion}}&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
For a start, there is a syntax error. After the first application of F, you get a 3-tuple. Subsequent iterations preserve the 3-tuple, and we need to analyze the resulting sequence.&lt;br /&gt;
Perhaps there is an implicit claim all three entries converge to the same result. In any case, lets see what we get:&lt;br /&gt;
&lt;br /&gt;
Wlog, we have three inputs (x_1,y_1,z_1), and want to understand the iterates of the map &lt;br /&gt;
F(x,y,z) = ( (x+y+z)/3, cube root of (xyz), median(x,y,z) ). Lets write F(x_n,y_n,z_n) = (x_{n+1},y_{n+1},z_{n+1}).&lt;br /&gt;
&lt;br /&gt;
The inequality of arithmetic and geometric means gives x_n \geq y_n, if n \geq 2,  and&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Math]]&lt;br /&gt;
[[Category:Statistics]]&lt;br /&gt;
[[Category:Portmanteau]]&lt;br /&gt;
[[Category:Tips]]&lt;/div&gt;</summary>
		<author><name>2607:F140:400:6F:9832:655B:9E48:6AC2</name></author>	</entry>

	</feed>