Magnetism
Contents
18. Magnetism#
18.1. Gauss’s Law for Magnetism#
Now that we have got electric fields under control, we should turn our head to magnetic fields. There are clearly some relationships between the two, as well discovering currents, fields and magnets all may interact. Lets consider a bar magnet, as shown in Fig. 18.1, the field lines show the circulation of magnetic field lines from the North pole and into the South pole. A simple way we can observe this is with iron filings or a compass, to trace out the field lines.
We can move from this qualitative understanding of magnetic fields to a mathematical one, using the tools we developed in Chapters 2 and 3. Lets try and understand how Gauss’s law works for magnetic fields:
We can see effect of doing this in Fig. 18.2, we see that all the field lines that enter a surface also exit, meaning that the next flux is zero. Additionally if we try to contain all the magnetic field lines within a surface, none of them exit and therefore the flux is zero. Thus we find for magnetic fields:
We can also interpret this through analogy to Gauss’s law for electric fields:
Where the \(Q_{magnetic}\) would, from the direction of the field lines, represent an isolated north pole \(N\). However around a bar magnet, we see there are only magnetic dipoles, with north and south poles, hence the sum of the all the magnetic “charges” is found to be zero. Gauss’s law for magnetism on its own is not a very useful way to understand magnetic systems. However we can find the magnetic flux through open surfaces to be useful, as we will see later.
18.2. Like and Opposite Poles#
We can see that the addition of different magnetic poles can produce magnetic flux, as Fig. 18.3 shows. Drawing a surface between the poles in the middle of the diagram shows that if the net flux is zero, we have the presence of like poles. If however there is a next flux out of (or in to) a surface, then there is a net presence of a north (or south pole) in or near the surface.
Clearly the lowest energy configuration for a system with at least two different orientations of bar magnets is for opposite poles to be neighbouring. These types of systems have been long studied, most notably the Ising Model. We can consider long chains (in 1D) or lattices (in 2D or higher dimensions) of magnets as depicted in Fig. 18.4. The energy figuration of these systems can be studied using the tools of statistical mechanics.
18.3. Magnetic Fields, Currents and Biot-Savart Law#
Experimentally we observe that a currents flowing in wires produce magnetic fields, as seen in Fig. 18.5. As the iron flings pattern shows, larger currents (here from more current carrying wire) produce stronger magnetic fields, so lets posit \(B \propto I\).
We can see that such as a system displays cylindrical symmetry, as there is rotational invariance around the current, aligned on the \(z\) axis. The magnetic fields direction appears to follow the right handed screw rule, as shown in Fig. 18.6.
How can we understand the fields created by moving currents in the wire? Lets revisit charges in a line, which we will approximate as a line of charge. We considered the electrostatics of a finite line of charge in Fig. 16.8, which we can modify in Fig. 18.7 with a current \(I\). Lets split up the wire into length elements \(\mathrm{d} {\bf \ell}\), we can imagine contributes to the magnetic field at a given point \(r\) away from the wire.
If we take a conducting wire and pass an electric field \({\bf E}\) through it, free charges will begin to move setting up a current \(I\). These moving charges will follow:
where \(n\) is the number density of free charges, \(A\) is the conductor cross sectional area, \(v = |{\bf v}|\) is the charge drift velocity and \(q\) is the magnitude of the charge on each charge carrier. If we take the combination of \(I\,\mathrm{d} {\bf \ell}\) then:
where \(N\) is the number of free charges in the conductor and we have moved the vector dependence from the direction of the length element \(\mathrm{\bf d} \ell\) to the drift velocity \(\bf v\). This suggests we have a current momentum \(Q\,{\bf v}\) in the wire. Lets revisit Equation (16.2) replacing static charges \(\mathrm{d} Q\) with moving charges \(\mathrm{d} Q\,{\bf v}\) and call this the \({\bf B}\) field:
Note also that we replaced the electric field constant \(\epsilon_0\) with a magnetic field constant \(\mu_0\). Fig. 18.7 shows \(R = r\sin(\theta)\), hence:
and therefore given the definition of the cross product, we can convert this in to a vector equation:
Thus the observed magnetic field from a wire carrying current \(I\) at a distance \({\bf r}\) is given by the Biot-Savart Law:
which is depicted in Fig. 18.8. We see that the cylindrical symmetry is made explicit, for a wire carrying a current \(I\) in the \(z\) direction, we would measure (at a radial distance \(r\) away from the wire) a magnetic field \({\bf B}\) moving in the \({\bf \theta}\) direction - following the right hand screw rule. We see that each element \(\mathrm{d} \ell\) along the current carrying wire contributes to the total magnetic field \({\bf B}\) at every point \(r\) through the line integral, not just the current element in the \(z\) plane with the magnetic field \(B_\theta\).
The magnetic field constant \(\mu_0\), also known as the vacuum permeability here is used in the definition of the SI current unit, the Ampère (\(A\)) which is defined to be:
For an infinite wire, we can use Equation (16.1) and take \(\lambda \rightarrow \lambda\,|{\bf v}| = I\):
18.4. Magnetic Field around a Finite Wire#
Solving the Biot-Savart law for different situations looking tricky, however for a finite wire we can think about the system in terms of angles, as depicted in Fig. 18.9.
In this system we can think about the length element of the current, \( \mathrm{\bf d} \ell = \mathrm{d} \ell\,\hat{\bf z}\)
Applying Biot-Savart law here:
Given \(\ell = R \tan(\alpha) \Rightarrow \mathrm{d} \ell = R\,\sec^2(\alpha)\,\mathrm{d}\alpha\) and given \(R = r\, \cos(\alpha) \Rightarrow r = R / \cos(\alpha)\):
Notice that if we take \(\alpha_2 \rightarrow \pi/2,\, \alpha_1 \rightarrow -\pi/2\):
then we find the infinite wire result from Equation (18.5).