Choose the polar axis in the source integration along the evaluation vector . The Euclidean distance then satisfies , givingFor the uniform ball, integrate its Newtonian gravitational potential in these spherical coordinates. With ,For , the inner integral isobtained from the antiderivative . ThereforeFor , split the radial integral at . Its two pieces are and . The Newtonian gravitational potential of a uniform solid sphere is consequentlyThe centre value follows by continuity, removing the intermediate . For , the same integral gives , so both the potential and first derivative match at the surface. Finally inside, while is directed inward and vanishes at the centre, checking the sign and normalization.