2.1 Introduction
When an external force does work in taking a body against a force like spring force or gravitational force, that work gets stored as potential energy. Forces of this kind are called conservative forces.
When the external force is removed, the body moves, gaining kinetic energy and losing an equal amount of potential energy. The sum of kinetic and potential energies is thus conserved.
Coulomb force between two stationary charges is also a conservative force. This is not surprising, since it has an inverse-square dependence on distance, like gravity.
In bringing the charge q from R to P, we apply an external force just enough to counter the repulsive electric force, so it is brought with infinitesimally slow constant speed.
Electric potential energy difference between two points is the work required to be done by an external force in moving (without accelerating) charge q from one point to another.
Potential energy is undetermined to within an additive constant: the actual value of potential energy is not physically significant; it is only the difference of potential energy that is significant.
A convenient choice is to have electrostatic potential energy zero at infinity. Potential energy of charge q at a point is the work done by the external force in bringing q from infinity to that point.