How does this "simple" electric train work? In this YouTube video, a dry cell battery, a wound copper wire and a few magnets (see image below) are being used to create what can be described as "train". It looks fascinating but how does this experiment work?
Update 8th August 2016: This problem has been completely worked out in a paper that was published in the January 2016 issue of American Journal of Physics.

Link: Am. J. Phys. 84, 21 (2016); http://dx.doi.org/10.1119/1.4933295


 A: That's a nice video - good find :-)
If you run a current through a coil; it generates an magnetic field inside the coil like this:

(Image from the Hyperphysics site.)
If the field lines are exactly parallel a bar magnet will feel no net force. However at the ends of the coil, where the field lines diverge, a bar magnet will be either pulled into the coil or pushed out of the coil depending on which way round you insert it.
The trick in the video is that the magnets are made of a conducting material and they connect the battery terminals to the copper wire, so the battery, magnets and copper wire make a circuit that generates a magnet field just in the vicinity of the battery. The geometry means the two magnets are automatically at the ends of the generated magnetic field, where the field is divergent, so a force is exerted on the magnets.
The magnets have been carefully aligned so the force on both magnets points in the same direction, and the result is that the magnets and battery move. But as they move, the magnetic field moves with them and you get a constant motion.
If you flipped round the two magnets at the ends of the battery the battery and magnets would move in the reverse direction. If you flipped only one magnet the two magnets would then be pulling/pushing in opposite directions and the battery wouldn't move.
