PuzzleReels
Sections

Wine and Water

The maths · Episode 4 · 2:28 · gives the answer

The puzzle

Two glasses hold the same amount, one of wine and one of water. A spoonful of wine goes into the water and is stirred in, and then a spoonful of the mixture comes back into the wine.

Is there more wine in the water, or more water in the wine?

The maths, properly

Call the amount in each glass G and the spoon s. The film takes G=100 and s=10.

Proof one: track the concentrations

This is the film's first proof. After the first spoonful the water glass holds G+s, of which s is wine, so it is sG+s wine. Stirred well, the spoon coming back carries

s2G+s of wine,sGG+s of water

All of that water ends in the wine. The wine left behind in the water is what went across less what came back:

s−s2G+s=sGG+s

the same. With the film's numbers the water glass is 111 wine, the spoon brings back 1011 of wine and 10011 of water, and both answers are 10011. It works, but the equality turns up on the last line, as if by luck.

Proof two: look at the levels

This is the film's second proof, and it has no fractions. One spoonful went out of each glass and one spoonful came in, so each glass ends exactly as full as it started. The wine glass is short of some wine, the wine now in the water glass. It is back to its old level all the same, so something filled the gap, and the only other thing in it is water. The water in the wine is exactly the amount of wine that is missing, which is the wine in the water.

Proof three: name what is in the spoon

Neither film proof writes this down, though the film's last scene shows three cases of it. Do not assume anything about the stirring. Say the returning spoon holds w of wine and s−w of water, for whatever w the stirring gives. Then

wine in the water=s−wwater in the wine=s−w

The first is what went across less what came back. The second is the water the spoon carried, all of which stayed in the wine. Nothing about G or the mixing appears, so it cannot matter.

A worked case: the film's glasses

The film's numbers, stage by stage, in exact fractions:

The film's glasses, a hundred each and a spoon of ten, well stirred
Wine glassWater glass
start100 wine100 water
spoon across90 wine10 wine + 100 water
spoon back1000/11 wine + 100/11 water100/11 wine + 1000/11 water

Drawing each liquid as its own layer shows the second proof at a glance. Each glass is back to its mark, and the water at the top of one is exactly as deep as the wine at the bottom of the other:

winewaterstarta spoon across100/11100/11a spoon back
The film's glasses, each liquid drawn as its own layer. After the spoon comes back each glass is at 100 again, and the water at the top of the wine glass is exactly as deep as the wine at the bottom of the water glass: 100/11 each.

The film's last scene runs the same puzzle with three different spoonfuls coming back: pure wine, half and half, pure water. Whatever the spoon holds, the two answers move together:

How well it was stirred, and what it changes
The spoon brings backWater in the wineWine in the water
pure wine00
5 wine, 5 water55
pure water1010
10/11 wine, stirred well100/11100/11

What the puzzle does not need

Stirring. The third proof never asks what is in the spoon, and the second never looks inside the glasses. Pure wine coming back means nothing moved at all, 5 of each moving is the half-and-half case, and a spoonful of pure water swaps a whole spoonful each way.

Equal glasses. The levels argument works glass by glass: each ends at its own level, whatever that was. So a small glass of wine and a large glass of water still end with equal amounts. What changes is the strength. The same amount of water in a small glass of wine makes a stronger mixture than that amount of wine in a large glass of water. Exercise 1 has numbers.

Changing the puzzle

Use a different spoon on the way back. Say t goes across and s comes back, holding w of wine. Then the wine in the water is t−w and the water in the wine is s−w, so the water in the wine is ahead by

(s−w)−(t−w)=s−t

whatever the stirring and whatever the glasses. A bigger spoon back means more water in the wine, by exactly the difference in the spoons.

When the trick fails. The levels argument needs each glass to end exactly as full as it started, and anything that breaks that breaks the argument. Real wine and water are slightly less obliging than the puzzle: alcohol and water mixed take up a little less room than they did apart. So a spoonful of mixture, measured by volume, holds a little more wine and water, counted as they were before mixing, than a spoonful of pure wine. That makes it the different-spoons puzzle, with the bigger spoon on the way back, and there is a tiny bit more water in the wine than wine in the water.

Taking it further

Back and forth

Keep going: a spoonful across, stir, a spoonful back, stir, again and again. After every round trip both glasses are back to their levels, so the two amounts stay equal. Call each of them x. At the start of a trip the wine glass holds G−x of wine, so a spoonful takes s(G−x)G of it across. The water glass then holds x+s(G−x)G of wine in G+s, and the spoon back takes sG+s of that, which leaves

x′=(G−s)x+sGG+s

Half a glass, G2, stays where it is, and the distance from half shrinks by the same factor r every time:

G2−xk=G2rk,r=G−sG+s

For the film r=911. One trip gives the film's answer, and it takes 23 round trips for each glass to be within 1% of half the other liquid.

