
Drawing a directed graph
Now, I understand how directed graphs work. But drawing one for this problem just baffles me.
I have a 3 gallon and a 5 gallon jug. I can fill them from a tap, transfer water from one another, and empty them. I need to prove that I can get exactly 1 gallon in one jug. I then need to draw the process using a directed graph model.
I solved the first part. I eventually got the 3 gallon jug with exactly one gallon of water. I'm having trouble trying to figure out how to draw this though. A hint says to use (a,b) to show each jug. I'm at a complete loss of how to do this without having a vertex representing every step, but this would just create a line. Any ideas?

$\displaystyle (0,5) \to (3,2) \to (0,2) \to (2,0) \to (2,5) \to (3,4) \to (0,4) \to (3,1)$

wow, so I guess I was right?
it just seems... too simple... why draw a graph in the first place?
ah well, I appreciate it.

You might also try plotting the points (0,5) etc. on an ordinary Cartesian xy graph and then draw arrows connecting them. This reveals a certain structure to the solution which may not otherwise be obvious.