Sponsored Links
-->

Thursday, November 30, 2017

Wheat and chessboard problem - Wikipedia
src: upload.wikimedia.org

The wheat and chessboard problem (sometimes expressed in terms of rice grains) is a mathematical problem expressed in textual form as:

If a chessboard were to have wheat placed upon each square such that one grain were placed on the first square, two on the second, four on the third, and so on (doubling the number of grains on each subsequent square), how many grains of wheat would be on the chessboard at the finish?

The problem may be solved using simple addition. With 64 squares on a chessboard, if the number of grains doubles on successive squares, then the sum of grains on all 64 squares is: 1 + 2 + 4 + 8 + ... and so forth for the 64 squares. The total number of grains equals 18,446,744,073,709,551,615 (the 64th Mersenne number), much higher than what most intuitively expect.

The problem appears in different stories about the invention of chess. One of them includes the geometric progression problem. The story is first known to have been recorded in 1256 by Ibn Khallikan. Another version has the inventor of chess (in some tellings Sessa, an ancient Indian Minister) request his ruler give him wheat according to the wheat and chessboard problem. The ruler laughs it off as a meager prize for a brilliant invention, only to have court treasurers report the unexpectedly huge number of wheat grains would outstrip the ruler's resources. Versions differ as to whether the inventor becomes a high-ranking advisor or is executed.

Macdonnell also investigates the earlier development of the theme.

[According to al-Masudi's early history of India], shatranj, or chess was invented under an Indian king, who expressed his preference for this game over backgammon. [...] The Indians, he adds, also calculated an arithmetical progression with the squares of the chessboard. [...] The early fondness of the Indians for enormous calculations is well known to students of their mathematics, and is exemplified in the writings of the great astronomer ?ryaba?ha (born 476 A.D.). [...] An additional argument for the Indian origin of this calculation is supplied by the Arabic name for the square of the chessboard, (???, "beit"), 'house'. [...] For this has doubtless a historical connection with its Indian designation ko??h?g?ra, 'store-house', 'granary' [...].

This exercise can be used to demonstrate how quickly exponential sequences grow, as well as to introduce exponents, zero power, capital-sigma notation and geometric series. Updated for modern times using pennies and the hypothetical question, "Would you rather have a million dollars or the sum of a penny doubled every day for a month?", the formula has been used to explain compounded interest.


Video Wheat and chessboard problem



Solutions

The simple, brute-force solution is to just manually double and add each step of the series:

T 64 = 1 + 2 + 4 + ? + 9 , 223 , 372 , 036 , 854 , 775 , 808 = 18 , 446 , 744 , 073 , 709 , 551 , 615 {\displaystyle T_{64}=1+2+4+\cdots +9,223,372,036,854,775,808=18,446,744,073,709,551,615}
where T 64 {\displaystyle T_{64}} is the total number of grains.

The series may be expressed using exponents:

T 64 = 2 0 + 2 1 + 2 2 + ? + 2 63 {\displaystyle T_{64}=2^{0}+2^{1}+2^{2}+\cdots +2^{63}}

and, represented with capital-sigma notation as:

? i = 0 63 2 i . {\displaystyle \sum _{i=0}^{63}2^{i}.\,}

It can also be solved much more easily using:

T 64 = 2 64 - 1. {\displaystyle T_{64}=2^{64}-1.\,}

A proof of which is:

s = 2 0 + 2 1 + 2 2 + ? + 2 63 . {\displaystyle s=2^{0}+2^{1}+2^{2}+\cdots +2^{63}.}

Multiply each side by 2:

2 s = 2 1 + 2 2 + 2 3 + ? + 2 63 + 2 64 . {\displaystyle 2s=2^{1}+2^{2}+2^{3}+\cdots +2^{63}+2^{64}.}

Subtract original series from each side:

2 s - s = - 2 0 + 2 64 {\displaystyle 2s-s=-2^{0}+2^{64}}
? s = 2 64 - 1. {\displaystyle \therefore s=2^{64}-1.\,}

The solution above is a particular case of the sum of a geometric series, given by

a + a r + a r 2 + a r 3 + ? + a r n - 1 = ? k = 0 n - 1 a r k = a 1 - r n 1 - r , {\displaystyle a+ar+ar^{2}+ar^{3}+\cdots +ar^{n-1}=\sum _{k=0}^{n-1}ar^{k}=a\,{\frac {1-r^{n}}{1-r}},}

where a {\displaystyle a} is the first term of the series, r {\displaystyle r} is the common ratio and n {\displaystyle n} is the number of terms.

In this problem a = 1 {\displaystyle a=1} , r = 2 {\displaystyle r=2} and n = 64 {\displaystyle n=64} .

The exercise of working through this problem may be used to explain and demonstrate exponents and the quick growth of exponential and geometric sequences. It can also be used to illustrate sigma notation. When expressed as exponents, the geometric series is: 20 + 21 + 22  + 23 + ... and so forth, up to 263. The base of each exponentiation, "2", expresses the doubling at each square, while the exponents represent the position of each square (0 for the first square, 1 for the second, etc.).


Maps Wheat and chessboard problem



Second half of the chessboard

In technology strategy, the "second half of the chessboard" is a phrase, coined by Ray Kurzweil, in reference to the point where an exponentially growing factor begins to have a significant economic impact on an organization's overall business strategy. While the number of grains on the first half of the chessboard is large, the amount on the second half is vastly (232 > 4 billion times) larger.

The number of grains of wheat on the first half of the chessboard is 1 + 2 + 4 + 8 + ... + 2,147,483,648, for a total of 4,294,967,295 (232 - 1) grains, or about 279 tonnes of wheat (assuming 65 mg as the mass of one grain of wheat).

The number of grains of wheat on the second half of the chessboard is 232 + 233 + 234 + ... + 263, for a total of 264 - 232 grains. This is equal to the square of the number of grains on the first half of the board, plus itself. The first square of the second half alone contains more grains than the entire first half. On the 64th square of the chessboard alone there would be 263 = 9,223,372,036,854,775,808 grains, more than two billion times as many as on the first half of the chessboard.

On the entire chessboard there would be 264 - 1 = 18,446,744,073,709,551,615 grains of wheat, weighing about 1,199,000,000,000 metric tons. This is about 1,645 times the global production of wheat in 2014 (729,000,000 metric tons).


Penny a Day | 3 Act Math Task | Exponential Notation
src: tapintoteenminds.com


Use

Carl Sagan titled the second chapter of his final book The Persian Chessboard and wrote that when referring to bacteria, "Exponentials can't go on forever, because they will gobble up everything." Similarly, The Limits to Growth uses the story to present suggested consequences of exponential growth: "Exponential growth never can go on very long in a finite space with finite resources."


Chessboard - Wikipedia
src: upload.wikimedia.org


See also

  • Malthusian growth model
  • Moore's law
  • Technology strategy
  • Orders of magnitude (data)

Logic Games Archives - 7Sage lsat
src: dp57v9mrmcue2.cloudfront.net


References


Chessboard - Wikiwand
src: upload.wikimedia.org


External links

  • Weisstein, Eric W. "Wheat and Chessboard Problem". MathWorld. 
  • One telling of the fable
  • Salt and chessboard problem - A variation on the wheat and chessboard problem with measurements of each square.

Source of article : Wikipedia