FIGURE 25.7a shows two charges and , which we will assume to be like charges. These two charges interact, and the energy of their interaction can be found by calculating the work done by the electric field of on as moves from position to position . We’ll assume that has been glued down and is unable to move, as shown in FIGURE 25.7b.
The force on is entirely in the direction of motion, so . Thus the work done by the electric field as moves from to is
The potential energy of the two charges is related to the work done by
By comparing the left and right sides of the equation we see that the potential energy of the two-point-charge system is
We chose to integrate along the x-axis for convenience, but all that matters is the distance between the charges. Thus a general expression for the electric potential energy is
This is explicitly the energy of the system, not the energy of just or .
NOTE The electric potential energy of two point charges looks almost the same as the force between the charges. One important difference is the r in the denominator of the potential energy compared to the in Coulomb’s law. Another is that Equation 25.14 does not have the absolute values of the charges, which means that can be negative.
Three important points need to be noted:
The potential energy of two charged particles is zero only when they are infinitely far apart. This makes sense because two charged particles cease interacting only when they are infinitely far apart.
We derived Equation 25.14 for two like charges, but it is equally valid for two opposite charges. The potential energy of two like charges is positive and of two opposite charges is negative.
Because the electric field outside a sphere of charge is the same as that of a point charge at the center, Equation 25.14 is also the electric potential energy of two charged spheres. Distance r is the distance between their centers.