For any rotation R about the centre, ϕR(x)=ϕ(Rx) satisfies the same equation and the same Dirichlet data because V,f,g are rotationally invariant. Uniqueness from part (a) gives ϕR=ϕ for every R. Thus ϕ is constant on spheres and is a function of r alone.