Difference between revisions of "2936: Exponential Growth"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
m (Just fixing the citation needed.)
(3 intermediate revisions by the same user not shown)
Line 12: Line 12:
 
{{incomplete|Created by a 2^64TH ITERATION OF A BOT - Please change this comment when editing this page. No mention of the title text yet.}}
 
{{incomplete|Created by a 2^64TH ITERATION OF A BOT - Please change this comment when editing this page. No mention of the title text yet.}}
  
{{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.
+
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.  
  
This principle is often illustrated using the story "Game of Rice". A king of India wished to reward a man for creating a new game of Chess, and told him that he'd grant any wish. The man simply asked for a {{w|Wheat and chessboard problem|grain of wheat to be placed on a chess board and for it to double with each square on the board each day.}} The king granted his strange request and ordered one wheat grain to be placed on the board. The second day two more pieces were placed on the square next to that and the day after four pieces on the next. However, by day 20 there was over 500,000 grains on the board. The king had to dig into his own stock pile to pay his dues. On day 24 the king owed 8 million grains. By day 32 the king owed over 2 billion pieces of grain, at this point he had to give up and offered the man another prize.  
+
The earliest versions of this story come from India and involve a man (the inventor of chess, in some tellings), being offered a reward by a king, and asking that a single grain of wheat be placed on the first square of a chessboard, two on the second, and each subsequent square having twice as many grains as the one before. In the story, the king generally laughs off such a reward as being trivial, but soon learns that the reward would be impossible to pay. Since a chessboard contains 64 squares, the final square would contain 2^63 (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). In some versions of the story the man is executed for embarrassing the king, in others, he's rewarded for his cleverness.  
  
Instead of this being a (possibly apocryphal) story, [[Black Hat]] used 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.
+
[[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 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.  
  
{{w|Garry Kasparov}} is a world renowned Russian chess master. He had the highest FIDE chess rating in the world-one of 2851 points-until {{w|Magnus Carlsen}} surpassed that in 2013 by 31 points. The Kasparov gambit is an opening move in chess.
+
{{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 1984-85 Garry Kasparov played {{w|Anatoly Karpov}} in a 5-month-long 48-game championship tournament which was abandoned. In the 1984-85 match Kasparov was losing 4-0 with 6 wins being required to win. Kasparov proceeded to draw 35 times before the match was abandoned.
 
 
 
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. (...)"
 
 
 
The amount of rice collected on each square of the chess board is listed below. It all sums up to around 400 billion tons (each grain weighing approximately 0.02 grams), or 500 times the annual world production. The last day would be 200 billion tons. But the implicit implication of this doubling is that the amount of rice you put on tomorrow is exactly equal to the amount of rice already on the board, plus one extra grain. So there were around 200 billion tons already, before the last square needs ~200 billion more.
 
 
 
* First row:
 
** a1: 1 grain
 
** a2: 2 grains
 
** a3: 4 ...
 
** a4: 8
 
** a5: 16
 
** a6: 32
 
** a7: 64
 
** a8: 128
 
* Second row
 
** b1: 256
 
** b2: 512
 
** b3: 1,024
 
** b4: 2,048
 
** b5: 4,096
 
** b6: 8,192
 
** b7: 16,384
 
** b8: 32,768
 
:
 
* First of each row
 
:
 
** c1: 65,536 grains (~ 1 kg)
 
** d1: 16,777,216 (~ 400 kg)
 
** e1: 4,294,967,296 (~ 100 tons)
 
** f1: 1,099,511,627,776 (~ 25,000 tons)
 
** g1: 281,474,976,710,656 (~ 6 million tons)
 
:
 
* ...
 
:
 
* Eighth row
 
** h1:    72,057,594,037,927,936 (~ 1.5 billion tons, more than the 2022 world harvest)
 
** h2:  144,115,188,075,855,872
 
** h3:  288,230,376,151,711,744
 
** h4:  576,460,752,303,423,488
 
** h5: 1,152,921,504,606,846,976
 
** h6: 2,305,843,009,213,693,952
 
** h7: 4,611,686,018,427,387,904
 
** h8: 9,223,372,036,854,775,808 (~ 200 billion tons)
 
 
 
[https://en.wikipedia.org/wiki/Wheat_and_chessboard_problem#/media/File:Wheat_Chessboard_with_line.svg Example on chessboard]
 
  
 
Needless to say, this process would be impossible to do. {{Citation needed}}
 
Needless to say, this process would be impossible to do. {{Citation needed}}

Revision as of 13:57, 23 May 2024

Exponential Growth
Karpov's construction of a series of increasingly large rice cookers led to a protracted deadlock, but exponential growth won in the end.
Title text: Karpov's construction of a series of increasingly large rice cookers led to a protracted deadlock, but exponential growth won in the end.

Explanation

Ambox notice.png This explanation may be incomplete or incorrect: Created by a 2^64TH ITERATION OF A BOT - Please change this comment when editing this page. No mention of the title text yet.
If you can address this issue, please edit the page! Thanks.

In this strip Black Hat begins by demonstrating the exponential growth, using a variation of the 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.

The earliest versions of this story come from India and involve a man (the inventor of chess, in some tellings), being offered a reward by a king, and asking that a single grain of wheat be placed on the first square of a chessboard, two on the second, and each subsequent square having twice as many grains as the one before. In the story, the king generally laughs off such a reward as being trivial, but soon learns that the reward would be impossible to pay. Since a chessboard contains 64 squares, the final square would contain 2^63 (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). In some versions of the story the man is executed for embarrassing the king, in others, he's rewarded for his cleverness.

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 Laws of Chess, this would be illegal on several levels, as deliberately distracting or annoying your opponent is 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.

Garry Kasparov and 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.

Needless to say, this process would be impossible to do. [citation needed]

Transcript

Ambox notice.png This transcript is incomplete. Please help editing it! Thanks.
[Black Hat is talking to Cueball standing next to him.]
Black Hat: Exponential growth is very powerful.
[Closeup on Black Hat. Next to him is an image of the lower left part of a chessboard. The four leftmost squares in the bottom row have grains of rice on them -- one, two, four, and eight grains respectively.]
Black Hat: A chessboard has 64 squares.
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 several bags next to him and a pile of rice already on the table. A frustrated Hairy is walking away, fists clenched.]
[Caption above panel, representing Black Hat continuing to speak:]
If you keep this up, your opponent will resign in frustration.
It's called Kasparov's Grain Gambit. Nearly impossible to counter.


comment.png add a comment! ⋅ comment.png add a topic (use sparingly)! ⋅ Icons-mini-action refresh blue.gif refresh comments!

Discussion

If that's done by each of your moves being to add one (more) grain to the board, the game would last quite a while. Even with reduced time-limits on the game-clock. 172.70.91.154 21:27, 22 May 2024 (UTC)

Hmmm. Interesting. 172.69.58.203 21:31, 22 May 2024 (UTC)

First transcript! Hope it's good.Danger Kitty (talk) 21:36, 22 May 2024‎ (you only ~~~ed, it looks like...)

Total of 2^64 - 1 ≈ 1.8 x 10^19 grains of rice. If a grain of rice averages 30 mg, then that's 5.5 x 10^14 kg of rice. That's around the mass of Lake Erie. 172.71.223.56 21:38, 22 May 2024 (UTC)

The legend about the chess board and doubling the grain placed on each square is researched here: https://history.stackexchange.com/questions/5992/what-is-the-origin-of-the-wheat-and-chessboard-legend 172.71.150.113 21:50, 22 May 2024 (UTC)~

The rice is on the side or the board is turned wrong. 172.70.115.17 (talk) 23:13, 22 May 2024 (please sign your comments with ~~~~)

...not sure what you mean here. (Also, do sign your contributions.) 172.70.162.186
The white square always goes on your right corner so this border is sideways (assuming we're looking at it head on, which seems likely) Apollo11 (talk) 23:35, 22 May 2024 (UTC)
a1 is a dark square, so wherever the one grain of rice is, it can't be a1. 172.71.102.35 08:41, 23 May 2024 (UTC)
Either a8 or h1, which is SO annoying (most likley a mistake on Randall's part tho)Apollo11 (talk) 15:35, 23 May 2024 (UTC)

With all those zeros in the values given for row eight i assume we are looking at the limitations of someones calculation skills/calculator... last I checked 5 was not a factor of any 2^n value? 172.70.80.246 00:13, 23 May 2024 (UTC)

if you are referring to the final number (18,446,744,073,709,551,615), which is the only number divisible by 5, it is the total of all the squares, and equal to 2^64-1 (checked in Wolfram|Alpha) Bilkie (talk) 19:45, 27 May 2024 (UTC)
I think we don't need this part at all. If we really want to illustrate the numbers we could simply use the illustration from here: https://en.wikipedia.org/wiki/Wheat_and_chessboard_problem#Second_half_of_the_chessboard Elektrizikekswerk (talk) 07:15, 23 May 2024 (UTC)

That doesn't look like Hairy in the final panel. Is it a Kasparov caricature? Nitpicking (talk) 02:12, 23 May 2024 (UTC)

I agree it is not the standard Hairy. Since this is Kasparovs gambit and Karpov tried to counter it, then it should be Karpov that walks out! Even though it is not Kasparaov but Black Hat that used the gambit. --Kynde (talk) 08:59, 24 May 2024 (UTC)
Maybe it's the same Cueball from the first panel, but he's had to wait so long while Black Hat fetched all the rice that his hair grew out.172.70.160.249 13:32, 24 May 2024 (UTC)

I have to wonder if this comic is related to the Casablanca Chess Tournament that took place this past week, where 4 top-ranked players competed by playing a series of real historical games starting from the middle of each game. Magnus Carlsen won the tournament, which also included Hikaru Nakamura, Viswanathan Anand, and Bassem Amin. Ianrbibtitlht (talk) 04:38, 23 May 2024 (UTC)

Russia pulling out of Black Sea agreement has been labelled "grain gambit" --172.71.131.158 06:36, 23 May 2024 (UTC)

Trivia: 1. e2–e4 c7–c5 2. Sg1–f3 e7–e6 3. d2–d4 c5xd4 4. Sf3xd4 Sb8–c6 5. Sd4–b5 d7–d6 6. c2–c4 Sg8–f6 7. Sb1–c3 a7–a6 8. Sb5–a3 d6-d5!? is the Kasparov Gambit, see Wiki. 172.71.160.30 08:56, 23 May 2024 (UTC)

This is a completely normal amount of rice. I eat this much grain daily. Psychoticpotato (talk) 13:21, 23 May 2024 (UTC)

Counter with Tree countergambit. plant tree(1) seeds in the first square and tree(2) on the next square then tree(3) in the next square. Nobody has found out what happens afterwards. 172.70.131.212 (talk) 14:25, 23 May 2024 (please sign your comments with ~~~~)

So, out of curiosity, how many grains of rice can you actually fit on an average chess board square? Or maybe, how big would a chessboard have to be in order for the rice to fit on top of every square without overflowing? 172.69.91.144 22:13, 23 May 2024 (UTC)

Assuming that its a standard size and it can stack up around 10 cubic inches upwards about 4117267200 grains Apollo11 (talk) 03:08, 24 May 2024 (UTC)
Judging by this, I reckon if you were really, really patient you might just about corral the 2048 on square 12 to stay within the bounds without additional housing, but you'd have no hope with the 13th.172.70.90.98 14:25, 24 May 2024 (UTC)
This is super cool. And helpful. I got the density of rice from this and tried to calculate the size of a chess board that could contain the nine quintillion grains of rice on the last square. Assuming the rice forms a cone with a 30° slope, one would need a chess board roughly the size of Colombia (1073296km² for the whole board). Can anyone confirm?172.69.91.165 10:56, 25 May 2024 (UTC)
I covered Columbia in rice, and can confirm your hypothesis. Though a small amount spilled onto the streets of Tulcan, Ecuador. These Are Not The Comments You Are Looking For (talk) 02:48, 26 May 2024 (UTC)
That's a neat trick. Especially as there are few Columbias that are adjacent to Ecuador... Probably why it hasn't made the news, with the geopolitical confusion as to what happened where. ;) 172.70.85.31 08:59, 26 May 2024 (UTC)
If you are willing to trust Google Maps, you can confirm that Tulcan, Ecuador is less than 10km from the border of Columbia. These Are Not The Comments You Are Looking For (talk) 02:39, 27 May 2024 (UTC)
That's Colombia, not Columbia, I think is the point. 172.70.162.18 10:11, 27 May 2024 (UTC)

Also, I noticed everyone here seems to have an ip in the 172.69.0.0 to 172.71.255.255 range, but I just checked and that's not even my ip address at the moment. What's that about? Does the wiki mask our actual ip addresses? 172.69.90.110 22:29, 23 May 2024 (UTC)

Not the wiki, but the gateways to the wiki that help with load-balancing and related connection issues. And you'll also see some IPs in the 141.x.y.z range, and others. I usually am in 171.[69-71].y.z range, but between one contribution another I might be anywhere.
It's a known thing, for better or worse. Ultimately, there are behind-the-scenes details that would know the 'true' origin of everyone (give or take what load-balancing your own ISP also does at your side of the connection), but it's left obscured from our more plebian eyes.
Getting a username will also remove the wider and more general geographic potshots someone can make a out your origin (the gateways seen to be used are likely to reveal at least your continent, if anyone's bothered), but I never saw the need.
...now. I wonder under what range will the following put me..? => 172.69.194.96 23:34, 23 May 2024 (UTC) 8) Postscript: I first quickly used Preview, and I actually got the 141.range, then posted for real and got the 172s. About ten seconds between the two 'postings'. Hah! 141.101.98.129 23:36, 23 May 2024 (UTC)

"If exponential growth is unrestricted, it will eventually grow beyond the constraints of anything that could plausibly be built to contain it." - Given that the increase in rice grains is, itself, not plausible, I see no reason why the growth in size of rice cookers needs to be plausible either.141.101.98.119 09:59, 24 May 2024 (UTC)

I was tempted to add something about square/cube-law (not quite applicable, as there'll be a smidgen of cubing as you raise the square-area of container material, etc, but along tbose lines), but that of course makes the implausibility threshold of the cookers higher than the same threshold of rice (everything else being equal). So then you're on to the heat-penetration abilities (after a while, the outer rice is overcooked, when the innermost rice has barely felt the heat). And that leads me to believe that something like a rotary kiln design might be best adopted (external heat, internalised water delivery, properly tuned, and could even be effectively pressurised with the right cycling addons to either end) to just accept rice in at a constant rate and produce perfectly cooked rice at the commensurate output rate. Of course, exponential increase in feed would then require exponential increase in parallel rotary-cookers to handle it, but starting at an already more efficient/controllable mass-cooking process than merely upscaling a traditional pot-style cooker. 172.71.242.220 11:09, 24 May 2024 (UTC)

This is easily defeated. Simply counter by placing one goose on the 64th square, two geese on the 63rd, and so on. They'll quickly deal with the rice situation.172.70.163.120 13:39, 24 May 2024 (UTC)

But then you need to add an increasing number of foxes starting at the first square to deal with the geese.Mathmannix (talk) 19:27, 24 May 2024 (UTC)
And good luck taking the whole setup across a river with just a small boat! 172.69.79.165 22:43, 24 May 2024 (UTC)


Correct me if I'm wrong, but assuming that the chess board is 20 inches square, the rice being stacked into a pyrimid 15 inches high, then it only works out to 1.7x10^16 kg/m^3, which, according to Wolfram, is dwarfed by the density of a Neutron Star, much less a black hole. So is there some other reason the explanation claims it will become a black hole? Or was it just wrong Xkcdjerry (talk) 04:17, 25 May 2024 (UTC)