Part 3 · Chapter 12

Magnetic Flux Density and Vector Potential

Electrostatics had a scalar shortcut — the potential V. Magnetism cannot: with no monopoles, B has no scalar potential. Instead it earns a richer helper, the vector potential A, whose curl is the field and whose own equation echoes Poisson's.

Electromagnetic Field Theory Prof. Mithun Mondal Reading time ≈ 50 min
i What you'll learn
  • Magnetic flux and why \(\nabla\cdot\vec{B}=0\) means flux lines always close.
  • Why \(\vec{B}\) admits no scalar potential in regions carrying current.
  • The magnetic vector potential \(\vec{A}\) and the relation \(\vec{B}=\nabla\times\vec{A}\).
  • The vector Poisson equation \(\nabla^2\vec{A}=-\mu_0\vec{J}\) and its solution.
  • How to get magnetic flux straight from a line integral of \(\vec{A}\).
  • The complete set of Maxwell's equations for static fields.
Section 12-1

Magnetic Flux Revisited

Recall the magnetic flux through a surface from Chapter 11 — the surface integral of \(\vec{B}\), measured in webers:

Magnetic flux
\[ \Psi_m = \int_S \vec{B}\cdot d\vec{S} \quad (\text{Wb}) \]

Because there are no magnetic charges, every flux line that enters a closed surface must leave it: the net flux through any closed surface is zero, \(\oint_S\vec{B}\cdot d\vec{S}=0\), i.e. \(\nabla\cdot\vec{B}=0\). This single fact — that \(\vec{B}\) is solenoidal — is the seed from which the vector potential grows.

Section 12-2

Why No Scalar Potential

In electrostatics we wrote \(\vec{E}=-\nabla V\) because \(\vec{E}\) was irrotational (\(\nabla\times\vec{E}=0\)) — and only a field with zero curl can be the gradient of a scalar. The magnetic field fails this test: Ampère's law says \(\nabla\times\vec{H}=\vec{J}\), which is non-zero wherever current flows. So in general \(\vec{B}\) cannot be written as \(-\nabla V_m\).

The two null identities decide everything. From Chapter 3: the curl of a gradient is always zero, and the divergence of a curl is always zero. Electrostatics exploited the first (\(\nabla\times\vec{E}=0\Rightarrow\vec{E}=-\nabla V\)). Magnetism exploits the second: since \(\nabla\cdot\vec{B}=0\), we can always write \(\vec{B}\) as the curl of something. That something is the vector potential.

A scalar magnetic potential \(V_m\) can be defined, but only in current-free regions where \(\nabla\times\vec{H}=0\). There \(\vec{H}=-\nabla V_m\) holds, just as in electrostatics — useful for the air gaps of magnetic circuits, but not a general tool.

Section 12-3

The Vector Potential A

Since \(\nabla\cdot\vec{B}=0\) and the divergence of any curl is zero, there must exist a vector field \(\vec{A}\) — the magnetic vector potential (Wb/m) — whose curl produces \(\vec{B}\):

Definition of the vector potential
\[ \vec{B} = \nabla\times\vec{A} \]
J A ∥ J, fading B = ∇×A
A runs parallel to the current and fades outward; its curl gives the circling B

Unlike the electric scalar potential, \(\vec{A}\) points in the same direction as the current that creates it. For a current element, \(\vec{A}\) takes a form strikingly parallel to the electrostatic potential of a charge element — the \(1/R\) kernel is identical, only the source changes from \(dQ\) to \(I\,d\vec{l}\):

Vector potential of current elements
\[ \vec{A} = \frac{\mu_0}{4\pi}\int \frac{I\,d\vec{l}}{R}, \qquad \vec{A} = \frac{\mu_0}{4\pi}\int_v \frac{\vec{J}\,dv}{R} \]
Section 12-4

Poisson's Equation for A

Substituting \(\vec{B}=\nabla\times\vec{A}\) into Ampère's law, and choosing the convenient Coulomb gauge \(\nabla\cdot\vec{A}=0\), the vector identity for the curl of a curl collapses the result into a clean Poisson equation — one for each component of \(\vec{A}\):

Vector Poisson equation
\[ \nabla^2\vec{A} = -\mu_0\vec{J} \]
🔑
A perfect analogy with electrostatics
\[ \nabla^2 V = -\frac{\rho_v}{\varepsilon_0} \quad\longleftrightarrow\quad \nabla^2\vec{A} = -\mu_0\vec{J} \]

