Modern Classics

Algebra for Entertainment

Puzzles, paradoxes and surprises from school algebra

1933 2026about 3½ hours to read

This is an AI modernization of Algebra for Entertainment into contemporary English. The original is available from Internet Archive (the first edition, Leningrad, 1933). Also available as an epub.

Age guide All ages

Puzzles, paradoxes and curiosities of school algebra from a Russian book of 1933, with a short story about a library of every possible book. Nothing in it is likely to upset anyone; parents should know only that it asks for working algebra (equations, powers, logarithms), and that it has a few mentions of war and of population outrunning the Earth, some dated remarks, and the Soviet outlook of its year.

Nothing here that a parent would need to know about.

Difficulty: a keen reader of about 13 and up.

To talk about

  • The homeopaths' dilutions and Benediktov's count of everyone who ever lived both fail when somebody does the sum. What claim have you heard lately that a sum could test?
  • Sometimes the equation knows more than the person who set it up, and sometimes it gives an absurd answer. How do you tell which has happened?

Our own judgment of this edition, made from its text; not an official classification.


Editor's Introduction

Yakov Perelman had been writing popular science for thirty years when Algebra for Entertainment came out in Leningrad in 1933, from the publishing house Vremya, in an edition of 15,000. He was born in 1882 in Białystok, took a forester's diploma in St Petersburg, never worked as a forester, and made his name in 1913 with Physics for Entertainment. Books on geometry, arithmetic, astronomy and mechanics followed in the same manner. He died of hunger in the siege of Leningrad, on March 16, 1942.

Algebra was the hardest of the school subjects to make amusing, and he does not pretend that it can be done without algebra. The plan follows the school course. The first four operations belong to arithmetic, the fifth is raising to a power, and the sixth and seventh undo it, by roots and by logarithms. Around each operation he gathers whatever makes it worth knowing: how much of a homeopathic medicine is left after thirty dilutions, how a writing machine or a combination lock may be counted, how a stage calculator takes the 31st root of a 35-digit number, how many rabbits or weeds would follow if nothing died, how long Franklin's legacy would take to grow, what a copper coin would have become if it had been lent at interest at the birth of Christ. Working is shown, and a reader with a pencil will get more than a reader without one.

In the middle of the first chapter stands a short story, "The Universal Library," published in 1904 by the German philosopher and novelist Kurd Lasswitz. A professor computes the size of a library holding every possible book. Jorge Luis Borges named Lasswitz among the ancestors of the idea in an essay of 1939, and two years later wrote "The Library of Babel." Perelman abridged the story, dropping most of its domestic comedy and its last scene, and his cuts are kept here; what remains is translated from Lasswitz's German.

The book belongs to its year. Accounts are audited in a co-operative, the six-day Soviet week is taken for granted, the First World War is "imperialist," and the universe is smaller than ours. Fermat's last theorem has no proof, and a prize of 100,000 marks is waiting for one. Notes of our own, set in corner brackets, ⌜ ⌝, are added where a reader would otherwise carry away something false; the other notes are Perelman's.

This translation is made from scans of the first edition, complete. Later editions were revised, and the book known in English comes from one of those. The printing of 1933 was poor, with signs and exponents lost on many pages, so every calculation has been done again. Plain misprints are corrected without comment. Where Perelman himself slipped, the text follows him if his argument depends on it, with a note saying what is right; a few small slips on which nothing turns have been put right.

The pictures are new. Those of 1933 were drawn by Yuri Skaldin, who died in 1951, and they may still be protected in the United States, so none is reproduced. The diagrams that the argument needs have been drawn afresh from the text, and the vignettes left out.

The American copyright status rests on a judgment that readers should know. A Soviet book of 1933 is in the public domain in the United States if its author died before 1942, or died in the war years without having taken part in the war effort, because the Russian term had then ended before 1996. In the first winter of the siege Perelman lectured to army and navy scouts on finding their way without instruments. We have not counted those lectures as war work extending the term of his books. In Russia itself, on the longest reckoning, the term ended with 2016.

On the cover. Drawn for this edition, in the manner of the Dover science paperbacks of the 1950s and 60s, after a figure in the seventh chapter. The colored staircase is the progression 2, 5, 8, 11, 14, one term to a row. The uncolored part is the same staircase turned upside down, and together the two make a rectangle five rows deep and sixteen cells wide. Half of its area is the sum of the progression, 40, and the formula for the sum of any such progression can be read off in the same way.



Chapter 1: The Fifth Operation of Mathematics

The Fifth Operation

Algebra is often called "the arithmetic of seven operations," because to the four that everyone knows it adds three new ones: raising to a power, and the two operations that undo it. This is a far better mark of algebra than its use of letters. The history of mathematics knows a whole string of books that contain no letters for numbers at all and are unmistakably textbooks of algebra all the same. Among these "rhetorical" algebras, which put everything into words, is the famous textbook of Leonardo of Pisa, better known as Fibonacci. It appeared at the beginning of the thirteenth century and stayed in use for three hundred years.

We'll open our conversations about algebra with the "fifth operation," raising to a power.

Did practical life really call for this new operation? Beyond question. We run into it all the time. Think how often we have to find areas and volumes, where there is no avoiding the second and third powers of numbers. Then again, gravitation, the electrostatic and magnetic forces, light and sound all weaken with the second power of the distance. Powers also govern how long the planets take to go around the Sun, and the satellites around their planets: the second powers of the times are to one another as the third powers of the distances from the center.

Don't imagine, either, that practice deals only in second and third powers and that higher exponents exist only in the exercises of algebra books. An engineer working out the strength of a structure meets fourth powers at every turn, and in other calculations (the diameter of a steam pipe, for instance) even a sixth. A hydraulic engineer studying the force with which running water carries stones along comes upon a sixth power too. If one river flows four times as fast as another, the fast river can roll along its bed stones 46 times as heavy as the slow one can, which is to say 4,096 times.1

Higher powers still appear when we study how the brightness of a glowing body, such as the filament of an electric bulb, depends on its temperature. The total brightness grows with the twelfth power of the temperature at white heat, and at red heat with the thirtieth (the temperature being "absolute," that is, counted from minus 273°). Heat a body from 2000° to 4000° absolute, for example, making it twice as hot, and it becomes 212 times as bright, or more than 4000 times. What this curious law means for the makers of electric bulbs, and what the "fifth operation" has to do with the processes of living nature, we'll discuss in other places.

Astronomical Numbers

Probably nobody puts the fifth operation to wider use than the astronomers. Explorers of the universe are forever meeting enormous numbers, made up of one or two significant figures and a long train of zeros. People rightly call them "astronomical numbers," and to write out such giants in the ordinary way is a great nuisance, above all when you have to calculate with them. The distance to the Andromeda nebula, for example, written in full, comes to this many kilometers:2

8500000000000000000.

Worse, astronomical calculations often require the distances of the heavens to be given in centimeters, and not in kilometers or anything larger. Chopped up in this way, our number grows five zeros longer:

850000000000000000000000.

The masses of the stars make bigger numbers still, especially if they are broken down into grams, as many calculations demand. The mass of our own Sun in grams is:

1900000000000000000000000000000000.

You can easily picture how hard it would be to work with numbers as unwieldy as these, and how easy to go wrong. And these are by no means the biggest in astronomy!

The fifth operation offers a simple way out. A one followed by a row of zeros is just some power of ten:

100=102;1000=103, and so on.

Our two giants, then, can be written like this:

the first85⋅1022
the second19⋅1032

This saves space, but it also makes the calculating easier. Suppose we had to multiply these two numbers together. All we'd have to do is find the product 85×19=1615 and put it in front of 1022+32=1054:

85⋅1022×19⋅1032=1615⋅1054.

That is certainly a good deal handier than writing out a number with 22 zeros, then one with 32, and finally one with 54. It's safer, too: anyone who writes zeros by the dozen may drop one or two on the way and come out with a wrong answer.

How Much Does All the Air Weigh?

To see how far powers lighten the work of practical calculation with large numbers, let's do a sum. What fraction of the mass of the globe is the mass of all the air around it?

On every square centimeter of the Earth's surface the air presses, as we know, with a force of about a kilogram. In other words, the column of atmosphere standing on 1 square centimeter weighs 1 kilogram. The Earth's whole envelope of air is made up of columns like this one. There are as many of them as there are square centimeters in the surface of our planet, and the atmosphere weighs that same number of kilograms. A reference book tells us that the surface of the globe is 510 million square kilometers. In powers:

510000000=51⋅107 sq. km.

How many square centimeters are there in a square kilometer? Let's work it out. A kilometer of length holds 1000 meters of 100 centimeters each, or 100000=105 centimeters, and a square kilometer therefore holds (105)2=1010 square centimeters. This gives for the whole surface of the globe, in square centimeters:

51⋅107×1010=51⋅1017.

That is also the weight of the Earth's atmosphere in kilograms. Turning it into metric tons, we get:

51⋅1017÷1000=51⋅1017÷103=51⋅1017−3=51⋅1014.

The mass of the globe itself is

57⋅1020 tons.

To find how many times heavier our planet is than its envelope of air, we divide:

57⋅102051⋅1014≈106,

and the mass of the atmosphere turns out to be roughly one millionth of the mass of the globe.

Do this whole calculation with the numbers written out in full, and you'd hardly escape a slip in the zeros somewhere, to say nothing of the extra time you'd spend.

Burning Without Flame or Heat

Ask a chemist why wood or coal burns only at a high temperature, and he'll tell you that, strictly speaking, carbon combines with oxygen at any temperature. At low temperatures the process simply goes so slowly (so very few molecules take part in the reaction) that it escapes our notice. The law that governs the speed of chemical reactions says that when the temperature falls by 10°, the speed of the reaction (the number of molecules taking part in it) is cut in half.3 "Reactions have been measured," writes Ostwald in The Evolution of Chemistry, "in which the inversion of sugar (that is, its conversion into a mixture of dextrose and levulose) became noticeable only after a whole day, with the liquid at 100°. If the temperature is kept at 0°, the reaction will go 210 times more slowly. At 0°, then, no reaction will be noticeable until 210=1024 days have passed, that is, until the third year after the experiment began."

Let's apply this to the reaction of carbon with oxygen, that is, to the burning of wood. Suppose that at 600°, the temperature of the flame, 1 gram of wood burns every second. How long will 1 gram of wood take to burn at 20°? We already know that when the temperature is lower by 580=58⋅10 degrees, the reaction is slower by a factor of

258,

which means that the gram of wood will burn up in 258 seconds.

How many years is that? We can estimate it without multiplying two by itself 57 times, and without a table of logarithms. All we need is the fact that

210=1024≈103.

Consequently,

258=260−2=260÷22=14⋅260=14⋅(210)6≈14⋅1018,

or about a quarter of a quintillion seconds. In a year there are about 30 million seconds, 3⋅107, and therefore

14⋅1018÷(3⋅107)=112⋅1011≈1010.

Ten billion years! That, roughly, is how long a gram of wood would take to burn without flame or heat.

Wood and coal, then, burn at ordinary temperatures too, and nobody has to light them. What the invention of fire did was to speed up this terribly slow process by a factor of nearly a quintillion.

The Variety of the Weather

Let's describe the weather by a single feature, whether or not clouds cover the sky, and recognize only two kinds of day, clear and cloudy. On those terms, would you say there can be many six-day weeks in which the weather runs a different course?4

Not many, it would seem. Give it a couple of months, and all the combinations of clear and cloudy days will have been used up; after that, one of the combinations we've already had is bound to come around again.

But let's try counting exactly how many combinations there are. This is one of those problems that lead, when you least expect it, to the fifth operation.

The question is this: in how many different ways can clear and cloudy days follow one another in a single six-day week?

Solution

The first day of the week is either clear or cloudy. That gives us two "combinations" to start with.

In two days, clear and cloudy weather can follow one another in these ways:

	clear and clear
	clear and cloudy
	cloudy and clear
	cloudy and cloudy

That makes 22 different arrangements for 2 days. Over 3 days, each of the 4 combinations of the first 2 days can be joined to either of the two possibilities for the third, and the number of arrangements becomes

22×2=23.

Over 4 days it reaches

23×2=24.

Over 5 days there are 25, and over the whole six-day week, at last, 26=64 different arrangements.

There are, then, 64 six-day weeks that differ in the order of their clear and cloudy days. Once 64 × 6 = 384 days have gone by, one of the earlier combinations must come back. It may, of course, come back sooner, but 384 days is the term after which a repetition can't be avoided. Or put it the other way around: a whole year can pass, and more than a year (1 year and 19 days), in which no two of the weeks have the same weather.

The Lock with the Secret Word

In the office of a factory somebody came upon a safe that had survived from before the Revolution. Its key turned up as well, but to use the key you had to know the secret of the lock. On the door were 5 dials with an alphabet (26 letters) around their rims, and the door would open only when the dials were set to a certain word. Nobody knew the word. Rather than break the safe open, it was decided to try every combination of letters on the dials. To set up one combination took 3 seconds.

Is there any hope that the safe will be open within the next 10 working days?

Solution

Let's count how many combinations of letters had to be tried.

Each of the 26 letters of the first dial can be paired with each of the 26 letters of the second. The number of two-letter combinations was therefore

26×26=262.

To each of these we can add any of the 26 letters of the third dial, and the number of three-letter combinations was accordingly

262×26=263.

In the same way we find that there were 264 four-letter combinations, and 265, or 11,881,376, of five letters. At 3 seconds each, to set up these combinations, nearly 12 million of them, would take

3×11881376=35644128 seconds.

That is about 10,000 hours, or 1,400 seven-hour working days: without a single day off, just short of four years.

The chances that the safe will be open within the next 10 working days are therefore 10 in 1,400, or one in 140. That is a very small probability.

Doubles

A calculation of the same kind will show why we so seldom come across two people who look alike and aren't related.

To have something definite to work with, we'll take some figures that are arbitrary but plausible. Suppose that the variety of human looks comes from variations in 25 features (height, build, stoutness, hair, shape of the head, forehead, eyebrows, eyes, nose, ears, cheeks, lips, chin, neck and so forth), and that of these

10 featurescome in 3 varieties each
10 featurescome in 4 varieties each
5 featurescome in 5 varieties each

It isn't hard, then, to find the number of all the different combinations of features. It equals

310×410×55.

Let's recast this expression:

310×410×55=310×220×55=310×215×25×55=310×215×105=59049×32768×105≈19⋅1013.

Now, there are about 1,900 million people on the whole globe, or 19⋅108.5 The possible variations of human looks outnumber the human beings by 1013−8 to one, that is, by 100,000 to one.

Now you see why doubles turn up only as a rare exception. There aren't enough people on Earth for them to turn up more often.

An Extraordinary Medicine

The school of medicine known as homeopathy holds that the usual doses of medicines do harm, and it prescribes them only in extremely high dilution. A homeopathic medicine is prepared like this. One part of a medicinal infusion is diluted in 99 equal parts of pure alcohol. A hundredth part of the resulting solution is again mixed with 99 parts of alcohol. The same is done with a hundredth of this new dilution, and so on, the operation being repeated from 18 to 30 times. For whooping cough, for instance, an infusion of the sundew plant (Drosera) is put through the procedure I have just described 30 times.

It seems fair to suppose that homeopaths who prescribe such doses have never tried to grasp mathematically what they are doing. Approach homeopathic dilutions with the proper arithmetic, and something altogether unexpected comes to light. Let's do the sum; it belongs, as it happens, precisely to this part of our book.

Suppose we began with 100 cubic centimeters of the medicinal infusion. The homeopathic pharmacist takes 1 cubic centimeter of it and mixes it with 99 of pure alcohol. He gets 100 cubic centimeters of a solution that contains 1 of the medicine. The medicine, in other words, has been diluted 100 times.

Next he takes 1 cubic centimeter of this diluted medicine and mixes it with 99 cubic centimeters of pure alcohol, diluting it another 100 times. But in the new solution, every 100 cubic centimeters of liquid contains only 0.01 cubic centimeter of the original infusion. The dilution is now 0.01×0.01=0.0001, or 1104.

After a third operation of this kind the original infusion is diluted 1003 times, or 106; after a fourth, 108 times; and so on.

In the end, after the 30th operation (the number prescribed for the whooping cough medicine), the original infusion will have been diluted 1060 times. It's as if 1 cubic centimeter of it had been poured into 1060 cubic centimeters of alcohol.

For the moment we see just an "astronomical number," and have no inkling what it means. But everything looks different once we compare this number with the number of molecules in one cubic centimeter of the original medicine. Physics tells us (with excellent grounds for saying it) that a cubic centimeter of the infusion contains no more than 1022 molecules at the very most. In a volume of 1060 cubic centimeters of the diluted liquid, then, there are "only" 1022 molecules of the medicinal substance, one molecule to every

1060÷1022=1038 cubic centimeters.

And what sort of a volume is 1038 cubic centimeters, the home of one molecule of medicine? Let's work it out. A cubic kilometer holds 1015 cubic centimeters, and 1038 cubic centimeters therefore make, in cubic kilometers,

1038÷1015=1023.

We open an astronomical handbook and hunt for something of a suitable size. The globe of the Earth, we find, has a volume of 1012 cubic kilometers, which is microscopic beside the volume we've just obtained. Even the Sun, with its 14⋅1017 cubic kilometers, isn't big enough to make a good comparison: it is 70,000 times smaller than the amount of solution that contains one single molecule of the medicinal substance.

Coming back from astronomy to medicine, we arrive at this conclusion. Granted that 1 molecule of sundew infusion can cure whooping cough, the patient must swallow, in order to get well, 70 thousand capsules, each the size of the Sun. For a child, the dose is undoubtedly excessive...

It's natural to ask, after this, what the pills from a homeopathic pharmacy do contain. Anything you like, evidently, except the medicinal substance. An easy calculation shows that after only the 11th dilution, when 1 cubic centimeter of the original infusion has been diluted 1022 times, the whole glass of liquid will hold just one molecule.6 The remaining 19 dilutions will consist of pure alcohol, without the slightest trace of the medicine. After all, when you draw one cubic centimeter from a flask of 100, you're hardly likely to have the luck to catch the very one in which our solitary molecule is lost. There are 99 chances against you and only one for. And it certainly won't happen 19 times in a row: we can guarantee that not one molecule of the medicinal substance will make it to the 30th dilution.7

Logarithmic chart of the height of a glass holding all the liquid at each dilution, a straight rising line: 8 centimeters at the first, 1.7 meters (a man) at the third, 170 meters (half the Eiffel Tower) at the sixth, 17 kilometers at the ninth, the width of the Moon's orbit at the sixteenth, Sirius at the twenty-eighth, beyond the Great Bear at the thirtieth

I said earlier that homeopaths never take account of the mathematical side of what they do. That isn't quite true. The Russian chemist A. M. Butlerov, who was one of homeopathy's supporters, clearly understood how astronomically vast is the amount of alcohol in which a homeopathic medicine is dissolved. In one of his articles we read:

"Although everyone knows that homeopathic medicines are often used in high dilutions, by no means everyone has a clear idea just what magnitudes are in question... With each dilution the quantity of the substance is divided by 10. In the hundredth dilution, therefore, to every cubic millimeter of the original medicinal tincture there is a quantity of alcohol that, given in cubic millimeters, is expressed by a figure with a hundred zeros after it. If we imagine this whole mass of liquid in the form of a cube, the length of the cube's edge, expressed in meters, will be a one and 30 zeros, or one nonillion... A simple calculation shows that a nonillion meters contains about 10 quintillion times the distance to the Sun, and about 7 trillion times the distance from the Earth to Sirius... And if we take the two-thousandth dilution, then, expressing the edge of the cube of liquid in distances of Sirius, we should have a figure of no fewer than 646 digits."

None of this kept our chemist from giving credence to a report that "common salt displays its principal maximum of effect precisely in the two-thousandth dilution."

The monstrous dilution didn't trouble the supporters of homeopathy or weaken their faith in its medicines. Not knowing the number of molecules in a cubic centimeter, they pointed to the fact that matter absorbs energy when it passes into a more rarefied state. "The formation of water from ice, and of steam from water, is accompanied by an absorption of heat; steam is, so to speak, a reservoir of energy" (Butlerov). But all such considerations, whatever they may be worth, simply fall away when the pill contains, quite literally, not one molecule of the medicinal substance.

With Four Ones

With four ones, and without using any signs of mathematical operations, write the largest number you can.

Solution

The answer that springs to mind, 1111, doesn't meet the case, because the number

1111

is many times larger. Hardly anyone would have the patience to work it out by multiplying by 11 ten times over, but there is a much quicker way to find its size, with the help of a table of logarithms. It is more than 285 billion, and therefore more than 250 million times as large as 1111.

With Three Twos

Probably everyone knows how to write three digits so as to make the largest possible number. You take three nines and arrange them like this:

999.

This number is so monstrously large that no comparison can help you grasp its immensity. Beside it the number of electrons in the visible universe is nothing. I've already talked about it in Arithmetic for Entertainment, and I come back to the problem only because I want to set you another on the same pattern:

With three twos, and without using any signs of operations, write the largest number you can.

Solution

With that three-story arrangement of nines fresh in your mind, you're probably ready to arrange the twos the same way:

222.

This time, though, the expected effect doesn't come off. The number written like this is rather puny, smaller even than plain 222. All we have written, after all, is 24, or 16.

The largest number you can truly make from three twos is neither 222 nor 222 (which is 484), but

222=4194304.

There is a lesson in this example. It shows that in mathematics it's dangerous to work from a pattern, and that analogy can easily lead you to false conclusions.

With Three Threes

Now you'll probably come at the next problem more warily.

With three threes, and without using any signs of operations, write the largest number you can.

Solution

Here too the three-story arrangement fails to produce the expected effect, since

333, or 327, is less than 333.

That last arrangement is the answer to the problem.

With Three Fours

With three fours, and without using any signs of operations, write the largest number you can.

Solution

If you follow the pattern of the two problems we have just looked at, and answer

444,

you'll miss the mark, because this time the three-story arrangement

444

gives a larger number. Indeed, 44=256, and 4256 is larger than 444.

With Three Identical Digits

Let's try to get to the bottom of this puzzling behavior. Why do some digits beget numerical giants when they are stacked three stories high, and others not? Consider the general case:

With three identical digits, and without using any signs of operations, make the largest number you can.

Let's call the digit a. The arrangement

222,333,444

is then written in general as

a10a+a, or a11a.

The three-story arrangement, in general form, looks like this:

aaa.

Let's find for which values of a the second arrangement makes a larger number than the first. Both expressions are powers of the same base, and the larger exponent therefore goes with the larger value. When is it true, then, that

aa>11a?

Divide both sides of the inequality by a, and we get:

aa−1>11.

It's easy to see that aa−1 is greater than 11 only when a is 4 or more, since

44−1>11,

while the powers

32 and 21

are less than 11.

The surprises that met us in the earlier problems now make sense: twos and threes called for one arrangement, fours and up for another.

With Four Twos

Let's take the next step in problems of this kind and put our question about four identical digits, namely twos:

How should four twos be arranged to make the largest number?

Solution

Eight combinations are possible:

2222,2222,2222,2222

2222,2222,2222,2222

Which of these numbers is the largest?

Let's begin with the top row, the numbers arranged in no more than two stories.

The first, 2222, is obviously smaller than the other three. To compare the next two,

2222 and 2222,

we recast the second:

2222=222×11=(222)11=48411.

This is larger than 2222, because both the base and the exponent of 48411 are larger than those of 2222.

Now let's compare 2222 with the fourth number in the top row, 2222. We'll replace 2222 with a larger number, 3222, and show that even this falls short of 2222.

Indeed,

3222=(25)22=2110,

a smaller power than 2222.

The largest number in the top row, then, is 2222.

It remains for us to compare five numbers, the one we have just found and the four in the second row:

2222,2222,2222,2222.

The last of them, which is only 216, drops out of the contest at once. Next, the first number in the row, which equals 224 and is smaller than 324, or 220, is smaller than either of the two that follow it. That leaves three numbers to compare, each of them a power of 2. The largest, obviously, is the power of 2 that has the largest exponent. But of the three exponents

222,484and220+2(=210⋅2⋅22≈106⋅4)

the last is the largest.

The largest number that can be made with four twos is therefore

2222.

Without troubling the table of logarithms, we can form a rough idea of how big this number is by using the approximate equation

210≈1000.

It gives us:

222=220⋅22≈4⋅106,

2222≈24000000≈101200000.

Clearly this number has more than a million digits.

The Universal Library: A Story by Kurd Lasswitz

To round off our conversations about the fifth operation of mathematics, let's look at a set of questions bound up closely with a problem posed in a witty story by Kurd Lasswitz, the German scholar and writer of fiction. Operations with powers find a most instructive use in it.8


"Max, will you finally sit down?" said the professor. "There's nothing among my papers for that magazine of yours, there really isn't."

"In that case," answered Max Burkel, "you'll just have to write me something."

"I make no promises. An appalling amount that nobody needs gets written already, and printed too, worse luck..."

"What surprises me," the lady of the house put in, "is that you still have anything new to print. I'd have thought that by now you must have tried pretty well everything that can be put together out of that handful of type of yours."

"One might think so. But the human spirit is inexhaustible..."

"In repeating itself."

"Thank heaven, yes!" laughed Burkel. "But in new things, too."

"And in spite of that," remarked the professor, "you can set down in type everything that will ever be given to mankind by way of history lived, science discovered, poetry felt and wisdom taught. As far, at least, as it can be put into language. Our books, after all, do hand on the knowledge of mankind and keep the treasure that the labor of thought has piled up. But the number of possible combinations of a given set of letters is limited. All the literature that is possible at all must therefore fit into a finite number of volumes."

"There you go again, old friend, talking more like a mathematician than a philosopher. How can the inexhaustible be finite?"

"Allow me. I'll work out for you this minute how many volumes the Universal Library will have... Hand me a sheet of paper from the desk there, and the pencil," said the professor to his wife.

"And you might as well bring the table of logarithms," Burkel remarked dryly.

"We won't need it," said the professor, and he began. "Tell me, then: suppose we print economically, forgo the beauty of a variety of typefaces, and count on a reader who doesn't insist on comfort and cares only about the sense..."

"There's no such reader."

"Well, let's assume there is. How many characters would you need for the whole of literature, high and low?"

"If we stick to capital and small letters, the usual punctuation marks, the digits and, let's not forget it, the space..."

The professor's niece looked up with a question in her eyes.

"That's the bit of type that goes in the gaps," Burkel explained. "The compositor uses it to keep the words apart and to fill up the places that stay empty. It doesn't come to so very much. But scientific books! The mass of symbols you mathematicians have!"

"We get around that with indices, the little numbers that we set against the letters of the alphabet: a0, a1, a2 and so on. For that all we need is a second and a third row of the digits from 0 to 9. By agreement we could use them to represent any sounds you like of foreign languages, too."

"If you say so. In that case, I suppose, we'd need no more than about a hundred different characters to express everything thinkable in print."

"There, you see? And how thick shall we make a volume?"

"I'd say a man can treat a subject pretty exhaustively if he fills a volume of five hundred pages with it. Let's put 40 lines on a page with 50 characters in each (counting the spaces and punctuation, naturally). We'd have 40×50×500 characters to the volume, and that makes... well, you'd better work that one out."

"A million," said the professor. "If we take our 100 characters, then, repeat them as often as we please, and put them together in any order until they fill a volume of a million, what we get will be a piece of writing of some kind. And if we imagine all the possible arrangements that can be made in this purely mechanical way, we'll have precisely all the works that were ever written in the past or ever can be in the future."

Burkel clapped his friend hard on the shoulder.

"Done! I'm taking out a subscription to your Universal Library. Then I'll have all the future volumes of my magazine cut and dried and ready for the press. No more worrying about contributions. For the publisher it's magnificent: the author eliminated from the business altogether! The writer replaced by the combining machine, a triumph of technology!"

"What?" cried the lady of the house. "Everything is in this library? All of Goethe? The collected works of every philosopher who ever lived?"

