Sub topic 1
Work and potential energy in an electrostatic field
Prerequisites
This chapter assumes you already know:
- Coulomb's law, F = kq₁q₂/r², and superposition of forces.
- The work-energy theorem and the definition of work, W = F·d.
- What a conservative force is.
- How to add scalars and vectors, and how to handle SI units.
Why the electrostatic force has a potential energy
The Coulomb force between fixed charges depends only on position. Work done by it between two points does not depend on the path taken. Work done around any closed loop is zero. These are the defining properties of a conservative force, so we can attach a potential energy to it.
Potential energy is defined through work. The change in potential energy of a charge is the negative of the work done by the field:
ΔU = UB − UA = −W_field(A→B)
If an external agent moves the charge slowly, with no change in kinetic energy, the external work is the opposite of the field's work:
W_ext = ΔU
Sign conventions
- If the field does positive work, the charge loses potential energy (ΔU < 0).
- If you must push against the field, you do positive work and the charge gains potential energy (ΔU > 0).
- Like charges repel, so bringing them closer raises U. Unlike charges attract, so bringing them closer lowers U.
Potential energy of two point charges
Take the reference U = 0 at infinite separation. The work you do bringing a charge q₂ from infinity to distance r from a fixed charge q₁ is then the potential energy of the pair:
U = kq₁q₂/r
Include the signs of the charges. U is positive for like charges and negative for unlike charges.
Worked example
A fixed charge Q = 3 µC sits at the origin. A charge q = 2 µC is brought slowly from infinity to 0.3 m from Q. Find the work done by the external agent.
Wext = Ufinal − U_initial = kQq/r − 0
W_ext = (9×10⁹)(3×10⁻⁶)(2×10⁻⁶) / 0.3 = 0.18 J
The charges are alike, so the work is positive. The field did −0.18 J.
You can check this in code. Here the same charge moves from 0.5 m to 0.2 m, which should give ΔU = 0.162 J.
K = 9.0e9 # N m^2 C^-2 (approximate)
def pair_energy(q1, q2, r):
"""Potential energy of two point charges a distance r apart."""
return K * q1 * q2 / r
Q, q = 3e-6, 2e-6
u_start = pair_energy(Q, q, 0.5)
u_end = pair_energy(Q, q, 0.2)
w_ext = u_end - u_start # external work, since kinetic energy is unchanged
w_field = -w_ext # work done by the electric field
print(w_ext, w_field) # about 0.162 J and -0.162 JCommon errors
| Error | Correction |
|---|---|
| Dropping the sign of a charge in kq₁q₂/r | Substitute the signs. A negative U means the pair is bound. |
| Thinking the path matters | Only the end points matter for a static field. |
| Using U = kq₁q₂/r for a change of distance | Use ΔU = kq₁q₂(1/r₂ − 1/r₁). |
| Forgetting the reference | The formula assumes U = 0 at infinity. Only differences in U have physical meaning. |
Exercise
A charge of −2 µC is held fixed. A charge of +5 µC is moved slowly from 0.4 m to 0.1 m away from it. Find ΔU and say whether the external agent or the field does positive work. Use k = 9×10⁹ N m² C⁻².
Show answer
ΔU = kq₁q₂(1/r₂ − 1/r₁) = (9×10⁹)(−2×10⁻⁶)(5×10⁻⁶)(1/0.1 − 1/0.4) = (−0.09)(10 − 2.5) = −0.675 J. The potential energy decreases because the charges attract. The field does positive work (+0.675 J), and the external agent does −0.675 J.