HOME

TheInfoList



OR:

Archimedes's cattle problem (or the or ) is a problem in
Diophantine analysis ''Diophantine'' means pertaining to the ancient Greek mathematician Diophantus. A number of concepts bear this name: *Diophantine approximation *Diophantine equation *Diophantine quintuple In number theory, a diophantine -tuple is a set of p ...
, the study of
polynomial equation In mathematics, an algebraic equation or polynomial equation is an equation of the form P = 0, where ''P'' is a polynomial with coefficients in some field (mathematics), field, often the field of the rational numbers. For example, x^5-3x+1=0 is a ...
s with
integer An integer is the number zero (0), a positive natural number (1, 2, 3, ...), or the negation of a positive natural number (−1, −2, −3, ...). The negations or additive inverses of the positive natural numbers are referred to as negative in ...
solutions. Attributed to
Archimedes Archimedes of Syracuse ( ; ) was an Ancient Greece, Ancient Greek Greek mathematics, mathematician, physicist, engineer, astronomer, and Invention, inventor from the ancient city of Syracuse, Sicily, Syracuse in History of Greek and Hellenis ...
, the problem involves computing the number of cattle in a herd of the sun god from a given set of restrictions. The problem was discovered by
Gotthold Ephraim Lessing Gotthold Ephraim Lessing (; ; 22 January 1729 – 15 February 1781) was a German philosopher, dramatist, publicist and art critic, and a representative of the Enlightenment era. His plays and theoretical writings substantially influenced the dev ...
in a Greek manuscript containing a poem of forty-four lines, in the
Herzog August Library The Herzog August Library ( — "HAB"), in Wolfenbüttel, Lower Saxony, known also as ''Bibliotheca Augusta'', is a library of international importance for its collection from the Middle Ages and early modern Europe. The library is overseen ...
in
Wolfenbüttel Wolfenbüttel (; ) is a town in Lower Saxony, Germany, the administrative capital of Wolfenbüttel District Wolfenbüttel (; ) is a town in Lower Saxony, Germany, the administrative capital of Wolfenbüttel (district), Wolfenbüttel Distri ...
,
Germany Germany, officially the Federal Republic of Germany, is a country in Central Europe. It lies between the Baltic Sea and the North Sea to the north and the Alps to the south. Its sixteen States of Germany, constituent states have a total popu ...
in 1773. The problem remained unsolved for a number of years, due partly to the difficulty of computing the huge numbers involved in the solution. The general solution was found in 1880 by (1845–1916), headmaster of the ' ( Gymnasium of the Holy Cross) in Dresden, Germany. Using logarithmic tables, he calculated the first digits of the smallest solution, showing that it is about cattle, far more than could fit in the
observable universe The observable universe is a Ball (mathematics), spherical region of the universe consisting of all matter that can be observation, observed from Earth; the electromagnetic radiation from these astronomical object, objects has had time to reach t ...
. The decimal form is too long for humans to calculate exactly, but multiple-precision arithmetic packages on computers can write it out explicitly.


History

In 1769,
Gotthold Ephraim Lessing Gotthold Ephraim Lessing (; ; 22 January 1729 – 15 February 1781) was a German philosopher, dramatist, publicist and art critic, and a representative of the Enlightenment era. His plays and theoretical writings substantially influenced the dev ...
was appointed librarian of the Herzog August Library in
Wolfenbüttel Wolfenbüttel (; ) is a town in Lower Saxony, Germany, the administrative capital of Wolfenbüttel District Wolfenbüttel (; ) is a town in Lower Saxony, Germany, the administrative capital of Wolfenbüttel (district), Wolfenbüttel Distri ...
, Germany, which contained many Greek and Latin manuscripts. A few years later, Lessing published translations of some of the manuscripts with commentaries. Among them was a Greek poem of forty-four lines, containing an arithmetical problem which asks the reader to find the number of cattle in the herd of the god of the sun. It is now generally credited to Archimedes.


Problem

