Two equal charges of magnitude Q each are placed at a distance d apart. Their electrostatic energy is E. A third charge −Q2 is brought midway between these two charges. The electrostatic energy of the system is now
-E
μi=KQ2d=E
μf=KQ2d+K(−Q)2d+K(−Q)2d
=−KQ2d=−E