Electrostatic potential energy
Push two like charges toward each other and you feel them shove back — get close enough and let go, and they fly apart, converting stored energy into motion. That stored energy is electrostatic potential energy: the work an external agent must do, against the mutual Coulomb force, to assemble a set of charges starting from infinite separation. It is not a new force law but a bookkeeping tool built directly on the potential you already know — bring one charge in for free, then charge to bring the next one in. This article builds that bookkeeping for two charges, extends it by superposition to three, and then applies the same energy idea to a dipole sitting in an external field, where the natural variable is not distance but orientation angle .
The electrostatic potential energy of a charge configuration is the work needed to assemble it from infinite separation, computed for point charges as summed over every pair, and for a dipole in a uniform field as .
The core idea
Two point charges. Imagine bringing and in from infinity to a final separation , with no leftover kinetic energy. Placing first costs nothing — there is no field yet to push against. Bringing in from infinity then costs , where is the potential creates at the final spot. That work is stored as potential energy:
where: are the point charges (C, with sign), is their final separation (m), and . The sign of carries physical meaning: same-sign charges give (they repel, so an agent must push them together, storing positive energy), opposite-sign charges give (they attract, so assembling them releases energy — the agent actually restrains them).
Three (or more) point charges. By superposition, the total assembly energy is just the sum over every distinct pair, because the order you bring the charges in does not matter:
where: are the three pairwise separations. For charges this generalizes to a sum over all distinct pairs — never terms, and never double-count a pair.
A dipole in a uniform external field. Here the "distance" being varied is really an orientation angle between the dipole moment and the field . Taking the reference at (dipole perpendicular to the field):
where: is the dipole moment magnitude (C·m), is the field strength (N/C or V/m), and is the angle between and . This is the negative of the work the field's torque does rotating the dipole from to . At , : the deepest, most stable configuration, matching the zero-torque stable equilibrium you already met when studying dipoles in a field. At , : the unstable equilibrium. The system always tends toward lower , so a dipole released at some angle rotates toward .
The goal is to derive from first principles by computing the work an external agent does bringing two point charges together from infinite separation, using only the definition of electric potential and the fact that the first charge placed experiences no field at all.
Step 1. Place at its final position. Since space is initially empty of any field, this step requires zero work: .
Step 2. Bring from infinity to a distance from , moving it slowly (no kinetic energy gained or lost) against the field of . The work done by the external agent equals times the potential that produces at the final location: , and .
Step 3. Combine the two steps. Total work done in assembling the pair is .
Step 4. Identify this work with stored potential energy. Because the charges gained no kinetic energy, all the external work went into the configuration itself, so . The result is symmetric in and (it does not matter which charge you place first), and it correctly reduces to at , matching the reference level chosen at the start.
Worked example
Two point charges, and , start infinitely far apart. Find the work done by an external agent bringing them to a separation of , and state which direction the electrostatic force itself did work.
Step 1. Since the charges begin at infinite separation where , the work done by the external agent equals the final potential energy: .
Step 2. Substitute values, keeping careful track of the negative sign on : .
Step 3. Finish the arithmetic: .
Step 4. Interpret the sign. The charges are opposite in sign, so they attract; an agent bringing them together slowly must actually hold them back, doing negative work on the system. The external agent does of work; equivalently, the electrostatic force itself does of positive work as the charges come together.
Competitive stretch
Now place a third charge so that all three sit at the corners of an equilateral triangle of side , with , as before (a fresh triangle, not the pair above). All three pairwise separations equal , so . In units of : , , , summing to . Then . The negative total shows the two attractive pairs ( and ) outweigh the one repulsive pair (), so the electrostatic forces do net positive work bringing this particular arrangement together from infinity.
Common traps
- Assuming two-charge potential energy is always positive — it is negative whenever the charges have opposite signs, since assembling attracting charges releases rather than costs net work.
- Missing pairs in a multi-charge sum — an -charge system has distinct pairs, not terms; a three-charge system has exactly 3 pair-terms, not 2 or 4.
- Mixing up with the torque formula — one gives energy, the other gives rotational force, and they use different trig functions of the same angle.
- Thinking dipole potential energy is zero at — it is instead the minimum, ; zero is only the conventional reference at .
Ask the tutor: want a walkthrough of a four-charge potential-energy sum, or a check on how the dipole energy formula connects to the torque formula through work-energy reasoning?
Why does placing the first charge cost zero work but the second one costs something?
Work is required only when a charge moves through a field created by other charges already present. When you place the very first charge, no field exists yet anywhere, so there is nothing to push against and the work is zero. Once that charge sits there, it produces a potential everywhere in space, so bringing in a second charge from infinity to a point where that potential is nonzero costs . With three or more charges, each new charge you add sees the combined potential of all the ones already placed, which is exactly why the total energy ends up as a sum over pairs.
Does the order in which I bring the charges together change the final potential energy?
No. Potential energy is a property of the final configuration alone, not of the path taken to reach it — this is a consequence of the electrostatic force being conservative. You could bring in first and second, or bring all three in simultaneously in any order, and the total work done always sums to the same . This is exactly why superposition works so cleanly here: each pair contributes independently of assembly order.
How is the dipole formula U equals negative p dot E related to the two-charge formula?
They describe different situations and are not derived from one another in this course: the two-charge formula gives the energy of assembling a pair of point charges from infinity, while the dipole formula gives the energy of a fixed dipole (already assembled) as its orientation changes inside someone else's uniform external field. Both, however, share the same underlying idea — potential energy as stored work — and both use the same reference-point convention, choosing at a natural "neutral" configuration ( for two charges, for the dipole).