Charge is uniformly distributed in a space. The net flux passing through the surface of an imaginary cube of side''a'' in the space is ϕ and in the space it is 0. The net flux passing through the surface of an imaginary sphere of radius ''a'' in the space will be:
External flux of a surface is given by : E.ds.
Since, the flux through the cube would be E×6a2=ϕ⇒E=ϕ6a2
therefore for a sphere, the flux would be E.×4πa2
which is equal to ϕsphere=2π3ϕ