I have 2 unmarked empty jugs of capacities 3 2 liters and 4 5 liters, as shown below left.
Because they are unmarked, I can only pour water from one jug to another until the initial jug is empty or the other is full. The unwanted water will be wasted into a sink, for there are no other containers.
After some pouring/filling/wasting, I measure exactly 1 liter of water in the bigger jug with the other empty, as shown.
Using the minimum amount of water to obtain the 1 liter, let x be the number of times an empty jug is filled from the faucet, and let y be the number of times a full jug is emptied into the sink. What is the value of x + y ?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
This is great!
Let us take 1/12 L as our unit. Therefore 2/3 L=8 unit. 5/4 L=15 unit and we desire 1 L=12 unit.
Now 2x8 - 15= 1 L, so if possible we can have 15 - 3=12 L. That is 15 -1 - 1 - 1. So there will - {3
2
8 - 3
15)= -3. -3 adding 15 =12.
Thus emptying 8 units 2
3 = 6 times. and filling 15 units 3+1 =4 times, x=6, y=4. x+y=10. Above this is shown in details.
We waisted 4 L to get 1 L.
A little python3 script to play https://gist.github.com/franchesoni/09911815ca7b5361d6774bacbcc985fc
The left cup is most tiny than the right of 1
Since these jugs need full transfer and the numbers of fillings or wastings are integers n & m, we can write up equation:
3 2 n + 4 5 m = 1
Thus, 8 n + 1 5 m = 1 2 .
Since m is an integer, 1 5 m = 1 2 − 8 n = 4 ( 3 − 2 n ) , then 4 ∣ m . Otherwise, n won't be an integer.
Similarly, we'll obtain 3 ∣ n .
Then we can rewrite the equation for some integers s,t:
2 4 s + 6 0 t = 1 2
2 s + 5 t = 1
The least possible absolute values are s = − 2 and t = 1 .
That means n = y = − 6 or 6 wastings and m = x = 4 or 4 fillings.
Therefore, x + y = 1 0 .
Checking answers, ( 3 2 ) ( − 6 ) + ( 4 5 ) ( 4 ) = 5 − 4 = 1 .
Another way to look at it is as follows:
In order to fill the 5/4 L jug to a minimum integer number, we will have to fill it up 4 (x) times, totalling 5 L. Remember this jug has to be full.
But it is given that the bigger jug is filled up to 1 L. In other words, 4 L has gone waste. This 4 L was generated from the 2/3 L jug. This means the smaller jug (2/3 L) was emptied 6 (y) times to get the required wasted volume of 4 L.
Adding x + y, we get the desired solution as 10.
We can even look at this problem like this: 5/4 L jug is 1 L + 1/4 L. Given 1 L is filled, 1/4 L went to waste.
As for the 2/3 L jug, emptying it twice, would mean a number greater than 5/4, that is, 4/3 > 5/4.
So the amount wasted would be (4/3 - 5/4) L = 1/12 L
This means 3 times 1/12 would give us the 1/4 L wasted, indicating that the 2/3 L jug was emptied 6 times.
These solutions and the required answer ignore a possible action available to the puzzler. It is possible to pour out exactly half of a symmetrical jug by pouring until the water surface touches the corner of the base and the rim of the jug.
Allowing this action you can fill the small jug, (1), waste half of it (2), transfer from the small to the big, fill the small jug (3) and then transfer it to the big jug. The first transfer provides 1/3 litre and the second 2/3 litre, summing to 1 litre.
In this case the answer would be 3.
Log in to reply
My original image has the jugs of irregular shapes, so measuring half volume is ruled out.
Nice problem and i want be annoying but if the jugs are transparent as shown in the description it would be practically easier to solve the problem as the theory shows.
2/3 x + 5/4 y = 1 where each letter represents the number of fills or wastes for each jar.
Looking for an integer set answer of a point (x,y) so that the sum abs(x) + abs(y) = minimum.
The smallest integer pair on a coordinate grid is x = -6 and y = 4 (graph the equation from line 1).
Thus our minimum is 10.
The directions are unfair. There is no way to clarify what is meant by the extremely bizarre answering method. I calculated filling the large jar 4 times, and wasting 48/12ths of a liter or 4 liters, for a total of 8, which is somehow incorrect. The answer does not accurately depict the solution.
Log in to reply
Wasting 48/12ths of water means emptying the 2/3-jar 6 times, not 4 times. So your total becomes 10, not 8.
In the first step we fill the big jug from the faucet ( 4 5 l = 1 2 1 5 l ) and pour the water into the small jug until is filled up ( 3 2 l = 1 2 8 l ) , and emptied it, and pour the rest of the water from the big jug into the small jug ( 1 2 7 l ) ; so, x = 1 , y = 1 . In the second step we fill again the big jug from the faucet ( 1 2 1 5 l ) and fill up the small jug ( 1 2 1 l ) , then it is emptied. In the big jug there remains ( 1 2 1 4 l ) . A Part of this amount ( 1 2 8 l ) is poured into the small jug, then it is emptied, and pour the water from the big jug into the small one ( 1 2 6 l ) . Now x = 2 , y = 3 . In the third step we fill again the big jug from the faucet and fill up the small jug ( 1 2 2 l ) , then it is emptied. In the big jug there remains ( 1 2 1 3 l ) . A Part of this amount ( 1 2 8 l ) is poured into the small jug, then it is emptied, and pour the water from the big jug into the small one ( 1 2 5 l ) . Now x = 3 , y = 5 . In the fourth step we fill again the big jug from the faucet and fill up the small jug ( 1 2 3 l ) , then it is emptied. In the big jug there remains ( 1 2 1 2 l = 1 l ) . So x = 4 , y = 6 , i.e. x + y = 1 0 .
Hello, I ran a simulation in python to find this out, I think the solution is 9, if we don't bother about emptying the last full jug with 2/3 and just use the 1 from the 5/4 jug. Otherwise it's 10
I can’t explain, but got the right answer: 8x + 15y = 12. X = -6, Y = 4. |X| + |Y| = 10. Is this just luck?
Problem Loading...
Note Loading...
Set Loading...
If 1 2 1 liters replace 1, 3 2 liter is 8, 4 5 liter is 15, and 1 liter is 12.
x = 4 , y = 6