TExcelTAD
Home › Electromagnetic Theory: Maxwell's Equations to Waves › Electric Dipoles and Electrostatic Energy

Electric Dipoles and Electrostatic Energy

Most matter is neutral, yet it still reacts to electric fields. A water molecule, a polarised atom in a capacitor's insulation, or a pair of tracks carrying equal and opposite charge on a board all look, from far away, like the same object: two equal and opposite charges a short distance apart. This electric dipole is the first step beyond the point charge, and it is the key to dielectrics. The second half of this lesson asks where the energy of a charge arrangement is stored, and answers: in the field itself, with a density of 12εE2\frac{1}{2}\varepsilon E^2 joules per cubic metre.

The dipole

Put +Q+Q at z=+d/2z = +d/2 and −Q-Q at z=−d/2z = -d/2. The dipole moment points from the negative to the positive charge:

p=Q d=Qd z^[C⋅m]\mathbf{p} = Q\,\mathbf{d} = Q d\,\hat{\mathbf{z}} \qquad [\text{C} \cdot \text{m}]
z + - +Q-Q p = Qd P r theta E_r E_theta far field (r much larger than d): V and E depend only on p, r and theta

At a distance r≫dr \gg d the two Coulomb potentials almost cancel; expanding the difference to first order in d/rd/r (Electric Potential) gives

V=p⋅r^4πε0r2=pcos⁡θ4πε0r2V = \frac{\mathbf{p} \cdot \hat{\mathbf{r}}}{4\pi\varepsilon_0 r^2} = \frac{p\cos\theta}{4\pi\varepsilon_0 r^2}

and E=−∇V\mathbf{E} = -\nabla V in spherical coordinates:

E=p4πε0r3(2cos⁡θ r^+sin⁡θ θ^)\mathbf{E} = \frac{p}{4\pi\varepsilon_0 r^3}\left(2\cos\theta\,\hat{\mathbf{r}} + \sin\theta\,\hat{\boldsymbol{\theta}}\right)

Two things to remember. The dipole field falls as 1/r31/r^3, one power faster than a point charge, because the net charge is zero. And on the axis (θ=0\theta = 0) it is twice as strong as on the perpendicular bisector (θ=90∘\theta = 90^\circ) at the same distance. Higher-order arrangements (quadrupoles, with zero net charge and zero dipole moment) fall faster still; this multipole expansion is why a neutral, symmetric object barely disturbs a distant field.

A dipole in an external field feels no net force if the field is uniform, but it feels a torque and has a potential energy:

T=p×E,U=−p⋅E\mathbf{T} = \mathbf{p} \times \mathbf{E}, \qquad U = -\mathbf{p} \cdot \mathbf{E}

The torque turns p\mathbf{p} towards E\mathbf{E}, the lowest-energy orientation. In a non-uniform field there is also a net force (p⋅∇)E(\mathbf{p} \cdot \nabla)\mathbf{E} that pulls the dipole towards stronger field: that is why a charged comb picks up neutral paper.

Where the energy is

Assembling charges costs work against their mutual repulsion. Bringing point charges in from infinity one at a time gives

W=12∑kQkVk→W=12∫VρvV dvW = \frac{1}{2}\sum_k Q_k V_k \quad\to\quad W = \frac{1}{2}\int_V \rho_v V\,dv

where VkV_k is the potential at charge kk due to all the others. Using Gauss's law ρv=∇⋅D\rho_v = \nabla \cdot \mathbf{D}, a vector identity and the divergence theorem (Integral Theorems), the same energy becomes an integral over all space where the field exists:

W=12∫D⋅E dv,w=12εE2[J/m3]W = \frac{1}{2}\int \mathbf{D} \cdot \mathbf{E}\,dv, \qquad w = \frac{1}{2}\varepsilon E^2 \quad [\text{J/m}^3]

The two forms are equal, but the second one tells an engineer where the energy lives: in regions of strong field. For a capacitor (Capacitance) it gives W=12CV2W = \frac{1}{2}CV^2, which you met at school (Capacitor Energy); here it applies to any geometry, and it is how field solvers compute capacitance (Finite Differences for Laplace and Poisson).

Worked example

Given: (a) the field-lines lab's dipole: ±2 nC\pm 2\ \text{nC} at x=∓4 cmx = \mp 4\ \text{cm} (d=8 cmd = 8\ \text{cm}), probe on the bisector at y=8 cmy = 8\ \text{cm}, with the lab's k=9.0×109 N⋅m2/C2k = 9.0 \times 10^9\ \text{N} \cdot \text{m}^2/\text{C}^2; (b) a metal sphere of radius a=10 cma = 10\ \text{cm} in air carrying Q=10 nCQ = 10\ \text{nC}.

Find: (a) the exact field and the far-field dipole estimate; (b) the stored energy and the share of it within r=10ar = 10a.

Solve:

r=0.042+0.082 m=0.0894 m,E=2 kQr2⋅d/2r=2⋅9.0×109⋅2×10−9⋅0.040.08943 V/m=2012 V/mEdipole=kpy3=9.0×109⋅(2×10−9⋅0.08)0.083 V/m=2812 V/mW=∫a∞ε02(Q4πε0r2)24πr2 dr=Q28πε0a=(10−8)28π⋅8.854×10−12⋅0.1 J=4.49 μJW(a<r<10a)W=1−a10a=0.90\begin{aligned} r &= \sqrt{0.04^2 + 0.08^2}\ \text{m} = 0.0894\ \text{m}, \qquad E = 2\,\frac{kQ}{r^2}\cdot\frac{d/2}{r} = \frac{2 \cdot 9.0 \times 10^9 \cdot 2 \times 10^{-9} \cdot 0.04}{0.0894^3}\ \text{V/m} = 2012\ \text{V/m} \\ E_\text{dipole} &= \frac{k p}{y^3} = \frac{9.0 \times 10^9 \cdot (2 \times 10^{-9} \cdot 0.08)}{0.08^3}\ \text{V/m} = 2812\ \text{V/m} \\ W &= \int_a^\infty \frac{\varepsilon_0}{2}\left(\frac{Q}{4\pi\varepsilon_0 r^2}\right)^2 4\pi r^2\,dr = \frac{Q^2}{8\pi\varepsilon_0 a} = \frac{(10^{-8})^2}{8\pi \cdot 8.854 \times 10^{-12} \cdot 0.1}\ \text{J} = 4.49\ \mu\text{J} \\ \frac{W(a < r < 10a)}{W} &= 1 - \frac{a}{10a} = 0.90 \end{aligned}

Check: at a distance equal to the spacing the dipole formula is 40 % high: it is a far-field result, good to about 1 % only beyond r≈6dr \approx 6d on the bisector (see the table below). The sphere sits at V=Q/(4πε0a)=899 VV = Q/(4\pi\varepsilon_0 a) = 899\ \text{V}, so W=12QV=4.49 μJW = \frac{1}{2}QV = 4.49\ \mu\text{J} agrees, and 90 % of the energy is within ten radii: field energy is concentrated near conductors.

Lab: the dipole of the field-lines model

Set the lab to the dipole ("+ −"), 2 nC2\ \text{nC}, probe at (0,−8)(0, -8) cm (on the bisector, 8 cm8\ \text{cm} below the axis, the same field as 8 cm8\ \text{cm} above). The readout shows E=2.01×103 N/CE = 2.01 \times 10^3\ \text{N/C} pointing at 0∘0^\circ, from the ++ charge's side towards the −- charge, opposite to p\mathbf{p}, as the sin⁡θ θ^\sin\theta\,\hat{\boldsymbol{\theta}} term says for θ=90∘\theta = 90^\circ. Move the probe along xx to see the field turn and grow near the charges.

+−lines start on + and end on −E+q₀

In Python: how far is "far"?

The code compares the exact two-charge field with the dipole formula on the axis and on the bisector, then integrates 12ε0E2\frac{1}{2}\varepsilon_0 E^2 around the sphere numerically.

python · try it yourself
import numpy as np
from scipy.integrate import quad

EPS0 = 8.854e-12
k = 1 / (4 * np.pi * EPS0)
Q, d = 2e-9, 0.08
p = Q * d

print(" r/d   axis exact/dipole   bisector exact/dipole")
for ratio in [1, 2, 5, 10, 20]:
    r = ratio * d
    E_axis = k * Q * (1 / (r - d/2)**2 - 1 / (r + d/2)**2)      # on the z axis
    E_bis = 2 * k * Q * (d/2) / (r**2 + (d/2)**2)**1.5           # on the bisector
    print(f"{ratio:4d}   {E_axis / (2*k*p/r**3):18.4f}   {E_bis / (k*p/r**3):21.4f}")

# energy of a charged sphere from the field energy density
a, Qs = 0.10, 10e-9
w = lambda r: 0.5 * EPS0 * (k * Qs / r**2)**2 * 4 * np.pi * r**2   # J per metre of radius
W_num, _ = quad(w, a, np.inf)
W_10a, _ = quad(w, a, 10 * a)
print(f"sphere: W = {W_num*1e6:.3f} uJ (formula {Qs**2/(8*np.pi*EPS0*a)*1e6:.3f} uJ), "
      f"{W_10a/W_num*100:.1f} % within 10a")
 r/d   axis exact/dipole   bisector exact/dipole
   1               1.7778                  0.7155
   2               1.1378                  0.9131
   5               1.0203                  0.9852
  10               1.0050                  0.9963
  20               1.0013                  0.9991
sphere: W = 4.494 uJ (formula 4.494 uJ), 90.0 % within 10a