01020304050half051015202530round trips (spoonfuls each way)a spoonful each waypumped continuously
Wine in the water glass after each round trip of the film's spoon (dots), and pumping the same volume both ways continuously (line). Both close in on half, 50; the spoon is always slightly ahead.

Pumping

The continuous version: pump liquid steadily from each glass to the other, at equal rates, both glasses kept stirred. Measure progress by V, the volume that has gone each way. Wine flows out of the wine glass at its strength, G−xG, and back at the water glass's strength, xG, so

dxdV=1−2xG,x=G2(1−e−2V/G)

which is what the spoon gives as the spoon shrinks. Spoonfuls are always slightly ahead of pumping the same volume. With a=s/G, a round trip shrinks the gap from half by r=1−a1+a, and pumping the same volume shrinks it by e−2a, and

ln1−a1+a=−2(a+a33+⋯)<−2a

The table shows how small the difference is. To get within 1% of half, the film's spoon needs 23 trips, 230 each way; pumping needs about 230.3.

Round trips of the film's spoon, against pumping the same volume
Round tripsWine in the water glassShort of halfPumped instead
19.0940.919.06
216.5333.4716.48
322.6127.3922.56
531.6718.3331.61
1043.286.7243.23
2349.510.4949.50
3049.880.1249.88

More than two glasses

Start with several glasses, each full of its own liquid, and move spoonfuls about in any way at all that leaves every glass as full as it started. Glass i holds its own liquid and some foreign liquid, and those add up to its volume. Liquid i is partly in glass i and partly abroad, and those add up to the same volume. Subtract, and the foreign liquid in glass i equals the liquid i in the other glasses.

With two glasses the foreign liquid in the wine is the water, and the wine abroad is in the water glass, which is the puzzle. With three or more, only the totals have to balance. The water in the wine and the wine in the water can differ, as exercise 4 shows.

Checking it

None of this is left to the proofs. scripts/wine.mjs asserts every number on this page, in exact fractions, and the page is built from what it writes.

The film. It reads the glass and the spoon from the film's own constants in Episode.tsx, and checks every fraction the film puts on screen in its first proof. It also reads the three spoonfuls of the last scene and checks the answers shown under them.

Every glass and spoon. For every glass up to 40 and every spoon up to the glass, at nine degrees of stirring and well stirred, 8,200 cases, the two amounts are equal and both glasses are back to their levels.

Random glasses. On 2,000 seeded random cases with unequal glasses and fractional amounts, the amounts are equal, and the strengths are equal only when the glasses are. On 2,000 more with a different spoon back, the difference is exactly the difference of the spoons.

Round trips and pumping. The first 40 round trips are played out spoonful by spoonful and match the formula exactly. The pumping formula is checked against a step-by-step numerical solution, against ever smaller spoons, and the spoon is checked to beat pumping at a thousand spoon sizes.

More glasses. On 300 random arrangements of three to five glasses, every glass's foreign liquid equals its own liquid abroad, and in 259 of them some pair of glasses is unequal.

Where this shows up

  • Two towns. If people move between two towns and both end with the populations they started with, then as many people born in the first now live in the second as the other way round. It is the levels argument with people. With three towns, only the totals balance.
  • Compartment models. Two well-stirred tanks trading liquid at a steady rate is the simplest compartment model, the kind used for a drug passing between the blood and the body's tissues. The gap from balance dies away exponentially, as in "Pumping" above.

Try it yourself

1. A glass holds 200 of wine and a bigger one 300 of water. A spoon of 20 goes across, is stirred in, and a spoon of 20 comes back. How much water ends in the wine, and how much wine in the water? Are the two glasses equally strong?

75/4 each, that is 18.75. After the first spoon the water glass is 1/16 wine, so the spoon brings back 5/4 of wine and 75/4 of water. The amounts are equal, but the strengths are not: the wine glass is 9.375% water, and the water glass is 6.25% wine.

2. Use the film's glasses, 100 each, but send 10 across and bring 15 back, stirred well. Which is more, and by how much?

The water in the wine, 150/11 (about 13.64), against 95/11 of wine in the water (about 8.64). The difference is 5, the difference of the spoons, and it would be 5 however it was stirred.

3. With the film's glasses and spoon, stirring well every time, how many round trips until the water glass holds at least 49.5 of wine?
  1. The gap from half starts at 50 and shrinks by a factor 911 each trip, and 49.5 is 1% short of half, so the question is when rk≤1100 with r=911. That first holds at k=23.
4. Three glasses hold 100 each, of wine, water and juice. A spoon of 10 goes from the wine to the water, then from the water to the juice, then from the juice back to the wine, stirring each time. Is there as much water in the wine as wine in the water?

No. The water glass holds 100/11 of wine, but the wine glass holds only 100/121 of water. What does balance is the total: the wine glass holds 100/11 of juice and 100/121 of water, 1200/121 of foreign liquid, and the wine abroad is 100/11 in the water and 100/121 in the juice, 1200/121 again.