ArticleslgStudy

mathematics

Archimedes's cattle problem

Archimedes's cattle problem is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Archimedes's cattle problem rather than just read about it. In short: Archimedes's cattle problem (or the problema bovinum or problema Archimedis) is a problem in Diophantine analysis, the study of polynomial equations with integer solutions. Attributed to Archimedes, the problem involves computing the number of cattle in a herd of the sun god from a given set of restrictions.

Archimedes's cattle problem — main illustration
Archimedes's cattle problem — illustration

Key takeaways

  • Archimedes's cattle problem belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Archimedes's cattle problem to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Archimedes's cattle problem from memory before moving on to harder problems.

Reference excerpt

Archimedes's cattle problem (or the problema bovinum or problema Archimedis) is a problem in Diophantine analysis, the study of polynomial equations with integer solutions. Attributed to Archimedes, 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 in a Greek manuscript containing a poem of 44 lines, in the Herzog August Library in Wolfenbüttel, Germany 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 Carl Ernst August Amthor (1845–1916), headmaster of the Gymnasium zum Heiligen Kreuz (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 7.76×10206544 cattle, far more than could fit in the observable universe. 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 was appointed librarian of the Herzog August Library in Wolfenbüttel, 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.

Attribution to Archimedes The question whether Archimedes actually set forth the problem is largely unsettled. There are only two ancient testimonies regarding its attribution. The first testimony is in the heading prefixed to the epigram itself. Heiberg translates it as, "the problem which Archimedes discovered and sent in an epigram... in a letter to Eratosthenes." Hultsch remarks that certain mistaken words in the heading as well as its syntax betray the hand of a writer who lived some centuries after Archimedes. But Hultsch thought the author must have relied upon some earlier source, believing the part about it being addressed to Eratosthenes could not have been fabricated. The second testimony is found in a scholia to Plato's Charmides, which references the problem, "called by Archimedes the Cattle-problem". Hultsch concludes that the text dates to the 2nd century BC at the latest. He opined that it is well within Archimedes' repertoire to pose such a problem, since he wrote treatises on very large numbers.

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

W=56B+Y,B=920D+Y,D=1342W+Y,w=712(B+b),b=920(D+d),d=1130(Y+y),y=1342(W+w), 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

B=7460514=4657×1602,W=10366482=4657×2226,D=7358060=4657×1580,Y=4149387=4657×891,b=4893246,w=7206360,d=3515820,y=5439213, which is a total of 50389082 cattle, and the other solutions are integral multiples of these. Note that the first four numbers are multiples of the prime number p = 4657, and both p and p + 1 will appear repeatedly below. The second part of the problem states that W+B is a square number, and Y+D is a triangular number. 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: the solution given above for the first part of the problem should be multiplied by

n=(x4658j−x−4658j)24657×79072, where j is any positive integer and

x=300426607914281713365609+841295076778583932587766, Equivalently, squaring x results in

… excerpt ends here. Continue reading the full article.

Illustrations

Archimedes's cattle problem: Smallest solution to Archimedes's cattle problem with each icon representing around 10206543 cattle
Smallest solution to Archimedes's cattle problem with each icon representing around 10206543 cattle

Worked examples

Example 1 — a first encounter with Archimedes's cattle problem

Start with the simplest possible case. Write down what Archimedes's cattle problem claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Archimedes's cattle problem before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Archimedes's cattle problem ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Archimedes's cattle problem

In research
Archimedes's cattle problem appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Archimedes's cattle problem in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Archimedes's cattle problem is common in secondary-school and first-year university syllabi. It links to neighbouring topics Cattle in literature, Diophantine equations, Large integers, so understanding it makes those chapters shorter.
In everyday life
Look for Archimedes's cattle problem outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Archimedes's cattle problem” →

How to study Archimedes's cattle problem in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Archimedes's cattle problem means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Archimedes's cattle problem out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Archimedes's cattle problem in simple terms?

Archimedes's cattle problem (or the problema bovinum or problema Archimedis) is a problem in Diophantine analysis, the study of polynomial equations with integer solutions. Attributed to Archimedes, the problem involves computing the number of cattle in a herd of the sun god from a given set of res…

Why does Archimedes's cattle problem matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Archimedes's cattle problem?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Archimedes's cattle problem.

Tags

  • Cattle in literature
  • Diophantine equations
  • Large integers
  • Works by Archimedes

Keep exploring