Electric Flux through a surface.

1. Sep 20, 2009

Brian-san

1. The problem statement, all variables and given/known data
Consider a spherical region V of radius R without any charge and a point charge q outside the spherical region at a distance d from the center as shown in the figure. Evaluate explicitly the net electric flux out of the surface S which bounds the spherical region V.

2. Relevant equations
Electric Field of a Point Charge (k=1):
$$\vec{E}=\frac{q}{r^2}\hat{r}$$

Electric Flux out of a Surface:
$$\Phi_{E}=\int_{S}\vec{E}\cdot d\vec{\sigma}$$

3. The attempt at a solution
From Gauss' Law, I know the answer should be zero since there is no charge enclosed by the sphere. The main problem with solving this by using the surface integral instead, is that I can only place either the sphere or the charge at the origin, which yields a fairly complicated integral.

If I consider the charge at the origin, then $$\vec{E}=\frac{q}{r^2}\hat{r}$$, and $$d\vec{\sigma}=R^2sin\theta d\Phi d\theta\hat{R}$$

If I place the sphere at the origin, then $$d\vec{\sigma}=R^2sin\theta d\Phi d\theta\hat{r}$$, but the electric field is then $$\vec{E}=\frac{q}{r^2}\hat{r'}$$

Here, due to the spherical symmetry, the integral can be simplified to $$\Phi_{E}=2\pi qR^2\int^{\pi}_{0}\frac{sin\theta}{r^2}(\hat{r}\cdot \hat{r'})d\theta$$

For some point on the circle (R, θ), r²=R²+d²-2Rdcosθ, so $$\Phi_{E}=2\pi qR^2\int^{\pi}_{0}\frac{sin\theta d\theta}{R^2²+d^2-2Rdcos\theta}(\hat{r}\cdot \hat{r'})$$

The problem for me is the dot product term, since both are unit vectors, it is simply the cosine of the angle between the to vectors. However, using the law of cosines again gives
$$cos\theta '=\frac{R^2+r^2-d^2}{2Rr}=\frac{R-dcos\theta}{\sqrt{R^2²+d^2-2Rdcos\theta}}$$

Then the integral is $$\Phi_{E}=2\pi qR^2\int^{\pi}_{0}\frac{sin\theta (R-dcos\theta )d\theta}{(R^2²+d^2-2Rdcos\theta)^{3/2}}$$

The first integral, $$\int^{\pi}_{o}\frac{Rsin\theta d\theta}{(R^2²+d^2-2Rdcos\theta)^{3/2}}=\frac{-1}{d\sqrt{R^2²+d^2-2Rdcos\theta}}\right|^{\pi}_{0}=\frac{-1}{d\sqrt{R^2²+d^2-2Rdcos\pi}}+\frac{1}{d\sqrt{R^2²+d^2-2Rdcos0}}$$
$$=\frac{-1}{d\sqrt{R^2²+d^2+2Rd}}+\frac{1}{d\sqrt{R^2²+d^2-2Rd}}=\frac{-1}{d\sqrt{(R-d)^2}}+\frac{1}{d\sqrt{(R+d)^2}}=\frac{1}{d(R+d)}+\frac{-1}{d(R-d)}=\frac{-2}{(R^2-d^2)}$$

I assume the above integral is correct.

The problem comes from the second integral, with the sinθcosθdθ in the numerator, it is not of a particular form I am familiar with, and there seem to be no obvious substitutions in order to integrate it. Is this solution on the right track, or is there something I missed that may have been easier? Thanks.

2. Sep 20, 2009

gabbagabbahey

So far, so good!

Not quite, if the point charge is outside the sphere, then $d>R$ and hence

$$\sqrt{(R-d)^2}=d-R\neq R-d$$

Just make the substitution $x=\cos\theta$ and then integrate by parts.

3. Sep 20, 2009

Brian-san

Adjusting for the square root mistake, then the first result will be
$$\frac{2R}{d(R^2-d^2)}$$

For the secont integral I get
$$\frac{\sqrt{R^2+d^2-2Rdcos\theta}}{2R^2d^2}+\frac{R^2+d^2}{2R^2d^2\sqrt{R^2+d^2-2Rdcos\theta}}\right|^{\pi}_{0}=\frac{R^2+d^2-Rdcos\theta}{R^2d^2\sqrt{R^2+d^2-2Rdcos\theta}}\right|^{\pi}_{0}$$
$$=\frac{R^2+d^2+Rd}{2R^2d^2\sqrt{R^2+d^2+2Rd}}-\frac{R^2+d^2-Rd}{R^2d^2\sqrt{R^2+d^2-2R}}=\frac{R^2+d^2+Rd}{2R^2d^2\sqrt{(R+d)^2}}-\frac{R^2+d^2-Rd}R^2d^2\sqrt{(R-d)^2}}=\frac{R^2+d^2+Rd}{R^2d^2(R+d)}-\frac{R^2+d^2-Rd}{R^2d^2(d-R)}$$
$$=\frac{R^2((d-R)-(d+R))+d^2((d-R)-(d+R))+Rd((d-R)+(d+R))}{R^2d^2(d+R)(d-R)}=\frac{R^2(-2R)+d^2(-2R)+Rd(2d)}{R^2d^2(d^2-R^2)}$$
$$=\frac{-2R^3}{R^2d^2(d^2-R^2)}=\frac{-2R}{d^2(d^2-R^2)}=\frac{2R}{d^2(R^2-d^2)}$$

This term is then multiplied by -d and added to the previous getting zero. This is what I expected from Gauss Law. I really can appreciate Gauss' Law in this case, it greatly simplifies this type problem.

4. Sep 20, 2009

Indeed!