Example 31.19. Electrostatic Energy of Charges at Corners of a Square.
Four charges, \(+q,\ -q,\ +q,\ -q \) alternate on corners of a square of side \(a\text{.}\) What is the electrostatic energy?
Solution.
Adding them up, we get
\begin{align*}
U \amp = \dfrac{q^2}{4\pi\epsilon_0}\left( -4\times \dfrac{1}{a} + 2\times \dfrac{1}{\sqrt{2}\; a} \right)\\
\amp= -\dfrac{1}{4\pi\epsilon_0}\; \dfrac{q^2}{a}(4-\sqrt{2}).
\end{align*}