Every method from Chapter 9 carries straight over. The scalar potential's source is charge density \(\rho_v\); the vector potential's source is current density \(\vec{J}\). Solve the same equation, component by component, with the same techniques.

The freedom to add any gradient to \(\vec{A}\) without changing \(\vec{B}\) (since \(\nabla\times\nabla\chi=0\)) is called gauge freedom; the Coulomb gauge simply fixes that freedom to make the equation tidy.

Section 12-5

Flux from A

The vector potential offers a slick route to magnetic flux. Applying Stokes' theorem (Chapter 3) to \(\vec{B}=\nabla\times\vec{A}\) turns the flux surface integral into a line integral of \(\vec{A}\) around the boundary:

Flux as a line integral of A
\[ \Psi_m = \int_S \vec{B}\cdot d\vec{S} = \int_S (\nabla\times\vec{A})\cdot d\vec{S} = \oint_L \vec{A}\cdot d\vec{l} \]

Often the loop integral is far easier than the surface integral — especially when \(\vec{A}\) has a simple closed form. This trick is the everyday way to compute the flux linking a coil, and hence its inductance in Chapter 14.

Section 12-6

Static Maxwell's Equations

With magnetostatics complete, all four of Maxwell's equations for static fields are now in hand. They split cleanly: two for the electric field, two for the magnetic, with divergence laws naming the sources and curl laws describing the circulation.

LawPoint formIntegral form
Gauss (electric)\(\nabla\cdot\vec{D}=\rho_v\)\(\oint\vec{D}\cdot d\vec{S}=Q\)
Gauss (magnetic)\(\nabla\cdot\vec{B}=0\)\(\oint\vec{B}\cdot d\vec{S}=0\)
Faraday (static)\(\nabla\times\vec{E}=0\)\(\oint\vec{E}\cdot d\vec{l}=0\)
Ampère (static)\(\nabla\times\vec{H}=\vec{J}\)\(\oint\vec{H}\cdot d\vec{l}=I\)
The static picture, and what's missing. Notice the asymmetry: \(\nabla\times\vec{E}=0\) but \(\nabla\times\vec{H}=\vec{J}\). In statics the electric and magnetic fields are independent — neither produces the other. Part 4 changes everything by adding time: a changing \(\vec{B}\) will make \(\vec{E}\) curl, and a changing \(\vec{E}\) will add to \(\vec{H}\)'s curl. Those two new terms weld these four equations into one electromagnetic theory.
Section 12-7

Worked Examples

1 B from a vector potential

Problem. Given \(\vec{A} = (x^2 y)\,\hat{a}_z\ \text{Wb/m}\), find \(\vec{B}\).

Solution. Take the curl:

Working
\[ \vec{B} = \nabla\times\vec{A} = \frac{\partial A_z}{\partial y}\hat{a}_x - \frac{\partial A_z}{\partial x}\hat{a}_y = x^2\,\hat{a}_x - 2xy\,\hat{a}_y \]
2 Verify the gauge

Problem. Check whether \(\vec{A} = y\,\hat{a}_x - x\,\hat{a}_y\) satisfies the Coulomb gauge.

Solution. Compute \(\nabla\cdot\vec{A}\):

Working
\[ \nabla\cdot\vec{A} = \frac{\partial y}{\partial x} + \frac{\partial(-x)}{\partial y} = 0 \;\Rightarrow\; \text{yes, Coulomb gauge} \]
3 Flux via A

Problem. If \(\vec{A} = \tfrac{1}{2}B_0(-y\,\hat{a}_x + x\,\hat{a}_y)\), find the flux through a circle of radius \(a\) in the \(xy\)-plane.

Solution. On the circle \(\vec{A}\cdot d\vec{l} = \tfrac{1}{2}B_0 a\,(a\,d\phi)\):

Working
\[ \Psi_m = \oint \vec{A}\cdot d\vec{l} = \tfrac{1}{2}B_0 a^2\!\int_0^{2\pi}\!d\phi = \pi a^2 B_0 \]

This equals \(B_0\) times the area — confirming \(\vec{A}\) describes a uniform field \(B_0\,\hat{a}_z\).

4 Magnetic scalar potential

Problem. In a current-free region \(\vec{H}=-\nabla V_m\). If \(V_m = 5x\ \text{A}\), find \(\vec{H}\).

Solution. Take the negative gradient, valid since \(\vec{J}=0\):

Working
\[ \vec{H} = -\nabla V_m = -5\,\hat{a}_x\ \text{A/m} \]
5 Flux through a rectangle (wire)

