Thursday, 25 July 2013

The Mathematical Milkman of Puzzleland - Solution

The Puzzle: The school children were returning to their homes when they met the mathematical milkman, who propounds the following problem:

In one of the two cans there is milk which is so rich with cream that it becomes absolutely necessary to dilute it with a little water to make it wholesome. 

Therefore, in the other can there is some pure spring water, now I proceed to pour spring water from can No. 1 into can No. 2 sufficient to double its contents, and then repour from No. 2 into No.1 enough of the mixture to double the contents. 

Then to equalize matters, I again pour from No. 1 into No. 2 to double the contents of No. 2 and find the same number of gallons of milk in each can, although there is one more gallon of water in can No. 2 than there is milk, so I want you to tell me how much more water than milk is there in can No. 1?
The Mathematical Milkman of Puzzleland

The Solution . . .

Suppose, in the beginning there was x gallons of spring water in can No 1 and y gallons of milk in can No. 2 then,

can No. 1can No. 2
In the Beginningx gallons of watery gallons of milk
After doubling contents of Can 2x-y
water = x-y,
milk = 0
2y
water = y,
milk = y
After doubling contents of Can 12(x-y)
water = 2(3/4)(x-y),
milk = 2(1/4)(x-y)
2y-(x-y) ie (3y-x)
water = (1/2)(3y-x),
milk = (1/2)(3y-x)
After doubling contents of Can 22(x-y)-(3y-x) ie (3x-5y)
water = (3/4)(3x-5y),
milk = (1/4)(3x-5y)
2(3y-x)
water = (5/4)(3y-x),
milk = (3/4)(3y-x)


Now, we know that the number of gallons of Milk in Can 1 = number of gallons of Milk in Can 2

Hence: (1/4)(3x-5y) = (3/4)(3y-x)
Multiply by 4: 3x-5y = 3(3y-x)
Move x to one side and y to other: 6x = 14y
And so: x = (14/6)y

We ALSO know that the number of gallons of Water in Can 2 = number of gallons of Milk in Can 2 PLUS 1

Hence (5/4)(3y-x) = (3/4)(3y-x) +1
Multiply by 4: 5(3y-x) = 3(3y-x) + 4
Simplify: 2(3y-x) = 4
Replace "x" with "(14/6)y": 2(3y-(14/6)y) = 4
Simplify: (4/3)y = 4
Hence: y = 3

Now we know y=3, we also know that x = (14/6)y = 7

Hence, there was initially 7 gallons of water in can No. 1 and 3 gallons of milk in can No 2.

After all the mixings there would be 4½ gallons of water and 1½ gallons of milk in can No. 1 and 2½ gallons of water and 1½ gallons of milk in can No 2.

Hence, there is 3 more gallons of water than milk in can No 1.

The Herd of Camels - Solution

The Puzzle: An Arab Sheik, finding himself about to die, called his sons about him and said: "Divide my camels among you in the proportion of one-half of the herd to the eldest son, the second son one-third, and to the youngest son one-ninth."
Thereupon the oldest son cried: "O, my father, one-half, one-third, and one-ninth do not constitute a whole. To whom, therefore, shall the remainder of the herd be given?"

"To any poor man who may be standing by when the division is made," replied the Sheik, who thereupon died.

When the herd was collected a new difficulty arose. The number of the camels could not be divided either by two or three or nine. While the brothers were disputing, a poor but crafty Bedouin, standing by with his camel, exclaimed, "Behold, I will sell you my beast for ten pieces of silver, so that you may then divide the herd."

Seeing that the addition of one camel would solve the difficulty, the brothers jumped at the offer, and proceeded to divide the herd, but when each had received his allotted portion there yet remained one camel.

"I am the poor man standing by." Said the crafty Bedouin, and gaily mounting the camel, he rode away, with the ten pieces of silver in his turban.

Now, how many camels were in the Sheik's herd?

The Solution . .

The camels could be divided exactly according to the Sheik's will only if it were a multiple of 2,3 and 9 i.e. 18,36,54,72,…

But according to the brothers, they needed one more camel to divide it according to the Sheik's will; so the Sheik had 17,35,52,71,… camels. 