The problem, as translated into English by Ivor Thomas, states:
If thou art diligent and wise, O stranger, compute the number of cattle of the Sun, who once upon a time grazed on the fields of the Thrinacian isle of Sicily, divided into four herds of different colours, one milk white, another a glossy black, a third yellow and the last dappled. In each herd were bulls, mighty in number according to these proportions: Understand, stranger, that the white bulls were equal to a half and a third of the black together with the whole of the yellow, while the black were equal to the fourth part of the dappled and a fifth, together with, once more, the whole of the yellow. Observe further that the remaining bulls, the dappled, were equal to a sixth part of the white and a seventh, together with all of the yellow. These were the proportions of the cows: The white were precisely equal to the third part and a fourth of the whole herd of the black; while the black were equal to the fourth part once more of the dappled and with it a fifth part, when all, including the bulls, went to pasture together. Now the dappled in four parts were equal in number to a fifth part and a sixth of the yellow herd. Finally the yellow were in number equal to a sixth part and a seventh of the white herd. If thou canst accurately tell, O stranger, the number of cattle of the Sun, giving separately the number of well-fed bulls and again the number of females according to each colour, thou wouldst not be called unskilled or ignorant of numbers, but not yet shalt thou be numbered among the wise. But come, understand also all these conditions regarding the cattle of the Sun. When the white bulls mingled their number with the black, they stood firm, equal in depth and breadth, and the plains of Thrinacia, stretching far in all ways, were filled with their multitude. Again, when the yellow and the dappled bulls were gathered into one herd they stood in such a manner that their number, beginning from one, grew slowly greater till it completed a triangular figure, there being no bulls of other colours in their midst nor none of them lacking. If thou art able, O stranger, to find out all these things and gather them together in your mind, giving all the relations, thou shalt depart crowned with glory and knowing that thou hast been adjudged perfect in this species of wisdom.


Solution

The first part of the problem can be solved readily by setting up a
system of equations In mathematics, a set of simultaneous equations, also known as a system of equations or an equation system, is a finite set of equations for which common solutions are sought. An equation system is usually classified in the same manner as single e ...
. If the number of white, black, dappled, and yellow bulls are written as W, B, D, and Y, and the number of white, black, dappled, and yellow cows are written as w,b,d, and y, the problem is simply to find a solution to :\begin W &= \frac B + Y, \\ B &= \frac D + Y, \\ D &= \frac W + Y, \\ w &= \frac (B + b), \\ b &= \frac (D + d), \\ d &= \frac (Y + y), \\ y &= \frac (W + w), \end which is a system of seven equations with eight unknowns. It is indeterminate and has infinitely many solutions. The least positive integers satisfying the seven equations are :\begin B &= 7\,460\,514 = 4657 \times 1602,\\ W &= 10\,366\,482 = 4657 \times 2226,\\ D &= 7\,358\,060 = 4657 \times 1580,\\ Y &= 4\,149\,387 = 4657 \times 891,\\ b &= 4\,893\,246, \\ w &= 7\,206\,360, \\ d &= 3\,515\,820, \\ y &= 5\,439\,213, \end which is a total of cattle, and the other solutions are integral multiples of these. Note that given the
prime number A prime number (or a prime) is a natural number greater than 1 that is not a Product (mathematics), product of two smaller natural numbers. A natural number greater than 1 that is not prime is called a composite number. For example, 5 is prime ...
''p'' = 4657 then the first four numbers are multiples of ''p'', and both ''p'' and ''p+1'' will appear repeatedly below. The second part of the problem states that W+B is a
square number In mathematics, a square number or perfect square is an integer that is the square (algebra), square of an integer; in other words, it is the multiplication, product of some integer with itself. For example, 9 is a square number, since it equals ...
, and Y+D is a
triangular number A triangular number or triangle number counts objects arranged in an equilateral triangle. Triangular numbers are a type of figurate number, other examples being square numbers and cube numbers. The th triangular number is the number of dots in ...
. The general solution to this part of the problem was first found by A. Amthor in 1880. The following version of it was described by H. W. Lenstra, based on
Pell's equation Pell's equation, also called the Pell–Fermat equation, is any Diophantine equation of the form x^2 - ny^2 = 1, where ''n'' is a given positive Square number, nonsquare integer, and integer solutions are sought for ''x'' and ''y''. In Cartesian ...
: the solution given above for the first part of the problem should be multiplied by :n = \frac, where ''j'' is any positive integer and :w = 300\,426\,607\,914\,281\,713\,365 \sqrt + 84\,129\,507\,677\,858\,393\,258 \sqrt, Equivalently, squaring ''w'' results in :w^2 = u + v\sqrt, where (u, v) is the fundamental solution of the
Pell equation Pell is a surname shared by several notable people, listed below * Albert Pell * Axel Rudi Pell (born 1960), German heavy metal guitar player and member of Steeler and founder of his own eponymous band * Barney Pell * Benjamin Pell * Charles P ...
:u^2 - (609)(7766) v^2 = 1. The size of the smallest herd that could satisfy both the first and second parts of the problem is then given by ''j'' = 1 and is about 7.76 \times 10^ (first solved by Amthor). Modern computers can easily print out all digits of the answer. This was first done at the
University of Waterloo The University of Waterloo (UWaterloo, UW, or Waterloo) is a Public university, public research university located in Waterloo, Ontario, Canada. The main campus is on of land adjacent to uptown Waterloo and Waterloo Park. The university also op ...
, in 1965 by Hugh C. Williams, R. A. German, and Charles Robert Zarnke. They used a combination of the
IBM 7040 The IBM 7040 was a historic but short-lived model of transistor computer built in the 1960s. History It was announced by IBM in December 1961, but did not ship until April 1963. A later member of the IBM 700/7000 series of scientific computers, ...
and
IBM 1620 The IBM 1620 was a model of scientific minicomputer produced by IBM. It was announced on October 21, 1959, and was then marketed as an inexpensive scientific computer. After a total production of about two thousand machines, it was withdrawn on N ...
computers. (includes pictures)


