Find the potential inside and outside a uniformly charged solid sphere of radius R and total charge q.
V(r) = -∫E dl
The Attempt at a Solution
I just have a question about finding the potential inside the sphere. Why integrate from infinity to the surface of the sphere (infinity to R) and add the integral of inside the sphere (R to r, whatever radius is inside the sphere). I'm just having trouble visualizing this integration, and why the integral is structured the way it is. Thanks in advance!