Cut the knot: learn to enjoy mathematics
A math books store at a unique math study site. Learn to enjoy mathematics.
Google
Web CTK
Try our no ads browsing

Sites for teachers
Sites for parents
Terms of use
Awards

Interactive Activities
CTK Exchange
CTK Insights - a blog

Games & Puzzles
What Is What
Arithmetic/Algebra
Geometry
Probability
Outline Mathematics
Make an Identity
Book Reviews
Stories for Young
Eye Opener
Analog Gadgets
Inventor's Paradox
Did you know?...
Proofs
Math as Language
Things Impossible
Visual Illusions
My Logo
Math Poll
Cut The Knot!
MSET99 Talk
Other Math sites
Front Page
Movie shortcuts
Personal info
Privacy Policy

Guest book
News sites

Recommend this site

Games to relax

Tutor Match Tutoring and Homework Help

Sites for teachers
Sites for parents

Education & Parenting

Manifesto: what CTK is about Buying a book is a commitment to learning Table of content Try our no ads browsing Things you can find on CTK Chronology of updates Email to Cut The Knot Recommend this page
Barycentric coordinates
A Curious Application

We are given three glasses A, B, C of respective capacities 8, 5, and 3 oz. The first glass is full of water. The problem is to measure out 4 oz of water (without, of course, spilling a single drop.)

With the points A, B, C we associate barycentric coordinates u, v, w such that

  u + v + w = 8

The grid on the right represents points with all three coordinates non-negative integers. Strings correspond to the coordinate values. For example, the apex A is referred to by its coordinate string 800 which is just a shorthand for u = 8, v = 0, w = 0 or (8, 0, 0). To account for limited capacities of the given vessels, note that under no circumstances it is possible to arrive at the water distribution represented by, say, 134. For the third glass is only capable of holding 3 oz of water. The region of feasible configurations is bounded by the red parallelogram.

Pouring from one glass to another corresponds to moving from one node to another along one of the grid lines (on which the quantity of water in the remaining glass does not change!) Since the only way to measure an exact quantity is by either completely filling or completely emptying one of the glasses, we always move up to the boundary of the red parallelogram. Consider, for example, point 431 - the blue dot on the diagram. From here there are 6 possible moves (in the counterclockwise direction:

  1. to 701 (pour 3 oz from #2 to #1)
  2. to 530 (pour 1 oz from #3 to #1)
  3. to 440 (pour 1 oz from #3 to #2)
  4. to 251 (pour 2 oz from #1 to #2)
  5. to 233 (pour 2 oz from #1 to #3)
  6. to 413 (pour 2 oz from #2 to #3)

Since, at the beginning, the first glass is full, we start at the vertex 800. From there there are only two moves: along the side w = 0 to the node 350 or along the side v = 0 to the node 503. Solving the problem is like playing billiard on a triangle table (We already used a rectangular table for the same purpose.) There are just three nodes on the red parallelogram that contain at least one 4: 440, 413, 143. The problem will be solved when the ball arrives at one of these points.

The situation is not always as simple as that. For example, assume we are given glasses of capacities 8,7, and 6 that, between them, hold 10 oz of water. For one, the set of feasible nodes is now bounded by an irregular hexagon, not a parallelogram. Secondly, not all configurations are reachable from all starting positions. For example, nodes 550-505-055 form a loop so that unless the initial node lies on one of the lines connecting the three nodes, it is impossible to get there. Which means that it is impossible to measure out 5 oz unless one of the glasses held 5 oz to start with.

Other anomalies arise when the given capacities have a common factor greater than 1. In this case too, the set of boundary nodes (of the feasible hexagon) is split into nonintersecting loops. A problem is only solvable if both its starting and goal configurations belong to the same loop.

References

  1. H. S. M. Coxeter, Introduction to Geometry, John Wiley & Sons, 1961
  1. 3 Glasses Puzzle: Experimental Mathematics
  2. Puzzle Investigation
  3. Application of Graph Theory
  4. The puzzle in barycentric coordinates
  5. Three Jugs Problem.
  6. Two Pails Puzzle.
  7. Barycentric Coordinates: a Tool
  8. Barycentric Coordinates and Geometric Probability
  9. Determinants, Area, and Barycentric Coordinates

Copyright © 1996-2008 Alexander Bogomolny

30742078Page copy protected against web site content infringement by Copyscape


Search:
Keywords:



Latest on CTK Exchange
try this puzzle ?/?? + ?/?? + ?/? ...
Posted by albert1950
5 messages
12:40 PM, Nov-18-08

Help me find Hisashi ABE, Pythago ...
Posted by likesmath
2 messages
11:11 AM, Oct-06-08

triangle construction
Posted by Elianto84
12 messages
07:06 PM, Oct-30-08

Gardner's Torus cutting puzzle... ...
Posted by itineracy
3 messages
11:22 PM, Nov-02-08

Three Concurrent Circles
Posted by billmillar
2 messages
12:26 PM, Oct-28-08

disjoint sets
Posted by jay_shark
0 messages
07:36 PM, Nov-13-08

Error in Fractal Curves and Dimen ...
Posted by miguemate22
1 messages
08:51 AM, Nov-16-08