"And with every variant reading, including the ones that haven't occurred to anybody yet. You'll find all the lost writings of Plato and Tacitus there, with translations to go with them. You'll find all the works that Max and I have still to write, all the Reichstag speeches that have been forgotten and all the ones that have yet to be delivered, the treaty of universal peace and the history of the wars that will follow it... And whatever won't fit into one volume can be continued in another."

"Thank you very much, but I'll leave the looking to you."

"Yes, the looking has a catch to it. Even when you've found a volume you're no further along, because besides the books with the right titles the library has books with every possible wrong one."

"The devil! It would, too."

"There are one or two other difficulties. Let's pick up the first volume of our library. The first page is blank. The second is blank, the third is blank, and so on through all 500 pages. This, you see, is the volume in which the space is repeated a million times..."

"Then at least it can't have any nonsense in it," observed the lady of the house.

"There's a comfort! Now the second volume: blank again, all blank, until on the last page, at the very bottom, in the millionth place, there stands a bashful little a. In the third volume it's the same story, except that the a has moved up one place, and the last place has gone back to being a space. And in this way the a edges forward, one place at a time, through a million volumes, until in the first volume of the second million it arrives safely in first place. After it there is nothing more in this absorbing volume. And that is how it goes through the first hundred million of our volumes, until all the hundred characters have made their lonely pilgrimage from the back to the front. Then the same thing happens all over again with aa, and with any other two characters in every possible position. One volume offers us nothing but periods, another nothing but question marks."

"But you could soon spot those empty volumes," said Burkel, "and throw them out."

"Perhaps. The worst comes when you've found a volume that appears to make sense. You want to look something up in Faust, say, and you actually hit on a volume with the right beginning. You've read a little way, and then it goes on, 'Higgledy-piggledy, nobody's home!' or simply 'aaaaa...' Or a table of logarithms starts up, and you can't even be sure that it's right. Our library, remember, holds everything that is true and everything that is false as well. You mustn't let the titles take you in. A volume might start out as The History of the Thirty Years' War and continue: 'When Prince Blücher had married the Queen of Dahomey at Thermopylae...'"9

"Oh, that's just the thing for me!" cried the niece in delight. "I could write those volumes!"

"Well, your works are in our library too: everything you have ever said and everything you're ever going to say."

"Oh dear! Then please don't bring the library out!"

"Don't worry. They're signed with your name, yes, and also with Goethe's, and with every other name in the world that is possible at all. And our friend the editor will find articles there over his own responsible signature that break every press law anyone can think of, and his whole life won't be long enough to serve out the sentences. There's a book of his in which every statement is followed by a declaration that it's false, and another in which those very same statements are followed by a solemn oath that they're true."

"All right, that'll do," cried Burkel, laughing. "I knew from the start that you were pulling my leg. No, I'm not subscribing to a library where it's impossible to sort the sense from the nonsense and the true from the false. Millions of volumes all claiming to be the true history of Germany in the twentieth century, and every one of them contradicting the others! Thank you, no."

"But did I ever say you'd find it easy to pick out what you could use? All I claimed was that we can state exactly how many volumes there are in our Universal Library, which, besides every kind of nonsense, must also hold all the literature with any sense in it that can possibly exist."

"Then work out how many volumes it comes to, and be done with it," said the lady of the house. "That blank sheet of paper won't give you any peace until you do."

"It's so simple I can do it in my head. We just consider how we go about making our library. First we put down each of our hundred characters once. Then to each of these we add each of the hundred characters again, and that gives us a hundred times a hundred groups of two characters. When we add every character a third time we get 100×100×100 groups of three, and so on. And since we have a million places to fill in a volume, the number of volumes is what you get by taking 100 as a factor a million times. But 100=10×10, and it comes to the same thing if you write down ten as a factor two million times. That's simply a one with two million zeros. Here it is, ten to the two-millionth power:"

102000000.

The professor held up the sheet of paper.

"Yes, you mathematicians do know how to make things easy for yourselves," said his wife. "But just write it out in full."

"I'll do no such thing. I'd be at it day and night for two weeks at least, without a break. In print the number would be about four kilometers long."

"Phew!" gasped the niece. "And how do you say it?"

"We have no name for numbers like that. There's no way at all to make it even remotely vivid to ourselves, the quantity is so colossal, perfectly finite though it is. Whatever else you care to name in the way of gigantic magnitudes, it vanishes beside this monster of a number."

"What if we gave it in quintillions?" asked Burkel.

"A quintillion is a handsome enough number: a one with 18 zeros. But if you divide the number of our volumes by it, you strike out just 18 of the two million zeros. You're left with a one and 1,999,982 zeros, which is every bit as impossible to picture as before. But wait..." And the professor jotted some figures on the sheet of paper.

"I knew it," said his wife. "We're going to have sums after all."

"They're already done. Now I can show you what our number means. Suppose that each volume is two centimeters thick and that we've lined them all up in a single row. How long do you think the row would be?"

He looked around in triumph at his silent audience. Suddenly the niece spoke up.

"I know how long it would be! May I say?"

"Fire away."

"Twice as many centimeters as there are volumes."

"Bravo, bravo!" they all cried. "Neat and exact."

"Yes," said the professor, "but let's try to get a closer look at it. You know that light travels 300,000 kilometers in a second, and in a year, therefore, about ten trillion kilometers, which is a quintillion centimeters. If the librarian, then, went whizzing along our row of books at the speed of light, he would still need two years to get past a single quintillion of volumes. And to get past the whole library he'd need two years for every quintillion in it: a two with 1,999,982 zeros. You see, the years it takes to inspect the library are just as hard to imagine as the volumes themselves. And that, I think, shows most clearly of all how futile it is to try to form a picture of this number, even though, I repeat, it is finite."

The professor was about to put the sheet aside when Burkel said:

"If the ladies will bear with us a moment, I should like to ask just one more question. I have a suspicion that you've calculated a library for which there's no room in the whole world."

"We'll soon see," said the professor, and took up his pencil again. When he had done his sums he announced:

"Suppose we packed our library together with 1,000 volumes to every cubic meter. The whole of space, out to the most distant nebulas, would have to be filled so many times over that the number of times would be only sixty-odd zeros shorter than the number of our volumes. In a word, I was right: whatever we try, we get no nearer to this giant of a number."


Before we set about discussing the story, let me first explain two things in it.

1. How do we count the volumes of the Universal Library?

Putting a single character in each book, we fill the first place in 100 volumes, since there are a hundred (different) characters in all.

Next to each character now in place we can again put any one of the hundred, which makes the number of two-character combinations

100×100=1002.

In each of these 1002 volumes we fill the third place with one of the hundred characters, and the number of three-character combinations comes to

1002×100=1003.

Filling the fourth place gives us 1004 combinations of four characters, and so on. Clearly the number of possible combinations of 1,000,000 characters is

1001000000=(102)1000000=102000000.

2. Is it true that the books of the Universal Library could fill the whole space of the visible universe an enormous number of times over?

Yes, there is no exaggeration here at all. It was true of the size people believed the universe to have when the story was written, and it remains true even of the size we believe it to have today. According to the latest research, the most distant object we can make out through the most powerful telescope lies 140 million "light-years" away, as they are called.10 A "light-year," the path that a ray of light travels in the course of a year, equals in round numbers 10 trillion, or 1013, kilometers. We can take the distance to the farthest visible object as the radius of the visible universe. The radius, then, equals

140⋅106×1013 km=14⋅1020 km=14⋅1023 m.

The volume of a sphere, as geometry teaches, is

43×3.14×(radius)3.

Consequently the volume of the visible universe is

43×3.14×(14⋅1023)3=43×3.14×2744×1069≈11500×1069≈1073 cubic meters.

Taking it that 1,000 volumes go into 1 cubic meter, we find that the universe has room for "only"

1073×103=1076 volumes.

What is that compared with 102000000? A negligibly small quantity...

Thinking Machines

Let's turn now to the idea on which the story rests. To us it seems no more than an amusing game of the mind. Yet the idea has a long history, which goes back to the Middle Ages, and there was a time when people took it up in complete seriousness.

The first to put forward something of the kind was the Spanish philosopher Ramon Llull, in the thirteenth century. He had devised, so it was said, a way of deriving truths of every sort automatically from general concepts. An example will show his peculiar line of reasoning. Take the concept "gold" and a series of concepts that stand for colors: blue, green, yellow, red, white, black and so on. Now combine "gold" with each of the colors in turn. You get a series of propositions:

	gold is blue
	gold is red
	gold is yellow
	gold is white
	and so on

If the list of colors was complete, this catalog, drawn up by purely mechanical means, must contain, among all the rest, the true statement about the color of gold. If we didn't know the color of gold, we could learn it without examining the metal at all, provided only that we knew how to fish the one correct statement out of a list of wrong ones. Llull was deeply convinced that if you combined the concept "gold" with other concepts too, besides color, you could compare the various lists against one another and infallibly detect the true statements in them. This imaginary method of discovering truth, by an automatic analysis of concepts, he called his "Great Art."

The medieval scholar even invented a mechanical device to make such mental operations easier. It consisted of several movable concentric circles, divided by cross lines into compartments, in which general concepts were marked. Since the circles shared a center, the divisions of each took up a definite position against the divisions of the others, and turning the circles produced a multitude of new combinations. Taken together, they embraced the whole domain of medieval knowledge.

The figure shows one of the models of Llull's whirligig. You can see three circles, one inside another, which turn about a common center T. Around the rim of the outer circle the 9 letters B, E, H, C, F, ... stand for certain general concepts. The 9 compartments of the middle ring held a second series of concepts, and on the third circle, the inner one, a third series was set out around the points of the nine-pointed star. By turning the circles, clearly, you can make every possible combination of these three groups of concepts, and it isn't hard to count them all:11

9×9×9=93=729.

Nowadays it's hard to believe that such a toy could stir the minds of that gloomy age so deeply. But let's not forget that Llull lived in a time of superstitions, religious and of every other kind. The rosy hopes that the inventor placed in his whirligig found an echo in the hearts of his contemporaries, and the "learned world" of the day shared them warmly. Many people came to the joyful conviction that Llull's "Great Art" opened a straight road to the quick solution of all the problems of science, all the riddles of existence, all the secrets of earth and heaven. They set about testing the "Art" with uncommon zeal. Philosophers, astrologers and alchemists went to the whirligig for answers to the questions that occupied them. With one voice they held Llull to be the greatest scholar of the age, and they believed blindly in his teaching.

A wheel of three concentric circles turning about a common center marked T. The outer ring is divided into nine compartments lettered B, E, H, C, F, J, D, G, K; the nine compartments of the middle ring are empty; in the inner circle three overlapping triangles make a nine-pointed star, its points under the letters.

The craze for this roulette of thought lasted a whole century before the more advanced minds grasped a simple idea: the barren scheme could never repay the hopes that were placed in it. Only one little thing was wanting. Nobody could find a way to pick the pearls of truth out of the ocean of nonsense with which the Spanish philosopher's whirligig was flooding people's heads. The mental epidemic died down, Llull's little machine lost its devotees, and people gradually turned to the only sure way of coming to know the world, the patient investigation of nature itself.

In one form or another, however, Llull's idea went on finding individual supporters, and there were great thinkers among them. Giordano Bruno, in the sixteenth century, tried for a long time to extract a sound kernel from the medieval philosopher's teaching. He thought a great deal about Llull's whirligig and gave public lectures on it, but came gradually to think that any benefit in the invention was highly doubtful, and amounted to no more than a certain help to the memory. In the seventeenth century the scholar Athanasius Kircher busied himself with the "whirligig of concepts" to just as little purpose.

Few people know (the biographers hardly touch on it) that so powerful a mind as Leibniz, too, pondered long over Llull's whirligig. But for this philosopher and great mathematician, the fascination of mechanizing thought left its mark. What came of it was the calculating machine he invented in 1671, an improvement on the one that Pascal had devised nearly thirty years before.

