TimeKeepsMeUpAtNight:
Back and fourth? I am just curious as I am just learning all this stuff but it would seem to me that the current would oppose it self being that it would be coiled in multiple directions.
-No. Remember the fourth Maxwell Equation: Ampere's Law, which translates into Biot-Savart's Law (also analogus to Columb's Law):
dB = (mu/4pi) * (I*dL X r)/(R^2)
where dB is the vector magnetic flux density, mu is the magnetic permittivity, I is current through an infinitely long wire, r is a vector radius of the magnetic field, R is the magnitude of r, and dL is the length density of the wire at a point. The X is a cross-multiplier.
IN OTHER WORDS:
If you are looking at a vertical wire, and current is flowing "up" the wire, then the magnetic field will appear in a counterclockwise fashion around the wire. Think of grasping the wire with your right hand... If the current is flowing in the direction of your thumb then the magnetic field will appear in the direction of your fingers.
If you wrap this same wire in a clockwise coil, then the magnetic field contributions will cancel out everywhere except the center, and will be directed away from you.
Now, when you wrap a coil, you are disregarding the thickness of the wire itself. The closer the wrappings, the more ideal your magnetic field distribution will be in the center of the solenoid. However, the direction of the field depends on the direction of the CURRENT, not the WINDINGS. Feeding the wire back to the beginning causes more distortion then winding it back in the opposite direction.
This is why wrapping a solenoid in a "ping-pong" fashion is standard.