0
$\begingroup$

Find the electric potential in the middle of a square with side length $a$ and charge $Q$.

If I put the origin in the middle of the square, for the potential I get: $$4\frac{1}{4\pi\epsilon_0}\int_0^\frac{a}{2}\int_0^\frac{a}{2}\frac{\sigma}{\sqrt{x^2 + y^2}}dxdy$$

,where $\sigma$ is surface charge density. Then I'd proceed to change to polar coordinates, so I get something like: $$\frac{\sigma}{\pi\epsilon_0}\int_0^{\frac{\pi}{2}} \int_0^{\frac{a}{2\cos\varphi}} dr d\varphi=\frac{\sigma}{\pi\epsilon_0}\frac{a}{2}\int_0^{\frac{\pi}{2}}\frac{d\varphi}{\cos \varphi}$$ which is a divergent integral.

What am I doing wrong?

I think I can imagine changing the approach in such a way that the limits of integration are different, but what's wrong with this one?

$\endgroup$
6
  • $\begingroup$ Why would you convert to polar coordinates? You are working with a square.... $\endgroup$
    – Kyle Kanos
    Commented Jun 21, 2014 at 10:37
  • $\begingroup$ @KyleKanos Why does it matter what shape I'm working with? I am trying to get an easier integral. $\endgroup$
    – mirgee
    Commented Jun 21, 2014 at 10:43
  • 1
    $\begingroup$ I disagree that it's easier to integrate over a square using post coordinate than the more natural Cartesian.... $\endgroup$
    – Kyle Kanos
    Commented Jun 21, 2014 at 10:45
  • $\begingroup$ @KyleKanos You may be right... Would you please share your approach? $\endgroup$
    – mirgee
    Commented Jun 21, 2014 at 10:48
  • 1
    $\begingroup$ My approach would obviously be working the Cartesian integral. $\endgroup$
    – Kyle Kanos
    Commented Jun 21, 2014 at 10:52

1 Answer 1

1
$\begingroup$

The Cartesian integral you've set up is correct. Now do the integrals: $$\begin{align*} V&=\frac{\sigma}{\pi\epsilon_0}\int_0^{a/2}dy\;\left.\sinh^{-1}\frac{x}{y}\right|_0^{a/2}\\ &=\frac{\sigma}{\pi\epsilon_0}\int_0^{a/2}dy\;\sinh^{-1}\frac{a}{2y}\\ &=\frac{\sigma}{\pi\epsilon_0}\int_{\infty}^{1}-\frac{a}{2u^2}du\;\sinh^{-1}u\\ &=\frac{\sigma a}{2\pi\epsilon_0}\int_{1}^{\infty}du\;\frac{\sinh^{-1}u}{u^2}\\ &=\frac{\sigma a}{\pi\epsilon_0}\sinh^{-1}(1) \end{align*}$$

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.