Solid Sphere - Field

Notice that, as r approaches zero, so does the field.

At r = a, the Gaussian surface encloses all of the charge Q and there is no need to use a charge density:

We could have obtained this from the first relationship, since it was valid for r = a as well as r < a.

For values of r > a, the same charge Q is enclosed by the Gaussian surface or radius r, so

This is essentially Serway's Example 24.5.