State the divergence theorem. By applying this to f(x)k, where f(x) is a scalar field in a closed region V in R3 bounded by a piecewise smooth surface S, and k an arbitrary constant vector, show that
∫V∇fdV=∫SfdS
A vector field G satisfies
∇⋅G=ρ(x) with ρ(x)={ρ00∣x∣⩽a∣x∣>a
By applying the divergence theorem to ∫V∇⋅GdV, prove Gauss's law
∫SG⋅dS=∫Vρ(x)dV
where S is the piecewise smooth surface bounding the volume V.
Consider the spherically symmetric solution
G(x)=G(r)rx
where r=∣x∣. By using Gauss's law with S a sphere of radius r, centre 0, in the two cases 0<r⩽a and r>a, show that
G(x)={3ρ0x3ρ0(ra)3xr⩽ar>a
The scalar field f(x) satisfies G=∇f. Assuming that f→0 as r→∞, and that f is continuous at r=a, find f everywhere.
By using a symmetry argument, explain why (∗) is clearly satisfied for this f if S is any sphere centred at the origin.