But "only 18" (18/2=9, 18/3=6, 18/9=2 so that 9+6+2=17) leaves remainder one (18-17=1). So there were 17 camels in the Sheik's herd. 

But, the problem is that the number of camels 9,6,2 that the brothers received are not yet in the proportion of one-half, one-third and one-ninth. This is the paradoxical situation. The Camels could be divided exactly according to the Sheik's will only if he had 18+…,36+…,54+…,72+…,…camels.

Probably the Sheik was not good at mathematics.

The Four Elopements - Solution

The Puzzle: The story of four elopements says that four men eloped with their sweethearts, but in carrying out their plan were compelled to cross a stream in a boat which would hold but two persons at a time. It appears that the young men were so extremely jealous that not one of them would permit his prospective bride to remain at any time in the company of any other man or men unless he was also present.

Nor was any man to get into a boat alone, when there happened to be a girl alone on the island or shore, other than the one to whom he was engaged. This feature of the condition looks as if the girls were also jealous and feared that their fellows would run off with the wrong girl if they got a chance. Well, be that as it may, the problem is to guess the quickest way to get the whole party across the river according to the conditions imposed. Let us suppose the island to be in the middle of the stream. 

Now, tell how many minimum number of trips would the boat make to get the four couples safely across in accordance with the stipulations?
The Four Elopements

The Solution . . .

Answer: 17 trips - complying with the conditions that no young lady was to be in the company of any gentleman unless her fiance was present, and no man was to be alone in a boat, if any young lady was left alone, except the one to whom he was engaged.

Describing the young men as A, B, C, D, and their respective brides by a, b, c, d; the 17 trips of the boat can completed as follows . . .


ShoreIslandOver
1ABCDabcd----
2ABCDcd--ab
3ABCDd--a
4ABCDcdba
5CDcdbABa
6BCDcdbAa
7BCDbcdAa
8BCDdbcAa
9DdbcABCa
10DdabcABC
11DdbABCac
12BDdbACac
13dbABCDac
14dbcABCDa
15d--ABCDabc
16cd--ABCDab
17----ABCDabcd

The Cat and Dog Race - Solution

Many years ago, when Barnum's Circus was of a truth "the greatest show on earth" the famous showman got me [Sam Loyd] to prepare for him a series of prize puzzles ... Barnum was particularly pleased with the problem of the cat and dog race ...

"A trained cat and dog run a race, 100 feet straightaway and return. The dog leaps three feet at each bound and the cat but two, but then she makes three leaps to his two. Now, under those circumstances, what are the probabilities or possibilities in favor of the one that gets back first?"

The Cat and Dog Race

The Solution . . 

Now, the cat wins, of course. It has to make precisely 100 leaps to complete the distance and return. The dog, on the contrary, is compelled to go 102 feet and back. Its thirty-third leap takes it to the 99-foot mark and so another leap, carrying it two feet beyond the mark becomes necessary. In all, the dog must make 68 leaps to go the distance. But it jumps only two thirds as quickly as the cat, so that while the cat is making 100 leaps the dog cannot makes quite 67.

But the puzzle turns upon the possibilities of the race. Just let us suppose that the cat is a Sir Thomas cat, and the dog Blanche is one referred to as she ... so the dog really goes 9 feet to the cats 4. As the dog finishes the race in 68 leaps, the cat will have gone but 90 feet and 8 inches.

The Cashier's Problem - Solution

The Puzzle: An old man goes to a bank with a check of $200 and asks the cahier "Give me some one-dollar bills, ten times as many twos and the balance in fives!". 

What will the cashier do?
The Cashier's Problem

The Solution . . 

The smallest amount of one-dollar and two-dollar bills the cashier may give to the old man is 1x1+10x2=21. 

He must give the old man a multiple of 21 i.e. 21 or 42 or 63 or 84 or 105 or 126 or 147 or 168 or 187; without exceeding 200. Out of all these numbers only 105 can be added to a multiple of 5 to sum up to make 200 altogether. 

So he must give the balance of 95 in five-dollar bills. 

Therefore, the cashier must give 5 one-dollar bills, 50 two-dollar bills and 19 five-dollar bills.