Solving 2-Can, 1-Cup Problem: f(n)

  • Thread starter JanEnClaesen
  • Start date
In summary, the conversation discusses a setup where two cans containing different but miscible liquids are used to transfer and mix the liquids multiple times. The resulting mixtures have equal volume but different concentrations. The problem is then posed as determining the concentration of one of the liquids after a certain number of transfers. The conversation also mentions a similar brain teaser involving milk and water.
  • #1
JanEnClaesen
59
4
Given are two equally full cans containing two different but miscible fluids and one smaller, empty cup.
Take one cup of one of the liquids and pour its contents into the can containing the other liquid, similarly, take one cup of the resulting mixture and pour it back into the other can. This results in two mixtures of equal volume but of different concentrations.

Set this transfer equal to n = 1.

(You might have encountered this set-up in the form of a brain teaser, the tease being the relationship between the transferred liquids. The answer is equality.)

Now consider f(n), the concentration of one of the liquids in one of the cans after n transfers.
What is f(n)?
 
Last edited:
Physics news on Phys.org
  • #2
Perhaps the problem is badly posed: it's basically a continuation and quantification of this brain teaser:

There are two equally filled jars, one contains milk, the other water. A teaspoon of milk goes into the water and is stirred. Then a teaspoon of the mixture goes back into the milk. Is there more water in the milk or milk in the water?
 
  • #3
I don't see the additional challenge if you can solve it for n=1.
It is just a geometric progression towards 1/2.

I think this better fits into our https://www.physicsforums.com/forumdisplay.php?f=33 forum.
 
  • Like
Likes 1 person
  • #4
So you are saying, concretely:

( only the even powers of x in the expansion of (x+1)^n if n is not even and vice versa ) / (x+1)^n where x is as the can is to the cup
 
Last edited:
  • #5
I have no idea how you got that formula.

Put a fraction x of container A (with content a) to container B (with content b), then container B has a fraction x/(1+x) of a and 1/(1+x) of b. Put x back, and you get x/(1+x) of b in container a and (by symmetry) the same of a in container b. The concentration difference to 1/2 reduces from 1/2 to 1/(1+x)-1/2, or by a factor of 2/(1+x)-1. This will be the same for all steps, so the concentration after n steps is 1/2*(1+(2/(1+x)-1)^n).
 
  • Like
Likes 1 person
  • #6
Like this:

x times the cup equals the can. After one step the concentration of liquid a is x/(1+x) in can A and 1/(1+x) in can B, the second step combines x/(1+x) of a from A and x*1/(1+x) of a from B in B. f(2) = 2x/(1+x)^2 The third step combines (x^2 + 1)/(1+x) of a from A and x*2x/(1+x)^2 of a from B in B. So f(3) = (3x^2 + 1)/(1+x)^3 ...
 
Last edited:

FAQ: Solving 2-Can, 1-Cup Problem: f(n)

What is the "2-Can, 1-Cup Problem"?

The "2-Can, 1-Cup Problem" is a mathematical problem that involves two cans of different sizes and a single cup. The goal of the problem is to transfer a specific amount of liquid from one can to the other using only the provided cups.

Why is this problem important?

This problem is important because it helps develop critical thinking skills and problem-solving abilities. It also has real-life applications in fields such as engineering, chemistry, and physics.

What is the equation for solving the "2-Can, 1-Cup Problem"?

The equation for solving the "2-Can, 1-Cup Problem" is f(n) = 2^(n-1) - 1, where n is the number of cans used in the problem. This equation determines the minimum number of moves needed to solve the problem based on the number of cans.

What is the most common mistake when solving this problem?

The most common mistake when solving the "2-Can, 1-Cup Problem" is not accounting for the cup's capacity. Many people forget that the cup can only hold a certain amount of liquid, which can affect the number of moves needed to solve the problem.

Are there any variations of the "2-Can, 1-Cup Problem"?

Yes, there are variations of this problem, such as using more than two cans or having different capacities for the cans and the cup. These variations can make the problem more challenging and require different strategies to solve.

Back
Top