Editing 2936: Exponential Growth

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 10: Line 10:
  
 
==Explanation==
 
==Explanation==
 +
{{incomplete|Created by an INFINITELY NESTED SET OF RICE COOKERS - Please change this comment when editing this page.}}
  
In this strip Black Hat begins by demonstrating the {{w|exponential growth}}, using a variation of the {{w|wheat and chessboard problem}}, a classic demonstration of this mathematical principle. Exponential growth involves an initial quantity being multiplied by any number greater than one again and again. It can cause small numbers to compound into very large numbers faster than might be intuitive. This principle is important in a number of real life applications, ranging from biological growth to inflation to reaction kinetics.  
+
{{w|Exponential growth}} is the principle that if you keep multiplying a number by a value larger than 1, you will pretty quickly get very large numbers. Even if you start with 1 and simply double it each time, you'll have a 10-digit number after about 30 iterations.
 +
 
 +
This principle is often illustrated using a story that generally follows the narrative of a king of India (or elsewhere) wishing to thank a man for creating the game of {{w|chess}}, or perhaps some other chess-related service, and asked him to name his own reward. The man asks for a single grain of wheat (or, in some versions, rice) to be placed on the first square of a chessboard, and then for each subsequent square adding twice as many grains as the one before, until {{w|Wheat and chessboard problem|all 64 squares are filled}}. The king grants his strange request and immediately orders one wheat grain to be placed on the board, imagining this to be a trivial gift compared to the vast riches he had expected to be asked for. For the second square two more pieces are placed, and the square after has four pieces (the tale may involve waiting a day between each placing of grains, delaying the unravelling and subsequent outcome of the story). However, by the 20th iteration, there are over 500,000 grains on the board and the king has to dig deep into his supply to continue to pay his dues. On the 24th the king finds he owes more than 8 million grains. By the 32nd, the king finds himself owing over 2 billion grains and has to give up, realising the essential impossibility of the task.
  
This principle is often illustrated using a story that generally follows the narrative of a king of India (or elsewhere) wishing to thank a man for creating the game of {{w|chess}}, or perhaps some other chess-related service, and asked him to name his own reward. The man asks for a single grain of wheat (or, in some versions, rice) to be placed on the first square of a chessboard, and then for each subsequent square adding twice as many grains as the one before, until {{w|Wheat and chessboard problem|all 64 squares are filled}}. The king grants his strange request and immediately orders one wheat grain to be placed on the board, imagining this to be a trivial gift compared to the vast riches he had expected to be asked for. For the second square two more pieces are placed, and the square after has four pieces (the tale usually involves waiting a day between each placing of grains, delaying the unravelling and subsequent outcome of the story). However, by the 18th iteration, there are over 500,000 grains on the board in total and the king has to dig deep into his supply to continue to pay his dues. On the 23rd the king finds he owes more than 8 million additional grains. By the 32nd, the king finds himself owing over 4 billion grains (assuming he has come up with the almost equal amount summed up in the 31 previous iterations) and has to give up, realising the essential impossibility of the task.
 
 
 
In some versions of the story, the man is executed for embarrassing the king/being over-greedy; in others, he's rewarded for his cleverness; in yet others he becomes king himself as a consequence. There are also other versions that [https://www.comedy.co.uk/radio/finnemore_souvenir_programme/episodes/7/5/ subvert the well-known tale] by the king not being so naïve as to fall for the 'trick' played by the creator of the problem.
 
In some versions of the story, the man is executed for embarrassing the king/being over-greedy; in others, he's rewarded for his cleverness; in yet others he becomes king himself as a consequence. There are also other versions that [https://www.comedy.co.uk/radio/finnemore_souvenir_programme/episodes/7/5/ subvert the well-known tale] by the king not being so naïve as to fall for the 'trick' played by the creator of the problem.
  
