My professor asked us a question if the magnetic field does work? Clearly the Lorentz force suggests that the magnetic force is perpendicular to velocity so the power delivered is 0. But another observation is that when two magnets attract or repel, work is done. My differentiation in the two scenarios is that magnet is a dipole whereas a charge doesn't always produce dipoles. My argument was magnetic field does work on dipoles but not on charges. I suggested that magnetic dipoles and charges should be treated individually because a electron has a charge and spin 1/2, which means that it has two different intrinsic properties. My professor on the other wasn't actually happy with this answer.
-
1$\begingroup$ Related question: physics.stackexchange.com/q/10565 but I don't know whether it would answer your question, because answers seem to be contradictiory. The most upvoted says yes, the second and third most upvoted say no, the fourth says again yes... $\endgroup$– PrallaxAug 26, 2021 at 10:22
-
$\begingroup$ More on magnetic fields and work. $\endgroup$– Qmechanic ♦Aug 26, 2021 at 16:20
-
$\begingroup$ Stricly speaking, it is the force that can do work. Magnetic force is a general term, sometimes it can't do work (magnetic Lorentz force), sometimes it can (macroscopic magnetic force on conductor that is carrying current). $\endgroup$– Ján LalinskýNov 2 at 23:31
3 Answers
The key theorem governing work and energy in classical electromagnetism is Poynting's theorem. To properly deal with a permanent magnet like a magnetic dipole we need to use the "macroscopic" version of Poynting's theorem which is less familiar to many. A good derivation is in section 11.2 here: https://web.mit.edu/6.013_book/www/book.html
$$-\nabla \cdot (E \times H) = \frac{\partial}{\partial t} \left( \frac{1}{2}\epsilon_0 E \cdot E + \frac{1}{2} \mu_0 H \cdot H \right) + E \cdot \frac{\partial P}{\partial t} + H \cdot \frac{\partial \mu_0 M}{\partial t} + E \cdot J $$
In this expression the term on the left and the first term on the right involve only the field. They represent the flow of energy and the storage of energy in the field respectively. The remainder of the terms include matter, so they can be considered different forms of work on matter.
In particular for this question is the term $H \cdot \frac{\partial }{\partial t}\mu_0 M$. The magnetization, $M$, is the density of magnetic moment. Thus a magnetic dipole is simply a Dirac distribution of $M$, so it is indeed possible for the magnetic field $H$ to do work on a magnetic dipole.
The reason that this question may be confusing is if one is trying to treat a magnetic dipole using the more well-known microscopic version of Poynting's theorem. It is always best to use the most appropriate laws for a situation rather than try to use awkward tools simply because they are more familiar.
In the microscopic version of Poynting’s theorem the only term involving matter is $E \cdot J$. So in principle it is always possible to express the work done on matter purely in terms of $E$ without any magnetic contribution. However, in order to accomplish that you need to know all of the charges and fields microscopically.
So, in principle the “only E does work” position is theoretically justified by the microscopic theory. However, rarely do we have such detailed knowledge, so it is also justified to use the macroscopic theory. And the opposite conclusion is justified by the macroscopic theory. Both positions are justified, so overall the argument is rather pointless.
I think you are right. In classical physics one introduces this notion that magnetic fields do no work because nobody talks about the real microscopic origin of magnetism at this level. If we consider quantum mechanics, the answer could be different. I will not give a definite answer because I think there are some technicalities related to thermodynamics and quantum mechanics but my answer will be the following:
- The magnetic field term in Lorentz force does no work, that's a fact.
- Materials are made of charges and magnetic dipoles (and other multipoles).
- On charges, the magnetic field does no work.
- On dipoles, it depends on the dipole, materials have different sources of magnetic moments.
- If the dipole is generated by some charge in a loop (like the orbit of an electron bound to an atom), it does not work.
Thus the only possible work that the magnetic field can do is when acting on intrinsic dipoles of the subatomic particles in the material. The electrons (negatively charge), protons (positive) and neutrons (neutral) in the atom have each a permanent magnetic moments (proportional to their spin). The energy due to this interaction is given by
$$E=-\boldsymbol\mu\cdot\mathbf{B}$$
where $\boldsymbol{\mu}$ is this intrinsic magnetic moment of the particle under consideration and $\mathbf{B}$ the magnetic field. The sum of all these magnetic moments creates a macroscopic magnetization. If the magnetic field is changing the magnetization (here I refer only to the sum of all intrinsic moments, the rest is not included) of the material it could be considered to be doing work.
A simple case... Parallel wires carrying currents in the same direction will attract each other and do work on each other if they are allowed to come together against restraining forces. Wire X sits in the magnetic field due to the wire Y, so it's tempting to say that the magnetic field is doing work on X (or on X's moving electrons).
Dipoles aren't relevant to this set-up. Rather, I'd say that the forces doing the work are not magnetic forces but the forces on the bulk of the wire from the free electrons, specifically the Newton 3 partner forces to the forces that keep the electrons moving along the wires rather than escaping the wire to move in curved paths.
The energy used in doing the work comes from the power supply keeping up the speed of the electrons. This energy shows up as a back-emf to be overcome as the wires come together changing the flux linkage.
-
$\begingroup$ Forces keeping the electrons moving along the wires are not only electrostatic, there are also constraint forces due to lattice preventing the electrons from jumping out; this is obvious when there is negative surface charge density, which means electrostatic force acts to expel the electrons from the surface. $\endgroup$ Nov 2 at 23:33
-
$\begingroup$ Jan Lalinsk´y Thank you. I've removed "essentially electrostatic". $\endgroup$ Nov 3 at 8:33