TExcelTAD
Home › Electromagnetic Theory: Maxwell's Equations to Waves › Coulomb's Law and the Electric Field

Coulomb's Law and the Electric Field

Two charged bodies push or pull on each other with a force that falls as the square of the distance. That one experimental law, together with superposition, is all of electrostatics: every capacitor formula, the field around a high-voltage bushing and the force that holds a MEMS accelerometer's comb in place follow from it. The school course covers the law with magnitudes and simple directions (Coulomb's Law, Electric Field of a Point Charge); here we write it as a vector law in three dimensions, add many charges by superposition and compute fields numerically.

Coulomb's law as a vector

The force on a point charge Q2Q_2 at r2\mathbf{r}_2 due to Q1Q_1 at r1\mathbf{r}_1 is

F12=Q1Q24πε0R2 R^12,R12=r2−r1,14πε0=8.988×109 N⋅m2/C2\mathbf{F}_{12} = \frac{Q_1 Q_2}{4\pi\varepsilon_0 R^2}\,\hat{\mathbf{R}}_{12}, \qquad \mathbf{R}_{12} = \mathbf{r}_2 - \mathbf{r}_1, \qquad \frac{1}{4\pi\varepsilon_0} = 8.988 \times 10^9\ \text{N} \cdot \text{m}^2/\text{C}^2

