In addition to the electric forces between electric charges, moving electric charges exert magnetic forces on each other. A magnetic field is created by a moving charge or a group of moving charges known as the electric current. A magnetic force is experienced by a second current or moving charge in response to this magnetic field. Fundamentally, interactions between moving electrons in the atoms of two bodies produce magnetic forces between them.
The magnetic force acting on a moving charge has four main properties. First, its magnitude is proportional to the magnitude of the charge. Secondly, the magnitude of the force is proportional to the magnitude of the field. For two identical bar magnets instead of one, the force on a moving charge particle doubles without changing its velocity and charge.
The third characteristic is that the magnetic force depends on the test charge's velocity, unlike the electric force, which remains constant whether the charge is moving or not. No magnetic force is exerted on a charged particle at rest. Fourth, the magnetic force is always perpendicular to the velocity and the magnetic field.
The magnetic force, F, on a charge, Q, moving with velocity, v, in a magnetic field, B, is
This is known as the Lorentz force law.
If the charge, Q, moves by an amount
then the work done is
Combining the three equations leads to
Hence the magnetic force does zero work. It can only change a test charge's direction of motion. The speed of the particle remains unaffected by the magnetic force.