Pell equation

The constraints of the second part of the problem are straightforward and the actual
Pell equation Pell is a surname shared by several notable people, listed below * Albert Pell * Axel Rudi Pell (born 1960), German heavy metal guitar player and member of Steeler and founder of his own eponymous band * Barney Pell * Benjamin Pell * Charles P ...
that needs to be solved can easily be given. First, it one asks that ''B'' + ''W'' should be a
square In geometry, a square is a regular polygon, regular quadrilateral. It has four straight sides of equal length and four equal angles. Squares are special cases of rectangles, which have four equal angles, and of rhombuses, which have four equal si ...
, or using the values given above, :B + W = 7\,460\,514\,k + 10\,366\,482\,k = (2^2)(3)(11)(29)(4657)k, thus one should set ''k'' = (3)(11)(29)(4657)''q''2 for some integer ''q''. That solves the first condition. For the second, it requires that ''D'' + ''Y'' should be a
triangular number A triangular number or triangle number counts objects arranged in an equilateral triangle. Triangular numbers are a type of figurate number, other examples being square numbers and cube numbers. The th triangular number is the number of dots in ...
: :D + Y = \frac. Solving for ''t'', :t = \frac. Substituting the value of ''D'' + ''Y'' and ''k'' and finding a value of ''q''2 such that the
discriminant In mathematics, the discriminant of a polynomial is a quantity that depends on the coefficients and allows deducing some properties of the zero of a function, roots without computing them. More precisely, it is a polynomial function of the coef ...
of this quadratic is a perfect square ''p''2 entails solving the
Pell equation Pell is a surname shared by several notable people, listed below * Albert Pell * Axel Rudi Pell (born 1960), German heavy metal guitar player and member of Steeler and founder of his own eponymous band * Barney Pell * Benjamin Pell * Charles P ...
:p^2 - (2^2)(609)(7766)(4657^2) q^2 = 1. Amthor's approach discussed in the previous section was essentially to find the smallest v such that it is integrally divisible by 2\times 4657. The fundamental solution of this equation has more than 100,000 decimal digits.


References


Further reading

* * * * *


External links

*—Complete decimal solution to the second problem * {{Archimedes Diophantine equations Large integers Works by Archimedes Cattle in literature