Chapter 5. MagnetostaticsThe magnetic field
Two parallel straight wires in which a current is flowing will attract or repel each other (depending on the direction of the currents). This force is called the magnetic force, and is used to define the magnetic field B. The magnetic force acting on a moving charge is equal to:
When an electric field is also present, the total force on a charged particle is given by the Lorentz force law: