sonjar88 said:
Thank you for your reply.
All I am given is:
The potential on a non-conducting sphere or radius a is given by
V = V0(cos2\theta +cos\theta-1)
And with that I should be able to find the potential and electric fields inside and outside the sphere and the surface charge density?
K^2 is slightly mistaken since the divergence of the electric field is related to charge, we can express charge in terms of the Laplacian operator on the potential. Specifically,
\nabla \cdot \mathbf{E} = \frac{\rho}{\epsilon}
\mathbf{E} = -\nabla V
\nabla^2 V = -\frac{\rho}{\epsilon}
The applied electric field will induce a charge distribution which is why the right-hand side of Gauss' Law is non-zero here even though the original sphere has no net charge.
Since you are already given the potential distribution on the surface, it is simple vector calculus to find the applied field and induced charge distribution on the surface.
Now finding the distribution of charge, the potential, and the field INSIDE the sphere is a different matter as K^2 is talking about. You then have to solve for the Poisson Equation. First, the solution to the Laplacian Equation,
\nabla^2 V = 0
gives you your homogeneous solution. Then you have to solve for the Poisson Equation given the boundary condition for the voltage and charge on the surface.
\nabla^2 V = -\frac{\rho}{\epsilon}
This is usually done by decomposing the solution and boundary condition into spherical modes and solving for the unknown coefficients by mode matching with the boundary condition.
EDIT: Griffiths' book gives a good explanation on how to do this.