Section 3.3 · Home exercises · 7 of 9
Home exercise 3.3.7: Charge from the potential
Charge from the potential
#The electrostatic potential inside a sphere of radius is
where is a constant.
(a) Find the volume charge density inside the sphere.
(b) Find the total charge contained in the sphere.

Work backwards from the potential: , then (or directly ), then integrate over the ball for the total charge.
For the electric field is
Gauss's law in differential form, , with the divergence in spherical coordinates:
The same follows in one line from Poisson's equation: .
The total charge in the sphere is
Units: is in , so is in , and in C. Gauss's law in integral form confirms (remark below).
Check with Gauss's law in integral form (Section 3.2): on the sphere , . For the potential increases outwards, the field points inwards and the enclosed charge is negative.