Fernando Garcia

Home     Research     Blog     Other     About me


PHYS405 - Electricity & Magnetism I

Spring 2024

Problem 1.63

(a) Find the divergence of the function

v=1rr^

First compute it directly, as in Eq. 1.84:

(Eq. 1.84, page 43)(1r2r^)=1r2r(r21r2)=1r2r(1)=0

Test your result using the divergence theorem (over a sphere of radius R, centered at the origin), as in Eq. 1.85:

(Eq. 1.85, page 44)vda=(1R2r^)(R2sinθdθdϕr^)

Is there a delta function at the origin, as there was for r^/r2? What is the general formula for the divergence of rnr^?

(b) Find the curl of rnr^. Test your conclusion using problem 1.61b.

(a) A direct computation gives

v=(1rr^)=1r2r(r21r)=1r2r(r)=1r2

Using the divergence theorem

vda=vdτ

let's first take a surface integral over a sphere of radius R:

vda=(1Rr^)(R2sinθdθdϕr^)=Rϕ=02πθ=0πsin(θ)dθdϕ=4πR

And now a volume integral of the divergence

vdτ=ϕ=02πθ=0πr=0R(1r2)(r2sin(θ)drdθdϕ)=4πR

In this case (contrary to v=r^/r2), the divergence theorem works perfectly.

In general, we have:

(rnr^)=1r2r(r2rn)=1r2r(rn+2)=1r2(n+2)rn+1=(n+2)rn+12(For n2)=(n+2)rn1

If n=2, then we have the delta Dirac (r^/r2)=4πδ3(r) (see Eq. 1.99, page 48).

(b) A quick inspection at the curl formula in spherical coordinates tells us that

×(rnr^)=0

Using problem 1.61b, we see that the integrand on right hand side of

V(×v)dτ=Sv×da

Is a cross product of parallel vectors and thus vanishes. This means that the left hand side is also zero, as expected from the explicit computation of the curl.


Back to PHYS405 site