On the bisector the formula is within 1 % beyond about r=6dr = 6d; on the axis the error is larger because the near charge dominates. A water molecule (p≈6.2×10−30 C⋅mp \approx 6.2 \times 10^{-30}\ \text{C} \cdot \text{m}, dd well under a nanometre) is a perfect dipole at any distance a circuit cares about.

Guided lab: energy from a capacitor discharge

Hand calculation. A 100 nF100\ \text{nF} film capacitor charged to 10 V10\ \text{V} stores W=12CV2=5 μJW = \frac{1}{2}CV^2 = 5\ \mu\text{J}, all of it in the field between its electrodes. Discharged through R=10 kΩR = 10\ \text{k}\Omega, τ=1 ms\tau = 1\ \text{ms}, and ∫v2/R dt=CV2/2\int v^2/R\,dt = CV^2/2 must return the same 5 μJ5\ \mu\text{J}.

Simulation. The RC Transient lab with R=10 kΩR = 10\ \text{k}\Omega, C=0.1 μFC = 0.1\ \mu\text{F} shows the stored-energy readout falling to e−2=13.5 %e^{-2} = 13.5\ \% after one τ\tau.

What you would measure. Charge the capacitor from a bench supply at 10 V10\ \text{V} with the current limit at 20 mA20\ \text{mA}, switch it onto the resistor and capture v(t)v(t) on a scope (10x probe: its 10 MΩ10\ \text{M}\Omega is negligible against 10 kΩ10\ \text{k}\Omega). Square and integrate the trace (scope maths or exported data): expect 5 μJ5\ \mu\text{J} within the capacitor tolerance, typically ±5 %\pm 5\ \%, plus about ±2 %\pm 2\ \% from the scope's vertical gain, which enters squared.

Hazards and safe setup. 10 V10\ \text{V} and microjoules: harmless. The same 12CV2\frac{1}{2}CV^2 is why high-voltage capacitors are dangerous long after power is removed; that case is calculation only in this course.

Pitfalls

  • Using the dipole formula close in. It is a far-field expansion; near the charges, add the two Coulomb fields.
  • Direction of p\mathbf{p}. From −Q-Q to +Q+Q, the opposite of the field between the charges.
  • Double counting in 12∑QkVk\frac{1}{2}\sum Q_k V_k. The factor 12\frac{1}{2} is there because each pair is counted twice; and the self-energy of a true point charge is infinite, so the sum excludes it.
  • Forgetting ε\varepsilon. In a dielectric w=12D⋅E=12εrε0E2w = \frac{1}{2}\mathbf{D} \cdot \mathbf{E} = \frac{1}{2}\varepsilon_r\varepsilon_0 E^2.

Practice

  1. A dipole p=1×10−12 C⋅mp = 1 \times 10^{-12}\ \text{C} \cdot \text{m} sits in a uniform field of 10 kV/m10\ \text{kV/m} at 30∘30^\circ to it. Find the torque and the energy needed to turn it to 180∘180^\circ.
  2. In air, what energy density corresponds to E=3 MV/mE = 3\ \text{MV/m}, roughly the breakdown field of air?
  3. Show that half of a charged sphere's field energy lies within r=2ar = 2a.
Answer
  1. T=pEsin⁡30∘=10−12⋅104⋅0.5=5×10−9 N⋅mT = pE\sin 30^\circ = 10^{-12} \cdot 10^4 \cdot 0.5 = 5 \times 10^{-9}\ \text{N} \cdot \text{m}. ΔU=−pE(cos⁡180∘−cos⁡30∘)=10−8⋅1.866=1.87×10−8 J\Delta U = -pE(\cos 180^\circ - \cos 30^\circ) = 10^{-8} \cdot 1.866 = 1.87 \times 10^{-8}\ \text{J}.
  2. w=12⋅8.854×10−12⋅(3×106)2=39.8 J/m3w = \frac{1}{2} \cdot 8.854 \times 10^{-12} \cdot (3 \times 10^6)^2 = 39.8\ \text{J/m}^3: air cannot store much energy, which is why capacitors use dielectrics.
  3. W(a<r<r1)/W=1−a/r1=1/2W(a < r < r_1)/W = 1 - a/r_1 = 1/2 for r1=2ar_1 = 2a.

Test yourself

Far from an electric dipole, the field magnitude falls as…

  1. 1/r1/r
  2. 1/r21/r^2
  3. 1/r31/r^3
  4. 1/r41/r^4

At the same distance, how does the dipole field on the axis compare with the field on the perpendicular bisector?

  1. equal
  2. twice as large
  3. half as large
  4. four times as large

A dipole in a uniform field experiences…

  1. a net force and no torque
  2. a torque and no net force
  3. neither
  4. both a net force and a torque

A sphere of radius aa carries charge QQ. What fraction of its field energy lies within r=10ar = 10a?

  1. 10 %
  2. 50 %
  3. 90 %
  4. 99 %