with ε0=8.854×10−12 F/m\varepsilon_0 = 8.854 \times 10^{-12}\ \text{F/m}, the permittivity of free space (air is within 0.06 %0.06\ \% of it). The unit vector points from the source Q1Q_1 to Q2Q_2, so like charges (Q1Q2>0Q_1 Q_2 > 0) repel and unlike charges attract without any separate sign rule. The force on Q1Q_1 is −F12-\mathbf{F}_{12} (Newton's third law).

A coulomb is an enormous amount of charge for electrostatics: two 1 C1\ \text{C} charges 1 m1\ \text{m} apart would push with 9×109 N9 \times 10^9\ \text{N}. Real electrostatic charges are nanocoulombs to microcoulombs; currents, by contrast, move coulombs every second through wires that stay neutral.

The electric field

Divide the force by the test charge and you get a property of the place, not of the test charge:

E(r)=lim⁡Qt→0FQt=Q4πε0R2 R^=Q (r−r′)4πε0 ∣r−r′∣3\mathbf{E}(\mathbf{r}) = \lim_{Q_t \to 0}\frac{\mathbf{F}}{Q_t} = \frac{Q}{4\pi\varepsilon_0 R^2}\,\hat{\mathbf{R}} = \frac{Q\,(\mathbf{r} - \mathbf{r}')}{4\pi\varepsilon_0\,\lvert \mathbf{r} - \mathbf{r}' \rvert^3}

in N/C\text{N/C}, which is the same as V/m\text{V/m}. The limit Qt→0Q_t \to 0 matters when the source charges sit on conductors: a large test charge would push them around and change the field it is trying to measure. The last form, with ∣R∣3\lvert \mathbf{R} \rvert^3 in the denominator, avoids computing a unit vector separately and is the one to code.

Superposition. Fields from several charges add as vectors:

E(r)=∑k=1NQk (r−rk)4πε0 ∣r−rk∣3\mathbf{E}(\mathbf{r}) = \sum_{k=1}^{N} \frac{Q_k\,(\mathbf{r} - \mathbf{r}_k)}{4\pi\varepsilon_0\,\lvert \mathbf{r} - \mathbf{r}_k \rvert^3}

This is exact in vacuum and in linear media; it fails only in nonlinear materials, which this course meets briefly in Dielectrics, Polarisation and Breakdown. Continuous charge is the same sum turned into an integral (Fields of Line, Surface and Volume Charges).

+ - Q1 = +2 uC at (0, 0) Q2 = -3 uC at (0.3, 0) m 0.3 m 0.25 m0.25 m E1 E2 E = E1 + E2 P (0.15, 0.2) m

Worked example

Given: Q1=+2 μCQ_1 = +2\ \mu\text{C} at the origin, Q2=−3 μCQ_2 = -3\ \mu\text{C} at (0.3,0,0) m(0.3, 0, 0)\ \text{m}, in air.

Find: the force between them; the field at P(0.15,0.2,0) mP(0.15, 0.2, 0)\ \text{m}; the force on a 1 nC1\ \text{nC} test charge placed at PP.

Solve:

F=8.988×109⋅2×10−6⋅3×10−6(0.3 m)2=0.599 N(attractive)R1=(0.15,0.2,0) m,R2=(−0.15,0.2,0) m,R1=R2=0.25 mE1=8.988×109⋅2×10−60.253(0.15,0.2,0)=(172.6,230.1,0) kV/mE2=8.988×109⋅(−3×10−6)0.253(−0.15,0.2,0)=(258.9,−345.1,0) kV/mE=(431.4,−115.0,0) kV/m,∣E∣=446.5 kV/m at −14.9∘,Ft=10−9⋅446.5×103=0.447 mN\begin{aligned} F &= \frac{8.988 \times 10^9 \cdot 2 \times 10^{-6} \cdot 3 \times 10^{-6}}{(0.3\ \text{m})^2} = 0.599\ \text{N} \quad \text{(attractive)} \\ \mathbf{R}_1 &= (0.15, 0.2, 0)\ \text{m}, \quad \mathbf{R}_2 = (-0.15, 0.2, 0)\ \text{m}, \quad R_1 = R_2 = 0.25\ \text{m} \\ \mathbf{E}_1 &= \frac{8.988 \times 10^9 \cdot 2 \times 10^{-6}}{0.25^3}(0.15, 0.2, 0) = (172.6, 230.1, 0)\ \text{kV/m} \\ \mathbf{E}_2 &= \frac{8.988 \times 10^9 \cdot (-3 \times 10^{-6})}{0.25^3}(-0.15, 0.2, 0) = (258.9, -345.1, 0)\ \text{kV/m} \\ \mathbf{E} &= (431.4, -115.0, 0)\ \text{kV/m}, \quad \lvert \mathbf{E} \rvert = 446.5\ \text{kV/m at } -14.9^\circ, \qquad F_t = 10^{-9} \cdot 446.5 \times 10^3 = 0.447\ \text{mN} \end{aligned}

Check: E1\mathbf{E}_1 points away from the positive charge (up and to the right), E2\mathbf{E}_2 towards the negative charge (down and to the right), so the sum points right and a little down, towards the larger charge. Note the size: 446 kV/m446\ \text{kV/m} is about 15 %15\ \% of the field at which dry air breaks down (about 3 MV/m3\ \text{MV/m}). Microcoulomb charges on small objects mean high voltages, which is why this example is a calculation, not a bench experiment.

In Python

A field function that takes any list of point charges, used for the worked example and then for a quick map of where the field of this pair is largest along the line through PP parallel to the axis.

python · try it yourself
import numpy as np

K = 8.988e9   # 1/(4 pi eps0), N m^2/C^2

def E_field(charges, r):
    """charges: list of (Q in C, position in m); r: field point(s), shape (..., 3)."""
    r = np.asarray(r, dtype=float)
    E = np.zeros_like(r)
    for Q, rq in charges:
        R = r - np.asarray(rq, dtype=float)
        E += K * Q * R / np.linalg.norm(R, axis=-1, keepdims=True)**3
    return E

charges = [(2e-6, (0, 0, 0)), (-3e-6, (0.3, 0, 0))]
F = K * 2e-6 * 3e-6 / 0.3**2
print(f"force between the charges: {F:.4f} N")
E = E_field(charges, (0.15, 0.2, 0))
print("E at P =", np.round(E / 1e3, 1), "kV/m")
print(f"|E| = {np.linalg.norm(E)/1e3:.1f} kV/m at {np.degrees(np.arctan2(E[1], E[0])):.1f} deg")
print(f"force on 1 nC at P: {1e-9*np.linalg.norm(E)*1e3:.3f} mN")

# |E| along y = 0.2 m, x from -0.2 to 0.5 m
xs = np.linspace(-0.2, 0.5, 71)
pts = np.stack([xs, np.full_like(xs, 0.2), np.zeros_like(xs)], axis=1)
mag = np.linalg.norm(E_field(charges, pts), axis=1)
i = int(np.argmax(mag))
print(f"largest |E| on that line: {mag[i]/1e3:.1f} kV/m at x = {xs[i]:.2f} m")
force between the charges: 0.5992 N
E at P = [ 431.4 -115.     0. ] kV/m
|E| = 446.5 kV/m at -14.9 deg
force on 1 nC at P: 0.447 mN
largest |E| on that line: 608.8 kV/m at x = 0.29 m

The maximum sits above the larger, negative charge, as expected, and stays below 1 MV/m1\ \text{MV/m} along a line 20 cm20\ \text{cm} away. Closer to small charged bodies the field climbs quickly; at the surface of a sphere of 1 cm1\ \text{cm} radius holding 3 μC3\ \mu\text{C} it would be about 270 MV/m270\ \text{MV/m}, which air cannot hold, so the charge would leak off in a corona discharge long before reaching that value.

Guided lab: the inverse-square law

Hand calculation. The worked example's pair at 30 cm30\ \text{cm}: 0.599 N0.599\ \text{N}. Halve the distance and the force becomes four times larger, 2.40 N2.40\ \text{N}.

Simulation. The lab draws the two charges with equal and opposite forces and the FF–rr curve. At the start it shows F=6.00×10−1 NF = 6.00 \times 10^{-1}\ \text{N}, because it uses the rounded k=9.0×109k = 9.0 \times 10^9 (0.13 %0.13\ \% above 8.988×1098.988 \times 10^9). Sweep rr and read the force at 15 cm15\ \text{cm}.

F12F21+q₁ = +2.0 µC−q₂ = −3.0 µCr = 30 cmunlike charges attract: F₁₂ = F₂₁ = 0.600 N, opposite directions1020304050 cmF (N)0.60F ∝ 1/r²

The second lab places two equal positive charges 8 cm8\ \text{cm} apart, with the probe exactly halfway: the two fields cancel and the readout is 00. Move the probe off the midpoint, along yy, and the field grows, points away from both charges, and then falls again far away.

++like charges: lines push apart, no field at the middle+q₀

What you would measure (calculation only in this course). Coulomb's own measurement used a torsion balance and charges at kilovolts, which this course does not handle. The numbers show why bench voltages are no use: a metal ball 2 cm2\ \text{cm} in diameter (a=1 cma = 1\ \text{cm}) charged to 24 V24\ \text{V} holds only Q=4πε0aV=2.7×10−11 CQ = 4\pi\varepsilon_0 a V = 2.7 \times 10^{-11}\ \text{C}, and two such balls 10 cm10\ \text{cm} apart push with 6×10−10 N6 \times 10^{-10}\ \text{N}, about the weight of 0.06 μg0.06\ \mu\text{g}. Teaching labs that do the experiment use a calibrated high-voltage supply with a current limit, under supervision, and get the 1/r21/r^2 slope within a few percent once they correct for the charges' induced redistribution on the spheres (the spheres are not points at short distance).

Hazards. Kilovolt supplies and charged capacitors can give painful or dangerous shocks, and electrostatic discharge damages electronics (ESD and Stored Energy). Not a bench activity here.

Pitfalls

  • Distance vector reversed. R\mathbf{R} runs from the source to the field point. Reverse it and every field flips.
  • Adding magnitudes. Fields add as vectors; in the worked example the magnitudes add to 719 kV/m719\ \text{kV/m} but the field is only 447 kV/m447\ \text{kV/m}.
  • The field at a point charge itself. A charge exerts no net force on itself; when you evaluate a field at a source position, leave that source out.
  • Rounded kk. 9×1099 \times 10^9 is fine for two significant figures; for checks against solvers use 8.988×1098.988 \times 10^9 or 1/(4πε0)1/(4\pi\varepsilon_0).

Practice

  1. Charges of +1 nC+1\ \text{nC} sit at (±0.1,0,0) m(\pm 0.1, 0, 0)\ \text{m}. Find E\mathbf{E} at (0,0.1,0) m(0, 0.1, 0)\ \text{m}.
  2. Where on the xx axis is the field of the worked example's pair zero?
  3. Compare the electric and gravitational forces between two electrons (me=9.11×10−31 kgm_e = 9.11 \times 10^{-31}\ \text{kg}, G=6.67×10−11 N⋅m2/kg2G = 6.67 \times 10^{-11}\ \text{N} \cdot \text{m}^2/\text{kg}^2).
Answer
  1. Each is 0.1414 m0.1414\ \text{m} away and gives 8.988×109⋅10−9/0.02=449 V/m8.988 \times 10^9 \cdot 10^{-9}/0.02 = 449\ \text{V/m}; the xx parts cancel and the yy parts add: Ey=2⋅449⋅0.7071=636 V/mE_y = 2 \cdot 449 \cdot 0.7071 = 636\ \text{V/m}, so E=636 y^ V/m\mathbf{E} = 636\,\hat{\mathbf{y}}\ \text{V/m}.
  2. It must be outside the pair on the side of the smaller charge (x<0x < 0): 2/x2=3/(x−0.3)22/x^2 = 3/(x - 0.3)^2 gives ∣x∣=0.3/(1.5−1)=1.335 m\lvert x \rvert = 0.3/(\sqrt{1.5} - 1) = 1.335\ \text{m}, so x=−1.335 mx = -1.335\ \text{m}.
  3. The ratio e2/(4πε0)Gme2=8.988×109⋅(1.602×10−19)26.67×10−11⋅(9.11×10−31)2=4.2×1042\frac{e^2/(4\pi\varepsilon_0)}{G m_e^2} = \frac{8.988 \times 10^9 \cdot (1.602 \times 10^{-19})^2}{6.67 \times 10^{-11} \cdot (9.11 \times 10^{-31})^2} = 4.2 \times 10^{42}, independent of distance.

Test yourself

The unit of electric field, N/C, is the same as…

  1. V/m
  2. V·m
  3. C/m
  4. F/m

Two point charges attract each other with 0.6 N0.6\ \text{N} at 30 cm30\ \text{cm}. At 10 cm10\ \text{cm} the force is…

  1. 1.8 N1.8\ \text{N}
  2. 5.4 N5.4\ \text{N}
  3. 0.2 N0.2\ \text{N}
  4. 0.067 N0.067\ \text{N}

Why does the definition of E\mathbf{E} use the limit of a vanishing test charge?

  1. to make the units come out in V/m
  2. so that the test charge does not move the source charges and change the field it measures
  3. because a test charge has no mass
  4. because Coulomb's law fails for large charges

Two equal positive charges sit 8 cm8\ \text{cm} apart. The field halfway between them is…

  1. twice the field of one charge
  2. zero
  3. directed towards one of the charges
  4. infinite