Between Llull's whirligig and the calculating machine there is, in truth, no direct logical connection. The ideas at the bottom of them are more nearly opposites. Llull's machine gives you every possible combination, and all of them but one are wrong. In the calculating machine, on the contrary, only the single right combination appears, the one that Llull's is powerless to find. A certain outward likeness between the two devices was enough to jog Leibniz's mind onto the right path and help him make a useful invention out of a barren idea. Machines that solve equations automatically (we'll talk about them later on) also bear only an outward resemblance to Llull's whirligig.12

In Swift's day, two hundred years ago, the craze for thinking machines was evidently still very strong, because the author of Gulliver's Travels made fun of it in his immortal satire. In the part that tells of the voyage to Laputa, we find the following passage, devoted to a thinking machine.

"The first professor I saw, was in a very large room, with forty pupils about him. After salutation, observing me to look earnestly upon a frame, which took up the greatest part of both the length and breadth of the room, he said, 'Perhaps I might wonder to see him employed in a project for improving speculative knowledge, by practical and mechanical operations. But the world would soon be sensible of its usefulness; and he flattered himself, that a more noble, exalted thought never sprang in any other man's head. Every one knew how laborious the usual method is of attaining to arts and sciences; whereas, by his contrivance, the most ignorant person, at a reasonable charge, and with a little bodily labour, might write books in philosophy, poetry, politics, laws, mathematics, and theology, without the least assistance from genius or study.'

"He then led me to the frame, about the sides, whereof all his pupils stood in ranks. It was twenty feet square, placed in the middle of the room. The superficies was composed of several bits of wood, about the bigness of a die, but some larger than others. They were all linked together by slender wires. These bits of wood were covered, on every square, with paper pasted on them; and on these papers were written all the words of their language, in their several moods, tenses, and declensions; but without any order. The professor then desired me 'to observe; for he was going to set his engine at work.' The pupils, at his command, took each of them hold of an iron handle, whereof there were forty fixed round the edges of the frame; and giving them a sudden turn, the whole disposition of the words was entirely changed. He then commanded six-and-thirty of the lads, to read the several lines softly, as they appeared upon the frame; and where they found three or four words together that might make part of a sentence, they dictated to the four remaining boys, who were scribes. This work was repeated three or four times, and at every turn, the engine was so contrived, that the words shifted into new places, as the square bits of wood moved upside down.

"Six hours a day the young students were employed in this labour; and the professor showed me several volumes in large folio, already collected, of broken sentences, which he intended to piece together, and out of those rich materials, to give the world a complete body of all arts and sciences; which, however, might be still improved, and much expedited, if the public would raise a fund for making and employing five hundred such frames in Lagado, and oblige the managers to contribute in common their several collections."

The Literary Automaton

In Lasswitz the same idea appears in a new form. In "The Universal Library" he works with neither whole concepts nor words but with mere letters of type. He strips the mechanical nature of the method barer still, and so brings its practical failure into sharper relief.

Still, Lasswitz's critique doesn't settle the matter at the root. A reader may go on wondering whether mechanical authorship couldn't be made to work after all. Lasswitz frames his method on far too grand a scale, a million letters, and it's easy to come away convinced that the scale alone is to blame for the failure. One could perfectly well make do, it would seem, with a single thousand letters, for example. It's easy to imagine a printing mechanism, something like the ordinary numbering machine, that would print one after another all the combinations possible in a text 1,000 letters long. When the work is finished, and all the possible combinations of letters have been used up to the last, we throw out the meaningless ones, and there in our hands are all the literary passages that a thousand letters can conceivably write. Page by page and half page by half page, we shall have everything that ever was written and ever will be, in prose and verse, in Russian and in all the languages that exist or are still to come (for any foreign word, after all, can be spelled in Russian letters). All the novels and stories, all the scientific works and reports, all the articles and news in all the magazines and newspapers, all the poems, all the conversations ever heard by everyone who has lived before us, and everything that the people of generations to come have still to think and say...

The mechanism itself could be built in some such way as this. Imagine a gear wheel with 100 different letters of type around its rim. Let each letter be 2 millimeters high and 2 wide. With a circumference of 2 × 100, or 200, millimeters, the wheel measures less than 7 centimeters across. It can be a little thicker than the letters are wide; let's say 4 mm. Imagine 1,000 wheels like this, mounted side by side on a common axle. We get a shaft 4 meters long and 7 cm thick. The wheels are linked together as they are in numbering machines and calculating machines: at each full turn of the first wheel the second moves on by one letter, at each full turn of the second the third moves on by one letter, and so on down to the last, the 1,000th. The shaft is coated with printer's ink and prints on a long strip of paper, 4 meters wide. And there you have the whole machine.

It works like this. The wheels start up one after another. First the first wheel begins to turn and prints its letters on the paper; these are the first 100 "literary works," of the meaningless sort. When it has gone around once, it brings in the second wheel, which moves on by one letter and stays there while the first keeps turning. We get another 100 impressions, now of two letters each. After another such turn the second wheel moves on by one more letter, the two again give 100 new impressions, and so it goes. When the second wheel in its turn has gone all the way around, the third joins in, and we get all possible impressions of three letters. And so on, until it comes to the last wheel, the 1,000th. When the 1,000th wheel has made a full turn, every possible combination of 1,000 letters has been used up, and all that remains is the job of sorting the impressions.

I have dwelt on the details of the construction on purpose, to make the project more concrete and more convincing. And at first glance it really does look entirely feasible. A simple calculation, however, shows that it's a pipe dream. Let the wheels spin at 30,000 revolutions per minute, the highest speed that present-day engineering can attain. The first few wheels will go to work within seconds and minutes of one another. But the wheels that follow, as we can easily calculate, will be later and later in starting. At 30,000 revolutions per minute,13

the 2nd wheel will start work after

6030000=1500 minute,

the 3rd wheel will start work after

60×6030000=325 minute,

the 4th wheel will start work after

60×60×6030000=7.2 minutes,

the 5th wheel will start work after

60430000 minutes=7.2 hours,

the 6th wheel will start work after

7.2 hours×60=18 days,

the 7th wheel will start work after

18 days×60≈3 years,

the 8th wheel will start work after

3 years×60=180 years,

and so on, until the 12th wheel starts work after

2332800000 years.

Need we go on? If the 12th wheel won't begin to turn for more than two billion years, when will it be the turn of the 1,000th? That isn't hard to work out. The number of minutes will be of the order of

60100030000,

a number with 1,774 digits!

Clearly all the stars will have had time to go out a million times over before the last wheel starts up and the machine's labors are entirely done. And that's to say nothing of the fact that the universe doesn't hold enough material for all the impressions.

In the part of the universe open to our investigation there are, after all, no more than 1077 electrons. Even if every impression consisted of a single electron, then, we could print only a negligible fraction of everything the "literary machine" turns out. Pulp the old impressions and make them into paper again? Even if each recycling lost no more than a trillionth of the matter, we should need enough electrons (again at one to an impression) for a number of impressions 1,767 digits long, and the number we have is only 78 digits long...

There is no need, someone may object, to wait until the "literary" machine has finished: masterpieces of literature and remarkable discoveries may happen to turn up among the first million impressions. With so unimaginably vast a number of possible combinations, the probability of that is smaller even than the probability of hitting by chance on one particular electron among all the electrons of the universe. The electrons in the universe are immeasurably fewer than the impressions our machine can make.

But suppose that the impossible has come to pass, that a miracle has happened, and we hold in our hands the report of a scientific discovery that came out of the machine without any help from creative thought. Will we be able to make use of the discovery?

No. We won't even be able to recognize it. We'll have no criterion for telling the true discovery from the many sham ones that our machine proclaims, with just as much authority, in the course of its work. Suppose, for instance, that the machine has given us an account of the transformation of mercury into gold. Alongside the correct description of this discovery there are just as likely to be a great many incorrect ones, and besides them descriptions of such impossible processes as the transformation of copper into gold, manganese into gold, calcium into gold and so on. The impression which states that mercury turns into gold at a high temperature looks no different from the impression which prescribes a low one, and there may be variants that name every temperature from minus infinity to plus infinity. Out of the machine, with equal success, may come instructions to use high pressure (thousands of variants), electricity (thousands of variants again), various acids (thousands upon thousands more), and the like.

How, in such circumstances, do we tell the genuine discovery from the sham? Every instruction, except of course the plainly absurd ones, would have to be carefully tested by experiment, and the laboratory labor would be so enormous that it would wipe out every saving the "literary" machine had promised.

In just the same way, we'd have to undertake extensive historical research to check every historical fact asserted by one product or another of this mechanical manufacture of discoveries. In a word, since truth could never be told from nonsense, a mechanical method like this for moving science forward would be perfectly useless, even if we did manage to wait for an impression that made sense.

There is much to learn from a calculation by the French mathematician Borel, in his book Chance. The probability of tossing a coin and getting heads 1,000 times in a row is one in 21000, a number of about 300 digits. This is roughly the same as the chance of getting the first two lines of a given poem by drawing letters out of a hat at random, in the following way.14 There are 25 letters in the hat; you draw one, write it down and put it back; you shake the hat, draw a second, and so on. Strictly speaking, it's quite possible to get the first two lines of a given poem like this. "It strikes us, however," as Borel rightly observes, "as so improbable that if an experiment of this kind succeeded before our eyes, we should take it for trickery."

Chapter 2: The Language of Algebra

The Art of Setting Up Equations

The language of algebra is equations. "To the Solution of Questions which only regard Numbers, or the abstracted Relations of Quantities," wrote the great Newton in his algebra textbook, the Universal Arithmetick, "there is scarce any Thing else required than that the Problem be translated out of the English, or any other Tongue it is propos'd in, into the Algebraical Language." He showed by examples just how the translating is done. Here is one of them:

In your native language:In the language of algebra:
A merchant had a certain sum of money.x
In the first year he spent 100 pounds.x−100
To what was left he added a third of it.(x−100)+x−1003=4x−4003
The next year he again spent 100 pounds4x−4003−100=4x−7003
and increased what was left by a third.4x−7003+4x−7009=16x−28009
In the third year he spent 100 pounds once more.16x−28009−100=16x−37009
When he had added to the remainder a third of it,16x−37009+16x−370027=64x−1480027
his capital was twice what it had been at first.64x−1480027=2x

To find how much the merchant started with, all we have to do is solve the last equation.

Solving equations is often no trouble. Setting them up from the facts of a problem is the harder part. As you've just seen, the art of setting up equations really does come down to knowing how to translate your native language into the language of algebra. But algebra is a language of very few words, and by no means every turn of everyday speech goes into it easily. Some translations are simple and some are hard, as you'll find from the examples that follow, all of which lead to equations of the first degree.

The Life of Diophantus

History has kept for us no record of the life of Diophantus, a remarkable mathematician of antiquity. All that we know of him comes from the inscription on his tomb, which is worded as a mathematical problem. Here it is in two translations at once, one into English and one into algebra.

In EnglishIn the language of algebra
Here, traveler, Diophantus' dust is laid,
And numbers (wonder!) tell how long he stayed.x
A sixth of all his days was childhood's grace;x6
A twelfth went by, and down grew on his face;x12
A seventh saw him wed without a child;x7
Five years went by, and then good fortune smiled:
A fine first son was born to be his joy.5
But fate allowed on earth to that dear boy
Just half his father's span of life and light.x2
The old man, plunged in sorrow deep as night,
Lived four years more, bereft of his dear son,
And then his portion here on earth was done.x=x6+x12+x7+5+x2+4
Now say: when Diophantus met his end,
How many years of life had been his to spend?

Solution

When we solve the equation we find that x=84, and with it we learn these facts of Diophantus's biography: he married at 21, became a father at 38, lost his son at 80 and died at 84.

The Horse and the Mule

Here is another old problem, not a difficult one, that translates easily from your native language into algebra's.

"A horse and a mule were walking side by side with heavy loads on their backs. The horse complained that its burden was too heavy to bear. 'What are you grumbling about?' said the mule. 'Why, if I took one sack from you, my load would be twice as heavy as yours. But if you took one sack off my back, your load would only be the same as mine.'

"Tell us, then, wise mathematicians: how many sacks was the horse carrying, and how many the mule?"

Solution

Let the horse carry x sacks and the mule y.

If I took one sack from you,x−1
my loady+1
would be twice as heavy as yours.y+1=2(x−1)
But if you took one sack off my back,y−1
your loadx+1
would be the same as mine.y−1=x+1

We have brought the problem down to a system of equations in two unknowns:

{y+1=2(x−1)y−1=x+1or{2x−y=3y−x=2

Solving it, we find that x=5 and y=7. The horse was carrying 5 sacks and the mule 7.

Four Brothers

Four brothers have 45 roubles among them. If the first brother's money is increased by 2 roubles, the second's is reduced by 2 roubles, the third's is doubled and the fourth's is halved, they will all have the same amount. How much did each of them have?

Solution

Let's translate the problem into the language of algebra.

Four brothers have 45 roubles among them.x+y+z+t=45
If the first's money is increased by 2 roubles,x+2
the second's is reduced by 2 roubles,y−2
the third's is doubled2z
and the fourth's is halved,t2
they will all have the same amount.x+2=y−2=2z=t2

We take the second equation apart into three:

x+2=y−2,x+2=2z,x+2=t2,

and these give us

y=x+4,z=x+22,t=2x+4.

Putting these values into the first equation, we get

x+x+4+x+22+2x+4=45,

from which x=8. The others follow: y=12, z=5, t=20. The brothers, then, had 8, 12, 5 and 20 roubles.

The Birds by the River

This problem comes from an Arab mathematician of the eleventh century.

On the two banks of a river stand two palm trees, one facing the other. One is 30 cubits high and the other 20, and the distance between their feet is 50 cubits. At the top of each palm sits a bird. All at once both birds catch sight of a fish that has come up to the surface of the water between the palms. They dart at it at the same moment, and they reach it together.

How far from the foot of the taller palm did the fish appear?

Solution

From the diagram, with the help of the Pythagorean theorem, we establish that

AB¯2=302+x2;AC¯2=202+(50−x)2.

Two upright lines on a level base, the left one 30 high with its top marked B, the right one 20 high with its top marked C. Dashed lines from B and C run down to a point A on the base, which lies x from the left upright and 50 − x from the right

But AB=AC, since the two birds flew these distances in the same time. Therefore

302+x2=202+(50−x)2.

Opening the parentheses and simplifying, we get an equation of the first degree:

100x=2000,

and from it

x=20.

The fish appeared 20 cubits from the palm that was 30 cubits high.

Grandfather and Grandson

"You know, Grandfather, I've just worked out that in 1942, the year of the 25th anniversary of the October Revolution, I'll be exactly as old as the last two digits of the year I was born."

"Me too," replied his grandfather.

How old will each of them be?

Solution

At a glance the problem looks impossible: it seems to say that grandfather and grandson are the same age. Clearly, though, they were born in different centuries, the grandson in the twentieth and the grandfather in the nineteenth.

We set up the equation for the grandson's age like this. Suppose that in 1942 he will be x years old. By the terms of the problem, the last two digits of the year of his birth also make the number x. Since he was born in the twentieth century, that year was 1900+x. Add his age to it and we come to the year 1942, which is therefore 1900+x+x. We have the equation

1900+2x=1942,

from which x=21, and the grandson will be 21.

The grandfather's age comes from the equation

1800+2x=1942,

from which x=71.

In 1942, then, the grandson will be 21 and the grandfather 71.

Selling Watches

Two watches were bought for 220 roubles and then sold, one of them at a profit of 10% and the other at a loss of 10%. The whole business brought in a profit of 5%. How much had been paid for each watch in the first place?

Solution

Let's call the cost of the first watch x; the cost of the second is then 220−x.

The first watch was sold at a profit of 0.1 of its cost, that is, for x+0.1x=1.1x. The second was sold at a loss of 0.1 of its cost, that is, for 0.9(220−x).

The two together sold for 5% more than they had cost, that is, for 220+0.05⋅220=220×1.05. We have the equation

1.1x+0.9(220−x)=220⋅1.05,

and from it x=165 and 220−x=55.

The first watch had cost 165 roubles and the second 55.

Here is another. Two watches were sold at the same price. The first brought a loss of 20% and the second a profit of 20%, and on the whole sale 5 roubles were lost. What had the watches cost the seller?

Solution

Here we have two unknowns: the cost of the first watch, which we'll call x, and the cost of the second, y. The first watch was sold for x−0.2x=0.8x, and the second for y+0.2y=1.2y.

This gives the equation

0.8x=1.2y, or 2x=3y.

With two unknowns, one equation isn't enough to find them. Let's set up a second, and put into it the part of the problem that the first left out, namely that the sale lost 5 roubles:

(x+y)−(0.8x+1.2y)=5.

We rework it:

x+y−0.8x−1.2y=5,0.2x−0.2y=5,2x−2y=50.

We now have the system of equations

{2x=3y2x−2y=50.

In the second equation we put 3y in place of the 2x that equals it, and get

y=50.

It's easy now to find that x=75.

The watches had cost 75 roubles and 50 roubles.

A Walk

An English writer has cast the next problem in the form of a story:

"Come over to my place tomorrow afternoon for a cup of tea," said an old doctor to an acquaintance.

"Thank you. I'll set out at three. Perhaps you'd care for a stroll too? If so, leave at the same time, and we'll meet halfway."

"You're forgetting that I'm an old man. I walk only 3 kilometers an hour, while a young fellow like you, at his very slowest pace, does 4. It would be no sin to give me a bit of a start."

"Fair enough. Since I do a kilometer an hour more than you, I'll make us even by giving you that kilometer: I'll set out a quarter of an hour early. Will that do?"

"That's most kind of you," the old man hastened to agree.

The young man was as good as his word. He left home at a quarter to three and walked at 4 kilometers an hour. The doctor set out at three o'clock exactly and made 3 kilometers an hour. When they met, the old man turned around and went home along with his young friend.

Only over tea did it dawn on the young man that there was something not quite right about that quarter of an hour's grace. He told the doctor that because of it he'd have to walk, all told, twice as far as the doctor.

"Not twice as far. Four times," said the doctor, and he was right.

How far is it from the doctor's house to his young acquaintance's?

Solution

Let's call the distance between the houses x.

The young man will walk 2x in all, there and back, and the doctor a quarter as much, that is, x2. Before they met, the doctor had walked half of his own total, x4, and the young man the rest of the way, 3x4. The doctor covered his part in x12 of an hour and the young man his in 3x16 of an hour, and we know that the young man was on the road 14 of an hour longer than the doctor.

We have the equation

3x16−x12=14,

from which x=2.4 kilometers.

From the young man's house to the doctor's it is 2.4 kilometers.

Leo Tolstoy's Problem

The well-known physicist A. V. Tsinger, in his memories of Leo Tolstoy, tells of the following problem, which the writer gave him in the seventieth year of his life.

"A team of mowers had two meadows to mow, one twice as large as the other. For half a day the team mowed the large meadow. Then it divided in two. The first half stayed on the large meadow and by evening had mowed it to the end. The second half mowed the small meadow, where by evening a patch was still left, and this patch one mower finished the next day in one day's work.

"How many mowers were in the team?"

Solution

The main unknown here is the number of mowers, which we'll call x. Besides this we have to bring in an auxiliary unknown, the size of the patch that one mower mows in 1 day; let's call it y. The problem doesn't ask for it, but it will make the main unknown easier to find.

Let's express the area of the larger meadow in terms of x and y. For half a day x mowers worked on it, and they mowed x⋅12⋅y=xy2. In the second half of the day only half the team was mowing it, that is, x2 mowers, and they mowed x2⋅12⋅y=xy4.

Since the whole meadow was mown by evening, its area is

xy2+xy4=3xy4.

Now let's express the area of the smaller meadow in terms of x and y. Half a day's work by x2 mowers accounted for an area of x2⋅12⋅y=xy4. We add the unmown patch, which is exactly y (the area one mower mows in 1 working day), and we have the area of the smaller meadow:

xy4+y=xy+4y4.

All that's left is to translate into the language of algebra the words "the first meadow is twice as large as the second," and the equation is ready:

3xy4÷xy+4y4=2, or 3xyxy+4y=2.

Let's cancel y from the fraction on the left. The auxiliary unknown is gone, and the equation becomes

3xx+4=2, or 3x=2x+8,

from which x=8.

There were 8 mowers in the team.

Cows in a Meadow

"In learning the sciences, problems are more useful than rules," wrote Newton in his Universal Arithmetick, and he followed up his theoretical advice with a series of examples. Among these exercises we find a problem about oxen grazing in a meadow, the ancestor of a whole peculiar breed of problems like this one:

"The grass in a meadow grows everywhere equally thick and equally fast. It is known that 70 cows would eat it all in 24 days, and 30 cows in 60 days. How many cows would eat all the grass of the meadow in 96 days?"

An English magazine once made this problem the subject of a humorous story that calls to mind Chekhov's "The Tutor." Two grown-ups, relatives of a schoolboy who has been set the problem, labor over it in vain and can't make it out:

"Something odd is going on here," says one of them. "If 70 cows eat all the grass of the meadow in 24 days, how many cows will eat it in 96 days? A quarter of 70, of course, which is 1712 cows... There's the first absurdity! And here's the second: 30 cows eat the grass in 60 days, so how many cows will eat it in 96 days? That comes out even worse: 1834 cows. What's more, if 70 cows eat the grass in 24 days, 30 cows will take 56 days over it, and certainly not 60, as the problem claims."

"But did you allow for the fact that the grass is growing all the time?" asks the other.

It's a sensible remark. The grass never stops growing, and if you leave that out of account, you won't be able to solve the problem, and even its terms will seem to contradict one another.

How, then, do we solve it?

Solution

Here too let's bring in an auxiliary unknown, y, which will stand for the daily growth of the grass as a fraction of the stock in the meadow. In one day y grows, and in 24 days 24y. If we take the whole stock as 1, the cows eat, in the course of 24 days,

1+24y.

In one day the whole herd (of 70 cows) eats

1+24y24,

and one cow eats in a day

1+24y24⋅70.

In the same way, from the fact that 30 cows would eat the grass of the same meadow in 60 days, we conclude that 1 cow eats in one day

1+60y30⋅60.

But a cow eats the same amount of grass in a day whichever herd it belongs to. Therefore

1+24y24⋅70=1+60y30⋅60,

and from this

y=1480.

Once we've found y (the rate of growth), it's easy to work out what fraction of the original stock of grass one cow eats in a day:

1+24y24⋅70=1+24⋅148024⋅70=11600.

Finally we set up the equation that will solve the problem. If the number of cows we want is x, then

1+96⋅148096x=11600,

from which x=20.

It would take 20 cows to eat all the grass in 96 days.

Newton's Problem

Now for Newton's own problem about the oxen, on which the one we've just looked at was modeled.

Newton, as it happens, didn't invent it himself. It's a product of the people's mathematical imagination, like the problem of Leo Tolstoy's that you met earlier.

"Three meadows, covered with grass of the same thickness and the same rate of growth, have areas of 313 hectares, 10 hectares and 24 hectares. The first fed 12 oxen for 4 weeks; the second, 21 oxen for 9 weeks. How many oxen can the third meadow feed for 18 weeks?"

Solution

Let's bring in an auxiliary unknown, y, to stand for the fraction of the original stock of grass that grows on 1 hectare in a week. On the first meadow the growth in a week is 313y, and in 4 weeks it is 313y×4=403y of the stock that a hectare held at first. It's just as if the original area of the meadow had increased to

313+403y hectares.

In other words, the oxen ate as much grass as covers a meadow with an area of 313+403y hectares. In one week 12 oxen ate 14 of this amount, and in a week 1 ox ate 148 of it, that is, the stock that grows on an area of

(313+40y3)÷48=10+40y144 hectares.

In the same way, from the facts about the second meadow, we find the area of meadow that feeds 1 ox for a week:

growth in 1 week on 1 hectare=y
growth in 9 weeks on 1 hectare=9y
growth in 9 weeks on 10 hectares=90y

The area of land that holds enough grass to feed 21 oxen for 9 weeks is

10+90y.

The area sufficient to feed 1 ox for 1 week is

10+90y9⋅21=10+90y189 hectares.

Both rates of feeding must be the same:

10+40y144=10+90y189.

Solving this equation, we find that y=112.

Now we can find the area of meadow whose standing stock of grass is enough to feed one ox for a week:

10+40y144=10+40⋅112144=554 of a hectare.

At last we come to the question itself. Calling the number of oxen we want x, we have

24+24⋅18⋅11218x=554,

from which x=36. The third meadow can feed 36 oxen for 18 weeks.

Seven Gamblers

Seven gamblers agreed that whoever lost would pay each of the other six as much money as that player had at the moment; in other words, the loser would double everyone else's money.

They played 7 games. Every one of them lost, each of them once.

When the play was over, they counted how much each of them had. They all had the same: 12 roubles 80 kopecks.

How much did each have before the play began?

Solution

Complicated as it looks, the problem is fairly simple to solve if you see that the total money held by all the players never changed during play: it only passed from one pocket into another. It follows that the total before the play began was the same as at the end, which is 7×12.8 roubles.

Let's follow what happened during play to the money of the man who lost first.

Before the play began he had x roubles.

After the first game, having lost, he paid his six companions as much as they all had together, that is, 7×12.8−x. After the first game, then, he was left with

x−(7×12.8−x)=2x−7×12.8.

After the second game his money doubled and consequently came to

2(2x−7×12.8).

After the third game his money doubled again and made

22(2x−7×12.8).

After the fourth game he found himself with

23(2x−7×12.8).

After the 7th game, that is, at the end of the play, he had 12.8 roubles. Consequently,

26(2x−7×12.8)=12.8.

Let's solve this equation:

64(2x−7×12.8)=12.8,2x−7×12.8=0.2,2x=89.8,x=44.9.

Before the play began, then, the first player had 44 roubles 90 kopecks.

We find the money of the man who lost second in the same way. Before the play began he had y.

After the first game he had 2y.

He lost the second game and paid out 7×12.8−2y, which left him with 2y−(7×12.8−2y)=4y−7×12.8.

After the third game he had

2(4y−7×12.8).

After the fourth,

22(4y−7×12.8).

After the seventh,

25(4y−7×12.8).

We have the equation

25(4y−7×12.8)=12.8,

from which y is 22 roubles 50 kopecks.

In the same way we find the third player's money: 11 roubles 30 kopecks.

We leave you to work out for yourself how much the other players had. You can check your answers by adding them up: all the players' money must come to the same sum before and after the play.

The Size of a Tribe

The male part of a tribe consists of a great-grandfather, 3 grandfathers, 12 grandsons and a certain number of great-grandsons. There are 10 times as many sons as fathers. How many males does the tribe have in all?

Solution

The problem turns out to be very simple if you see that a man can be both a father and a son at once. With this in mind, we realize that the number of all the fathers in the tribe is

1+3+12.

The number of all the sons (if there are x great-grandsons) is

3+12+x.

There are, we know, 10 times as many of the second as of the first. We have the equation

10(1+3+12)=3+12+x,160=x+15,

from which x=145. The total number of males in the tribe is

145+12+3+1=161.

Seeming Nonsense

Here is a problem that may strike you as completely absurd:

What does 84 equal, when 8 × 8 = 54?

Yet this strange question is far from meaningless, and the problem can be solved with the help of equations.

Try to decipher it.

Solution

You've probably guessed that the numbers in the problem aren't written in the decimal system; otherwise it would be silly to ask what 84 equals. Let the base of the unknown number system be x. The number "84" then means 8 units of the second place and 4 units of the first, that is,

"84"=8x+4.

The number "54" means 5x+4.

We have the equation

8×8=5x+4,

or, in the decimal system,

64=5x+4,

from which x=12. The numbers are written in the base-twelve system, and "84" is 8⋅12+4=100.

This means that "84" = 100, when 8 × 8 = "54".

The next problem is solved in the same way:

What does 100 equal, when 5 × 6 = 33?

The answer is 81 (the base-nine system).

The Equation Thinks for Us

If you doubt that an equation sometimes shows more foresight than we do, solve this problem:

A father is 32 years old and his son is 5. In how many years will the father be 10 times as old as the son?

Let's call the time we're after x. After x years the father will be 32+x years old and the son 5+x. Since the father must then be 10 times as old as the son, we have the equation

32+x=10(5+x).

Solving it, we get x=−2.

"In minus 2 years" means "two years ago." When we set up the equation, it didn't occur to us that the father will never in the future be 10 times as old as his son, and that the two ages could have stood in this relation only in the past. The equation was more thoughtful than we were, and it reminded us of what we had overlooked.

Curiosities and Surprises

In solving equations we sometimes run into answers that can leave an inexperienced mathematician at a loss. Let's look at a few examples.

I. Solve the system:

{3x+y=12x=5−y3.

Putting the value of x from the second equation into the first, we have

3(5−y3)+y=12,

and after some reworking:

15=12.

We haven't found the value of x or of y, but we have learned that 15 = 12... What does it mean?

It means only that no numbers exist (no finite numbers, at any rate) that satisfy these equations, and that the equations contradict each other. Indeed, if we multiply the second equation by 3 and move y to the left side, we get

3x+y=15.

One and the same quantity, 3x+y, is equal to 12 by the first equation and to 15 by the second. This could be so only if 12 were equal to 15, which is flatly impossible.

A perplexity of the same kind awaits anyone who tries to solve the next system of equations, which I borrow from Edison's tests.15

{x2y2=8xy=4

Dividing the first equation by the second, we get

xy=2,

and when we set this new equation beside the second, we see that

{xy=4xy=2,

that is, 4 = 2. No numbers exist that satisfy this system. (Systems which, like the two we've just looked at, have no common solutions are called inconsistent.)

II. Solve this problem:

The digits of a two-digit number differ by 3. If you add 27 to the number, you get one that differs from it only in the order of the digits. What is the number?

Let's set up the equation. If we call the tens digit x, the units digit is x+3. Translating the problem into the language of algebra, we get

10x+(x+3)+27=10(x+3)+x.

We simplify, and arrive at the equality

0=0.

This equality is indisputably true, but it tells us nothing about the value of x. Does that mean there are no numbers that meet the demands of the problem?

On the contrary, it means that the equation we set up is an identity, true for any value of the unknown x. And in fact it's easy to make sure that the property described in the problem belongs to every two-digit number whose second digit is 3 more than its first:

14 + 27 = 4147 + 27 = 74
25 + 27 = 5258 + 27 = 85
36 + 27 = 6369 + 27 = 96

III. Find a three-digit number with the following properties:

1) the tens digit is 7;

2) the hundreds digit is 4 less than the units digit;

3) if the digits of the number are put in reverse order, the new number is 396 more than the one we want.

Let's set up the equation, calling the units digit x:

100x+70+x−4−[100(x−4)+70+x]=396.

Simplified, this equation leads to the equality

0=0.

You already know how a result like this is to be understood. It means that every three-digit number whose first digit is 4 less than its third increases by 396 when its digits are reversed.

Up to now the problems we've looked at have been more or less artificial and bookish; their purpose was to help you get practice in setting up equations and solving them. Now that we're armed with theory, let's take up a few examples of practical problems, from industry, everyday life, warfare and sport.

At the Barber's

Can a barbershop have any need of algebra? It does happen, as it turns out. I learned this for myself one day in a barbershop, when one of the barbers came up to me with an unexpected request:

"Could you help us solve a problem we just can't cope with here?"

"You wouldn't believe how much solution we've ruined because of it!" put in another.

"What's the problem?" I asked.

"We've got two solutions of hydrogen peroxide, a 30-percent and a 3-percent. We have to mix them to make a 12-percent solution. We can't hit on the right proportion..."

They handed me a scrap of paper, and the proportion was found.

It proved to be very simple. What was it?

Solution

The problem can be solved by arithmetic too, but here the language of algebra gets us there more simply and quickly. Suppose that to make the 12-percent mixture we need x grams of the 3-percent solution and y grams of the 30-percent. The first portion then contains 0.03x grams of pure hydrogen peroxide and the second 0.3y, and in all there are

0.03x+0.3y.

The result is x+y grams of solution, in which there are 0.12(x+y) grams of pure peroxide. We have the equation

0.03x+0.3y=0.12(x+y).

Multiplying every term of the equation by 100 and opening the parentheses, we get

3x+30y=12x+12y,

and from this

18y=9x, and xy=2.

We must therefore take twice as much of the 3-percent solution as of the 30-percent.

Let's check. Take 2 liters of the 3-percent solution and 1 liter of the 30-percent. We'll then have, in pure peroxide,

0.03⋅2000+0.3⋅1000=60+300=360 cubic centimeters.

In 3 liters (3000 cubic centimeters) of the mixture there will be 360 cubic centimeters of peroxide, and its percentage is

3603000⋅100=12%,

just as required.

Here we have an example of an equation settling a question that has to do not with "numbers" but with those "abstracted Relations of Quantities" that Newton had in mind (see The Art of Setting Up Equations).

The Streetcar and the Walker

Walking along a streetcar line, I noticed that every 12 minutes a streetcar overtook me, and every 4 minutes I met one coming the other way. Both I and the streetcars were moving at a uniform speed.

How many minutes apart do the streetcars leave their terminals?

Solution

If the cars leave their terminals every x minutes, and a car's speed is y meters a minute, the distance between one car and the next is xy meters. Let's call the walker's speed, per minute, z. At the moment when a car reaches the walker, the nearest car ahead and the nearest behind are each at a distance xy from him. We have a system of two equations:

{4y+4z=xy12y−12z=xy,

from which we conclude that

4y+4z=12y−12z,

and consequently

y=2z.

Putting this value of y into the first equation, we get

8z+4z=2zx.

Since z isn't zero, we can divide every term of the equation by z:

8+4=2x,

and from this

x=6.

The cars leave every 6 minutes.

Two Tins of Coffee

Two tins filled with coffee have the same shape and are made of the same tinplate. The first weighs 2 kilograms and is 12 centimeters high; the second weighs 1 kilogram and is 9.5 centimeters high. What is the net weight of the coffee in each tin?

Solution

Let's call the contents of the larger tin x and of the smaller y. The weights of the tins themselves we'll call z and t respectively. We have the equations

x+z=2,y+t=1.

Since the contents of full tins weigh in proportion to the volumes of the tins, that is, to the cubes of their heights, we have

xy=1239.53=2.02, or x=2.02y.

The weights of the empty tins, on the other hand, are in proportion to their whole surfaces, that is, to the squares of their heights.16 Therefore,

zt=1229.52=1.69, or z=1.69t.

Putting these values of x and z into the first equation, we get the system

{2.02y+1.69t=2y+t=1.

Solving it, we learn that

y=3133=0.94;t=0.06,

and consequently

x=1.9;z=0.1.

The coffee without its packing weighs 1.9 kilograms in the larger tin and 0.94 in the smaller.

On the Way to the Factory

Two workers, who live together and work at the same factory, left home for work, one of them 5 minutes before the other. The one who left first usually walks from home to the factory in 30 minutes. His younger housemate covers the same distance in 20. How long will it take him to catch up with his older comrade?

Solution

The worker who takes 30 minutes over the whole way covers 1/30 of it every minute, and his comrade 1/20. If they meet x minutes after the second sets out, then in his 5+x minutes the first will have covered

5+x30 of the whole way,

and the second

x20.

Since both cover the same distance from home to the place where they meet,

5+x30=x20,

from which x=10. The younger worker will catch up with the older 10 minutes after leaving home.

A Dance Party

There were 42 dancers at a party. Maria danced with seven of the men, Olga with eight, Vera with nine, and so on to Nina, who danced with all the men. How many men were at the party?

Solution

The problem is very easy if you make a happy choice of the unknown. Let's look for the number of women, and not of men, and call it x:

the 1st, Maria, danced with6+1men
the 2nd, Olga, with6+2men
the 3rd, Vera, with6+3men
the xth, Nina, with6+xmen

We have the equation

x+(6+x)=42,

from which

x=18,

and the number of men is therefore

42−18=24.

A Naval Reconnaissance

Problem I. A scout (a reconnaissance ship) with a speed of 28 knots, that is, nautical miles an hour, has been ordered to reconnoiter the sea along the squadron's course, in the direction of its motion, to a distance of 70 miles. The squadron's speed is 15 miles an hour. How long will it be before the scout returns to the squadron?17

Solution

Let's call the number of hours we want x. In this time the squadron has gone 15x miles, and the scout 28x. The scout went 70 miles forward and part of that distance back, and the squadron covered the remaining part of the same distance. Together they went 28x+15x, which is equal to 2×70. We have the equation

28x+15x=140,

from which

x=14043=3 hours 15 minutes.

The scout will return to the squadron after 3 hours 15 minutes.

Problem II. A reconnaissance ship has received orders to scout ahead of its squadron in the direction in which the squadron is moving. In 3 hours it must be back. How long after leaving the squadron must it turn around, if its own speed is 25 knots and the squadron's 15?

Solution

Suppose the scout must turn after x hours. It is then going away from the squadron for x hours and coming to meet it for 3−x hours. While all the ships were going in the same direction, the scout managed in x hours to draw ahead of the squadron by the difference between the distances they covered, that is, by

25x−15x=10x.

On its return the scout went 25(3−x) toward the squadron, and the squadron itself went 15(3−x). Between them they covered 10x. Consequently,

25(3−x)+15(3−x)=10x,

from which

x=225.

The scout must reverse course 2 hours 24 minutes after leaving the squadron.

At the Velodrome

Two cyclists are riding at constant speeds around the circular track of a velodrome. When they ride in opposite directions they meet every 10 seconds; when they ride in the same direction, one overtakes the other every 170 seconds. What is the speed of each cyclist, if the track is 170 meters around?

Solution

When the cyclists ride in opposite directions, they come closer together each second by the sum of their speeds, x+y. The number of seconds that passes between one meeting and the next must therefore be

170x+y=10.

When they ride in the same direction, they come closer each second by x−y, and the number of seconds between meetings must be

170x−y=170.

Simplifying these equations, we get

x+y=17,x−y=1,

from which

x=9 meters,y=8 meters

a second.

A Motor Race

Three cars started a race at the same moment. One of them, which did 15 kilometers an hour less than the first and 3 kilometers an hour more than the third, reached the finish 12 minutes after the first and 3 minutes before the third. There were no stops on the way.

The problem is to find:

a) How long was the course?

b) How fast did each car go?

c) How long did each car take?

Solution

We're asked for 7 unknown quantities, but we'll manage with only two when we solve the problem: we'll set up a system of two equations in two unknowns.

Let's call the speed of the second car x. The speed of the first is then x+15, and of the third x−3.

Let the length of the course be y. The times the cars took are then

for the first caryx+15
for the secondyx
for the thirdyx−3

We know that the second car was on the road 12 minutes (that is, 1/5 of an hour) longer than the first. Therefore

yx−yx+15=15.

The third car was on the road 3 minutes (that is, 1/20 of an hour) longer than the second. Consequently,

yx−3−yx=120.

We rework the first equation:

5y(x+15)−5xy=x(x+15),5xy+75y−5xy=x(x+15),75y=x(x+15).

We rework the second as well:

20xy−20y(x−3)=x(x−3),20xy−20xy+60y=x(x−3),60y=x(x−3).

We have the system

{75y=x(x+15)60y=x(x−3).

We divide the first equation by the second, canceling x and y as we go (neither, we know, is zero). We get the equation

54=x+15x−3,

or

5x−15=4x+60,

from which

x=75.

Knowing x, we find y from the equation

60y=x(x−3)=75⋅72,y=90.

The speeds of the cars are now settled: 90, 75 and 72 kilometers an hour.

The length of the whole course is 90 kilometers.

The times taken are:

the first car9090=1 hour
the second car9075=1 hour 12 minutes
the third9072=1 hour 15 minutes

With that, all 7 unknown quantities in the problem have been found.

Machines for Solving Equations

A talk about equations, in a book like Algebra for Entertainment, can't pass over the machines that solve equations automatically, and very difficult equations at that. They aren't a utopian fancy, like the "literary" or "thinking" machines we looked at in the first chapter, or a myth that exists only in the minds of the credulous, like the pretended chess automata.18 Machines for solving equations really do exist, and they find automatically the roots of such difficult equations as

x9+ax8+b=0,x9+ax7+b=0,x5+ax4+bx3+c=0.

Our Academician A. N. Krylov has invented a mathematical machine that is more astonishing still. It copes with equations of higher mathematics (it integrates differential equations).

The idea behind machines of this sort isn't hard to grasp if you recall how equations (those of the first degree, say) are solved graphically. Let's take as an example the equation 2x−8=0.

We can replace it with this simple "system":

{2x−y=0y=8or{y=2xy=8.

A graph with two axes ticked at equal intervals. A slanting straight line marked y = 2x rises from 0, where the axes meet, and crosses a level line marked y = 8 at a dot, from which a dashed line drops to 4 on the x axis
An upright cylinder with a curve, marked as the scale of x, climbing across its face. Around it stand three upright scales. A thread runs across from a mark a on the left scale to a higher mark b on the right one, and a pierced sight slides on the near scale at c; a dashed line from it past the thread meets the curve at a small circle

The equations y=2x and y=8 can be regarded as the equations of two straight lines, and the abscissa of the point where they cross (its distance along the horizontal axis) will be the x we want. It's easy to imagine a mechanical device that carries out this method of solving equations of the first degree. The roots of an equation of the second degree could be found by a mechanical device that made a parabola and a straight line intersect. In practice, of course, it's quicker and simpler in these cases to find the roots by calculation, and devices like these could be of use only in teaching, if at all. Equations of higher degree are another matter. Calculating their roots is long and tedious work, and here the practical need fully justifies making a mechanical device.

The figure shows a machine for solving four-term equations of the form

xp+axm+bxn+c=0

of the 3rd, 4th and 5th degrees. This would be no place to explain the details of its construction. I'll mention only that it finds the root by the intersection of a curve in space with a plane. There are no cogwheels in this "machine," nor any complicated gearing, and perhaps it would be better to call it not a machine but a device or an apparatus. It has three vertical graduated posts, along one of which slides a sight (a plate with a hole drilled in it). The curve in space (the scale of x) is drawn on a special cylinder. You mark the coefficients a, b, c on the graduations of the posts, join two of these marks with a thread, and then, looking through the sight on the third post, note the marks at those points of the curve where it crosses the thread. The device was invented by Professor Mehmke of Stuttgart.

Chapter 3: Algebra to the Aid of Arithmetic

Arithmetic makes some claims that it often hasn't the means to prove strictly. In such cases it has to call on algebra and its more general methods. Many of the rules for shortcut calculation rest on algebra in this way; so do the curious properties of certain numbers, the tests for divisibility, and a good deal else. This chapter is devoted to questions of that kind.

Instant Multiplication

Germany has at present a remarkable virtuoso of calculation, Dr. Fred Brauns, who has eclipsed the fame of his predecessors and broken every record they set. In many cases he lightens his work with some simple algebra. Take, for example,

9882.

He does it like this:

988×988=(988+12)⋅(988−12)+122=1000×976+144=976144.

The transformation he is using here is easy to recognize:

(a+b)(a−b)+b2=a2−b2+b2=a2.

To multiply 986 by 997, Brauns proceeds in this way:

986×997=(986−3)×1000+3×14=983042.

What lies behind the trick? Let's write the two factors as

(1000−14)⋅(1000−3)

and multiply these two out by the rules of algebra:

1000×1000−1000×14−1000×3+14×3.

Now we rearrange:

1000(1000−14)−1000×3+14×3,1000×986−1000×3+14×3,1000(986−3)+14×3.

The last line is exactly what the German calculator does.

He has an interesting way, too, of multiplying a pair of three-digit numbers that have the same number of tens and whose units digits add up to 10. The product

783×787,

for instance, he finds like this:

78×79=6162;3×7=21.

Result: 616,221.

Why this works you can see from the following steps:

(780+3)(780+7)=780×780+780×3+780×7+3×7=780×780+780×10+3×7=780(780+10)+3×7=780×790+21=616200+21.

The German virtuoso also uses another method for multiplications of this sort, and it is simpler:

783×787=(785−2)(785+2)=7852−4=616225−4=616221.

For our own mental arithmetic we can make good use of the formula

a2=(a+b)(a−b)+b2.

For example:

272=(27+3)(27−3)+32=729632=66⋅60+32=3969182=20⋅16+22=324372=40⋅34+32=1369482=50⋅46+22=2304542=58⋅50+42=2916.

Another very handy method quickly squares any number that ends in 5:

3523⋅4=12Answer: 1,225
6526⋅7=42Answer: 4,225
7527⋅8=56Answer: 5,625

The rule is to multiply the number of tens by the next higher number and to write 25 after the product.

Here is the reason for it. If there are a tens, the whole number can be written as

10a+5.

The square of this number, as the square of a sum of two terms, is

100a2+100a+25=100a(a+1)+25.

The expression a(a+1) is the number of tens multiplied by the next higher number, and to multiply a number by 100 and add 25 is the same as to write 25 after it.

The trick works only for numbers ending in 5. But since most people are inclined to round off the end of a number to 5, we have to square such numbers more often than others.

From the same trick comes a simple way of squaring numbers made up of a whole number and 12. For example:

(312)2=3.52=12.25=1214,(712)2=5614,(812)2=7214, and so on.

The Digits One, Five and Six

Everybody has probably noticed that when you multiply together a string of numbers that all end in 1, or all end in 5, the product ends in the same digit. It is less well known that this is true of 6 as well. Any power of a number ending in 6 must therefore end in 6 too.

For example:

462=2116;463=97336.

This curious property of 1, 5 and 6 can be established only by algebra. Let's look at the case of 6.

Numbers that end in 6 can be written as

10a+6,10b+6, and so on,

where a and b may be any whole numbers.

The product of two such numbers is

100ab+60b+60a+36=10(10ab+6b+6a)+30+6=10(10ab+6b+6a+3)+6.

The product, as we see, is made up of some number of tens and the digit 6, which naturally has to turn up at the end.

The same proof will serve for 1 and for 5.

We are now entitled to declare, for example, that

3862567ends in 6,
815723ends in 5,
4911732ends in 1, and so on.

The Numbers 25 and 76

There are two-digit numbers with the same property as 1, 5 and 6. One is 25, and the other, probably a surprise to many, is 76. Any two numbers ending in 76 give a product that also ends in 76.

Let's prove it. The general expressions for such numbers are

100a+76,100b+76, and so on.

We multiply two of them together and get

10000ab+7600b+7600a+5776=10000ab+7600b+7600a+5700+76=100(100ab+76b+76a+57)+76.

The claim is proved: the product will end in 76.

It follows that any power of a number ending in 76 is another number of the same kind:

3762=141376;5763=191102976, and so on.

There are longer groups of digits, too, that survive multiplication when they stand at the end of the factors. Examples are

376;625;90625.

Thus,

906252=8212890625.

We leave the proof to the reader.

Making Up the Difference

(An Old Folk Problem)

Two men sold a herd of oxen that they owned together, and for each ox they got as many roubles as there were oxen in the herd. With the money they bought a flock of sheep, at 10 roubles a sheep, and one lamb, which cost less. When they divided the animals equally, one man was left with an extra sheep; the other took the lamb and received from his partner a payment to make up the difference. How much was the payment?

Solution

This odd problem in arithmetic can't be translated directly "into the language of algebra": no equation can be set up for it. We have to solve it in a way of its own, by free mathematical reasoning, so to speak. But here too algebra gives arithmetic substantial help.

The price of the whole flock in roubles is a perfect square, since the flock was bought with the money from the sale of n oxen at n roubles an ox. One of the partners got an extra sheep, which means that the number of sheep is odd; consequently the number of tens in n2 is odd as well. What, then, is its units digit?

It turns out that if the number of tens in a perfect square is odd, its units digit can only be 6.

How can that be proved? Very simply.

The square of any number made up of a tens and b units, that is, (10a+b)2, equals

100a2+20ab+b2=(10a2+2ab)⋅10+b2.

The number of tens in it is 10a2+2ab, plus whatever tens are contained in b2. But 10a2+2ab is divisible by 2; it is even. The total will be odd only if b2 contains an odd number of tens. Remember what b2 is: the square of the units digit, or in other words one of these 10 numbers:

0,1,4,9,16,25,36,49,64,81.

Only two of them have an odd number of tens, 16 and 36, and both end in 6. A perfect square

100a2+20ab+b2

can therefore have an odd number of tens only if it ends in 6.

Now the question is easy to answer. The lamb, clearly, went for 6 roubles, and the partner who ended up with it got 4 roubles less than the other. To make the shares equal, the owner of the lamb has to receive 2 roubles from his partner.

The payment was 2 roubles.

Divisibility by 11

Algebra makes it much easier to find tests that tell us in advance, with no dividing, whether a given number is divisible by this or that divisor. Everybody knows the tests for 2, 3, 4, 5, 6, 8, 9 and 10. Let's derive one for 11, which will prove very simple and practical.

Any number N of several digits can be written in the general form

N=10na+10n−1b+10n−2c+…+103p+102u+10v+w.

Let's see what remainder each term leaves when divided by 11, starting from the end.

The last term, w, is less than 11, and the remainder it leaves is of course w itself.

Next, 10v=11v−v. We can say that when this term is divided by 11 it leaves a negative remainder, −v.

102u=100u=99u+u;remainder u.

Then 103p=1000p=1001p−p. Since 1001 is divisible by 11, the remainder is −p.

It is easy to see that the remainder from dividing N by 11 must match the algebraic sum of all these remainders (here for even n, so that a has a plus sign):

a−b+c−d+e−…−p+u−v+w=(a+c+e+…+u+w)−(b+d+…+p+v).

In other words, add up all the digits standing in even places and subtract the sum of all the digits in odd places. (Which of the two sums you subtract makes no difference.) If the result is 0, or a multiple of 11, positive or negative, then the number under test is a multiple of 11 too.

Let's test the number 87,635,064:

8+6+5+6=25,7+3+0+4=14,25−14=11,

and the number is therefore divisible by 11.

Divisibility by 19

Explain why the following test for divisibility works.

A number is exactly divisible by 19 if half the number of its tens, added to its units digit, gives a multiple of 19. If the number of tens is odd, the one ten left over when you halve it (that is, 10) is added to the units.

Solution

Any number N1 can be written in the form

N1=10x+y,

where x is the number of tens (the total number of whole tens in the entire number, and not just the digit in the tens place) and y is the units digit. We'll prove first that if x is even (that is, x=2z) and the number

N2=x2+y=z+y

is a multiple of 19, then 20z+y, which is N1, is a multiple of 19 as well. To do this we take the difference N1−N2=R:

R=20z+y−z−y=19z,

and from this

N1=N2+R=19z+N2.

Clearly, if N2 is a multiple of 19, so is N1, which is what we set out to prove.

Now for the case in which the number of tens x is odd, that is, equal to 2z+1. We'll prove that N1 is exactly divisible by 19 if the number

N3=2z2+10+y=z+y+10

is a multiple of 19. We take the difference:

R=N1−N3=10(2z+1)+y−z−y−10,R=20z+10+y−z−y−10=19z.

Again we have:

N1=19z+N3,

and this equation confirms that the test is sound.

Let's see how the test is used. Suppose we have to find out whether 19 divides the number

47045881.

We apply our test again and again:

47045882+1=2352295,2352282+15=117629,117622+9=5890,5882+10=304,302+4=19.

Since 19 is exactly divisible by 19, all these numbers are multiples of it too:

304,5890,117629,2352295,47045881.

Our number, then, is divisible by 19.

This test can't be called very practical. Simply dividing the number by 19 would probably take hardly any longer. Still, no better test for 19 has been found.19

Pythagorean Numbers

A straight cord divided by small ticks into nine equal lengths, each marked a. Dots for knots stand at the two ends and at the fourth division, so that one part measures 4a and the other 5a.

Surveyors have a convenient and very accurate way of laying out perpendicular lines on the ground. Suppose that through a point A they have to draw a line at right angles to the line MN. From A, in the direction of M, they measure off some distance a three times over, and this brings them to the point B. Then they tie three knots in a cord, at distances of 4a and 5a from one another. Holding the end knots at A and B, they pull the cord tight by the middle knot. The cord now forms a triangle in which the angle A is a right angle.

A horizontal line MN with the points B and A on it, three lengths a apart. From A a line of four lengths a drops to the point C, making an angle marked 90° with MN, and a slanting line of five lengths a joins C to B.

The builders of the Egyptian pyramids were already using this ancient method thousands of years ago. It rests on the fact that every triangle whose sides are as 3 to 4 to 5 is right-angled, according to the familiar theorem of Pythagoras:

32+42=52.

In place of 3, 4, 5 we can choose other "Pythagorean numbers," of which there are infinitely many. For example:

52+122=132;92+402=412;72+242=252;572+1762=1852, and so on.

Looking over these sets, we find that each of them contains an even number (the "even leg" of the triangle). Is that an accident? Or is it impossible for all three "Pythagorean numbers" to be odd?

Solution

Let's argue "by contradiction."

Suppose that all three Pythagorean numbers are odd:

2x+1;2y+1;2z+1.

Their squares are:

(2x+1)2=4x2+4x+1,(2y+1)2=4y2+4y+1,(2z+1)2=4z2+4z+1.

The sum of any two of these, for example (2x+1)2+(2y+1)2, is

4x2+4x+1+4y2+4y+1=4x2+4y2+4x+4y+2,

an even number (a multiple of 2), and obviously it can't be equal to the odd number 4z2+4z+1. A set of three odd Pythagorean numbers therefore doesn't exist.

Although this problem comes very close to geometry, in substance it concerns the properties of numbers, and it has to be counted as arithmetic.

A Theorem of Sophie Germain

Here is a problem set by the well-known French mathematician Sophie Germain.

Prove that every number of the form a4+4 is composite.20

Solution

The proof follows from these transformations:

a4+4=a4+4a2+4−4a2=(a2+2)2−4a2=(a2+2)2−(2a)2=(a2+2−2a)(a2+2+2a).

The number a4+4, as we see, can be represented as the product of two factors, neither of them equal to 1 or to the number itself; in other words, it is composite.

From the Secrets of the Sieve of Eratosthenes

There are infinitely many of the numbers called prime, the ones that no other number divides exactly except one and themselves. Beginning with the numbers

1, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31,

their series runs on without end.21 Wedged in among the composite numbers, they cut the series of natural numbers into longer or shorter stretches of composites. How long can these stretches be? Is there anywhere, for example, a run of a thousand composite numbers unbroken by a single prime?

It can be proved, unlikely as it seems, that the stretches of composite numbers between primes may be of any length. There is no limit to them: they may consist of a thousand composite numbers, of a million, of a quintillion, and so on.

We'll have proved this if we find a general expression for a series of n composite numbers, each greater by one than the last. For convenience we'll use the notation n!, which stands for the product of all the numbers from 1 to n inclusive. For example, 5!=1⋅2⋅3⋅4⋅5. We are now going to prove that a series of n consecutive composite numbers looks like this:

[(n+1)!+2],[(n+1)!+3],[(n+1)!+4],…

up to [(n+1)!+n+1] inclusive.

These numbers follow directly on one another in the natural series, since each is greater by 1 than the one before. It remains to prove that all of them are composite.

The first number,

(n+1)!+2=1⋅2⋅3⋅4⋅5⋅6⋅7⋅…⋅(n+1)+2,

is even, because both its terms contain the factor 2. And every even number greater than 2 is composite.

The second number,

(n+1)!+3=1⋅2⋅3⋅4⋅5⋅…⋅(n+1)+3,

consists of two parts, each a multiple of 3. This number, then, is composite too.

The third number,

(n+1)!+4=1⋅2⋅3⋅4⋅5⋅…⋅(n+1)+4,

is exactly divisible by 4, since it is made up of parts that are multiples of 4.

In the same way we establish that the next number,

(n+1)!+5,

is a multiple of 5, and so on. Every number in our series, in other words, contains a factor other than one and itself, and is therefore composite.

If you want to write down, say, 5 consecutive composite numbers, you have only to put 5 in place of n in the general expression above. You'll get the series

722, 723, 724, 725, 726.

But this isn't the only series of five consecutive composite numbers. There are others.

If we wish to find the five smallest consecutive composite numbers, then in the expression

(n+1)!+2

we must replace (n+1)!, which here is 6!, with the least common multiple of the numbers 1, 2, 3, 4, 5 and 6. This is equal to 2⋅3⋅2⋅5=60, and the series we get is22

62, 63, 64, 65, 66.

Let's now try a problem.

Write down ten consecutive composite numbers.

Solution

From what has been said, the first of the ten numbers we want is

(the least common multiple of 1,2,3,4,…,10,11)+2,

2⋅3⋅2⋅5⋅7⋅2⋅3⋅11+2=27722.

The nearest (smallest) series of ten consecutive composite numbers, then, is:23

27,72227,727
27,72327,728
27,72427,729
27,72527,730
27,72627,731

The Number of Primes

We have just seen that a series of any number of consecutive composites can always be found: a thousand, a million, a septillion, and so on. The existence of runs as long as you please, made up of nothing but composite numbers, may well make you doubt whether the series of primes really has no end. It won't be out of place, then, to give a proof here that the series of primes is infinite.

The proof is "by contradiction." Suppose that the series of primes is finite, and call the last prime in it N. We form the product

1⋅2⋅3⋅4⋅5⋅6⋅7⋅…⋅N=N!

and add 1 to it, obtaining

N!+1.

This number is not exactly divisible by any of the numbers from 2 up to N; each of them leaves a remainder of 1. But perhaps some number greater than N divides it? What kind of divisor could that be, though? Certainly not a prime, since there are no primes greater than N (that was our starting point). It must then be composite and break up into factors. But its prime factors, like all primes, can be no greater than N, and we already know that N!+1 is not divisible by any number up to N. It therefore can't be divisible by a product of such numbers either, or by any number that contains even one of them as a factor.

We had no right, then, to suppose that the series of primes is finite: the supposition contradicts itself. However long a run of consecutive composite numbers we meet among the natural numbers, we can be certain that beyond it there are infinitely many primes still to come.

A Calculation That Matters

In practical work we sometimes meet purely arithmetical calculations that are extremely hard to carry out without help from the labor-saving methods of algebra. Suppose, for example, that we need the result of these operations:

21+190000000000.

The calculation is needed to decide whether modern engineers are entitled to use the old law for adding velocities and to ignore the changes that the theory of relativity has brought into mechanics. According to the old mechanics, a body taking part in two motions in the same direction, each at a speed of 1 kilometer per second, has a speed of 2 kilometers per second. For the same speed the new theory gives the expression above, in which the 90 billion is the square of the speed of light in kilometers per second. How much do these results differ? Can the finest measuring instruments catch the difference? That is the important question we need the calculation to settle.

We'll do it in two ways, first by ordinary arithmetic and then by the methods of algebra. One glance at the long rows of figures below will convince you which has the advantage.

First of all let's transform our "multistory" fraction:

21+190000000000=18000000000090000000001.

Now we divide the numerator by the denominator, setting the divisor and the quotient at the right:

18000000000090000000001
900000000011.999999999977...
899999999990
810000000009
899999999810
810000000009
899999998010
810000000009
899999980010
810000000009
899999800010
810000000009
899998000010
810000000009
899980000010
810000000009
899800000010
810000000009
898000000010
810000000009
880000000010
810000000009
700000000010
630000000007
70000000003

As you see, it is tedious, finicking work, in which you can easily lose your way and make a mistake. And yet, to answer our question, we have to know exactly where the row of nines breaks off and other digits begin.

Now compare how comfortably algebra copes with the same calculation. It makes use of the following approximate equality: if a is a very small fraction, then

11+a≈1−a,

where the sign ≈ means "approximately equal to."

It is very simple to convince yourself of this. Compare the dividend, 1, with the product of the divisor and the quotient:

1≈(1+a)(1−a),1≈1−a2.

Since a is a very small fraction (0.001, for example), a2 is smaller still (0.000001), and we can neglect it.

Let's apply this to our calculation:

21+190000000000=21+19⋅1010≈2−0.222…×10−10=2−0.0000000000222…=1.9999999999777…

We have come to the same result as before, but by a far shorter and safer road.

The reader will probably like to know what our result means for the question in mechanics with which we began. It shows that a departure from the old law for adding velocities does exist, but that nobody can possibly detect it: it affects the eleventh decimal place of the number to be found, whereas the most exact measurements of length go no further than the 7th figure, and engineers stop at the 3rd or 4th. We are entitled, then, to declare without any reservations that the new mechanics, Einstein's, changes practically nothing in modern engineering.24

When Is It Simpler Without Algebra?

Besides the cases in which algebra does arithmetic important services, there are others in which it interferes and brings nothing but needless complication. True knowledge of mathematics lies in commanding your mathematical tools so well that you always choose the straightest and surest path, regardless of whether the method belongs to arithmetic, algebra, geometry, or anything else. It will be useful, then, to look at a case in which calling in algebra can only confuse the solver. Here is an instructive example.

Find the smallest of all the numbers that

when divided by 2leave a remainder of 1
by 32
by 43
by 54
by 65
by 76
by 87
by 98

Solution

Somebody put this problem to me with the words: "How would you solve a thing like this? There are too many equations; you'll never get clear of them."

There is less here than meets the eye. The problem needs no equations and no algebra at all; a little simple reasoning in arithmetic will solve it.

Add one to the number we're looking for. What remainder will it then leave when divided by 2? The remainder is 1 + 1 = 2, or in other words the number is exactly divisible by 2. In just the same way it will be exactly divisible by 3, by 4, by 5, by 6, by 7, by 8 and by 9. The smallest such number is

9⋅8⋅7⋅5=2520.

The number we want, then, is 2,519, and you can easily check it by trial.25

Chapter 4: Diophantine Equations

Buying a Hat

You have to pay 19 roubles for a hat you've bought in a shop. All you have on you are three-rouble notes, and all the cashier has are fives. With money like that, can you settle up with the cashier, and if so, how?

What the problem asks is how many three-rouble notes you must hand over so that, once you've been given your change in fives, you have paid exactly 19 roubles. It contains two unknowns, the number of threes (x) and the number of fives (y). But we can set up only one equation:

3x−5y=19.

One equation with two unknowns has countless solutions, but that doesn't make our problem unsolvable. Here, after all, a single solution would do perfectly well. This is why algebra has worked out a method for solving "indeterminate" equations of this kind. The credit for bringing them into algebra belongs to its first representative in Europe, Diophantus, a famous mathematician of antiquity (third century A.D.), and they are often called "Diophantine" after him. Our schools, pressed for time, no longer teach them, although the need for them comes up in practice quite often. That's all the more reason to give them some room in this book.

Let's use our example to show how such equations are solved.

We need to find the values of x and y in the equation

3x−5y=19,

knowing that x and y are whole and positive numbers (remember that they count banknotes).

We begin by isolating the unknown with the smaller coefficient, that is, the term 3x:

3x=19+5y,

and this gives

x=193+5y3=613+123y=6+y+1+2y3.

Since x, 6 and y are whole numbers, the equation can hold only if 1+2y3 is a whole number too. Let's call it t. Then

x=6+y+t,

where

t=1+2y3,

and therefore:

3t=1+2y;2y=3t−1.

From the last equation we find y:

y=3t2−12=t+t−12.

Since y and t are whole numbers, t−12 must be some whole number as well, which we'll call t1. Consequently,

y=t+t1,

with

t1=t−12,

from which

2t1=t−1andt=2t1+1.

We put this value, t=2t1+1, into the earlier equations:

y=t+t1=(2t1+1)+t1=3t1+1,

x=6+y+t=6+(3t1+1)+(2t1+1)=8+5t1.

Now we have expressions for x and y:

x=8+5t1,

y=1+3t1.

The numbers x and y, we know, are positive as well as whole; in other words, they are greater than 0. Consequently,

8+5t1>0,

1+3t1>0.

From these "inequalities" we find:

5t1>−8andt1>−85,

3t1>−1andt1>−13.

This sets a bound to t1: it is greater than −13 (which of course makes it greater than −85 too). But t1 is a whole number, and the only values open to it are these:

t1=0,1,2,3,4…

The corresponding values of x and y are:

x=8+5t1=8,13,18,23…

y=1+3t1=1,4,7,10…

Now we know how the hat can be paid for. You may hand over 8 threes and get one five back:

8⋅3−5=19,

or hand over 13 threes and get 4 fives back:

13⋅3−4⋅5=19,

and so on.

In theory the problem has countless solutions. In practice their number is limited, since neither the customer nor the cashier has countless banknotes. If each of them has only 10, for instance, there is just one way to settle the bill: you pay 8 threes and get 5 roubles in change. Indeterminate equations, as you see, can give perfectly determinate answers in practice.

Let's go back to our problem. As an exercise, I suggest that the reader solve a variant of it unaided, the case where the customer has only fives and the cashier only threes. The result will be this series of solutions:

x=5811
y=2712

And indeed:

5⋅5−2⋅3=19,

8⋅5−7⋅3=19,

11⋅5−12⋅3=19.

We could also have drawn these results from our finished solution of the original problem, by a simple algebraic trick. To give fives and receive threes is the same thing as "to receive negative fives" and "to give negative threes." The new version of the problem is therefore solved by the very equation we set up for the old one:

3x−5y=19,

provided that x and y are negative numbers. And so, knowing that x<0 and y<0, we take the equations

x=8+5t1,

y=1+3t1

and deduce:

8+5t1<0,

1+3t1<0,

and consequently,

t1<−85.

Taking t1=−2,−3,−4 and so on, we get from the same formulas the following values of x and y:

t1=−2−3−4
x=−2−7−12
y=−5−8−11

The first pair of solutions, x=−2, y=−5, means that the customer "pays minus 2 threes" and "receives minus 5 fives." Translated into ordinary language, he pays 5 fives and gets 2 threes in change. The other solutions can be read in the same way.

Auditing the Co-operative

When the books of a co-operative store were audited, one of the entries, for a cotton cloth called madapolam, turned out to be drenched in ink. It looked like this:

	For [blot] pieces of madapolam
	at 49 r. 36 k. apiece: [blot] 7 r. 28 k.

There was no making out the number of pieces sold, though it was certainly no fraction. As for the sum received, only its last three digits could be read, and one could just tell that three others had stood in front of them.

Can the auditors restore the entry from these traces?

Solution

Let x be the number of pieces. The sum received, in kopecks, will then be

4936x.

Let y be the number made up of the three blotted digits in the sum of money. This is plainly the number of thousands of kopecks, and the whole sum in kopecks will be written:

1000y+728.

We have the equation

4936x=1000y+728,

or, after dividing through by 8,

617x−125y=91.

In this equation x and y are whole numbers, and y is no greater than 999, since it can't consist of more than three nines. We solve the equation as before:

125y=617x−91,

y=5x−1+34−8x125=5x−1+2(17−4x)125=5x−1+2t.

(Here we've taken 617125=5−8125, since it pays us to have the smallest possible remainders.)

This last fraction,

2(17−4x)125,

is a whole number, and since 2 is not divisible by 125 (and shares no factor with it), 17−4x125 must be a whole number, the one we've called t.

Next, from the equation

17−4x125=t

we get

17−4x=125t,

x=4−31t+1−t4=4−31t+t1,

where

t1=1−t4,

and consequently,

4t1=1−t;t=1−4t1,

x=125t1−27,y=617t1−134.

Now both x and y are expressed through t1.26

We know that 100<y<1000. Consequently,

100<617t1−134<1000,

from which

t1>234617andt1<1134617,

or, roughly,

0.4<t1<1.8.

Evidently only one value is possible for t1:

t1=1,

and then x=98, y=483. The store sold 98 pieces for a total of 4837 r. 28 k. The entry has been restored.

Buying Postage Stamps

You are to buy 20 postage stamps for 1 rouble, some at 15 kopecks, some at 5 and some at 1. How many of each kind will there be?

Solution

In this case we have two equations with three unknowns:

15x+5y+z=100,

x+y+z=20,

where x is the number of 15-kopeck stamps, y of 5-kopeck stamps and z of 1-kopeck stamps. Subtracting the second equation from the first, we get one equation with two unknowns:

14x+4y=80.

We divide every term by 4:

7⋅x2+y=20.

Evidently x2 is a whole number (seven of it make the whole number 20−y, and a half taken seven times would leave a half over). Let's call it t. We have

7t+y=20;y=20−7t,

x=2t.

We put these expressions for x and y into the second of the original equations:

2t+20−7t+z=20;

z=5t.

Since x>0, y>0 and z>0, it's easy to set bounds to t:

0<t<267,

and we conclude that only two whole values of t are possible:

t=1andt=2.

The corresponding values of x, y and z are:

t=12
x=24
y=136
z=510

Let's check:

2⋅15+13⋅5+5=100,

4⋅15+6⋅5+10=100.

There are, then, only two ways to buy the stamps.

The next problem is of the same kind.

Buying Fruit

For 5 roubles someone bought 100 pieces of fruit of various kinds. The prices at the co-operative are:

watermelons, each50 kopecks
apples10 kopecks
plums1 kopeck

How many of each fruit were bought?

Solution

Letting x be the number of watermelons, y of apples and z of plums, we set up two equations:

50x+10y+z=500,

x+y+z=100.

Subtracting the second from the first, we have

49x+9y=400.

The rest of the solution goes like this:

y=400−49x9=44−5x+4(1−x)9=44−5x+4t,

t=1−x9;x=1−9t,

y=44−5(1−9t)+4t=39+49t.

From the inequalities:

1−9t>0and39+49t>0,

we establish that

19>t>−3949,

and consequently t=0. Therefore

x=1,y=39.

Putting these values of x and y into the second equation, we find that z=60.

The purchase, then, was 1 watermelon, 39 apples and 60 plums.

No other combination is possible.

Guessing a Birthday

If you know how to solve indeterminate equations, you can perform the following mathematical trick.

Ask a friend to multiply the day of the month on which he was born by 12, and the number of the month by 31. He tells you the sum of the two products, and from it you work out the date of his birth.

If your friend was born on February 9, for example, his calculations run like this:

9×12=108,2×31=62,

108+62=170.

He gives you this last number, 170, and from it you find the date he has in mind. How do you do it?

Solution

The problem comes down to solving the indeterminate equation

12x+31y=170

in whole and positive numbers, where the day of the month, x, is no greater than 31, and the number of the month, y, is no greater than 12.

We solve it:

6x+31⋅y2=85,

6x+31t=85,y=2t,

x=85−31t6=14−5t+1−t6=14−5t+t1,

1−t=6t1;t=1−6t1,

x=14−5(1−6t1)+t1=9+31t1,

y=2(1−6t1)=2−12t1.

Knowing that 31≥x>0 and 12≥y>0, we find the bounds of t1:

16>t1>−931.

Consequently,

t1=0;x=9;y=2.

The birthday is the 9th day of the 2nd month, that is, February 9.

It can be proved in theory that whatever the date to be guessed, the equation always has only one solution. The trick, in other words, never fails.

Selling Hens

(An Old Problem)

Three sisters came to market with their hens. One brought 10 hens to sell, another 16, the third 26. Before noon they sold some of their hens, all at one and the same price. After noon, afraid that they wouldn't get rid of them all, they lowered the price and sold off the hens they had left, again all at the same price. The three of them went home with equal takings: each sister had made 35 roubles.

At what price did they sell the hens before noon, and at what price after?

Solution

Let x, y and z be the numbers of hens the sisters sold before noon. In the second half of the day they sold 10−x, 16−y and 26−z. Let m be the price before noon and n the price after. To keep all this clear, let's set it out in a table:

First sisterSecond sisterThird sisterPrice
Before noonxyzm
After noon10−x16−y26−zn

The first sister took in mx+n(10−x), and consequently

mx+n(10−x)=35;

the second took in my+n(16−y), and consequently

my+n(16−y)=35;

the third took in mz+n(26−z), and consequently

mz+n(26−z)=35.

Rearranging these three equations, we get:

(m−n)x+10n=35,

(m−n)y+16n=35,

(m−n)z+26n=35.

We subtract from the third equation first the first, then the second, and get in turn:

(m−n)(z−x)+16n=0,

(m−n)(z−y)+10n=0,

or

(m−n)(x−z)=16n,

(m−n)(y−z)=10n.

We divide the first of these equations by the second:

x−zy−z=85,orx−z8=y−z5.

Since x, y and z are whole numbers, the differences x−z and y−z are whole numbers too. For the equation

x−z8=y−z5

to hold, therefore, x−z must be divisible by 8, and y−z by 5. Consequently:

x−z8=t=y−z5,

from which

x=z+8t,

y=z+5t.

Since x<10, we have

z+8t<10.

With z and t whole and positive (t is positive because the morning price, m, was the higher one), this last inequality is satisfied in one case only: when z=1 and t=1. Putting these values into the equations

x=z+8tandy=z+5t,

we find x=9, y=6.

Now we turn back to the equations

mx+n(10−x)=35,

my+n(16−y)=35,

mz+n(26−z)=35,

put the values of x, y and z into them, and learn the prices at which the hens were sold:

m=334 roubles;n=114 roubles.

The hens, then, went for 3 r. 75 k. before noon and for 1 r. 25 k. after.

Two Numbers and Four Operations

The last problem led us to three equations with five unknowns, and we solved it by thinking freely about the mathematics, without following the general pattern. We'll treat the next problems in just the same way. They lead to indeterminate equations of the second degree.

Here is the first of them.

Four operations were performed on two whole numbers:

	1) the numbers were added;
	2) the smaller was subtracted from the larger;
	3) they were multiplied together;
	4) the larger was divided by the smaller.

The results were added up, and the total came to 243. Find the numbers.

Solution

If the larger number is x and the smaller y, then

(x+y)+(x−y)+xy+xy=243.

We transform this step by step:

2x+xy+xy=243,

2xy+xy2+x=243y,

x(2y+y2+1)=243y.

But 2y+y2+1=(y+1)2. Therefore

x=243y(y+1)2.

For x to be a whole number, the denominator (y+1)2 must be one of the divisors of 243 (because y can have no factor in common with y+1). Knowing that 243=3⋅92, we conclude that (y+1)2=92, and y=8. Then

x=243⋅881=24.

The numbers we were looking for, then, are 24 and 8.27

Which Rectangle?

The sides of a rectangle are whole numbers. How long must they be for the sum of all four to be numerically equal to the rectangle's area?

Solution

Letting x and y be the sides of the rectangle, we set up the equation

2x+2y=xy.

We transform it:

x(y−2)=2y,

x=2yy−2=21−2y.

For x to be a whole and positive number, we must have

1−2y>0,and consequentlyy>2,

and also

1−2y≤2,which is so for every positive y.

In other words, y must be greater than 2. This condition is necessary if x is to be a whole number, but it is not yet sufficient. Let's experiment. In the expression

x=21−2y

we put 3, 4, 5, 6 and so on in place of y. We get:

y=345678 ...
x=643.33fractions ...

From here on x goes on shrinking, but it never gets down to 2. The figure we're looking for, then, is either a rectangle with sides 3 and 6 or a square with sides of 4.

Swapping the Hands of a Clock

A. Moszkowski, a mathematician of some note and the biographer and friend of the famous physicist Albert Einstein, once set him a problem, to amuse him during an illness, that belongs to the branch of algebra we've been discussing.

"Take the position of the hands at 12 o'clock," said Moszkowski. "If the big hand and the little hand changed places then, they would still tell the time correctly. But at other moments, at 6 o'clock, for instance, such an exchange would lead to an absurdity, to a position impossible on a clock that is running properly: the minute hand can't stand at 6 when the hour hand points to 12. And this raises a question:

"When, and how often, do the hands of a clock stand in such a position that exchanging one for the other gives a new position that is also possible on a properly running clock?

"'Yes,' answered Einstein, 'that's just the problem for a man whose illness keeps him in bed. It's interesting enough, and not too easy. My only fear is that the fun won't last long: I'm already on the track of the solution.'

"And raising himself in bed, he sketched with a few strokes on paper a diagram of the conditions of the problem. He needed no more time to solve it than I had needed to state it. What came out was an indeterminate equation, which he solved in whole numbers."

How, then, is the problem solved?

Solution

We'll measure the distances of the hands along the circle of the dial, starting from the point marked 12, in sixtieths of the circumference. The minute hand goes all the way around in an hour, while the hour hand manages only 1/12 of the circle in the same time. Each division, a sixtieth of the circle, therefore takes the minute hand 1 minute and the hour hand 12 minutes.

Suppose that the hands stood in one of the required positions at x hours y minutes. The minute hand is y divisions from the 12, and the hour hand is at some distance of z divisions. Let's find the relation between x, y and z. Since x full hours have gone by since 12 o'clock, the minute hand has made x full turns and gone y divisions more, and has moved ahead 60x+y divisions in all.

Two clock dials side by side. On the left, at 5 h. 42.4 min., the minute hand lies y divisions clockwise from 12 and the hour hand z divisions. On the right, at 8 h. 28.5 min., the hands have changed places: the hour hand lies at y and the minute hand at z.

The hour hand, which moves 12 times as slowly, has covered a twelfth of 60x+y, and its distance from the 12 (the z divisions) therefore comes to

z=60x+y12.

When the hands change places, the clock will show a new number of hours, x1, and z minutes, and the hour hand will be y divisions from the 12. This distance y must equal

y=60x1+z12.

We have a system of two equations with 4 unknowns:

{z=60x+y12y=60x1+z12

in which x and x1 are whole numbers from 0 to 11.28

To find the values of the unknowns, let's express z and y in terms of x and x1. We get:

y=60(x+12x1)143,

z=60(x1+12x)143.

In these two expressions x and x1 are whole numbers of hours, which can vary from 0 to 11:

x=0,1,2,3…11,

x1=0,1,2,3…11.

If we give x and x1 these values, we'll find all the moments we're after. The number of these moments (and so the number of positions that can be exchanged) is quite large, but it is limited all the same. It equals 12×12=144, which means that by no means every position of the hands has a partner in which they have changed places.

When x=0 and x1=0, we have

z=0,y=0,

that is, the clock shows 12.

We won't go through all the possible positions; we'll take just two examples.

The first is x=1, x1=1:

y=60⋅13143=5511;z=5511.

Here the clock shows 5511 minutes past 1, and the hands are meeting. Their position can of course be exchanged, as it can whenever the hands meet.

The second is x=5, x1=8:

y=60(5+12⋅8)143=42.4;

z=60(8+12⋅5)143=28.5.

The corresponding moments are 5 h. 42.4 min. and 8 h. 28.5 min.

The number of solutions, as we know, is 12×12=144.29 To find all the points of the dial that give the required positions of the hands, we have to divide its circumference into 143 equal parts: we get 144 points, and they are the ones we were looking for. At the points in between, the required positions of the hands are impossible.

The original author of this problem is the well-known French mathematician C.-A. Laisant, famous in our country for his gifted little book The Beginnings of Mathematics. He published it in the French Journal de Mathématiques Élémentaires in 1882.

A Hundred Thousand for the Answer

In recent decades one of the problems in the field of indeterminate equations has won a resounding fame, because a whole fortune has been left to whoever solves it: 100,000 German marks!

The problem is to prove the following proposition, which goes by the name of Fermat's theorem, his "great" or "last" theorem:

	the sum of like powers of two whole numbers
	cannot be the same power of any third number.
	The only exception is the second power,
	for which it is possible.

In other words, it has to be proved that the equation

xn+yn=zn

has no solution in whole numbers for n>2.

Let's make this clearer. It is fairly easy to find as many pairs of numbers as you like whose second powers add up to another second power. The simplest example is 32+42=52. But try to put together an example of the same kind for third powers, and you'll search in vain.30 The same failure awaits you if you look for examples among fourth, fifth, sixth powers and so on. This is what Fermat's last theorem asserts.

What, then, must the competitors for the prize do? They must prove the proposition. For Fermat's theorem has not been proved yet; it hangs, as it were, in the air.31 More than two centuries have gone by since it was stated, and mathematicians have still not managed to find a proof. The greatest of them have labored over the problem, and at best they succeeded in proving the theorem for one separate exponent or another, or for groups of exponents. What is needed is a general proof, for every whole exponent.

The remarkable thing is that this elusive proof seems to have been found once already, and then lost again. The theorem's author, Pierre Fermat, a mathematician of genius of the seventeenth century,32 claimed that he knew how to prove it. He wrote his great proposition (like a number of other theorems in the theory of numbers) as a note in the margin of a work by Diophantus, and added these words:

"I have found a truly astonishing proof of this proposition, but there is too little room here to give it."

No trace of this proof has ever been found, in the great mathematician's papers, in his letters to his friends, or anywhere else.

Those who came after Fermat had to make their own way. Here is what their efforts have achieved. Euler (in 1770) proved Fermat's theorem for the third power; Legendre (in 1823) proved it for the fifth,33 and Lamé and Lebesgue (in 1840) for the seventh. In 1849 Kummer proved it for an extensive group of powers, including all exponents below a hundred. This last work goes far beyond the mathematics that Fermat knew, and it becomes a mystery how he could have hit upon a general proof of his "great proposition."

The bequest we spoke of, which has made Fermat's theorem so popular, was left to the Göttingen Academy of Sciences in 1907. Here is the text of the Academy's announcement, published on June 27, 1908.

"Under the bequest made to us by the late Dr. Paul Wolfskehl of Darmstadt, a prize of 100,000 marks is offered to the person who first succeeds in finding a proof of 'Fermat's great theorem.' Dr. Wolfskehl points out that Fermat asserted that the equation xn+yn=zn has no whole-number solutions for any odd prime exponent. Fermat's theorem must be proved either in its most general form, or as a supplement to Kummer's researches, but in any case for all exponents n for which the theorem holds at all.

"The prize is established on the following conditions:

"The Göttingen Academy of Sciences has the right to decide freely to whom the prize is to be awarded. It accepts no manuscripts submitted in competition for the prize; it considers only mathematical works that have appeared in journals or have been issued as separate books obtainable in the trade. The Academy asks the authors of such works to send it 5 printed copies.

"The Academy disclaims responsibility for failing to consider works of which it was not informed, and also for any misunderstanding that may arise because the true author of a work (or of part of one) remained unknown to the Academy.

"The prize will be awarded no sooner than two years after the appearance of a work that deserves it. During this period all mathematicians, German and foreign, may express their opinion on the correctness of the proposed solution.

"The award of the prize is not open to challenge.

"If the prize has not been awarded by September 13, 2007, no further claims to it may be made."

To the Göttingen Academy's announcement, given here with some unimportant omissions, it's interesting to add the remarks made about it by the famous German mathematician F. Klein (now dead):

"Since Wolfskehl's will was first made public, the Göttingen Academy has already received several hundred so-called 'proofs' of Fermat's theorem, and one must suppose that after the official announcement of the prize their number will grow considerably. The number of genuine mathematicians among the competitors is very small indeed. Most of the solutions come from engineers, bank directors, students of both sexes, schoolboys, pastors, teachers. Not one of the competitors has taken the path of research based on the theory of numbers, the path that the testator in any case had in mind. Evidently the desire to get hold of 100,000 marks is far more widespread than an interest in the deep relationships of modern mathematics.

"As things stand, it is obviously impossible, and would even be useless, for the Academy to enter into correspondence with individual competitors about the mistakes in their proofs. The Academy will speak only when a correct proof has been delivered to it. As long as it keeps silent, therefore, no correct solution has yet been offered."

What mistakes are possible in the search for this elusive proof can be seen from the case of the eminent German mathematician F. Lindemann.

In 1909 he brought out a work in which he offered two proofs of Fermat's theorem. People were ready to hail him as the winner of the prize when it came out that errors had crept into his working: in one proof a faulty substitution, in the other a mere slip of the pen (an exponent 6 in place of 5). The errors were discovered by one of the Russian mathematicians.

A stunt without precedent in science was pulled by the Dührings, father and son, German mathematicians of some note. Shortly before the imperialist war, as we call the World War of 1914, they announced in print that they had found a proof of Fermat's theorem, but... they didn't wish to disclose it.

Needless to say, nobody can take statements of this kind seriously.

Be that as it may, the prize has not been awarded to anyone to this day. All that has been paid out, from the interest on the capital, is a certain sum to two mathematicians for their work on the problem.

But then the testator evidently never expected a quick solution to the problem he had set. Not for nothing does his will keep the prize open for a hundred years.

Chapter 5: The Sixth Operation of Mathematics

The Sixth Operation

Addition has one inverse operation, subtraction, and multiplication has one, division. The fifth operation of mathematics, raising to a power, has two: finding the base and finding the exponent. To find the base is the sixth operation, and it is called extracting a root. To find the exponent is the seventh, and it is called taking a logarithm. Why should raising to a power have two inverse operations when addition and multiplication have only one apiece? The reason isn't hard to see. Whichever of the two numbers we look for in a sum, or in a product, the method is the same; but the base of a power and its exponent are found in entirely different ways.

The sixth operation, extracting a root, is denoted by the sign . Not everyone knows that this is nothing but an altered form of the Latin letter r, the first letter of radix, the word for "root." There was a time (the sixteenth century) when the sign for a root was a capital R instead of a small letter, and next to it stood the first letter of the Latin word for "square" (q) or "cubic" (c), to show which root was to be extracted.34 People wrote, for example,

R.q.4352

where we now write

4352.

Add to this that our signs for plus and minus had not yet come into general use, so that people wrote the letters p. and m. instead, and that for our brackets they had the signs ⌊ ⌋, and you'll see how strange the algebraic expressions of those days must look to a modern eye.

Here is an example from a book by the old mathematician Bombelli (1572):

R.c.⌊R.q.4352p.16⌋m.R.c.⌊R.q.4352m.16⌋.

We would write the same thing with other signs:

4352+163−4352−163.

Besides an, another notation is now used for the same operation: a1n. It lends itself very well to generalization, for it shows at a glance that every root is simply a power whose exponent is a fraction. It was proposed by Stevin, the remarkable Dutch mathematician of the sixteenth century.

Markups

To show how everyday business may call for the extraction even of high roots, let's consider the following problem.

On its way to the consumer an article passed through eight agencies, each of which added the same percentage to the price that it had paid itself. In the end the consumer had to buy the article at 100% above its original price.

What percentage did each agency add?

Solution

If the original price of the article was a, and each agency added x percent, then the second agency paid

a+ax100=a(1+x100).

The third agency got the article for

a(1+x100)+a(1+x100)x100=a(1+x100)(1+x100).

In the same way we find that the fourth agency bought it for

a(1+x100)(1+x100)(1+x100)=a(1+x100)3,

and the eighth for

a(1+x100)7.

When it reached the consumer, after the eighth markup, the article cost

a(1+x100)8.

We were told that the final price was 100% above the original one, which is to say that it was 2a. Consequently,

a(1+x100)8=2a, and (1+x100)8=2,

from which

1+x100=28.

To calculate 28, we write this root in the form

2

and work it out one step at a time:

2≈1.41;1.41≈1.19;1.19≈1.09.

Consequently,

1+x100=1.09, and x=9.

Each agency added 9%.

From the Edison Tests

To know algebra well is to handle radicals with confidence and to transform them, by long habit, without mistakes. The skill of taking complicated expressions with radicals in them and bringing them, by well-chosen steps, to a simpler form matters a great deal in practice, and it was with good reason that Edison included a rather hard problem of this kind among the tests he set for the young candidates for his scholarship.35

Here it is.

Simplify the expression:

1x+1−1x+1+1×[(x+1+1)12(x+1)−12−(x+1−1)12(x+1)−12(x+1+1)2].

Solution

Let's begin with the numerator of the fraction in brackets. Taking out the common factor

12(x+1)−12,

we get

12(x+1)−12(x+1+1−x+1+1)=12⋅2(x+1)−12=(x+1)−12.

The fraction in front of the square brackets we write in the form

x+1+1x+1−1,

and we multiply its numerator and its denominator by the numerator:

(x+1+1)2(x+1−1)(x+1+1)=(x+1+1)2(x+1)2−1=(x+1+1)2x.

We have now brought the original expression to the form

(x+1+1)2x⋅(x+1)−12(x+1+1)2.

After we cancel and tidy up a little, it simplifies to

1xx+1.

Which Is Greater?

Which is greater, 55 or 2?

You have to solve this problem and the ones that follow without calculating the values of the roots.

Solution

We raise both expressions to the 10th power and get

(55)10=52=25;(2)10=25=32.

Since 32 > 25, it follows that

2>55.

Now a second problem: which is greater, 44 or 77?

Solution

We raise both expressions to the 28th power and get

(44)28=47=214=27⋅27=1282,(77)28=74=72⋅72=492.

Since 128 > 49, it follows that

44>77.

Problem III

Which is greater, 7+10 or 3+19?

Solution

We square both expressions:

(7+10)2=17+270,(3+19)2=22+257.

If we take 17 from each, we are left with

270and5+257.

We square these in their turn:

280and253+2057.

Taking 253 from each, we compare

27and2057.

Since 57 is greater than 7, we have 2057>27, and consequently

3+19>7+10.

What Does It Equal?

What is the value of the expression

252525…

and so on to infinity?

Solution

At first sight the problem seems very hard, above all because the number of radicals is infinite. There is, however, a simple trick for solving problems like this. Call the value we want x. Underneath the first two radicals the whole expression begins over again, and therefore

25x=x.

We have an equation, and we square it twice to free it of radicals:

25x=x2,4⋅5x=x4.

Since x is obviously not equal to 0, we have the right to divide the last equation by x, which gives

20=x3,x=203.

Our infinite heap of radicals, then, doesn't amount to much: a little less than 3. (With a table of logarithms we can find 203 more exactly: it is 2.71.)

Now for another. What is the value of the expression

345345…

and so on to infinity?

Solution

We proceed as in the last problem and call the value of the expression x. Then

345x=x,345x=x2,32⋅45x=x4,34⋅42⋅5x=x8,34⋅24⋅5x=x8,34⋅24⋅5=x7,x=34⋅24⋅57=64807.

It is easy to see that x lies between 3 and 4 (a calculation with a table of logarithms gives the more exact value 64807≈3.50).36

Solve It at a Glance

Take a good look at the equation

xx3=3

and say what x is equal to.

Solution

Anyone thoroughly at home with the symbols of algebra will see that

x=33.

Indeed, in that case

x3=(33)3=3.

But if x3=3, then the exponent in our equation is 3, and the equation is satisfied:

xx3=x3=3.

If this "solution at a glance" is too much for you, you can make the search for the unknown easier as follows. Let

x3=y.

Then:

x=y3,

and the equation takes the form

(y3)y=3.

Clearly y=3, and consequently

x=y3=33.

Algebraic Comedies

The sixth operation of mathematics makes it possible to stage real algebraic comedies and farces, with plots such as "2 × 2 = 5," "2 = 3," and the like. The humor of these mathematical performances lies in a mistake, a fairly elementary one, that is slightly disguised and doesn't catch the eye at once. Let's put on two pieces from this comic repertoire of algebra.

The First Comedy: 2 = 3

First there appears on the stage an equality that nobody can dispute:

4−10=9−15.

In the next "scene" the same quantity, 614, is added to both sides:

4−10+614=9−15+614.

The rest of the comedy consists of transformations:

22−2⋅2⋅52+(52)2=32−2⋅3⋅52+(52)2,(2−52)2=(3−52)2.

The square root is extracted from both sides, with the result

2−52=3−52.

We add 52 to each side and arrive at the absurdity

2=3.

Where does the mistake lie?

Solution

The mistake slipped in with the following inference. From the fact that

(2−52)2=(3−52)2

it was concluded that

2−52=3−52.

But if the squares of two numbers are equal, it by no means follows that the numbers themselves, their first powers, are equal.

After all, (−5)2=52, but −5 is not equal to 5. Squares can be equal even when the first powers differ in sign. In our example this is exactly what we have:

(−12)2=(12)2,

but −12 is not equal to 12.

The Second Comedy

Another algebraic farce,

2×2=5,

is played on the model of the first and depends on the same trick. There appears on the stage an equality that arouses no suspicion:

16−36=25−45.

Equal numbers are added,

16−36+2014=25−45+2014,

and the following transformations are performed:

42−2⋅4⋅92+(92)2=52−2⋅5⋅92+(92)2,(4−92)2=(5−92)2.

Then, by the same unlawful inference, we pass to the finale:

4−92=5−92,4=5,2×2=5.

These comic incidents should warn the inexperienced mathematician to take care when operating on equations that have the unknown under a root sign.

Chapter 6: Equations of the Second Degree

Handshakes

Any problem that leads to an equation of the first degree can be solved without the equation too, by plain common sense. Problems that lead to an equation of the second degree are another matter: arithmetic can't cope with them, even when the problem is not complicated at all. Try solving this one, for example, by arithmetic.

The people at a meeting shook hands with one another, and somebody counted 66 handshakes in all. How many people came to the meeting?

Solution

By algebra the problem is very simple. Each of the x people there shook x−1 hands, and that ought to make x(x−1) handshakes altogether. But we have to bear in mind that when Ivanov shakes Petrov's hand, Petrov also shakes Ivanov's, and that these two handshakes count as one. The number counted is therefore half of x(x−1), and we have the equation:

x(x−1)2=66,

or, after rearranging,

x2−x−132=0,

from which:

x=1±1+5282,

x1=12;x2=−11.

A negative solution (minus 11 people) makes no real sense here, and we discard it and keep only the first root: 12 people took part in the meeting.

The only way to solve this problem by arithmetic is to hunt for a suitable pair of factors of 132: a run of trials will bring you to 12 × 11.

The Swarm of Bees

Ancient India had a favorite sport of a peculiar kind: public contests in the solving of puzzles. Hindu textbooks of mathematics were written partly as training manuals for these championships of the mind. "By the rules set out here," writes the author of one of them, "a wise man can devise a thousand other problems. As the sun by its brilliance eclipses the stars, so will a man of learning eclipse the fame of others in the assemblies of the people, by proposing and solving algebraic problems." In the original it is more poetic still, for the whole book is written in verse. The problems, too, were dressed up as poems. Here is one of them, put into prose.

"Bees equal in number to the square root of half their whole swarm settled on a jasmine bush, leaving 89 of the swarm behind them. And only one little bee of that swarm circles about a lotus, drawn by the buzzing of a friend who has blundered into the trap of the sweet-smelling flower. How many bees are there in the swarm?"

Solution

This is no easy problem to solve in your head: it leads to a quadratic equation, and so the methods of arithmetic are no use. If we call the number of bees in the swarm x, the equation is:

x2+89x+2=x.

We can give it a simpler look by bringing in an auxiliary unknown:

y=x2.

Then x=2y2, and the equation becomes:

y+16y29+2=2y2, or 2y2−9y−18=0.

Solving it, we get two values for y:

y1=6;y2=−32.

The corresponding values of x are:

x1=72;x2=4.5.

The number of bees must be whole and positive, and so only the first root satisfies the problem: the swarm consisted of 72 bees. Let's check:

722+89⋅72+2=6+64+2=72.

A Troop of Monkeys

I can give you another Hindu problem in verse, because it was put into Russian verse by Vasily Ivanovich Lebedev, the author of an excellent little book called Who Invented Algebra?

	Two bands of monkeys, out to play:
	The eighth part of them, squared, made way
	To frolic through the grove, all gay;
	The other twelve, with joyful cry,
	Sent echoes ringing to the sky.
	How many monkeys, tell me, pray,
	Were in the grove, all told, that day?

Solution

If there are x monkeys in the whole troop, then:

(x8)2+12=x,

from which:

x1=48;x2=16.

The problem has two positive solutions: the troop may have held 48 animals, or 16. Both answers satisfy it completely.

The Foresight of Equations

In these three cases we did different things with the two solutions of our equations, depending on what the problem said. In the first we discarded the negative root because it made nonsense of the question; in the second we turned down a fractional root, which came of a negative y. In the third, on the other hand, we made use of both. Sometimes the existence of a second solution comes as a complete surprise, and not only to the person who has solved the problem but even to the one who thought it up. Here is an example in which the equation seems to have more foresight than whoever wrote it down.

A ball is thrown upward at a speed of 25 meters a second. In how many seconds will it be 20 meters above the ground?

Solution

For bodies thrown upward, when there is no air resistance, mechanics gives the following relation between the height reached (h), the initial speed (v), the acceleration of gravity (g) and the time in seconds (t):

h=vt−gt22.

We can neglect air resistance here, since at low speeds it isn't very great and we're not after strict accuracy. To simplify the sums, let's also take g as 10 meters instead of 9.8 (an error of only 2%). Putting the values of h, v and g into the formula, we get:

20=25t−10t22,

and, when we've simplified,

t2−5t+4=0.

We solve the equation and have:

t1=1andt2=4.

The ball will be 20 meters up twice: after 1 second and after 4 seconds. This may well seem incredible, and without stopping to think we're ready to throw the second solution out. That would be a mistake! The second solution makes perfect sense; the ball really must visit the height of 20 meters twice, once on the way up and once again on the way back down. It's easy to work out that a ball with an initial speed of 25 meters a second must fly upward for 2.5 seconds and reach a height of 31.25 meters. Having got to 20 meters after 1 second, the ball will go on rising for another 1.5 seconds, then spend the same time dropping back to 20 meters, and a second later it will reach the ground.

Loudspeakers

Five loudspeakers have been set up in a public square, in two groups: one of 2 speakers, the other of 3.

The loudspeaker problem
Figure 145 — The loudspeaker problem

The groups are 50 meters apart. Where should you stand to hear both of them equally loud?

Solution

If we call the distance from the point we want to the smaller group x, its distance from the larger group will be 50−x. Since the loudness of sound weakens in proportion to the square of the distance, we have the equation:

23=x2(50−x)2,

which simplifies to this:

x2+200x−5000=0.

Solving it, we get two roots:

x1=22.5,

x2=−222.5.

The positive root answers the question directly: the point of equal loudness lies 22.5 meters from the group of two loudspeakers and therefore 27.5 meters from the group of three.

Two points of equal loudness
Figure 146 — Two points of equal loudness

But what does the negative root of the equation mean? Does it make any sense?

Certainly it does. The minus sign means that a second point of equal loudness lies in the direction opposite to the one we took as positive when we set up the equation.

If we measure off 222.5 meters that way from the two speakers, we'll find a point where the sounds of both groups arrive equally loud. From the group of three this point is 222.5 + 50 = 272.5 meters away. The following proportion should hold, and it's easy to convince yourself that it does:

23=222.52272.52.

Take the product of the outer terms,

2×272.52,

More on the loudspeaker problem
Figure 147 — More on the loudspeaker problem

compare it with the product of the inner ones,

3×222.52,

and the agreement will be good enough:

149000=149000.

It doesn't go beyond the third digit, which is just what we should expect, since in solving the equation we extracted the root to only three digits (as many as there are in the number under the root sign).

We have now found two points of equal loudness among those that lie on the straight line joining the sources of sound. There are no others on this line, but there are others off it. Fuller courses of geometry prove that the locus of points satisfying our problem, the path made up of all of them, is a circle drawn through the two points we've just found, as through the ends of a diameter. This circle bounds an area (a pretty extensive one, as we see) inside which the group of two loudspeakers drowns out the group of three; beyond the circle, the opposite happens.

The Algebra of a Flight to the Moon

The loudspeaker problem has an unexpectedly close connection with the problem of flying to the Moon in a rocket ship. Many people fear that it will be much too hard to hit so small a target in the sky: the Moon's diameter, after all, spans an angle of only half a degree for us. On closer inspection it turns out that the venture will succeed if the rocket manages to fly past the point where the Earth and the Moon attract equally; from there on, the ship must inevitably move toward the Moon, drawn by its attraction. Let's look for this point of equal attraction.

Solution

By Newton's law, the force with which two bodies attract each other is directly proportional to the product of their masses and inversely proportional to the square of the distance between them. If the mass of the Earth is M and the rocket's distance from it is x, then the Earth attracts each gram of the rocket's mass with this force:

Mkx2,

where k is the force with which one gram attracts another at a distance of 1 centimeter.

At the same point, the Moon attracts each gram of the rocket with the force:

mk(l−x)2,

where m is the mass of the Moon and l its distance from the Earth (we suppose the rocket to be between the Earth and the Moon, on the line joining their centers). The problem requires that:

Mkx2=mk(l−x)2,

Mm=x2l2−2lx+x2.

The ratio Mm, as astronomy tells us, is 81.6; putting this in, we have:

x2l2−2lx+x2=81.6,

from which:

80.6x2−163.2lx+81.6l2=0.

Solving the equation for x, we get:

x1=0.9l;x2=1.11l.

Just as with the loudspeakers, we come to the conclusion that there are two such points on the line from the Earth to the Moon, two points where the rocket must feel the same pull from both: one at 0.9 of the distance between them, counting from the Earth's center, the other at 1.11 of that distance. Since the distance l between the centers of the Earth and the Moon is 384,000 kilometers, one of the points lies 342,000 kilometers from the Earth and the other 426,000.37

The problem of the flight to the Moon
Figure 150 — The problem of the flight to the Moon

But we know from the last problem that all the points of a circle have the same property, the circle that passes through our two points as through the ends of a diameter. And if we spin this circle around the line joining the centers of the Earth and the Moon, we'll get a spherical surface, every point of which meets the demands of the problem.

The diameter of this sphere, as you'll easily see, is:

0.1l+0.11l=0.21l=80000 km.

A rocket that finds itself inside this sphere, moving at no great speed, must inevitably fall to the Moon's surface, because in this region the Moon's attraction overpowers the Earth's.

The target the rocket has to hit, we see, is much bigger than anyone might think. It takes up not half a degree of the sky but, as a simple piece of geometry shows, about 12°. That makes the star voyagers' task a good deal easier.38

Once again the equation seems to have seen farther than the person who set it up. When you started on the problem, did it occur to you that the Earth's attraction is stronger than the Moon's not only in front of the Moon but behind it as well? Algebra unexpectedly laid this fact before you, and helped you mark out exactly where the sway of the one body ends and that of the other begins.

A Difficult Problem

Many people know Bogdanov-Belsky's painting "A Difficult Problem" (it is reproduced in the 1932 edition of Arithmetic for Entertainment), in which a group of peasant boys puzzle over a sum on a blackboard. But few of those who have seen it have gone into the "difficult problem" itself. It is to find quickly, in your head, the result of this calculation:

102+112+122+132+142365.

The problem really isn't an easy one. It was well within the powers, however, of the pupils of the teacher who appears in the painting, a true likeness. He is S. A. Rachinsky, a professor of natural sciences who gave up his university chair to become an ordinary teacher in a village school. In his school this gifted teacher cultivated mental arithmetic based on a virtuoso's command of the properties of numbers. The numbers 10, 11, 12, 13 and 14 have a curious property that Rachinsky's young charges knew well:

102+112+122=132+142.

Since the left side is equal to 100 + 121 + 144 = 365, it's easy to reckon in your head that the expression in the painting is equal to 2.

Algebra lets us put a wider question about this interesting property: is this the only run of five consecutive numbers in which the sum of the squares of the first three is equal to the sum of the squares of the last two?

Solution

If we call the first of the numbers x, we have the equation:

x2+(x+1)2+(x+2)2=(x+3)2+(x+4)2.

It's more convenient, though, to let x stand for the second of the numbers instead of the first. Then the equation will be:

(x−1)2+x2+(x+1)2=(x+2)2+(x+3)2.

Multiplying out and simplifying, we get:

x2−10x−11=0,

from which:

x=5±25+11;x1=11;x2=−1.

There are therefore two runs of numbers with the property we want. One is Rachinsky's:

10,11,12,13,14,

and the other is:

−2,−1,0,1,2.

And indeed:

(−2)2+(−1)2+02=12+22.

A Sum of Cubes

The next problem is much like the one we've just considered.

Find four consecutive numbers such that the cube of the last is equal to the sum of the cubes of the three before it.

Solution

In this case the equation comes out simpler if x stands for the first of the numbers:

x3+(x+1)3+(x+2)3=(x+3)3.

Multiplying out and collecting terms, we get:

x3−6x−9=0.

This is an equation of the third degree, but it can be reduced to a quadratic. To do that, let's write it like this:

x3−9x+3x−9=0,

and transform it step by step:

x(x2−9)+3(x−3)=0,

x(x+3)(x−3)+3(x−3)=0,

(x−3)[x(x+3)+3]=0,

(x−3)(x2+3x+3)=0.

The product of two factors can be zero when one of them or both are zero, that is, when:

x−3=0orx2+3x+3=0.

From the first equation it follows that x=3: this is one root of the cubic equation. We'll find the other two by solving the second:

x2+3x+3=0,

x=−3±9−122=−3±−32.

Four cubes in a row, drawn to scale, with 3, 4, 5 and 6 written on their front faces; plus signs join the first three, and an equals sign stands before the largest, the cube of edge 6

Since the square root of a negative number is an imaginary quantity, we have to discard the last two roots. The problem therefore has only one solution, 3, 4, 5 and 6:

33+43+53=63.

It means, among other things, that a cube with an edge of 6 centimeters has the same volume as three cubes with edges of 3, 4 and 5 centimeters put together. Tradition has it that this relation greatly interested Plato.

What Numbers?

Find three consecutive numbers such that the square of the middle one is greater by 1 than the product of the other two.

Solution

If the first of the numbers is x, the equation is:

(x+1)2=x(x+2)+1.

Multiplying out, we get:

x2+2x+1=x2+2x+1,

or 0 = 0, an equality from which we can't determine x. It shows that what we have set up is an identity: it holds for any value of the letters in it, and not just for certain values, as an equation does. This means that any three consecutive numbers have the property we want. Let's take some at random:

17,18,19.

We find that indeed:

182−17⋅19=324−323=1.

It's easier to see why this has to be so if we let x stand for the second number. Then we get the equality:

x2−1=(x+1)(x−1),

which is an obvious identity.

A Tricky System

A system of two quadratic equations in two unknowns leads, in general, to an equation of the fourth degree, which can't be solved by the means of school algebra. But some systems can be transformed in such a way that they yield easily to elementary methods. The artful dodges this sometimes calls for will be seen from the next problem, which was set in competitive entrance examinations for higher schools before the Revolution.

Solve the system:

{x2+y=7x+y2=11

Solution

Subtracting the first equation from the second, we get:

x+y2−x2−y=4.

We transform this:

y2−x2−(y−x)=4,

(y−x)(y+x)−(y−x)=4,

(y−x)(y+x−1)=4.

It's not hard to see that the factors y−x and y+x−1, whose product is the whole number 4, can only be whole numbers. (The number 4 can also be got by multiplying a whole number by a fraction, but then the difference and the sum of the expressions y−x and y+x−1 would be fractions, whose product cannot be whole.) We have to choose these whole numbers from the following:

2 and 2;−2 and −2;4 and 1;−4 and −1;1 and 4;−1 and −4.

In other words:

y−x might be equal to 2, −2, 4, −4, 1, −1,
and then y+x−1 would be equal to 2, −2, 1, −1, 4, −4.

Which of these pairs will do? When we've tried them all, we find that the two factors can only be 1 and 4:39

y−x=1,

y+x−1=4.

Adding these equations, and then subtracting the first from the second, we get:

y=3;x=2.

That is the solution of our tricky system. Indeed:

22+3=7,

2+32=11.

As you see, we borrowed here some of the methods that are used to solve indeterminate equations.

Two Trains

Two railway lines cross at right angles. Two trains are rushing along them toward the crossing. They set out at the same moment, one from a station 40 kilometers from the crossing, the other from a station 50 kilometers from it. The first covers 800 meters a minute, the second 600.

How many minutes after setting out were the locomotives closest to each other? And how far apart were they then?

Solution

This problem and the ones that follow belong to a very interesting kind of exercise: finding a greatest or a least value. They can be solved in various ways, one of which we'll now show.

Let's draw a diagram of how the trains in our problem move. Let the straight lines AB and CD be the crossing tracks, as in the figure. Station B is 40 kilometers from the crossing point O, station D is 50. Suppose that after x minutes the locomotives are at their shortest distance from each other, MN=m. By that moment the train that left B has traveled the distance BM=0.8x, since its speed is 800 meters, or 0.8 kilometer, a minute. Therefore OM=40−0.8x. In just the same way we find that ON=50−0.6x. By the theorem of Pythagoras:

MN=m=OM2+ON2=(40−0.8x)2+(50−0.6x)2.

We square both sides of the equation:

m=(40−0.8x)2+(50−0.6x)2,

The problem of the two trains
Figure 158 — The problem of the two trains

and, after simplifying, get:

x2−124x+4100−m2=0.

Solving this equation for x, we have:

x=62±m2−256.

Since x, the number of minutes that have passed, cannot be imaginary, m2−256 must be positive or, at the very least, equal to zero. In this last case m has its least value, and then:

m2=256, and m=16.

Clearly m cannot be less than 16, or x becomes imaginary. And if m2−256=0, then x=62.

The locomotives, then, will be closest to each other after 62 minutes, and the distance between them will then be 16 kilometers.

Let's see where they are at that moment. We calculate the length OM; it is:

40−62⋅0.8=−9.6.

The minus sign means that the locomotive will have gone 9.6 kilometers past the crossing. The distance ON, meanwhile, is:

50−62⋅0.6=12.8,

which means that the second locomotive will still be 12.8 kilometers short of it. The right-hand side of the figure shows where the locomotives are. As we see, it's not at all what we imagined before we solved the problem. The equation proved tolerant enough to give the right solution in spite of a wrong diagram. It's not hard to see where this tolerance comes from: it is the work of the algebraic signs.

Where Should the Halt Be Built?

Off to one side of a straight stretch of railway, 20 kilometers from it, lies the village B. Where should a halt, C, be built so that the journey from station A to B, by rail along AC and then by road along CB, takes the least possible time? Trains travel at 0.8 kilometer a minute, and traffic on the road at 0.2.

Solution

Let's call the distance AD (from A to the foot of the perpendicular BD dropped onto AD) a, and the distance CD we will call x. Then AC=AD−CD=a−x, and CB=BD2+CD2=x2+202. The time the train takes to cover AC is:

AC0.8=a−x0.8.

The time taken on the road CB is:

CB0.2=x2+2020.2.

The problem of the halt
Figure 160 — The problem of the halt

And the whole journey from A to B takes:

a−x0.8+x2+2020.2.

This sum, which we'll call m, has to be the least possible.

We take the equation:

a−x0.8+x2+2020.2=m,

and rewrite it like this:

−x0.8+x2+2020.2=m−a0.8.

Multiplying by 0.8, we have:

−x+4x2+202=0.8m−a.

If we call 0.8m−a k and clear the equation of its radical, we get the quadratic equation:

15x2−2kx+6400−k2=0,

from which:

x=k±16k2−9600015.

Since k=0.8m−a, the least value of m brings with it the least value of k, and the other way around. But for x to be real, 16k2 must be no less than 96,000. The least value for 16k2, then, is 96,000, and m becomes least when:

16k2=96000,

from which k=6000, and consequently:

x=k±015=600015=5.16.

The halt should be built 5.16 kilometers from the point D, whatever the length a=AD.

But of course our solution makes sense only when x<a, because in setting up the equation we took a−x to be a positive number.

If x=a=5.16, there is no need to build a halt at all; the road will have to run straight to the station. The same must be done whenever the distance a is shorter than 5.16 kilometers.

This time we turn out to have more foresight than the equation. Had we trusted it blindly, we should have had to build the halt on the far side of the station, which would be a plain absurdity: nobody in a hurry to catch a train drives past the station. It is an instructive case. It shows that when we use the tools of mathematics we must look at the results with due caution: the logic of real life doesn't always wholly coincide with the logic of the equation in which we have dressed it.

Where Should the Road Be Built?

Freight has to be sent from the riverside town A to the place B, which lies a kilometers farther down the river and d kilometers from its bank. How should a road be built from B to the river so that carrying freight from A to B costs as little as possible?

Carrying a ton for a kilometer costs half as much by river as by road.

Solution

Let's call the point where the road meets the river D, and the point on the bank straight across from B, C. We write x for the distance AD, y for the length DB of the road, a for the length AC, and d for BC.

Since carriage by road costs twice as much as by river, the problem requires this sum to be the least possible:

x+2y.

If we call that least value m, we have the equation:

x+2y=m.

But x=a−DC, while DC=y2−d2, and our equation becomes:

a−y2−d2+2y=m,

or, once we've cleared it of the radical,

3y2+4(a−m)y+(a−m)2+d2=0.

We solve it:

y=−2(a−m)±(a−m)2−3d23.

The problem of the road
Figure 163 — The problem of the road

For y to be real, (a−m)2 must be no less than 3d2. The least value of (a−m)2 is 3d2, and then, as m is greater than a, we have:

m−a=d3;y=2(m−a)+03=2d33.

The sine of the angle BDC is the ratio of d to y, that is:

d:2d33=32.

But the angle whose sine is 32 is 60°. The road, then, must be built at an angle of 60° to the river, whatever the distance AC.

Here we run into the same peculiarity we met in the last problem. The solution makes sense only under a certain condition. If the place is so situated that a road built at 60° to the river would come out on the far side of the town A, the solution doesn't apply; in that case we should link B directly to A by road and not use the river for freight at all.

When Is a Product Greatest?

Many problems "of maximum and minimum," that is, of finding the extreme values of a variable quantity, can be solved very handily with one theorem of algebra, which we'll now meet. Consider this problem:

Into what two parts must a given number be divided for their product to be the greatest?

Solution

Let the given number be a, and let one of the parts into which we've divided it be x. We'll call the product of the two parts m:

x(a−x)=m.

To find out which value of x makes m greatest, let's solve this equation for x:

x=a±a2−4m2.

For x to be real, 4m can't exceed a2. The greatest value of 4m is therefore a2:

4m=a2; then m=a24, and x=a2.

The number, then, must be divided in half: the product of two numbers whose sum doesn't change will be greatest when the numbers are equal.

Let's consider the same problem for three numbers.

Into what three parts must a given number be divided for their product to be the greatest?

Solution

In solving this problem we'll lean on the last one. Let the three parts into which the number is divided be x, y and z, and the number itself a. We have:

x+y+z=a.

Suppose that x and y are not equal. If we replace each of them by half their sum, x+y2, the sum of the three factors won't change:

x+y2+x+y2+z=x+y+z=a.

But we already know that, when the sum doesn't change, the product of equal factors is greater than the product of unequal ones:

x+y2⋅x+y2>xy.

Therefore:

x+y2⋅x+y2⋅z>xyz.

In general, if even two of the factors in xyz are unequal, we can find numbers that give a greater product than xyz without changing the total. Only when the factors are equal can no such replacement be made: of all products of three factors with an unchanging sum, the greatest is the product of three equal ones.

The theorem can be proved in the same way for four factors, for five, and so on.

Now let's consider a more general case.

Find the values of x and y for which the expression xpyq is greatest, if x+y=a.

Solution

We have to find the value of x at which this expression is greatest:

xp(a−x)q.

Let's multiply it by the number (qp)p. We get the expression:

(qp)pxp(a−x)q,

which is evidently greatest at the same time as xp(a−x)q.

Let's write it out in this form:

(qpx)p(a−x)q=qpx⋅qpx⋅qpx⋯⏟ptimes(a−x)⋅(a−x)⋅(a−x)⋯⏟qtimes

The sum of all the factors of this product is:

qpx+qpx+qpx+⋯⏟ptimes+(a−x)+(a−x)+(a−x)+⋯⏟qtimes

=pqpx+q(a−x)=qx+qa−qx=qa.

Since the numbers q and a are constant, the sum of all the factors is a constant quantity in the product:

(qpx)p(a−x)q.

From what we proved earlier we conclude that this product reaches its maximum when its factors are equal, that is, when:

qpx=a−x=y;

and from this:

xy=pq.

The product xpyq, then, when the sum x+y is constant, is greatest when:

x:y=p:q.

In the same way it can be proved that the products

xpyqzr,xpyqzrtu,and so on,

when the sums x+y+z, x+y+z+t, and so on, are constant, reach their greatest values when:

x:y:z=p:q:r;x:y:z:t=p:q:r:u;and so on.

When Is a Sum Least?

If you'd like to try your strength at proving some useful theorems of algebra, prove the following ones for yourself:

1. The sum of two numbers whose product doesn't change becomes least when the numbers are equal.

For example, with the product 36: 4 + 9 = 13; 3 + 12 = 15; 2 + 18 = 20; 1 + 36 = 37; and lastly, 6 + 6 = 12.

2. The sum of several numbers whose product doesn't change becomes least when the numbers are equal.

For example, with the product 216: 3 + 12 + 6 = 21; 2 + 18 + 6 = 24; 9 + 6 + 4 = 19; whereas 6 + 6 + 6 = 18.

We'll take a number of examples to show how these theorems are applied in practice.

The Beam of Greatest Volume

A rectangular beam of the greatest possible volume is to be sawn from a cylindrical log. What shape should its cross section be?

Solution

If the sides of the rectangular cross section are x and y, then by the theorem of Pythagoras:

x2+y2=d2,

where d is the diameter of the log. The volume of the beam is greatest when the area of its cross section is greatest, that is, when xy reaches its greatest value. But if xy is greatest, so is the product x2y2. And since the sum x2+y2 doesn't change, the product x2y2 is greatest when x2=y2, or x=y.

The cross section of the beam, then, must be square.

Two Plots of Land

1. What shape must a rectangular plot of a given area have for its fence to be the shortest?

2. What shape must a rectangular plot have for its area to be the greatest with a given length of fence?

Solutions

1. The shape of a rectangular plot is determined by the ratio of its sides, x and y. The area of a plot with sides x and y is xy, and the length of its fence is 2x+2y. The fence will be shortest if x+y reaches its least value.

When the product xy is constant, the sum x+y is least if x=y. The rectangle we want, therefore, is a square.

2. If the sides of the rectangle are x and y, the length of the fence is 2x+2y and the area is xy. This product will be greatest at the same time as the product 4xy, or 2x⋅2y; and that product, since the sum of its factors (2x+2y) is constant, becomes greatest when 2x=2y, that is, when the plot has the form of a square.

To the properties of the square that we know from geometry we can therefore add one more: of all rectangles, it has the least perimeter for a given area and the greatest area for a given perimeter.

(In essence these are not two properties but one, since any change in a rectangle's perimeter brings a change in its area, and the other way around.)

The Paper Kite

A kite in the form of a sector of a circle is to be cut so as to take in the greatest area with a given perimeter. What should be the shape of the sector?

Solution

The problem of the paper kite
Figure 170 — The problem of the paper kite

To put the question more exactly, we have to find what ratio of the length of the sector's arc to its radius makes its area greatest for a given perimeter.

If the radius of the sector is x and the arc y, then its perimeter l and its area S are:

l=2x+y;S=xy2=x(l−2x)2.

S reaches its maximum at the same value of x as does the product

2x(l−2x),

which is four times the area. Now the sum of the factors is:

2x+(l−2x)=l,

a constant quantity, and therefore their product is greatest when:

2x=l−2x,

from which:

x=l4;y=l−2⋅l4=l2.

The sector, then, encloses the greatest area with a given perimeter when its radius is half its arc. (The length of the arc, in other words, is equal to the sum of the two radii, or the curved part of the perimeter is as long as the straight part.) How such a broad kite would fly is another question, and answering it is no part of our problem.

Building a House

A house has been ruined, all but one wall, and a new one is to be built on its site. The surviving wall is 12 meters long. The area of the new house must be 112 square meters. The costs of the work are these:

1) repairing a running meter of wall costs 25% as much as building a meter of new wall;

2) taking down a running meter of the old wall and building new wall from the material costs 50% as much as building a running meter of wall from new material.

What is the most profitable way, on these terms, to use the surviving wall?

Solution

The problem of building a house
Figure 172 — The problem of building a house

Suppose that x meters of the former wall are kept and that the remaining 12−x meters are taken down, so that the material can be used to put up part of a wall of the new house (see the figure). If it costs a to build a running meter of wall from new material, then repairing x meters of the old wall will cost ax4; putting up the stretch of length 12−x will come to a(12−x)2; the rest of that second wall will cost a[y−(12−x)], that is, a(y+x−12); the third wall, ax; and the fourth, ay. All the work will come to:

ax4+a(12−x)2+a(y+x−12)+ax+ay=a(7x+8y)4−6a.

As 6a is constant, this expression is least at the same time as the sum:

7ax+8ay.

We know that the area of the house, xy, is 112; therefore:

7ax⋅8ay=112⋅56a2.

Since the product is constant, the sum 7ax+8ay is least when:

7ax=8ay,

from which:

y=78x.

We put this expression for y into the equation:

xy=112,

and have:

78x2=112,x=128=11.3.

And since the old wall is 12 meters long, only 0.7 meter of it has to be taken down.

You can satisfy yourself that the solution doesn't change if the material of the dismantled stretch goes into a different wall.

The Gutter of Greatest Cross Section

A rectangular sheet of metal (see the figure) is to be bent into a gutter whose cross section is a trapezoid with equal sides. This can be done in various ways, as the figure shows. How wide should the side strips be, and at what angle should they be bent, for the cross section of the gutter to have the greatest area?

Solution

Let the width of the sheet be l. We'll call the width of the side strips that are bent up x, and the width of the bottom of the gutter y. We bring in another unknown, z, the distance by which each side leans out beyond the bottom; its meaning is clear from the second figure below.

The area S of the trapezoid that forms the gutter's cross section is:

S=(z+y+z)+y2x2−z2=(y+z)2(x2−z2).

Left, a rectangular sheet of width l, divided lengthwise by two dashed lines into strips x, y and x. Right, three open trapezoidal cross sections that can be bent from it: one wide and shallow, one of middling shape, one narrow and deep

The problem has come down to finding the values of x, y and z at which S is greatest, while the sum 2x+y (the width of the sheet) keeps the constant value l. We transform the expression:

S2=(y+z)2(x+z)(x−z).

S2 becomes greatest at the same values of x, y and z as 3S2, and this we can write as the product:

(y+z)(y+z)(x+z)(3x−3z).

The sum of these four factors,

y+z+y+z+x+z+3x−3z=2y+4x=2l,

doesn't change. The product of our four factors is therefore greatest when they are all equal, that is, when:

y+z=x+zandy+z=3x−3z.

From the first equation we have:

y=x,

and since y+2x=l, it follows that:

x=y=l3.

From the second equation we find:

z=x2=l6.

Cross section of the gutter: an open trapezoid with bottom y and equal sides x that lean outward; dashed perpendiculars rise from the ends of the bottom to the dashed top line and divide it into parts z, y and z; angle 1 lies between each side and its perpendicular

Next, since the leg z is half the hypotenuse x (see the figure), the angle opposite it, angle 1, is 30°, and the sides of the gutter make with the bottom an angle of 90° + 30° = 120°.

The gutter, then, will have the greatest cross section when its faces are bent into the form of three adjacent sides of a regular hexagon.

The Funnel of Greatest Capacity

The conical part of a funnel is to be made from a circle of tin. To do this, a sector is cut out of the circle and the rest is rolled into a cone. How many degrees must there be in the arc of the sector for the cone to hold the most?

Solution

Let x be the length of the arc of that part of the circle which is rolled into a cone (its actual length, not its degrees). The slant side of the cone will then be the radius R of the tin circle, and the circumference of its base will be x. We find the radius r of the cone's base from the equation:

2πr=x;r=x2π.

By the theorem of Pythagoras (see the figure), the height H of the cone is:

H=R2−r2=R2−x24π2.

The problem of the funnel
Figure 176 — The problem of the funnel

The volume V of this cone is:

V=π3r2H=π3(x2π)2R2−x24π2.

This expression is greatest at the same time as the expression

(x2π)2R2−(x2π)2,

and its square:

(x2π)4[R2−(x2π)2].

Here we have a constant sum:

(x2π)2+R2−(x2π)2=R2,

and the last product therefore reaches its maximum at the value of x for which:

(x2π)2:[R2−(x2π)2]=2:1,

from which:

(x2π)2=2R2−2(x2π)2,

3(x2π)2=2R2andx=2π3R6=5.13R.

In degrees, the arc x is 294°, and the arc of the sector to be cut out must therefore contain 66°.

The Brightest Lighting

At what height above a table must a candle flame be to throw the brightest light on a coin lying there?

Solution

You might suppose that for the best lighting the flame should be as low as possible. That isn't so: when the flame is low, its rays strike at a very shallow angle. But raise the candle so that the rays come down steeply, and you have moved the source of light farther off. The most favorable place for the flame is evidently at some middling height above the table. Let's call this height x (see the figure). We'll call the distance BC, from the coin B to the foot C of the perpendicular through the flame A, a. If the brightness of the flame is i, then by the laws of optics the illumination of the coin is:

iAB2cosα=icosα(a2+x2)2=icosαa2+x2,

The lighting problem
Figure 178 — The lighting problem

where α is the angle of incidence of the beam AB, measured from the vertical. Since

cosα=cosA=xAB=xa2+x2,

the illumination is:

ia2+x2⋅xa2+x2=ix(a2+x2)3/2.

This expression reaches its maximum at the same value of x as its square does:

i2x2(a2+x2)3.

We leave out the factor i2, as a constant, and transform the rest of the expression like this:

x2(a2+x2)3=1(x2+a2)2(1−a2x2+a2)=(1x2+a2)2(1−a2x2+a2),

because:

1−a2x2+a2=x2x2+a2.

The transformed expression reaches its maximum at the same time as this one:

(a2x2+a2)2(1−a2x2+a2),

since the constant factor a4 that we have brought in doesn't affect the value of x at which the product is greatest. Now the first powers of these factors add up to a constant quantity:

a2x2+a2+1−a2x2+a2=1,

from which we conclude that the product becomes greatest when:

a2x2+a2:(1−a2x2+a2)=2:1.

We have the equation:

a2=2x2+2a2−2a2.

Solving it, we find:

x=a2=0.71a.

The coin is lit most brightly when the height of the light is 0.71 of the distance from the coin to the point directly beneath the light.

It helps to know this ratio when you're arranging the best lighting for a place of work.

Chapter 7: Progressions

The Oldest Progression

The oldest problem about progressions isn't the one about rewarding the inventor of chess, for all its two thousand years. Far older is a problem about sharing out bread, set down in the famous Rhind papyrus of Egypt. This papyrus, which Rhind tracked down half a century ago, was drawn up about 2000 years before our era. It is itself a copy of another, still more ancient mathematical work, which may belong to the third millennium B.C.40 Among the problems in arithmetic, algebra and geometry that fill the document is this one (we give it in a free version):

Divide a hundred measures of bread among 5 men in such a way that the second gets as much more than the first as the third gets more than the second, the fourth more than the third, and the fifth more than the fourth. Besides this, the first two together must get one seventh of what the other three get. How much should each be given?

Solution

Clearly the shares of bread make up an increasing arithmetic progression. Let its first term be x and its common difference y. Then the shares are:

of the firstx
of the secondx+y
of the thirdx+2y
of the fourthx+3y
of the fifthx+4y

The conditions of the problem give us two equations:

{x+(x+y)+(x+2y)+(x+3y)+(x+4y)=1007[x+(x+y)]=(x+2y)+(x+3y)+(x+4y).

Simplified, the first becomes:

x+2y=20,

and the second:

11x=2y.

Solving this pair, we get:

x=123;y=916.

The bread, then, must be divided into these portions:

123;1056;20;2916;3813.

Algebra on Squared Paper

This problem is fifty centuries old, and yet progressions came into our own schools fairly recently. Magnitsky's textbook, published two hundred years ago and for a good half century the chief manual of the Russian schools, does contain progressions, but it gives no general formulas to connect their quantities with one another. Even the author of the book, therefore, had some trouble with problems of this kind.

Deriving the formula for the sum of an arithmetic progression
Figure 182 — Deriving the formula for the sum of an arithmetic progression

Yet the formula for the sum of an arithmetic progression is easy to derive, by a simple method you can see at a glance, with the help of a sheet of squared paper. On such paper any arithmetic progression turns into a figure shaped like a staircase. The figure ABDC in the drawing, for example, represents the progression:

2;5;8;11;14.

To find the sum of its terms, let's extend the drawing to the full rectangle ABGE. That gives us two equal figures, ABDC and DGEC, and the area of each represents the sum of the terms of our progression. Twice the sum of the progression is therefore equal to the area of the rectangle ABGE, that is, to:

(AC+CE)×AB.

But AC+CE represents the sum of the first and fifth terms, and AB the number of terms. Twice the sum, then, is:

2S=(sum of the end terms)×(number of terms),

or:

S=(first term+last term)×(number of terms)2.

Watering the Vegetable Garden

The problem of watering the vegetable garden
Figure 183 — The problem of watering the vegetable garden

A vegetable garden has 30 beds, each 16 meters long and 2.5 meters wide. To water them, the gardener carries pails from a well 14 meters from the edge of the garden (see the figure) and walks around the beds along the paths between them. The water he can bring in one trip is enough for a single bed. How far must he walk to water the whole garden? His journey begins and ends at the well.

Solution

To water the first bed the gardener has to walk:

14+16+2.5+16+2.5+14=65 m.

For the second he walks:

14+2.5+16+2.5+16+2.5+2.5+14=65+5=70 m.

Each bed calls for a walk 5 m longer than the bed before it, and we have the progression:

65;70;75;…;65+5⋅29.

The sum of its terms is:

(65+65+29⋅5)302=4125 m.

To water the whole garden, the gardener walks 4.125 kilometers.

A Flock of Hens

A certain amount of feed was laid in for a flock of 31 hens, reckoned at one decaliter (ten liters) a week for each hen. The flock, it was assumed, would stay the same size. In fact it shrank by 1 hen every week, and the feed lasted twice as long as planned.

How much feed was there, and for how long was it originally meant to last?

Solution

Suppose that x decaliters of feed were laid in, for y weeks. Since the feed was reckoned for 31 hens at 1 decaliter per hen per week:

x=31y.

In the first week the flock ate 31 decaliters, in the second 30, in the third 29, and so on down to the last week of the doubled period, when it ate (31−2y+1) decaliters.41

The whole stock therefore came to:

x=31y=31+30+29+…+(31−2y+1).

This is a progression of 2y terms, the first of them 31 and the last 31−2y+1, and its sum is:

31y=(31+31−2y+1)2y2=(62−2y+1)y.

Since y can't be zero, we have every right to cancel this factor from both sides of the equation. We get:

31=62−2y+1andy=16,

from which:

x=31y=496.

The stock was 496 decaliters of feed, meant for 16 weeks.42

The Crew of Diggers

A crew of diggers contracted to dig a ditch. Had the whole crew worked together from the start, the ditch would have been finished in 24 hours. As it was, one man began the work alone. Some time later a second joined him, after the same interval again a third, after another such interval a fourth, and so on to the last man. When the time came to settle up, it turned out that the first man had worked 11 times as long as the last.

How long did the last man work?

Solution

Let the last digger work for x hours; then the first worked 11x hours. Further, if there are y men in the crew, the total number of hours worked is the sum of y terms of a decreasing progression whose first term is 11x and whose last is x, that is:

(11x+x)y2=6xy.

On the other hand, we know that the crew of y men, working at full strength, would have dug the ditch in 24 hours. The job, in other words, takes 24y man-hours, and consequently:

6xy=24y.

The number y can't equal zero, and the equation may therefore be divided by it:

6x=24andx=4.

The digger who started last worked for 4 hours.

That answers the question we were asked. But if we grew curious and wanted to know how many men there were in the crew, we couldn't find out, even though that number (as the letter y) had its place in the equation. The problem simply doesn't give us enough to go on.

The Price of a Well

Digging a well 1 square meter in cross section and 10 meters deep cost 300 roubles.

A well of the same cross section, 12 meters deep, came to 364 roubles.

A third, also of the same cross section but 15 meters deep, came to 475 roubles.

Work out the cost of a fourth well of this cross section, 18 meters deep.

Solution

This is a practical problem, and we have to look into its terms with an eye to business as well as mathematics. Consider that the total expense of digging a well is made up of:

	1) the cost of setting up the work;
	2) the cost of digging the earth;
	3) the cost of bringing the earth up to the surface.

The first expense doesn't depend on the depth of the well. Let's call it x.

The second is directly proportional to the depth. If digging out 1 cubic meter costs y, then for a well 10 meters deep this expense is 10y.

The third expense, raising the earth that has been dug, depends both on how much earth there is and on how high it has to go. If it costs z roubles to raise 1 cubic meter of earth by 1 meter, then the first cubic meter (raised 12 m on average) costs z2 roubles to bring out, the second (raised 112 m on average) costs 3z2, the third 5z2, and the nth (2n−1)z2. Bringing all the earth out of a well n meters deep therefore costs:

z2+3z2+5z2+…+(2n−12)z.

This series is an arithmetic progression, and its sum is:

[z+(2n−1)z]n2⋅2=(z+2nz−z)n4=n2z2.

The first well cost:

x+10y+102z2=x+10y+50z.

The second:

x+12y+122z2=x+12y+72z.

The third:

x+15y+152z2=x+15y+112.5z.

We have three equations in three unknowns:

{x+10y+50z=300x+12y+72z=364x+15y+112.5z=475.

Subtracting the first equation from the second, and then from the third, we get the system:

{2y+22z=645y+62.5z=175.

Solving it, we find:

x=100;y=10;z=2.

It's no trouble now to find the cost of the fourth well, the one 18 meters deep. By what we have just worked out, it is:

x+18y+182z2=x+18y+162z=100+18⋅10+162⋅2=604.

The fourth well should cost 604 roubles.

Let's move on now to geometric progressions, which offer a far wider choice of interesting problems. We won't linger over the celebrated problem of the inventor of chess, which leads to adding up the series

1;2;4;8;…;263,

because it is well enough known already.43 We'll pass it by and turn to some other exercises.

The News

A man heard an important piece of news at 10 in the morning and within the next hour told it to 4 friends. Each of them, in the hour after that, passed it on to four others, and each of these, in the course of an hour, managed to share it with four acquaintances of his own. How many people may have learned the news in this way by 7 in the evening?

Solution

The problem comes down to finding the sum of 10 terms of a geometric progression:

1+4+42+…+49=410−14−1=220−13.

We can work out this last expression approximately, taking 210=1024≈1000:

220−13≈106−13,

which is about a third of a million. In this way the whole population of a large city can come to know the news within a single day.

Another calculation of the same kind is more startling. If everyone who heard the news passed it on to two others within a quarter of an hour, all mankind would know it in 712 hours...

The Progression of Reproduction

Nature herself, everywhere around us, is forever giving us examples of geometric progressions, for reproduction throughout the organic world follows exactly this law. The fact is one of the foundation stones of Darwin's theory. Here is what the great naturalist wrote about it (in The Origin of Species):

"A struggle for existence inevitably follows from the high rate at which all organic beings tend to increase. Every being, which during its natural lifetime produces several eggs or seeds, must suffer destruction during some period of its life, and during some season or occasional year, otherwise, on the principle of geometrical increase, its numbers would quickly become so inordinately great that no country could support the product. Hence, as more individuals are produced than can possibly survive, there must in every case be a struggle for existence, either one individual with another of the same species, or with the individuals of distinct species, or with the physical conditions of life... Although some species may be now increasing, more or less rapidly, in numbers, all cannot do so, for the world would not hold them.

"There is no exception to the rule that every organic being naturally increases at so high a rate, that, if not destroyed, the earth would soon be covered by the progeny of a single pair. Even slow-breeding man has doubled in twenty-five years, and at this rate, in less than a thousand years, there would literally not be standing room for his progeny. Linnaeus has calculated that if an annual plant produced only two seeds—and there is no plant so unproductive as this—and their seedlings next year produced two, and so on, then in twenty years there would be a million plants. The elephant is reckoned the slowest breeder of all known animals, and I have taken some pains to estimate its probable minimum rate of natural increase; it will be safest to assume that it begins breeding when thirty years old, and goes on breeding till ninety years old, bringing forth six young in the interval, and surviving till one hundred years old; if this be so, after a period of from 740 to 750 years there would be nearly nineteen million elephants alive descended from the first pair.

"But we have better evidence on this subject than mere theoretical calculations, namely, the numerous recorded cases of the astonishingly rapid increase of various animals in a state of nature, when circumstances have been favourable to them during two or three following seasons. Still more striking is the evidence from our domestic animals of many kinds which have run wild in several parts of the world; if the statements of the rate of increase of slow-breeding cattle and horses in South America, and latterly in Australia, had not been well authenticated, they would have been incredible. So it is with plants; cases could be given of introduced plants which have become common throughout whole islands in a period of less than ten years... Their geometrical ratio of increase, the result of which never fails to be surprising, simply explains their extraordinarily rapid increase and wide diffusion in their new homes.

The progression of human reproduction
Figure 193 — The progression of human reproduction

"...We may confidently assert that all plants and animals are tending to increase at a geometrical ratio—that all would rapidly stock every station in which they could any how exist, and that this geometrical tendency to increase must be checked by destruction at some period of life."

If every fish that comes into the world survived, the descendants of a single pair would in ten years fill all the oceans solid, and navigation would become impossible. The progression of pests is no better: in one year the descendants of a single pair of rats number as many as 860, an army of rats that devours 30 tons of grain a year.

I leave it to the reader to check the calculations in Darwin's passage for himself, on the model of those we are about to carry out in the next few examples.

Rabbit Breeding

The rabbit is one of the fastest-breeding mammals. A doe gives birth 7 times in the course of a year, to as many as 8 young each time, and within a year the young have grown enough to breed in their turn. Work out roughly how many descendants a single pair of rabbits would have after 10 years of unhindered breeding.

Solution

Since only a rough figure is called for, we'll round the numbers off to make the calculation easier. Let's say that in the course of a year a doe bears about 50 young, 25 of them females. Then the descendants, year by year, will number:

after 1 year50
after 2 years50+25⋅50
after 3 years50+25⋅50+25⋅25⋅50=50+50⋅25+50⋅252
. . . . .. . . . .
after 10 years50+50⋅25+50⋅252+…+50⋅259

This last row of numbers is a geometric progression with the ratio 25. The sum of its 10 terms is:

50⋅259⋅25−5050−1≈2510.

We can work out this power approximately without logarithms, as follows:

2510=(1004)10=(102)20=1020220=1020210⋅210.

But 210=1024≈1000, or 103, and therefore:

2510≈1020103⋅103=1014=100⋅1012,

or a hundred trillion. Remember that all the dry land on Earth has only a little more than that many square meters of surface: 125 trillion!44

We know how important the rapid breeding of rabbits is bound to become in Soviet stock raising. A considerable part of any stock bred on a farm is, of course, used up as it grows. Suppose 80% of the young are used in this way, and let's see how large a stock will build up over 10 years on these terms.

The count will be:

after 1 year50−50⋅0.8=50⋅0.2=10
after 2 years10+50⋅5⋅0.2=10+10⋅5
after 3 years10+10⋅5+5⋅5⋅50⋅0.2=10+10⋅5+10⋅52
. . . . .. . . . .
after 10 years10+10⋅5+10⋅52+…+10⋅59

The sum of the terms in the last row is:

10⋅59⋅5−105−1≈104⋅510=52⋅(102)10=2.5⋅1010210.

But 210≈103, and the sum we want is therefore approximately:

2.5⋅1010103=2.5⋅107=25 million.

Even with 80% of its young used up, the rabbit herd would after 10 years be tens of millions strong!

Locusts

From breeding an animal that is useful on the farm, let's turn to the multiplying of pests that attack our crops. Here the geometric progression of reproduction is an evil we have to fight, and fight hard. A typical insect pest is the locust, whose female lays about a hundred eggs a year. Supposing that half of every generation are females, work out how large an area the tenth generation of locusts will cover. For simplicity, let a full-grown insect take up an area of 5 square centimeters.

Solution

The first generation numbers 100 insects; the second, 50 · 100; the third, 50 · 50 · 100, or 100 · 502; and so on to the tenth, which must number:

100⋅509=2⋅5010=2⋅(1002)10=2(1020210)≈2⋅1020103.

This gives approximately:

2⋅1017.

The number of square centimeters that so many insects take up is:

5×2⋅1017=1018.

A square kilometer contains 105⋅105, or 1010, square centimeters, and the area is therefore:

1018÷1010=108 sq. km.

The surface of the globe is 5⋅108 square kilometers, only 5 times as much. Breeding unhindered, then, the locusts would within 10 years literally cover all the continents of our planet. Fortunately a shortage of food isn't all that stands in their way: "the increase of the locusts is usually held severely in check by their natural enemies, chiefly parasitic fungi and certain insects; the fungi sometimes bring on whole epidemics" (Kholodkovsky). Even so, the migratory locust often appears in regular clouds that shut out the sun, and there have been cases when a swarm was estimated at a hundred trillion insects and more.

Weeds

Corncockle, a very harmful annual weed common in our fields, produces 1,000 seeds. Supposing that only 10% of them sprout, and that of the plants, again, only 10% live to bear seed, work out how many plants there will be in the 10th generation of this weed.

Solution

By the end of one year a single plant has given rise to 100. By the end of 2 years, 10 of these will have borne 10,000 seeds, from which 1,000 plants will grow. By the end of 3 years, 100 of those will have borne 100,000 seeds, from which 10,000 plants will grow. The first generation thus numbers 100 plants, the second 1,000, the third 10,000, and so on to the 10th, in which there will be 109, that is, a billion plants.45

Taking the surface of all the dry land, in round numbers, as 100 trillion (1014) square meters, and reckoning that 1,000 corncockle plants can grow on 1 square meter, we can easily calculate how many years it must take the descendants of a single corncockle, breeding on these terms, to cover all the dry land of our planet. Let's call the number we want x. We have the equation:

10x−1÷1000=1014,or10x−4=1014,

from which:

x−4=14andx=18.

I invite the reader to do a similar calculation for the cornflower, which bears 5,000 seeds, and for silky bent grass, which bears 10,000. For the grass, assume that weed control manages to destroy 0.999 of the seeds and 0.9 of the young plants.

The Multiplying of Infusorians

The most astonishing example of all comes from the infusorians, microscopic creatures of a single cell. The one called Paramecium, the slipper animalcule, reproduces by dividing its body lengthwise into two new individuals, which after a certain time divide in their turn, and so on. In one recorded case the division took place every 27 hours on average, and 8,061 successive divisions were observed.46

Using these figures, and knowing that 1,000 of these infusorians take up a volume of 1 cubic millimeter, calculate what volume the descendants of one Paramecium would fill if all 8,061 generations remained alive.

Solution

To find how many descendants there are in all, we have to add up the progression:

2+22+…+28061.

The sum of its terms is:

28061⋅2−22−1=28062−2≈28062.

We do the calculation with logarithms:

8062log2=2426.90386,

28062≈8⋅102426.

One cubic millimeter holds 103 of these infusorians, 1 cubic meter holds 103×109=1012, and 1 cubic kilometer 1012×109=1021. How many cubic kilometers, then, would the descendants of our infusorian fill? The answer is:

8⋅102426÷1021=8⋅102405.

All the heavenly bodies of the visible universe, taken together, make up only an insignificant fraction of this volume! If we suppose that our most powerful telescopes can reach a billion billion suns, the volume of them all will be a number of the order of "only" 1036 cubic kilometers.

Buying a Horse

In Magnitsky's old Arithmetic we find the following amusing problem, which I give here without keeping to the language of the original:

"A man sold a horse for 156 roubles. But the buyer, with the horse already his, thought better of the purchase and brought it back to the seller, saying:

"'It doesn't pay me to buy a horse at such a price, when it isn't worth that kind of money.'

"The seller then offered other terms:

"'If you think the horse is dear, then buy only the nails in its shoes, and I'll throw in the horse for nothing. There are 6 nails in each shoe. For the first nail give me just 1/4 kopeck, for the second 1/2 kopeck, for the third 1 kopeck, and so on.'

"Tempted by the low price, and wishing to get a horse for nothing, the buyer accepted the seller's terms, reckoning that he'd have to pay no more than 10 roubles for the nails.

"How much did the buyer lose by his bargain?"

Solution

For the 24 horseshoe nails he had to pay:

14+12+1+2+22+23+…+224−3.

This sum is:

221⋅2−142−1=222−14=419430334 kopecks,

or about 42 thousand roubles. On terms like these, nobody would grudge throwing in the horse.

Curiously, the well-known authority on the history of mathematics Professor V. V. Bobynin held that Magnitsky hadn't borrowed this problem from anywhere but had thought it up himself. Yet it turns up in Easy Mathematics, a book by the contemporary English physicist Lodge. Since Lodge can hardly have read Magnitsky, it is clear that our problem is one of those invented centuries ago by nameless mathematicians from among the people.

A Soldier's Reward

Another old Russian textbook of mathematics bears a spacious title: A Complete Course of Pure Mathematics, Composed by Efim Voitiakhovsky, Bayonet-Junker of Artillery and Private Teacher of Mathematics, for the Profit and Use of Youth and of Those Who Exercise Themselves in Mathematics (1795). From it I borrow the following problem:

"A soldier who had served was given as reward 1 kopeck for his first wound, 2 kopecks for the next, 4 kopecks for the third, and so on. By calculation it was found that the soldier had received a reward of 655 roubles 35 kopecks in all. The number of his wounds is asked."

Solution

We set up the equation:

65535=1+2+22+23+…+2x−1,

or:

65535=2x−1⋅2−12−1=2x−1,

from which we have:

65536=2xandx=16,

a result we easily find by breaking the number into its factors.

Under so generous a system of rewards, a fighting man has to collect 16 wounds, and stay alive into the bargain, to earn his 655 roubles 35 kopecks.

Chapter 8: The Seventh Operation of Mathematics

The Seventh Operation

The fifth operation, raising to a power, has two inverses, as we said earlier. If

ab=c,

then one of the inverse operations finds a: that is extracting a root. The other finds b: that is taking a logarithm. I assume that the reader of this book knows the rudiments of logarithms as they're taught at school. If you do, you'll probably have no trouble working out what this expression is equal to:

alogab.

Take the base of the logarithms, a, and raise it to the power given by the logarithm of b. What you get can only be the number b itself.

Why were logarithms invented? To make calculation quicker and simpler, of course. Napier, the inspired amateur who produced the first tables of logarithms, describes his motives like this:

"The difficulty and prolixity of calculation... the weariness of which is so apt to deter from the study of mathematics, I have always, with what powers and little genius I possess, laboured to eradicate."

And logarithms do make calculation vastly easier and quicker, to say nothing of the operations that are quite impossible without their help, such as extracting a root of any degree you like. Laplace had good reason to write that "the invention of logarithms, by cutting the calculations of several months down to the work of a few days, seems to double the life of the astronomers." The great mathematician speaks of astronomers because their calculations are especially complicated and exhausting. But his words apply just as well to anyone who has to work with figures.

We are so used to logarithms, and to the labor they save us, that we can hardly picture the amazement and delight they caused when they first appeared. Napier's contemporary Briggs, a gifted mathematician who later made his own name by inventing decimal logarithms, wrote on receiving Napier's work: "Napper, Lord of Markinston, hath set my Head and Hands a Work, with his new and admirable Logarithms. I hope to see him this Summer if it please God, for I never saw Book which pleased me better, or made me more wonder." Briggs kept to his plan and set off for Scotland to visit the inventor of logarithms. When they met, the two mathematicians spent the first quarter of an hour gazing at each other without a word. At last Briggs said:

"My Lord, I have undertaken this long journey purposely to see your person, and to know by what engine of wit or ingenuity you came first to think of this most excellent help unto astronomy, viz. the Logarithms; but, my Lord, being by you found out, I wonder no body else found it out before, when now known, it is so easy."

The Rivals of Logarithms

Before logarithms were invented, the need for easier calculation had given rise to tables of another kind, which turn multiplication into subtraction where logarithms turn it into addition. These tables rest on the identity

ab=(a+b)24−(a−b)24,

which you can easily check by multiplying out.

With a ready-made list of quarter squares in front of you, you can find the product of two numbers without multiplying. Take the quarter square of their sum and subtract from it the quarter square of their difference. The same tables make it easier to square a number or find its square root, and together with a table of reciprocals they simplify division too. They have one advantage over logarithms: their results are exact, where those of logarithms are approximate. But they fall behind in a whole series of other respects, which matter far more in practice. Quarter squares allow you to multiply only two numbers. Logarithms give you the product of any number of factors all at once, and they also raise to any power and extract roots with any index, whole or fractional. That is why you can't, for example, work out compound interest from a table of quarter squares.

Tables of quarter squares went on appearing all the same, even after logarithms had come out in every possible form. In 1865 a set was published in France under the title:

"A Table of the Squares of Numbers from 1 to 100 Million, by Which the Exact Product of Numbers Is Found by a Very Simple Method, More Convenient Than That of Logarithms. Compiled by Alexandre Cossar."

The idea occurs to many people who have no inkling that it was carried out long ago. On a couple of occasions inventors of such tables have come to me with their novelty, and they were greatly surprised to learn that their invention was more than three hundred years old.

Logarithms have another, younger rival in the calculating tables found in many engineering handbooks. These are combined tables, with columns for the squares of numbers, their cubes, square roots, cube roots and reciprocals, the circumferences of circles and their areas, for numbers from 2 to 1000.47 For many engineering calculations they are very handy. But they aren't always enough, and the field open to logarithms is far wider.

The Evolution of Logarithm Tables

The tables most often used in our schools today are five-place ones; in Germany they are four-place. We too ought to settle on four places for good, since they are quite enough for any engineering calculation. For most practical needs you can even manage very well with three-place mantissas, because everyday measurements are seldom made to more than three figures. The thought that shorter mantissas will do has come to people fairly recently. I can still remember when our schools used hefty volumes of seven-place logarithms, which gave way to five-place ones only after a stubborn fight. The French astronomer Lalande, who compiled the first five-place tables, did much to bring them into the classroom by declaring that he made all his own astronomical calculations with them.

But seven-place logarithms, when they came out in 1794, had themselves looked like an unpardonable novelty. The first decimal logarithms, the work of the London mathematician Henry Briggs (1624), had 14 places. A few years later they were replaced by the ten-place tables of the Dutch mathematician Adriaan Vlacq. As you see, the tables in common use evolved from long mantissas to shorter ones. Nor has the process finished even in our own day, for many people have yet to grasp the simple idea that a calculation can't be more accurate than the measurements that go into it.

Shortening the mantissas has two important practical results: (1) the tables become noticeably smaller, and, because of this, (2) they are simpler to use, which makes the calculations done with them quicker. Seven-place logarithms of numbers fill about 200 large pages. Five-place ones take 30 pages half that size. Four-place ones take up a tenth of that and fit on two large pages,48 and three-place ones can go on a single page, as you can see from the specimen at the end of this book.

As for speed, the German astronomer Encke established that a calculation done with five-place tables takes one third of the time it takes with seven-place ones.

Logarithmic Curiosities

Three-place and four-place tables fully meet the needs of practical life and engineering. At the other extreme, the theoretical investigator has at his service tables with many more places than even Briggs's fourteen. A logarithm, generally speaking, is an irrational number, and like any irrational number it can't be expressed with perfect accuracy by any number of digits. However many places we take, the logarithms of most numbers give their true value only approximately, and the more digits in the mantissa, the closer they come. In scientific work the accuracy of 14 places sometimes proves insufficient.49 But 500 different kinds of logarithm tables have been published since logarithms were invented, and among them the investigator will always find one to satisfy him. There are, for example, the 20-place logarithms of the numbers from 2 to 1200 published in France by Callet. For a still more limited group of numbers there are tables with an enormous number of decimal places, real logarithmic curiosities, and I have found that even many professional mathematicians have no idea they exist.

I'll list these giant logarithms. All of them are natural, none decimal:50

Wolfram's tables48 places, for numbers up to 10,000
Sharp's tables61 places
Parkhurst's tables102 places

And finally there is the super-curiosity of them all:

Adams's logarithms260 places

In this last case, it's true, we don't have a table. We have the natural logarithms of just five numbers, 2, 3, 5, 7 and 10, together with the factor (also to 260 places) for converting them into decimal ones. But it's easy to see that anyone who has the logarithms of these five numbers can get those of a great many composite numbers by simple addition or multiplication. The logarithm of 12, for example, is the sum of the logarithms of 2, 2 and 3, and the same goes for the rest.

The slide rule, or "wooden logarithms," would have every right to a place among the logarithmic curiosities, if this ingenious instrument hadn't proved so handy that it is now as ordinary a tool for engineers as the ten-bead abacus is for office workers. Habit has dulled our wonder at a device that works on the principle of logarithms and yet doesn't ask its user even to know what a logarithm is.

A genuine logarithmic curiosity is a rare and expensive machine for calculating logarithms. It replaces long, wearisome working with a cleverly devised mechanism that calculates one logarithm after another and even makes the printer's plate for printing them. The machine turns out more than 212 pages of tables ready to print in the time the most skillful typesetter needs to set a single page from finished copy.

The Simplest Table of Logarithms

The simplest of all logarithm tables, and one perfectly fit for practical use, is given at the end of this book. It contains three-place logarithms in the form proposed by the English physicist Lodge, which I have improved by adding ready-made corrections. How to use it needs no long explanation and is clear from the text that goes with it. A little table like this is worth having with you at all times.

But if you find yourself without it on a journey or a hike, you can calculate it yourself without much trouble and without any great knowledge of mathematics. Calculating logarithms is, in general, far from easy, above all when you want a mantissa with many places. The labor that the compilers of the first tables put into it has no parallel in the history of mathematics. To calculate the logarithm of 2, for example, Briggs extracted the square root 47 times in succession, starting from 1024, and each time to 18 decimal places. This slave labor was lightened later, at the end of the seventeenth century, when the well-known mathematician and cartographer Mercator found an easier and quicker method, the logarithmic series.51

All this, however, concerns logarithms with many places in the mantissa. Three-place logarithms are very simple to calculate, if you make use of one of the tricks by which Briggs lightened his own monstrous labor.

Let's calculate the logarithm of 2. We know that 210=1024. This means that 10log2=log1024, and

log2=log102410.

To an accuracy of two figures, we may take log1024 as equal to log1000. Then, using the sign of approximate equality ≈,

log2≈0.30.

The error we have let in amounts to 0.02410, or 0.0024, of the number 2. Since a small increase in a logarithm may be taken as proportional to the corresponding increase in the number, our approximate result 0.30 must be corrected by adding 0.0024 of its own value:52

0.30×0.0024=0.000720≈0.001,

log2=0.30+0.001=0.301.

We calculate log3 in much the same way, starting from the equation 34=81. From this, 4log3=log81, and

log3=log814≈log804.

But 80=10×23, and therefore log80=1+3log2=1.903,

log3≈1.9034≈0.476.

We correct this approximate result by 14×180, that is, by 1320, or 0.003, of its value (rounded to 0.48):

0.48×0.003≈0.001,

0.476+0.001=0.477.

The logarithms of 4, 5 and 6 are even simpler to find, because

log4=2log2=0.602,

log5=log10−log2=1−0.301=0.699,

log6=log2+log3=0.778.

To find log7, we look for a power of 7 that differs little from some number made by multiplying 2s, 3s and 5s together. Briggs used the equation 74=2401, and we'll follow his example:

log7=log24014≈log24004.

But 2400=100×23×3, which means that log2400=2+3log2+log3=2+0.903+0.477=3.380.

log7=3.3804=0.845.

There's no need to correct this logarithm, since the correction, 19600 of its value, leaves the third figure of the mantissa unaffected.

Once you have caught the idea from these examples, you can calculate other logarithms for yourself. Only the prime numbers cause any difficulty, for the logarithm of a composite number is the sum of the logarithms of its prime factors. And for a prime we can always find a suitable power or multiple to help us out. Let's look at several examples.

To calculate log11, we can follow Briggs and use the equation

992=9801,

34⋅112≈9800,

112≈72⋅2⋅10034,

and consequently

log11≈2log7+log2+2−4log32.

Since log7, log2 and log3 are already known, the calculation can be carried through. No correction is needed.

To calculate log13, we start from the equation

133=2197≈2200.

For log17 we turn to

173=4913≈4900.

For log19, to

192=361≈360.

For log23, to the pair

232=529≈530,

532=2809≈2800.

For log29, to

292=841≈840.

For log31, to

312=961≈960.

We go on like this up to log97, which is calculated from the equation

972=9409≈9400.

The logarithms of three-figure numbers, 111 and the rest, can be found by altering in proportion the logarithms of two-figure ones, such as 11 for 110. Only for 101, 102 and their neighbors shall we need to resort to powers:

1012=10201≈10200=2⋅3⋅17⋅100,

and similarly for the others.

Logarithms on the Stage

The most staggering of all the turns that professional calculators perform in public is surely this one. The poster has told you that a virtuoso will extract, in his head, roots of high degree from numbers many figures long. At home, after hours of working, you prepare the 31st power of some number, and you intend to sink the calculator with a 35-digit dreadnought. At the right moment you address him:

"Now try extracting the 31st root of the following 35-digit number! Write it down, I'll dictate."

The virtuoso picks up the chalk. Before you have even opened your mouth to utter the first digit, he has already written the result: 13.

Without knowing the number, he has extracted its root, a 31st root at that, and in his head, and with lightning speed!

You're amazed, you're crushed. And yet there's nothing supernatural in any of this. The secret is simply that only one number, 13, gives a 35-digit result when raised to the 31st power. Numbers smaller than 13 give fewer than 35 digits, and larger ones give more.

But how did the calculator know this? How did he hit on 13? He was helped by logarithms, two-place logarithms, which he knows by heart for the first 15 or 20 numbers. Memorizing them is nothing like as hard as it sounds, especially if you use the fact that the logarithm of a composite number is the sum of the logarithms of its prime factors. If you have the logarithms of 2, 3 and 7 firmly in mind, you already know those of the first ten numbers. For the second ten you have only to remember four more.

However that may be, the stage calculator carries the following little table of two-place logarithms in his head:

NumberLogNumberLog
20.3111.04
30.48121.08
40.6131.11
50.7141.15
60.78151.18
70.85161.20
80.9171.23
90.95181.25
191.28

The mathematical trick that amazed you went like this:

log(35 digits)31=34.…31.

The logarithm we want must lie between the limits

3431 and 34.9931, or 1.09 and 1.13.

In this interval there is the logarithm of only one whole number: 1.11, the logarithm of 13. And this is how the result that stunned you was found. To run through all of it quickly in your head, of course, you need the quick wits and the practice of a professional, but as you see, the thing itself is simple enough. You can now perform tricks of this kind yourself, if not in your head, then on paper.

Suppose somebody challenges you to extract the 64th root of a 20-digit number.

Without asking what the number is, you can announce the answer: the root is 2.

For log(20 digits)64=19.…64, and it must therefore lie between 1964 and 19.9964, that is, between 0.29 and 0.31. Only one whole number has such a logarithm: it is 0.3, the logarithm of 2.

You can even finish your challenger off by telling him the number he was about to dictate, the famous "chessboard" number

264=18446744073709551616.

Logarithms in the Cattle Shed

The amount of what is called the "maintenance" ration, the smallest quantity of feed that does no more than make good what the body spends on giving off heat, working its internal organs, replacing dying cells and the like,53 is proportional to the outer surface of the animal's body. Knowing this, work out how many calories the maintenance ration must supply to an ox weighing 420 kilograms, if under the same conditions an ox weighing 630 kilograms needs 13,500 calories.

Solution

To solve this practical problem in stockbreeding we'll have to call in geometry to help our algebra. By the conditions of the problem, the number of calories we want, x, is proportional to the surface s of the ox, that is,

x13500=ss1,

where s1 is the surface of the body of the ox weighing 630 kilograms. From geometry we know that the surfaces s of similar bodies are to one another as the squares of their linear dimensions l, and that their volumes (and consequently their weights) are as the cubes of those dimensions. Therefore

ss1=l2l12;420630=l3l13, and so ll1=42036303,

from which

x13500=4202363023=(420630)23=(23)23,

x=13500493.

With the help of logarithm tables we find:

x=10300.

The ox needs 10,300 calories.

Logarithms in Music

Musicians are seldom keen on mathematics. Most of them, though they feel a proper respect for it, prefer to keep their distance. And yet musicians, even those who don't "test harmony by algebra" like Pushkin's Salieri, come into contact with mathematics far more often than they suspect, and with such fearsome things as logarithms at that. Allow me to quote on this subject from an article by our well-known physicist Professor A. Eichenwald:

"A school friend of mine loved playing the piano and did not love mathematics. He even used to say, with a touch of scorn, that music and mathematics have nothing in common. 'True, Pythagoras found some sort of relations between the vibrations of sounds, but then the Pythagorean scale is the very one that turned out to be of no use for our music.'

"Imagine, then, how unpleasantly struck my friend was when I proved to him that in playing the keys of a modern piano he is, strictly speaking, playing on logarithms... And indeed, the so-called 'steps' of the tempered chromatic scale are not set at equal distances, either by the numbers of vibrations or by the wavelengths of the corresponding sounds. They are the logarithms of these quantities. Only the base of these logarithms is 2, and not 10, as is usual in other cases.

"Suppose that the note do of the lowest octave (we shall call it the zeroth octave) is fixed by n vibrations a second. Then the do of the first octave will make 2n vibrations a second, that of the mth octave n⋅2m, and so on. Let us number all the notes of the piano's chromatic scale as well, with numbers p, taking the keynote do of every octave as zero. Then the note sol, for example, will be the 7th, la the 9th, and so on, and the 12th note will be do again, only an octave higher. Since each successive note of the tempered chromatic scale has 212 times as many vibrations as the one before, the number of vibrations of any note can be expressed by the formula

Npm=n⋅2m(212)p.

"Taking logarithms, we get

logNpm=logn+mlog2+plog212,

or

logNpm=logn+(m+p12)log2.

"If we take the number of vibrations of the lowest do as our unit (n=1), and convert all the logarithms to the base 2 by dividing by log2 (or simply by taking log2=1), we have

log2Npm=m+p12.

"We see from this that the numbers of the piano keys are the logarithms of the numbers of vibrations of the corresponding sounds. We may even say that the number of the octave is the characteristic of this logarithm, and the number of the sound within its octave is the mantissa."

To add an explanation of our own, take the note sol of the third octave, that is, the number 3+712 (= 3.583). Here 3 is the characteristic of the logarithm of this note's number of vibrations, and 712 (= 0.583) is the mantissa of the same logarithm to the base 2. The number of vibrations is consequently 23.583, or 11.98, times that of the lowest do.

Logarithms in Electric Lighting

Gas-filled bulbs (often called, wrongly, "half-watt" bulbs) give a brighter light than vacuum bulbs with a metal filament of the same material, and the reason lies in the different temperatures of their filaments. According to a rule established in physics by Lummer, the total quantity of light given off at white heat increases as the twelfth power of the absolute temperature. Knowing this, let's calculate how many times more light comes from a gas-filled bulb whose filament is at 2500° absolute (counted, that is, from −273° centigrade) than from a vacuum bulb whose filament is heated to 2200°.

Solution

Let x be the ratio we want. We have the equation

x=(25002200)12=(2522)12,

from which

logx=12(log25−log22),

x=4.6.

The gas-filled bulb gives off 4.6 times as much light as the vacuum bulb. If the vacuum bulb gives 50 candlepower, then, the gas-filled one will give 230 under the same conditions.

Let's do another calculation. By what percentage must the absolute temperature rise to double the brightness of the bulb?

Solution

We set up the equation

(1+x100)12=2,

from which

log(1+x100)=log212, and x=6%.

And now a third calculation: by what percentage will the bulb grow brighter if the absolute temperature of its filament goes up by 1%?

Solution

With the help of logarithms we calculate

x=1.0112

and find:

x=1.13.

The brightness will increase by 13%.

If we repeat the calculation for a rise of 2% in temperature, we find that the brightness increases by 27%, and for a rise of 3%, by 43%.

Now you can see why the makers of electric bulbs are so eager to raise the temperature of the filament and prize every extra degree.

Bequests for Hundreds of Years

Who hasn't heard of the legendary number of grains of wheat that the inventor of chess is supposed to have demanded as his reward? It came of doubling one over and over: for the first square of the board the inventor asked for 1 grain, for the second 2, and on like this, doubling every time, to the last, the 64th.

But numbers shoot up with unexpected speed even when they grow far more modestly than by repeated doubling. Capital that earns 5% becomes 1.05 times larger every year. You'd hardly notice such an increase, it seems. Yet given enough time, the capital manages to grow into an enormous sum. This explains the astounding growth of money bequeathed for very long terms. It looks strange when a man who is leaving a fairly modest sum gives instructions for the paying out of vast fortunes. I know of two historical documents of this kind. One is the will of Benjamin Franklin, the famous statesman and inventor of the lightning rod. The other is that of Arakcheev, the minister of war under Alexander I, who became famous for nothing but his cruelty.

The first will was published in the Collection of Various Works of Benjamin Franklin. This is an extract from it:

"The said sum of one thousand pounds sterling, if accepted by the inhabitants of the town of Boston, shall be managed under the direction of the select men... who are to let out the same upon interest at five per cent, per annum,, to such young married artificers, under the age of twenty-five years, as have served an apprenticeship in the said town...54 If this plan is executed, and succeeds, as projected, without interruption for one hundred years, the sum will be then one hundred and thirty-one thousand pounds; of which I would have the managers of the donation to the town of Boston then lay out, at their discretion, one hundred thousand pounds in public works... The remaining thirty-one thousand pounds I would have continued to be let out to interest, in the manner above directed, for one hundred years... At the end of this second term, if no unfortunate accident has prevented the operation, the sum will be four millions and sixty-one thousand pounds sterling; of which I leave one million and sixty-one thousand pounds to the disposition and management of the inhabitants of the town of Boston, and the three millions to the disposition of the government of the state; not presuming to carry my views farther."55

Franklin leaves only 1,000 pounds, and he is handing out millions! But there's no mistake here. Calculation confirms that he was reckoning quite realistically. If 1000 pounds grow 1.05 times larger every year, in 100 years they must turn into

x=1000⋅1.05100 pounds.

Expressions like this can be calculated only with the help of logarithms:

logx=log1000+100log1.05=5.11893,

from which

x=131000,

in strict agreement with the text of the will. Then, over the following century, 31,000 pounds will turn into

y=31000⋅1.05100,

from which, calculating with logarithms, we find:

y=4076500,

a sum that differs only trivially from the one named in the will.

Franklin died in 1790. The first part of his will has presumably been carried out; the term set for the rest will not run out until 1990.56

Let's turn now to the other long-term bequest, Arakcheev's. We give its text, which the Academy of Sciences published shortly before the World War. As you'd expect, it is as different in character from Franklin's will as its author, a lackey of the tsar, is from the convinced republican Franklin.

From Arakcheev's Will

"1. I, the undersigned, deposit in this present year 1833 fifty thousand roubles in banknotes in the State Loan Bank, to the end that this sum shall remain there untouched for 93 years, with all the interest accruing to it in the course of that time, without the least diminution or withdrawal.

"2. This sum is appointed as a reward to that Russian writer who, one hundred years after the decease of the monarch now resting in God, that is, by 1925, shall write in the Russian language the best History of the reign of Alexander I, Emperor of All Russia.

"7. The Academy of Sciences shall award for the most satisfactory History three parts of the capital with the interest accrued after 93 years.

"8. The remaining fourth part comes to the disposal of the Russian Academy of Sciences.

"13. The reward to the author will consist of one million four hundred and thirty thousand two hundred and twenty roubles; and the fourth part, four hundred and seventy-nine thousand seven hundred and forty roubles, will come to the disposal of the Academy."

Leaving a mere 50 thousand roubles, the testator intends 1,430,220 roubles for the author of the History and 479,740 for the Academy. He is disposing altogether, that is, of nearly two million: 1,909,960 roubles.57 Can the bank have been paying enormous interest on deposits in those days? We can work it out. Let x be the unknown rate in percent. Every year the capital is multiplied by

1+x100,

and over 93 years by

(1+x100)93.

We have the equation

50000(1+x100)93=1909960.

Taking logarithms,58 we write:

log50000+93log(1+x100)=log1909960,

4.6989700+93log(1+x100)=6.2810243.

From this,

log(1+x100)=1.582054393=0.0170113,

1+x100≈1.04;x≈4.

The capital had been placed at 4% a year, a very modest rate.

A Rain of Gold from a Copper Coin

A startling example of how fast money grows at compound interest comes from the well-known astronomer Flammarion. The example is fantastic, to be sure, but instructive all the same. Suppose that five kopecks had been put in the bank in the first year of our era. What sum would this copper coin have come to by now?

"However much the most eloquent orator might tell you that so much gold could never be moved in the cars of all the railways in the whole world, however much he might assure you that the Alps and the Pyrenees, were they diamond through and through, would not be worth so much, the row of 39 digits written down by the calculator,

342653248700000000000000000000000000000 roubles,

"will positively stun you.59 You will begin to make sense of this number when you recall that the globe weighs 'only' 57⋅1020 tons, and that if it were all of gold, and 3.5 times as heavy, it would weigh 2⋅1022 tons and be worth 25⋅1028 roubles. It would take 1400 million golden globes the size of the Earth to pay off the fabulous capital that had grown out of one five-kopeck piece."

If a golden ball the size of our planet fell from the sky every minute, this fantastic rain of golden planets would have to go on for 2,660 years to make up the sum.60 If somebody, then, had borrowed 5 kopecks at 5% compound interest for two thousand years and had begun at once to pay off his future debt, putting down every minute a lump of gold the size of the Earth, he would to this day be a long way from having paid what he owed.

I leave it to the reader to check these calculations.

The Continuous Growth of Capital

Savings banks add the interest to the principal once a year. If it is added more often, the capital grows faster, because a larger sum is at work earning interest. Let's take a purely theoretical and very simplified example. Suppose 100 roubles have been put in the savings bank at 100% a year. If the interest isn't added to the principal until the year is out, the 100 roubles will by then have turned into 200. Now let's see what they turn into if the interest is added every half year. At the end of the first half year the 100 roubles will have grown to

100×1.5=150 roubles,

and after another half year to

150×1.5=225 roubles.

If the interest is added every 13 of a year, by the end of the year the 100 roubles will have turned into

100×(113)3=237 roubles.

Let's add it more often still, every 0.1 of a year, every 0.01 of a year, and so on. At the end of the year 100 roubles will have become:

100×1.110=259 roubles,

100×1.01100=270 roubles 48 kopecks.

It is proved in full courses of algebra that when the intervals are shortened without limit, the accumulated capital does not grow without bound. It approaches a certain limit, equal to

271 roubles 83 kopecks.

Capital invested at 100% can't become more than 2.7183 times as large, even if the interest is added to it every second.

The Number e

The number we have just met, 2.7183..., plays an enormous part in higher mathematics, as great, perhaps, as that of the famous number π, and it has a symbol of its own: e. It is an irrational number. No finite string of digits expresses it exactly,61 and it can be calculated only approximately, though to any degree of accuracy, by means of this series:

1+1+12+12⋅3+12⋅3⋅4+12⋅3⋅4⋅5+…

From our example of capital growing at compound interest you can easily see that e is the limit of the expression

(1+1n)n

as n increases without bound.

For many reasons, which we can't go into here, it is a very good plan to take e as the base of a system of logarithms. Tables of these "natural logarithms" exist and are widely used in science and technology. Those giant logarithms of 48, 61, 102 and 260 digits, which we spoke of in "Logarithmic Curiosities," have this very number e as their base.

The number e often turns up where nobody was expecting it. Let's set ourselves this problem, for example.

Into what parts should a given number a be divided so that the product of all the parts is greatest?

We already know that when numbers have a constant sum, they give the greatest product when they are equal to one another. Clearly a must be divided into equal parts. But into how many? Two, three, ten? The methods of higher mathematics allow us to establish that the product is greatest when the parts are as close as possible to the number e.

Take 10, for example. It has to be divided into such a number of equal parts that they come as close as possible to 2.718. For this we find the quotient

102.718=3.679.

Since nothing can be divided into 3.679 equal parts, we have to take as our divisor the nearest whole number, 4. We shall therefore get the greatest product when the parts of 10 are each equal to 104, that is, to 2.5. This means that

(2.5)4=39.0625

is the largest number that multiplying together the equal parts of 10 can give. And indeed, if we divide 10 into 3 or 5 equal parts, we get smaller products:

(103)3=37;(105)5=32.

To give the greatest product of its parts, the number 20 must be divided into 7, because

20÷2.718=7.36≈7.

The number 50 must be divided into 18 parts, and 100 into 37, because

50÷2.718=18.4;100÷2.718=36.8.

Two Powers

Which is greater: a million to the power of a million and one, or a million and one to the power of a million?

10000001000001 or 10000011000000?

How can you tell without the help of logarithm tables?

Solution

Notice first of all that

10000001000001=1000000×10000001000000.

Now let's find the ratio of the second expression to the first:

100000110000001000000×10000001000000=1.00000110000001000000.

The numerator of the last fraction is less than the limit of the expression

(1+1n)n for n=∞,

which, as we know, is e=2.718… The ratio we are looking at is clearly much less than one (about 370,000 times less). The second expression is therefore smaller than the first, that is,

10000001000001>10000011000000

(by a factor of about 370,000).

But is it always true that aa+1>(a+1)a?

Let's investigate, and take the ratio

(a+1)aaa+1=(a+1)aa⋅aa=(1+1a)aa.

The numerator of the last fraction never exceeds 2 and a fraction (it is always less than e). Consequently, if the whole number a>2, the following relation holds:

aa+1>(a+1)a.

But if a≤2, then

aa+1<(a+1)a.

This means that:

34>43;56>65;1011>1110,

and the reverse relation holds for whole numbers (leaving aside the trivial 12<21) in one case only:

23<32.

Two Roots

The problem we have just looked at leads naturally to another.

Decide, without logarithm tables, which is greater:

1010 or 1111.

Solution

Let's find the ratio of the right-hand root to the left-hand one:

11111010=11101101011110=11101011110.

But we already know that 1110<1011. The number under the root sign is less than 1, and consequently its root of any degree must be less than one (prove this for yourself).

Therefore,

11111010<1,and1010>1111.

If we try to make the problem general, we run into the same exception that met us in the last one:

2<33.

Indeed, the first of these roots is 1.414, and the second is 1.442.

How Many People Have Lived on Earth?

The headlong growth of numbers that increase in geometric progression sometimes leads people to false conclusions. An instructive example was left to us by the poet Benediktov, who gave his leisure to mathematics, or rather to mathematical amusements. A manuscript "entertaining arithmetic" of his composition has survived, and I have had the chance to read it. Its last chapter, entitled "The Immense Number of the Inhabitants Who Have Lived on the Globe," contains a very curious calculation.

"Let us suppose that in the beginning two pairs sprang from one pair of people, that two pairs sprang from each of these, and that thereafter every pair brings forth two pairs. On this supposition the multiplication of people on earth has gone in geometric progression: 1, 2, 4, 8, 16, 32, and so on. Let us take as many terms of this progression as there can have been human generations in the course of 7376 years. [Benediktov was naively relying on the Bible's data for the antiquity of man.] Let us put 50 years to each generation." Counting 140 generations in all from the first pair of human beings, and taking 140 terms of the progression, the author arrives at the conclusion that the number of all the people who have lived on Earth amounts to 4 septillion.

"Let us discard half of this number, bearing in mind that many of those born die in infancy. We shall be left, then, with only two septillion." By a septillion Benediktov means a one with 42 zeros, or 1042.

Next he sets the weight of this quantity of people, "160 septillion pounds," beside the "weight" of the globe, which he takes as 3.5 quadrillion pounds (instead of 14 quadrillion).62 The result is truly striking: the total weight of all the people who ever lived exceeds the weight of the globe 1600 billion times (we give the corrected figure). "This shows," the author concludes, "that one and the same physical material, out of which the bodily frames of the people who have lived in the world were formed, has been in circulation at least 1600 billion times, and that every physical particle which has passed through various living human bodies could be disputed by 1600 billion individuals."

The result becomes even more striking if we consider that mankind is descended from many ancestors and not from a single pair, and that it has existed for several hundred thousand years, certainly not for 7000. We must also remember that only the surface layer of our planet, an insignificant part of its whole volume, has had a share "in the forming of the bodily frames" of people, and not the whole mass of the globe. Finally, the countless multitude of animals that have lived on our planet since the most ancient geological ages ought to have put in their claims too, in the dispute over "every physical particle which has passed through living bodies."

The patent absurdity we have come to shows that some substantial error lurks in the argument. What is it?

The rate at which mankind increases was taken as two doublings in a century. This is roughly right for our own time, but it was quite improperly extended to all earlier times, back to the most distant age. Yet there's no doubt that mortality was far higher in antiquity, and that mankind consequently multiplied much more slowly than it has in recent times. Even within history there were periods when the populations of whole countries shrank instead of growing. We need only recall the Thirty Years' War in Germany, or the plague in England in the fourteenth century, when the number of the country's inhabitants fell by more than 30%. You can easily imagine what devastation wars, epidemics and natural disasters wrought in the early period of man's existence. There must have been times, lasting perhaps for thousands of years on end, when mankind was dying out for a while and its numbers were falling. Are we entitled, under these conditions, to speak of mankind multiplying without a break by the rule of geometric progression?

We may of course assume, as a very rough approximation, that on average mankind did multiply by the rule of an increasing progression. We may suppose, that is, that at the end of every thousand years, say, its numbers had grown in some one and the same proportion. But then we must tackle Benediktov's problem from quite the other end. In the progression by which mankind multiplied we must take as known the last term, which is the present population of the globe, 2,000,000,000. We must take as known the number of terms, which is the number of millennia that have passed (conjecturally, of course; let's settle, say, on 300 of them). And we must take the first term, which is the number of original ancestors (this is more of a guess still; let's say there were 100). The ratio of the progression, which Benediktov treated as given, is the very thing we shall have to calculate in order to find the sum of the terms. Let the ratio be x, that is, let the numbers of mankind grow x times larger every thousand years. By the end of the 300th millennium the 100 ancestors must have turned into

100x300.

Since this number has to equal 2,000,000,000, or 2⋅109, we have the equation

100x300=2⋅109.

Taking logarithms, we get:

log100+300logx=log2+9,

logx=7.30103300=0.02434,

x=1.06.

The result is instructive. The numbers of mankind rose, on average, by 6% every thousand years. According to Benediktov they doubled every 50 years, which means that in a thousand years they grew 220=1048576 times, more than a millionfold!

The difference is enormous, and it accounts for the absurd outcome of Benediktov's calculation.

Now let's try to form some idea of how many people may really have lived on the globe in all the time mankind has existed. We'll take it that on average the people living at any moment have time to die and be replaced by new ones within 50 years. If we could count the population of the globe every 50 years, and keep doing so for 300,000 years, we'd obtain a series of numbers whose sum would be the total of all the people who have lived on Earth. Its first 20 terms will be

100;100;100, and so on.

The next 20 terms will be

106;106;106, and so on.

After these come 20 terms, each of them equal to

100(1.06)2.

Next come 20 terms of 100(1.06)3 each, and on it goes. The last 20 terms will each be the present number of mankind, 2⋅109.

The sum of a series like this isn't hard to find. It comes to

20⋅2⋅109⋅1.06−1001.06−1≈20⋅2⋅109⋅17=68⋅1010.

This, at a very rough estimate, of course, is how many people have lived in the world in all the time of our planet's existence.63 The number is only 340 times the present population of the globe, and it is negligible beside Benediktov's absurdly huge one.

Benediktov's error is also made by those theologians who have tried to confirm the testimony of the Bible by mathematics. This is a specimen of their reasoning, from an article by the French mathematician the Abbé Moigno, "The Antiquity of the Human Race" (1863).

"Let us take for the yearly increase of the population the number 1227 [he should have said 1+1227. Ya. P.], which differs little from the actual increase of population in France, and let us recall that in the year 1600 from the creation of the world Noah came out of the ark with his three sons and their three wives. Then after 4207 years [the Bible's reckoning!] the number of inhabitants of the Earth must equal

7(1+1227)4207=1300000000,

"that is, the true number of the inhabitants of the globe (in 1863)."64

Moigno sees in such complete agreement a confirmation that the testimony of the Bible is correct. After what we've said, there's no need to add that the whole of this pious calculation rests on a gross error.

Three-Place Logarithms

0123456789
1.0000004009013017021025029033037
1.1041045049053057061064068072076
1.2079083086090093097100104107111
1.3114117121124127130134137140143
1.4146149152155158161164167170173
1.5176179182185188190193196199201
1.6204207210212215217220223225228
1.7230233236238241243246248250253
1.8255258260262265267270272274276
1.9279281283286288290292294297299
2301322342362380398415431447462
3477491505519531544556568580591
4602613623633643653663672681690
5699708716724732740748756763771
6778785792799806813820826833839
7845851857863869875881886892898
8903908914919924929934940944949
9954959964968973978982987991996

logπ=0.497

log2π=0.798

log2=0.151

log3=0.239

Corrections

123456789
2.0 to 2.224681012141618
2.3 to 2.52457911131416
2.6 to 2.92356810111314
3.0 to 3.2134678101113
3.3 to 3.912456781011
4.0 to 4.21234678910
4.3 to 4.5123456789
4.6 to 4.9123445678
5122345667
6112344566
7112234455
8012233444
9012223444

Using the Table

Finding a Logarithm

1) Find log 138.

Where the row "1.3" meets the column "8" we find the mantissa 140. The characteristic, 2, we supply by common sense. We have: log 138 = 2.140.

2) Find log 5.27.

Where the row "5" meets the column "2" we find the mantissa 716, for the number 52. The correction for the third digit we look up in the same row of the corrections, in the column under the digit 7.65 There we find 6. The mantissa for 527 is therefore 716 + 6 = 722, and log 5.27 = 0.722.

3) Find log 0.608.

Where the row "6" meets the column "0" we find the mantissa 778. The correction for the third digit we look up in the same row of the corrections, in the column under the digit 8. There we find 6. The mantissa for 608 is therefore 778+6=784, and log0.608=1‾.784, the bar meaning that only the 1 is negative.

Finding a Number

4) Find the number whose logarithm is 1.193.

We look for the mantissa 193 and see that it belongs to the number 156. Consequently, 1.193 = log 15.6.

5) Find the number whose logarithm is 1‾.927.

The mantissa 927 is not in the table. The nearest smaller one, 924, belongs to the number 84. To find the correction to the number for the missing 3 units of the mantissa, we look in the corrections for the same row the mantissa came from, and see which digits stand above the figure 3. At the head of the columns, over the threes, are the digits 5 and 6. The mantissa 927 therefore belongs to the number 845 or 846, and the number we want is 0.845 or 0.846: both have the logarithm 1‾.927.


Contents