Problem. An infinite wire carries \(I\). Find the flux through a rectangle of height \(L\) spanning \(\rho=a\) to \(\rho=b\).

Solution. Integrate \(B=\mu_0 I/2\pi\rho\) across the strip:

Working
\[ \Psi_m = \int_a^b \frac{\mu_0 I}{2\pi\rho}L\,d\rho = \frac{\mu_0 I L}{2\pi}\ln\frac{b}{a} \]
6 Source of a vector potential

Problem. A vector potential satisfies \(\nabla^2\vec{A} = -\mu_0\vec{J}\). If \(\vec{A}=A_0(1-\rho^2/a^2)\,\hat{a}_z\), find \(\vec{J}\) (use the cylindrical Laplacian).

Solution. Apply \(\nabla^2 A_z = \tfrac{1}{\rho}\tfrac{d}{d\rho}(\rho\,dA_z/d\rho)\):

Working
\[ \nabla^2 A_z = -\frac{4A_0}{a^2} \;\Rightarrow\; \vec{J} = \frac{4A_0}{\mu_0 a^2}\,\hat{a}_z \]
Review

Chapter Summary

Flux

\(\Psi_m=\int\vec{B}\cdot d\vec{S}\) (Wb); \(\nabla\cdot\vec{B}=0\) makes flux lines close.

No scalar potential

\(\nabla\times\vec{H}=\vec{J}\neq0\), so \(\vec{B}\neq-\nabla V_m\) except in current-free regions.

Vector potential

\(\vec{B}=\nabla\times\vec{A}\); \(\vec{A}\) is parallel to its source current.

Poisson for A

\(\nabla^2\vec{A}=-\mu_0\vec{J}\); the magnetic mirror of \(\nabla^2 V=-\rho_v/\varepsilon\).

Flux from A

\(\Psi_m=\oint_L\vec{A}\cdot d\vec{l}\) — often easier than the surface integral.

Static Maxwell

Four equations; \(\vec{E}\) and \(\vec{B}\) independent until time enters in Part 4.

Practice

Problems

For each item, decide whether you need \(\vec{B}=\nabla\times\vec{A}\), the Poisson equation, or the flux line-integral, then proceed. Difficulty rises down the list.

  1. Given \(\vec{A} = 3yz\,\hat{a}_x\ \text{Wb/m}\), find \(\vec{B}\).
  2. Check whether \(\vec{A} = x\,\hat{a}_x + y\,\hat{a}_y\) satisfies the Coulomb gauge.
  3. For \(\vec{A} = \tfrac12 B_0(-y\,\hat{a}_x + x\,\hat{a}_y)\), confirm \(\vec{B}=B_0\,\hat{a}_z\).
  4. Find the flux of a uniform field \(B_0\,\hat{a}_z\) through a square of side \(L\) using \(\oint\vec{A}\cdot d\vec{l}\).
  5. An infinite wire carries \(20\ \text{A}\). Find the flux through a \(1\ \text{m}\times(2\to6\ \text{cm})\) rectangle beside it.
  6. In a current-free region \(V_m = 10xy\). Find \(\vec{H}\).
  7. Given \(\vec{A}=A_0\sin(kx)\,\hat{a}_z\), find \(\vec{B}\) and then \(\vec{J}\) from the Poisson equation.
  8. Show that adding \(\nabla\chi\) to \(\vec{A}\) leaves \(\vec{B}\) unchanged (gauge invariance).
  9. Derive \(\nabla^2\vec{A}=-\mu_0\vec{J}\) from Ampère's law using the curl-of-curl identity and the Coulomb gauge.
  10. Compute the flux linking a single circular loop of radius \(a\) placed coaxially in a solenoid field \(B_0\).
  11. Explain why a scalar magnetic potential becomes multivalued if its path encircles a current.
  12. Summarise, in your own words, why electrostatics gets a scalar potential but magnetostatics needs a vector one — citing the two null identities.
Tip: the cleanest way to remember this chapter is the pairing of null identities. "Curl of a gradient is zero" gave electrostatics its scalar \(V\); "divergence of a curl is zero" gives magnetism its vector \(\vec{A}\). Once you see \(\vec{B}=\nabla\times\vec{A}\) as the exact structural twin of \(\vec{E}=-\nabla V\), the vector Poisson equation, the flux line-integral, and even the gauge freedom all fall into place as mirror images of tools you already mastered in Part 2.