Today I encountered a question that had the solution: electric field outside of a charged nonconductor is
$$ E=\frac{\sigma}{2\epsilon_0} $$
which had the diagram below:
Fig. 1
and for the electric field outside of a conductor is:
$$ E=\frac{\sigma}{2\epsilon_0} $$
and had the diagram like below:
Fig. 2 (Cylindrical gaussian surface, shown from side)
The point that I couldn't understand is what is the role of conductivity in determining the gaussian surface's position? And what determines our cylindrical gaussian surface to whether go through the surface (like in Fig. 1), or to place its one end in the middle of the charged object(like in Fig. 2)? I couldn't catch the nuance what exactly distinguishes the both cases so that we do our calculation through different approaches.