Verify that the Green function in (8.29) is zero when r=R. Also verify that the point at which the second term becomes infinite is inside the sphere, so outside the sphere this term satisfies Laplace's equation as required. Thus write a triple integral for the solution of (8.22) for r>R which is zero on the sphere r=R.