Sub topic 4
Superposition of potentials and energy of a charge system
This chapter assumes you know Coulomb's law, the difference between scalar and vector addition, and the potential of a single point charge, V = kq/r. Here you extend that to several charges and then find the energy needed to assemble them.
Potentials add as plain numbers
Electric field is a vector, so fields from several charges must be added with directions. Potential is a scalar, so the potential at a point is the algebraic sum of the contributions from each charge:
V = kq₁/r₁ + kq₂/r₂ + kq₃/r₃ + ...
Each term keeps the sign of its charge. A positive charge adds a positive term and a negative charge adds a negative term. There are no components and no angles. You only need the distance from each charge to the point.
import math
K = 9.0e9 # 1/(4*pi*eps0), N m^2 C^-2 (approximate)
def potential(charges, point):
"""Scalar sum of kq/r over (q, (x, y)) charges at a point (x, y)."""
total = 0.0
for q, (x, y) in charges:
r = math.hypot(point[0] - x, point[1] - y)
total += K * q / r
return total
# Two +2 microcoulomb charges 0.2 m apart; evaluate at the midpoint.
charges = [(2e-6, (0.0, 0.0)), (2e-6, (0.2, 0.0))]
print(potential(charges, (0.1, 0.0))) # about 3.6e5 VEach charge is 0.1 m from the midpoint and contributes 9×10⁹ × 2×10⁻⁶ / 0.1 = 1.8×10⁵ V. The two contributions add to 3.6×10⁵ V. The electric field at that midpoint is zero, because the two field vectors cancel. The potential is not zero. This is a common NEET trap.
Energy of a system of charges
The potential energy of a system is the work an outside agent does to bring the charges from infinity to their positions. Count each pair once:
U = k q₁q₂/r₁₂ + k q₁q₃/r₁₃ + k q₂q₃/r₂₃ + ...
Each term carries the signs of both charges. A negative total means the system is bound, because work must be supplied to pull the charges apart.
For n charges there are n(n − 1)/2 pairs. Three charges give 3 pairs and four charges give 6 pairs.
Take three charges of 1 µC at the corners of an equilateral triangle of side 0.1 m. Each of the 3 pairs contributes 9×10⁹ × (10⁻⁶)² / 0.1 = 0.09 J. The total is U = 3 × 0.09 = 0.27 J.
from itertools import combinations
import math
K = 9.0e9
def system_energy(charges):
"""Sum kq1q2/r over every distinct pair of (q, (x, y)) charges."""
total = 0.0
for (qa, (xa, ya)), (qb, (xb, yb)) in combinations(charges, 2):
total += K * qa * qb / math.hypot(xa - xb, ya - yb)
return total
side = 0.1
tri = [(1e-6, (0.0, 0.0)),
(1e-6, (side, 0.0)),
(1e-6, (side / 2, side * math.sqrt(3) / 2))]
print(system_energy(tri)) # about 0.27 JCommon errors
- Adding potentials as vectors, or using angles. Potential has no direction.
- Dropping the sign of a charge in kq/r.
- Confusing "V = 0" with "E = 0". For two equal and opposite charges, V is zero at the midpoint but E is not.
- Forgetting that a charge's own potential is not included. Potential at a point counts the other charges only, and the energy of the system counts pairs only.
Exercise
Four equal charges +q sit at the corners of a square of side a. Find the potential at the centre, and the number of pairs that contribute to the system's potential energy.
Show answer
The centre is a√2/2 = a/√2 from each corner, so V = 4 × kq/(a/√2) = 4√2 kq/a. Four charges give 4 × 3 / 2 = 6 pairs: 4 sides at distance a and 2 diagonals at distance a√2.