Sub topic 1
Work and potential energy in an electrostatic field
Prerequisites
This chapter assumes you already know the following:
- Coulomb's law and the principle of superposition for forces.
- The electric field of a point charge and how field lines are drawn.
- Work as a dot product, W = F·d, and the work-energy theorem.
- What a conservative force is, and the idea of potential energy.
- Basic scalar and vector addition, and SI units.
If any of these feel shaky, revise them first. Everything in the later chapters on potential and capacitors rests on the ideas here.
Why the electrostatic force has a potential energy
A charge q in an electric field E feels a force F = qE. When the charge moves, the field does work on it. For a small displacement dl, the work is dW = qE·dl.
The electrostatic force from static charges is conservative. This means two things.
- The work done in moving a charge between two points does not depend on the path taken.
- The work done around any closed loop is zero.
For a single point charge Q at the origin, the field is radial. Only the radial part of a displacement contributes to the work, and that part depends only on the start and end distances. This is why the work is path independent. Superposition then extends the result to any collection of static charges.
Because the force is conservative, we can define a potential energy U. The change in potential energy equals the negative of the work done by the electrostatic force:
ΔU = UB − UA = −W_(A→B), done by the field
Work done by the field and by an external agent
Two kinds of work appear in problems. Keep them apart.
- Work by the field (W_field) is the work done by the electrostatic force itself.
- Work by an external agent (W_ext) is the work you do to move the charge.
If the charge is moved slowly, so its kinetic energy does not change, the external force exactly balances the electric force. Then Wext = −Wfield = ΔU.
| Quantity | Symbol | Relation |
|---|---|---|
| Work done by the field from A to B | W_field | W_field = −ΔU = U_A − U_B |
| Work done by an external agent (no change in kinetic energy) | W_ext | W_ext = ΔU = U_B − U_A |
| Change in kinetic energy | ΔK | ΔK = W_field = −ΔU |
If only the electric force acts, energy is conserved: KA + UA = KB + UB. A positive charge released from rest moves toward lower U and gains kinetic energy.
Potential energy of a point-charge pair
Take a fixed charge Q at the origin and a test charge q brought in from far away. To find the work, we integrate the external force from infinity to a distance r. The external force balances the Coulomb force, so its magnitude is kQq/x² at distance x, directed against the field's push.
W_ext = ∫ from ∞ to r of (−kQq/x²) dx = kQq/r
where k = 1/(4πε₀) ≈ 9 × 10⁹ N m² C⁻². The sign works out because the external force points opposite to the Coulomb force, and the charge moves inward.
We choose the reference point U = 0 at infinity, where the charges do not interact. Then the potential energy of the pair is
U(r) = kQq/r
The sign of the product Qq carries the physics.
- Like charges (Qq > 0): U is positive. Bringing them together costs energy, so U rises as r falls.
- Unlike charges (Qq < 0): U is negative. The pair is bound, and you must supply energy to separate them to infinity.
Worked example
A charge of +2 µC is moved slowly from a point 0.5 m away from a fixed +5 µC charge to a point 0.1 m away. How much work does the external agent do?
Use Wext = Ufinal − U_initial = kQq(1/r₂ − 1/r₁).
- kQq = 9 × 10⁹ × 5 × 10⁻⁶ × 2 × 10⁻⁶ = 0.09 J m.
- 1/r₂ − 1/r₁ = 1/0.1 − 1/0.5 = 10 − 2 = 8 m⁻¹.
- W_ext = 0.09 × 8 = 0.72 J.
The work is positive because both charges are positive and you pushed them together. The field did −0.72 J of work.
Choosing the zero of potential energy
Only changes in U have physical meaning. Setting U = 0 at infinity is a convenient choice for point charges. You can pick another reference, and all the differences stay the same.
For a uniform field, infinity is not convenient. The field extends forever, so U would diverge. Instead, you pick a reference plane, such as the negative plate, and measure from there.
Uniform field
In a uniform field E, a charge q displaced by a distance d along the field direction experiences a force qE along the field. The work done by the field is
W_field = qEd (when the charge moves along E)
The potential energy changes by ΔU = −qEd. This is analogous to gravity near Earth's surface, where ΔU = mgh with a constant force.
For a displacement at angle θ to the field, W_field = qEd cos θ. Only the component along the field matters. Motion perpendicular to the field does no work.
Potential energy of a system of charges
For more than two charges, the potential energy of the system is the total work an external agent does to assemble them from infinity, one at a time. Because the force is conservative, the order of assembly does not matter.
The result is the sum over every pair, counted once:
U = k Σ (qi qj / r_ij), summed over all pairs i < j
For three charges, there are three pairs:
U = k(q₁q₂/r₁₂ + q₁q₃/r₁₃ + q₂q₃/r₂₃)
A frequent error is to count each pair twice. The number of pairs for n charges is n(n − 1)/2.
The following diagram shows the energy bookkeeping when a field acts on a charge.
Checking the work in code
The sketch below computes the energy of a system of point charges by summing over pairs, using each pair once. It also reproduces the worked example above.
import math
from itertools import combinations
K = 9.0e9 # 1/(4*pi*eps0), N m^2 C^-2 (approximate)
def pair_energy(q1, q2, r):
"""Potential energy of two point charges a distance r apart, zero at infinity."""
return K * q1 * q2 / r
def system_energy(charges):
"""Total energy of (q, (x, y)) charges, counting each pair once."""
total = 0.0
for (qa, (xa, ya)), (qb, (xb, yb)) in combinations(charges, 2):
r = math.hypot(xa - xb, ya - yb)
total += pair_energy(qa, qb, r)
return total
# Worked example: move +2 uC from 0.5 m to 0.1 m of a fixed +5 uC charge.
w_ext = pair_energy(5e-6, 2e-6, 0.1) - pair_energy(5e-6, 2e-6, 0.5)
print(w_ext) # about 0.72 J
# Three charges at the corners of a right triangle.
trio = [(1e-6, (0.0, 0.0)), (1e-6, (0.3, 0.0)), (-1e-6, (0.0, 0.4))]
print(system_energy(trio)) # total energy in joulesCommon errors
- Mixing up the two kinds of work. Always state whether you mean work by the field or by an external agent.
- Dropping the signs of the charges. Put the signs into kQq/r. Do not take magnitudes and then guess the sign.
- Counting pairs twice. The system energy uses each pair once.
- Treating energy as a vector. U is a scalar. Add values algebraically.
- Assuming a path matters. For static charges, only the end points matter.
Where this leads
The work done per unit charge is the key idea of the next chapter. Dividing U by q gives the electric potential, a property of the field that does not depend on the test charge. That quantity is what lets you analyse dipoles, conductors and capacitors efficiently.
Exercise
Charges +4 µC and −4 µC are placed 0.2 m apart. How much work must an external agent do to separate them to infinity? Use k = 9 × 10⁹ N m² C⁻².
Show answer
The initial energy is U = kq₁q₂/r = 9 × 10⁹ × (4 × 10⁻⁶)(−4 × 10⁻⁶)/0.2 = −0.72 J. The final energy at infinity is zero. So W_ext = 0 − (−0.72) = +0.72 J. The agent must supply 0.72 J because the charges attract each other.
Exercise
A proton is released from rest in a uniform field of 2 × 10⁵ N/C and moves 0.05 m along the field. Find the work done by the field and the gain in kinetic energy. Use e = 1.6 × 10⁻¹⁹ C.
Show answer
W_field = qEd = 1.6 × 10⁻¹⁹ × 2 × 10⁵ × 0.05 = 1.6 × 10⁻¹⁵ J. By the work-energy theorem, the kinetic energy gain equals this work, so ΔK = 1.6 × 10⁻¹⁵ J. The potential energy falls by the same amount.
Exercise
Three equal charges of +1 µC sit at the corners of an equilateral triangle of side 0.1 m. What is the potential energy of the system? Use k = 9 × 10⁹ N m² C⁻².
Show answer
There are three pairs, each at distance 0.1 m. Each pair has energy 9 × 10⁹ × (10⁻⁶)²/0.1 = 0.09 J. The total is 3 × 0.09 = 0.27 J.