[[Black Hat]] initially appears to be using this example (with rice, rather than wheat), to demonstrate a mathematical principle, but actually turns out to be using it to "win" a chess match by covering the chess board in rice until his opponent quits out of frustration. Naturally, despite his claims that it's "nearly impossible to counter", under the International Chess Federation (FIDE)'s [https://www.fide.com/FIDE/handbook/LawsOfChess.pdf Laws of Chess], this would be illegal on several levels, as deliberately distracting or annoying your opponent is a violation, as is deliberately displacing the chess pieces. Black Hat being Black Hat, he likely simply doesn't care, and counts it as a win when his opponent stomps off out of annoyance.  
+
Since a chessboard contains 64 squares, the final square would contain 2<sup>63</sup> (approximately 9.2 quintillion) grains. This would be around 600 billion tonnes of wheat (even in modern times, this is more than 750 years of global wheat output). Worse, that's just for the final square – adding up all the squares would require about double that (2<sup>64</sup>-1 which is approximately 18.4 quintillion grains).
 +
 
 +
Instead of this being a (possibly apocryphal) story, [[Black Hat]] enacts it literally during a game of chess to annoy his opponent into quitting. Black Hat begins describing the metaphor, only to reveal it wasn't a metaphor at all. Black Hat had been playing actual chess games, and tried to force his opponent to resign by burying the chess pieces in rice, as implied by the multiple large sacks bluntly labelled 'rice' on his side of the chessboard. (This is not the first comic to feature large quantities of rice labelled in this manner – in [[1598: Salvage]], a gargantuan tank of rice has simply the word 'rice' written on the side in equally gargantuan capital letters.)
 +
 
 +
{{w|Garry Kasparov}} is a world renowned Russian chess master. He had the highest {{w|FIDE}} chess rating in the world - one of 2851 points - until {{w|Magnus Carlsen}} surpassed that in 2013 by 31 points. The [https://www.chess.com/openings/Sicilian-Defense-Taimanov-Szen-Kasparov-Gambit Kasparov gambit] is an opening in chess, a variation of the {{w|Sicilian Defense}}.
  
{{w|Garry Kasparov}} and {{w|Antoly Karpov}} are both Russian chess grandmasters and former world champions. The two men famously competed for the world championship in the 1980s. The Kasparov gambit is an opening move in chess. The title text implies that Kasparov actually tried this method on Karpov, who attempted to consume all the rice with "increasingly large rice cookers", but eventually couldn't keep up. While this is obviously fictional, it fits with the principle of exponential growth. If exponential growth is unrestricted, it will eventually grow beyond the constraints of anything that could plausibly be built to contain it.
 
  
In any case, it appears that in his enthusiasm to enact his scheme, Black Hat has neglected to even set up his own pieces (or they have already been completely buried), never mind wait for the game to commence, so his opponent has nothing to resign from - indeed his king still appears to be standing as he walks away.
+
In 1984–1985 Garry Kasparov played {{w|Anatoly Karpov}} in a 5-month-long 48-game championship tournament which was abandoned. In these matches Kasparov was losing 4-0 with 6 wins being required to win. Kasparov proceeded to draw 35 times before the match was abandoned. The title text implies that Kasparov actually tried this method on Karpov, who attempted to consume all the rice with "increasingly large rice cookers", but eventually couldn't keep up, causing the game to be abandoned in the 5 month period. While this is obviously fictional, it fits with the principle of exponential growth. If exponential growth is unrestricted, it will eventually grow beyond the constraints of anything that could plausibly be built to contain it.  
  
==Math==
+
 
 +
In a 1985 rematch, Kasparov defeated Karpov for the world championship title, which he retained in their next rematch in 1986.
 +
 
 +
There are several articles in the International Chess Federation (FIDE)'s [https://www.fide.com/FIDE/handbook/LawsOfChess.pdf Laws of Chess] that might prevent Black Hat from winning in this way:
 +
* 7.3 "If a player displaces one or more pieces, he shall re-establish the correct position (...). The arbiter may penalise the player who displaced the pieces."
 +
* 12.1 "The players shall take no action that will bring the game of chess into disrepute."
 +
* 12.6 "It is forbidden to distract or annoy the opponent in any manner whatsoever. (...)"
 +
 
 +
In any case, it appears that in his enthusiasm to enact his scheme, Black Hat has neglected to even set up his own pieces, never mind wait for the game to commence, so his opponent has nothing to resign from - indeed his king still appears to be standing as he walks away.
  
 
The amount of rice collected on each square of the chess board is listed below. It all sums up to around 400 billion tons (or {{w|tonne}}s, the various distinctions being not so important), taking each grain as weighing approximately 0.02 grams. This is 500 times the annual world production.
 
The amount of rice collected on each square of the chess board is listed below. It all sums up to around 400 billion tons (or {{w|tonne}}s, the various distinctions being not so important), taking each grain as weighing approximately 0.02 grams. This is 500 times the annual world production.
Line 47: Line 59:
 
** b7: 16,384
 
** b7: 16,384
 
** b8: 32,768
 
** b8: 32,768
* First column of third to seventh rows
+
:
 +
* First of each subsequent row
 +
:
 
** c1: 65,536 grains (~ 1 kg)
 
** c1: 65,536 grains (~ 1 kg)
 
** d1: 16,777,216 (~ 400 kg)
 
** d1: 16,777,216 (~ 400 kg)
Line 53: Line 67:
 
** f1: 1,099,511,627,776 (~ 25,000 tons)
 
** f1: 1,099,511,627,776 (~ 25,000 tons)
 
** g1: 281,474,976,710,656 (~ 6 million tons)
 
** g1: 281,474,976,710,656 (~ 6 million tons)
 +
:
 +
* ...
 +
:
 
* Eighth row, in detail
 
* Eighth row, in detail
 
** h1:    72,057,594,037,927,936 (~ 1.5 billion tons, more than the 2022 world harvest)
 
** h1:    72,057,594,037,927,936 (~ 1.5 billion tons, more than the 2022 world harvest)
Line 62: Line 79:
 
** h7: 4,611,686,018,427,387,904
 
** h7: 4,611,686,018,427,387,904
 
** h8: 9,223,372,036,854,775,808 (~ 200 billion tons)
 
** h8: 9,223,372,036,854,775,808 (~ 200 billion tons)
* Total: 18,446,744,073,709,551,615
 
  
[https://upload.wikimedia.org/wikipedia/commons/e/e7/Wheat_Chessboard_with_line.svg Example on the chessboard (SVG diagram)]
+
[https://upload.wikimedia.org/wikipedia/commons/e/e7/Wheat_Chessboard_with_line.svg Example on chessboard (SVG diagram)]
  
 
==Transcript==
 
==Transcript==
 
+
{{incomplete transcript|Do NOT delete this tag too soon.}}
 
:[Black Hat is talking to Cueball standing next to him, arm raised.]
 
:[Black Hat is talking to Cueball standing next to him, arm raised.]
 
:Black Hat: Exponential growth is very powerful.
 
:Black Hat: Exponential growth is very powerful.
Line 75: Line 91:
 
:Black Hat: Say you put one grain of rice on the first square, then two grains on the second, then four, then eight, doubling each time.
 
:Black Hat: Say you put one grain of rice on the first square, then two grains on the second, then four, then eight, doubling each time.
  
:[Black Hat has emptied a bag of rice on a chessboard. There are two additional bags next to him, each labeled "Rice", and a pile of rice already on the table. Some rice has spilled off, and a small pile of rice is growing at Black Hat's feet. A frustrated Hairy is walking away, fists clenched. On Hairy's side of the chessboard there is a white King and Pawn]
+
:[Black Hat has emptied a bag of rice on a chessboard. There are two additional bags next to him and a pile of rice already on the table. A small pile of rice is growing at Black Hat's feet. A frustrated Hairy is walking away, fists clenched. On Hairy's side of the chessboard there is a white King and Pawn]
 
:[Caption above panel, representing Black Hat continuing to speak:]
 
:[Caption above panel, representing Black Hat continuing to speak:]
 
:If you keep this up, your opponent will resign in frustration.
 
:If you keep this up, your opponent will resign in frustration.

Please note that all contributions to explain xkcd may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see explain xkcd:Copyrights for details). Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel | Editing help (opens in new window)