Magnetic fields can't do work. However, we use the following equation to describe the energy density of a magnetic field.
$u = \frac{B^2}{2\mu_0}$
The term energy density suggests that the magnetic field has the ability to do work. Is this a contradiction?
As an example, the energy stored in an inductor is
$U = \frac{1}{2}LI^2$
This energy is stored in the magnetic field of the inductor. In an RL circuit with a charged inductor, the current in the circuit continues to flow for a finite time after the battery is removed. It seems that the energy of the magnetic field in the inductor is doing work to drive the current.
I realize that as the magnetic field in the inductor drops, an electric field is created that drives the current. However, the electric field's ability to do work was derived from the energy in the magnetic field.
I also realize that the energy in the magnetic field originally came from the battery, making the battery the original source of the work done.
I am left to make the following conclusions, but I don't know if they are correct.
- A magnetic field never directly does work.
- A magnetic field can store the ability to do work.
- In order for magnetic energy to be used as work, the magnetic field must transfer the energy to an entity (such as an electric field) that is able to do work directly.