A current-carrying wire produces a magnetic field that wraps around it in concentric circles. For a long straight wire, the field magnitude at perpendicular distance r is B = mu_0/(2pi) (I/r), and the direction is given by the right-hand grip rule: wrap fingers around the wire with the thumb pointing in the direction of current; fingers show the field direction. At the center of a circular current loop, the field points along the axis of the loop. When multiple wires are present, fields add as vectors. An external magnetic field exerts a force on a current-carrying wire of magnitude F_B = IlB sin theta, with direction from the right-hand rule.
Two long parallel wires carry currents in opposite directions. Describe the direction of the magnetic force each wire exerts on the other and explain why.