Sub topic 4
Potential Energy of Two or More Point Charges
Assume you know work, kinetic energy, conservative forces, Coulomb’s law, and vector addition. Basic algebra is required. This chapter uses the reference level \(U=0\) when all charges are infinitely far apart.
Electric potential energy
The electrostatic force is conservative. This means the work it does depends only on the starting and ending positions, not on the path. A conservative force can therefore be described by potential energy.
For two point charges, the electric potential energy is
\[ U = \frac{kq1q2}{r}, \]
where \(q1\) and \(q2\) are the charges, \(r\) is their separation, and
\[ k = 8.9875517923\times10^9\ \mathrm{N\,m^2/C^2}. \]
The sign comes from the product \(q1q2\):
- Like charges give \(U>0\). Work must be supplied to bring them together from infinity.
- Opposite charges give \(U<0\). The electric force releases energy as they come together.
- A negative value does not mean that energy is absent. It means the system has less energy than it would have with the charges infinitely separated.
Several point charges
For a system of point charges, calculate the energy of every distinct pair and add the results:
\[ U{\text{total}}=\sum{i<j}\frac{kqiqj}{r_{ij}}. \]
The condition \(i<j\) prevents counting one pair twice. For three charges, the expression is
\[ U{\text{total}}= \frac{kq1q2}{r{12}}+ \frac{kq1q3}{r{13}}+ \frac{kq2q3}{r{23}}. \]
The energy is a scalar, so these terms are added as ordinary signed numbers. Do not add them as vectors.
Worked example
Place \(+1\,\mathrm{nC}\) at \((0,0)\), \(+1\,\mathrm{nC}\) at \((0.10,0)\), and \(-1\,\mathrm{nC}\) at \((0,0.10)\), with distances measured in metres.
The pair distances are \(r{12}=0.10\ \mathrm{m}\), \(r{13}=0.10\ \mathrm{m}\), and \(r_{23}=\sqrt{0.10^2+0.10^2}\ \mathrm{m}\). Therefore,
\[ U_{\text{total}} =\frac{k(1\,\mathrm{nC})(1\,\mathrm{nC})}{0.10} +\frac{k(1\,\mathrm{nC})(-1\,\mathrm{nC})}{0.10} +\frac{k(1\,\mathrm{nC})(-1\,\mathrm{nC})}{0.1414}. \]
The first two terms cancel, leaving
\[ U_{\text{total}}\approx -6.36\times10^{-8}\ \mathrm{J}. \]
from itertools import combinations
from math import hypot
K = 8.9875517923e9 # N m^2 / C^2
def system_energy(charges):
"""charges contains (q, x, y), with q in coulombs and positions in metres."""
total = 0.0
for (q1, x1, y1), (q2, x2, y2) in combinations(charges, 2):
r = hypot(x2 - x1, y2 - y1)
total += K * q1 * q2 / r
return total
charges = [(1e-9, 0, 0), (1e-9, 0.1, 0), (-1e-9, 0, 0.1)]
print(system_energy(charges))Exercise
Two charges, +2 nC and -3 nC, are 0.20 m apart. What is their electric potential energy?
Show answer
U = kq1q2/r = (8.99 × 10^9)(2 × 10^-9)(-3 × 10^-9)/0.20 ≈ -2.70 × 10^-7 J.