2.8.2 Potential Energy of a System of Two Charges in an External Field
In bringing q one from infinity to r one, the work done is q one V of r one.
In bringing q two to r two, work is done not only against the external field E but also against the field due to q one.
By the superposition principle for fields, we add up the work done on q two against the two fields, E and that due to q one.
Potential energy of the system is the total work done in assembling the configuration: q one V of r one, plus q two V of r two, plus q one q two over 4 pi epsilon nought r one two.
When the two charges are placed in an external field, their mutual interaction energy remains unchanged. In addition, there is their energy of interaction with the external field.