Course note. This guide is for the calculus-based Physics C: Electricity and Magnetism course, Topic 9.1, the first topic of Unit 9. You will use an integral of force to find energy. The algebra-based Physics 2 course uses the same final result but does not derive it.
Constants used throughout: k = 1/(4πε₀) = 8.99 × 10⁹ N·m²/C², ε₀ = 8.85 × 10⁻¹² C²/(N·m²) and e = 1.60 × 10⁻¹⁹ C.
Energy stored in an arrangement of charges
In Unit 8 you described electric interactions with forces and fields. Unit 9 describes the same interactions with energy. Energy is often easier to use because it is a scalar: you add numbers, not vectors.
Picture two point charges, q₁ and q₂, very far apart. They do not interact, so we say their electric potential energy is zero. Now an external agent (your hand, say) brings them together until they are a distance r apart. It moves them slowly, so they gain no kinetic energy.
The electric potential energy U of the two-charge system is the work this external force does to bring the charges from infinitely far apart to their present positions.
- If the charges repel, the agent must push them together. It does positive work, so U > 0.
- If the charges attract, the agent must hold them back. It does negative work, so U < 0.
This energy belongs to the system of two charges. It is not stored “in” q₁ or “in” q₂. It is a property of their arrangement, in the same way that gravitational potential energy belongs to the Earth–object system.
Deriving U from the work done
Fix q₁ at the origin. Bring q₂ in along a radial line from r = ∞ to r = R. At distance r, the electric force on q₂ is radial:
F_r = kq₁q₂/r² (positive means away from q₁)
To move q₂ slowly, the external force must balance it: F_ext,r = −kq₁q₂/r². The work done by the external force is:
W_ext = ∫∞^R F_ext,r dr = ∫∞^R (−kq₁q₂/r²) dr = [kq₁q₂/r]_∞^R = kq₁q₂/R
So the potential energy at separation r is:
U = q₁q₂/(4πε₀r) = kq₁q₂/r
Three points about this result:
- The path does not matter. The electric force is radial. If q₂ moves sideways around a circle centred on q₁, the force is perpendicular to the motion and does no work. Any path can be built from radial steps and circular steps, so only the start and end separations count. The electric force is conservative.
- Charged spheres. Outside a spherically symmetric charge distribution, the field is the same as for a point charge at the centre (Topic 8.6). So for two small uniformly charged insulating spheres that do not overlap, use the centre-to-centre distance for r.
- Force from energy. Reverse the derivation: F_r = −dU/dr = −d(kq₁q₂/r)/dr = kq₁q₂/r². This is Coulomb’s law again, which is a useful check.
Work done by each force. If the charges start and end at rest:
- work done by the external force: W_ext = ΔU = U_final − U_initial
- work done by the electric force: W_electric = −ΔU
The two have equal size and opposite sign.
Signs, sizes and the U(r) graph
The formula already carries the sign if you substitute the charges with their signs.
| Pair | Sign of U | As r increases | Force |
|---|---|---|---|
| Like charges (+ +, or − −) | positive | U decreases towards 0 | repulsive |
| Unlike charges (+ −) | negative | U increases towards 0 | attractive |
A negative U does not mean “less than no energy”. It means the system has less energy than when the charges are far apart. You must supply energy to separate them. For example, in the simplest (Bohr) model of hydrogen the electron is 5.29 × 10⁻¹¹ m from the proton. Then U = k(+e)(−e)/r = −4.35 × 10⁻¹⁸ J, or −27.2 eV, where 1 eV = 1.60 × 10⁻¹⁹ J.
Reading Figure 1:
- Value versus slope. The force is the negative slope, not the height. At r₀ the like-charge curve has height +1 and a negative slope, so the force is outward (repulsive).
- 1/r versus 1/r². U ∝ 1/r, but F ∝ 1/r². Doubling r halves U and divides F by 4.
- Which way is “downhill”? Left alone, a system moves towards lower U. Like charges fly apart (U falls towards 0). Unlike charges pull together (U becomes more negative).
Systems of three or more charges
The total potential energy is the sum of the energies of every pair of charges, each pair counted once:
U_total = Σ (over pairs i < j) kq_iq_j / r_ij
Why does this work? Build the system one charge at a time. Bringing in the first charge costs nothing, since no other charges are present. Bringing in the second costs kq₁q₂/r₁₂. Bringing in the third costs kq₁q₃/r₁₃ + kq₂q₃/r₂₃, one term for each charge already there. Every pair appears exactly once, and the order of assembly does not change the total.
N charges have N(N − 1)/2 pairs: 3 pairs for 3 charges, 6 for 4 and 10 for 5.
To find the work needed to rearrange a system (for example, to remove one charge to infinity), use W_ext = U_final − U_initial with everything at rest. Only the pairs that change contribute.
Worked example 1: assembling a triangle of charges
Question. Three small charged beads are placed at the corners of an equilateral triangle of side 0.20 m. q₁ = +5.0 nC, q₂ = +5.0 nC and q₃ = −2.0 nC. (a) Find the total electric potential energy. (b) The beads are brought in one at a time, q₁ then q₂ then q₃. How much work does the external agent do at each step? (c) What does the sign of the total tell you?
(a) There are 3 pairs, all 0.20 m apart.
- U₁₂ = (8.99 × 10⁹)(5.0 × 10⁻⁹)(5.0 × 10⁻⁹) ÷ 0.20 = +1.124 × 10⁻⁶ J
- U₁₃ = (8.99 × 10⁹)(5.0 × 10⁻⁹)(−2.0 × 10⁻⁹) ÷ 0.20 = −4.495 × 10⁻⁷ J
- U₂₃ = U₁₃ = −4.495 × 10⁻⁷ J (same charges, same distance)
- U_total = 1.124 × 10⁻⁶ − 2(4.495 × 10⁻⁷) = +2.25 × 10⁻⁷ J
(b) Step 1: bringing q₁ costs 0 J (nothing else is there). Step 2: bringing q₂ costs U₁₂ = +1.12 × 10⁻⁶ J; the agent pushes against repulsion. Step 3: bringing q₃ costs U₁₃ + U₂₃ = −8.99 × 10⁻⁷ J; q₃ is attracted, so the agent holds it back and does negative work. The three steps add to the total in (a).
(c) The total is positive. Taking the whole system apart, slowly, back to infinite separation would give 2.25 × 10⁻⁷ J back to the external agent.
Check. Assemble in a different order: q₃, then q₁, then q₂. The steps are 0, −4.495 × 10⁻⁷ J and +6.74 × 10⁻⁷ J. They add to the same +2.25 × 10⁻⁷ J.
Worked example 2: work by integration, and why the path does not matter
Question. A charge q₁ = +6.0 nC is fixed. A small bead with q₂ = +3.0 nC is moved slowly from 0.60 m to 0.15 m from q₁. (a) Use an integral to find the work done by the external force. (b) Find the work done by the electric force. (c) The bead is moved instead along a quarter circle of radius 0.60 m and then straight in to 0.15 m. Does the work change? (d) By what factor does U change?
(a) Take r outward from q₁. The electric force on the bead is +kq₁q₂/r² (repulsive), so the external force is −kq₁q₂/r². The bead moves from r = 0.60 m to r = 0.15 m:
W_ext = ∫ from 0.60 to 0.15 of (−kq₁q₂/r²) dr = kq₁q₂ [1/r] from 0.60 to 0.15 = kq₁q₂ (1/0.15 − 1/0.60)
kq₁q₂ = (8.99 × 10⁹)(6.0 × 10⁻⁹)(3.0 × 10⁻⁹) = 1.618 × 10⁻⁷ N·m². So W_ext = (1.618 × 10⁻⁷)(6.667 − 1.667) = 8.09 × 10⁻⁷ J.
The sign check: the integration runs from larger r to smaller r (dr is negative) and the external force also points inward, so the work is positive. That fits: you push like charges together.
(b) W_electric = −ΔU = −8.09 × 10⁻⁷ J. The repulsive force points away from q₁ while the bead moves towards it.
(c) No. On the quarter circle the bead stays 0.60 m from q₁. The force is radial and the motion is along the circle, so F·dr = 0 and no work is done. The radial part is the same as in (a). The work is still 8.09 × 10⁻⁷ J.
(d) U ∝ 1/r and r falls by a factor of 4, so U rises by a factor of 4: from 2.70 × 10⁻⁷ J to 1.08 × 10⁻⁶ J. The difference is 8.09 × 10⁻⁷ J, which matches (a).
Interpretation. The force at 0.15 m (7.19 × 10⁻⁶ N) is 16 times the force at 0.60 m (4.50 × 10⁻⁷ N), but U is only 4 times larger. This is the 1/r² versus 1/r difference from Figure 1.
Common misconceptions
- “The charge has potential energy.” Potential energy belongs to the system of interacting charges. Say “the potential energy of the q₁–q₂ system”.
- Dropping the signs. Put each charge in with its sign. A negative U for unlike charges is correct and meaningful.
- Using r² in the energy. Force goes as 1/r²; energy goes as 1/r. Check the units: kq₁q₂/r is in N·m = J.
- Counting each pair twice. Summing kq_iq_j/r_ij over all i and all j ≠ i counts every pair twice. Either list pairs once or halve the double sum.
- “Bigger U means bigger force.” The force is −dU/dr, the slope. A large U on a nearly flat part of the curve means a small force.
- Confusing who does the work. The external work equals +ΔU; the electric work equals −ΔU. Name the force before you give a sign.
- “The order of assembly changes the energy.” Each step’s cost changes, but the total does not.
- “Negative U is impossible.” U is measured relative to infinite separation. Negative U just means a bound arrangement that needs energy to pull apart.
Where this leads
Topic 9.2 divides potential energy by charge to define electric potential, a property of a point in space that does not need a second charge. Topic 9.3 then uses conservation of energy to follow charges that speed up or slow down as U changes. Next: Electric Potential. Before that, practise with the practice questions, then use the revision notes and the topic checklist.
Quick questions
Is electric potential energy the same as electric potential?
No. Potential energy U (joules) belongs to a system of charges. Electric potential V (volts) is potential energy per unit charge at a point in space. Potential is Topic 9.2.
Why is the zero of potential energy put at infinite separation?
At infinite separation the charges do not interact, so it is a natural reference. Only changes in U have physical meaning, so any fixed reference would work, but U = kq₁q₂/r assumes this one.