2936: Exponential Growth

Explain xkcd: It's 'cause you're dumb.
Revision as of 22:32, 22 May 2024 by 172.70.175.9 (talk) (Fix typo "pieces")
Jump to: navigation, search
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. Do NOT delete this tag too soon.
If you can address this issue, please edit the page! Thanks.
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 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 grain of rice 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.

Garry Kasparov is a world renowned Russian chess master. He had the highest FIDE chess rating in the world-one of 2851 points-until Magnus Carlson surpassed that in 2013 by 31 points. The Kasparov gambit is an opening move in chess.

Instead of this being a (possibly apocryphal) story, Black Hat used it literally during a game of chess to annoy his opponent into quitting.

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.
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.]
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)