Skip to main content
Physics LibreTexts

16.5: Moving Charge and Magnetic Fields

  • Page ID
    32846
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    We have shown that electric charge generates both electric and magnetic fields, but the latter result only from moving charge. If we have the scalar potential due to a static configuration of charge, we can use this result to find the magnetic field if this charge is set in motion. Since the four-potential is tangent to the particle’s world line, and hence is parallel to the time axis in the reference frame in which the charged particle is stationary, we know how to resolve the space and time components of the four-potential in the reference frame in which the charge is moving.

    boosta.png
    Figure 16.4: Finding the space and time components of the four-potential produced by a particle moving at the velocity of the primed reference frame. The \(ct\) axis is the world line of the charged particle that generates the four-potential.

    Figure 16.4 illustrates this process. For a particle moving in the \(+x\) direction at speed \(v\), the slope of the time axis in the primed frame is just \(\text { c/v }\). The four-potential vector has this same slope, which means that the space and time components of the four-potential must now appear as shown in figure 16.4. If the scalar potential in the primed frame is \(\phi^{\prime}\), then in the unprimed frame it is \(\phi\), and the x component of the vector potential is \(A_{X}\). Using the space time Pythagorean theorem, \(\phi^{\prime 2} / c^{2}=\phi^{2} / c^{2}-A_{x^{2}}^{2}\), and relating slope of the \(c t^{\prime}\) axis to the components of the four-potential, \(c / v=(\phi / c) / A_{x}\), it is possible to show that

    \[\phi=\gamma \phi^{\prime} \quad A_{x}=v \gamma \phi^{\prime} / c^{2}\label{16.13}\]

    where

    \[\gamma=\frac{1}{\left(1-v^{2} / c^{2}\right)^{1 / 2}}\label{16.14}\]

    Thus, the principles of special relativity allow us to obtain the full four-potential for a moving configuration of charge if the scalar potential is known for the charge when it is stationary. From this we can derive the electric and magnetic fields for the moving charge.

    linea.png
    Figure 16.5: Vector potential from a moving line of charge. The distribution of vector potential around the line is cylindrically symmetric.

    Moving Line of Charge

    As an example of this procedure, let us see if we can determine the magnetic field from a line of charge with linear charge density in its own rest frame of \(\lambda^{\prime}\), aligned along the \(z\) axis. The line of charge is moving in a direction parallel to itself. From equation (\ref{16.10}) we see that the scalar potential a distance \(r\) from the \(z\) axis is

    \[\phi^{\prime}=-\frac{\lambda^{\prime}}{2 \pi \epsilon_{0}} \ln (r)\label{16.15}\]

    in a reference frame moving with the charge. The \(z \) component of the vector potential in the stationary frame is therefore

    \[A_{z}=-\frac{\lambda^{\prime} v \gamma}{2 \pi \epsilon_{0} c^{2}} \ln (r)\label{16.16}\]

    by equation (\ref{16.13}), with all other components being zero. This is illustrated in figure 16.5.

    lineb.png
    Figure 16.6: Magnetic field from a moving line of charge. The charge is moving along the \(z \) axis out of the page.

    We infer that

    \[ B_{x}=\frac{\partial A_{z}}{\partial y}=-\frac{\lambda^{\prime} v \gamma y}{2 \pi \epsilon_{0} c^{2} r^{2}} \quad B_{y}=-\frac{\partial A_{z}}{\partial x}=\frac{\lambda^{\prime} v \gamma x}{2 \pi \epsilon_{0} c^{2} r^{2}} \quad B_{z}=0 \label{16.17}\]

    where we have used \(r^{2}=x^{2}+y^{2}\). The resulting field is illustrated in figure 16.6. The field lines circle around the line of moving charge and the magnitude of the magnetic field is

    \[ B=\left(B_{x}^{2}+B_{y}^{2}\right)^{1 / 2}=\frac{\lambda^{\prime} v \gamma}{2 \pi \epsilon_{0} c^{2} r}\label{16.18}\]

    There is an interesting relativistic effect on the charge density \(\lambda^{\prime}\), which is defined in the co-moving or primed reference frame. In the unprimed frame the charges are moving at speed \(v\) and therefore undergo a Lorentz contraction in the \(z \) direction. This decreases the charge spacing by a factor of \(γ \) and therefore increases the charge density as perceived in the unprimed frame to a value \(\lambda=\gamma \lambda^{\prime}\).

    We also define a new constant \(\mu_{0} \equiv 1 /\left(\epsilon_{0} c^{2}\right)\). This is called the permeability of free space. This constant has the assigned value \(\mu_{0}=4 \pi \times 10^{-7} \mathrm{~N} \mathrm{~s}^{2} \mathrm{C}^{-2}\). The value of \(\epsilon_{0}=1 /\left(\mu_{0} c^{2}\right)\) is actually derived from this assigned value and the measured value of the speed of light. The reasons for this particular way of dealing with the constants of electromagnetism are obscure, but have to do with making it easy to relate the values of constants to the experiments used in determining them.

    With the above substitutions, the magnetic field equation becomes

    \[B=\frac{\mu_{0} \lambda v}{2 \pi r}\label{16.19}\]

    The combination \(\lambda v\) is called the current and is symbolized by \(i\). The current is the charge per unit time passing a point and is a fundamental quantity in electric circuits. The magnetic field written in terms of the current flowing along the \(z\) axis is

    \[B=\frac{\mu_{0} i}{2 \pi r} \quad \text { (straight wire). }\label{16.20}\]

    Moving Sheet of Charge

    As another example we consider a uniform infinite sheet of charge in the \(x \) - \(y\) plane with charge density \(σ\) . The charge is moving in the +\(x \) direction with speed \(v\). As we showed in the section on Gauss’s law for electricity, the electric field for this sheet of charge in the co-moving reference frame is in the \(z \) direction and has the value

    \[ E_{z}^{\prime}=\frac{\sigma^{\prime}}{2 \epsilon_{0}} \operatorname{sgn}(z)\label{16.21}\]

    where we define

    \[\begin{equation}
    \operatorname{sgn}(z) \equiv\left\{\begin{array}{rl}
    -1 & z<0 \\
    0 & z=0 \\
    1 & z>0
    \end{array}\right.
    \end{equation}\label{16.22}\]

    The \(\operatorname{sgn}(z)\) function is used to indicate that the electric field points upward above the sheet of charge and downward below it (see figure 16.7).

    The scalar potential in this frame is

    \[ \phi^{\prime}=-\frac{\sigma^{\prime}|z|}{2 \epsilon_{0}} \label{16.23}\]

    sheetb.png
    Figure 16.7: Vector potential \(A\), electric field \(E\), and magnetic field \(B\) from a moving sheet of charge. The charge is moving in the \(x \) direction.

    In the stationary reference frame in which the sheet of charge is moving in the \(x\) direction, the scalar potential and the \(x\) component of the vector potential are

    \[\phi=-\frac{\gamma \sigma^{\prime}|z|}{2 \epsilon_{0}}=-\frac{\sigma|z|}{2 \epsilon_{0}} \quad A_{x}=-\frac{v \gamma \sigma^{\prime}|z|}{2 \epsilon_{0} c^{2}}=-\frac{v \sigma|z|}{2 \epsilon_{0} c^{2}}\label{16.24}\]

    according to Equation \ref{16.13}, where \(\sigma=\gamma \sigma^{\prime}\) is the charge density in the stationary frame. The other components of the vector potential are zero. We calculate the magnetic field as

    \[ B_{x}=0 \quad B_{y}=\frac{d A_{x}}{d z}=-\frac{v \sigma}{2 \epsilon_{0} c^{2}} \operatorname{sgn}(z) \quad B_{z}=0\label{16.25}\]

    where \(\operatorname{sgn}(z)\) is defined as before. The vector potential and the magnetic field are shown in figure 16.7. Note that the magnetic field points normal to the direction of motion of the charge but parallel to the sheet. It points in opposite directions on opposite sides of the sheet of charge.


    This page titled 16.5: Moving Charge and Magnetic Fields is shared under a CC BY-NC-SA 3.0 license and was authored, remixed, and/or curated by David J. Raymond (The New Mexico Tech Press) via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.