How does a magnetic field exert force on a current-carrying wire?
When a current-carrying wire is placed in an external magnetic field B, the field exerts a force on the wire because the electric current represents the movement of charged particles. The Lorentz force acts on these individual moving charges, and because the charges are bound to the conductor, these forces are transferred to the wire itself.12
The magnitude of the force on a small length of the wire, dl, is calculated as:
where i is the current and is the angle between the magnetic field and the wire segment. The force is at its maximum when the current and the field are perpendicular to each other, and it is zero when the current flows parallel or anti-parallel to the field lines ( or ).12
The direction of this force is determined by the right-hand rule and is always perpendicular to both the wire segment and the magnetic field.12