The question is: Using Gauss' Law, find the electric field of a spherical shell with radius $R$ and total charge $$q=\sigma * (\text{surface area sphere}).$$ So, when I try to do it, I get this answer:
$$\int E * \delta a=\frac {Q_{encl}}{\epsilon _0}$$ $$\Longrightarrow E*\int \delta a = \frac {\sigma * 4\pi R^2}{\epsilon _0}$$ $$\Longrightarrow E* 4\pi R^2=\frac {\sigma * 4\pi R^2}{\epsilon _0}$$ $$\Longrightarrow E=\frac {\sigma }{\epsilon _0}.$$ But this can't be right. I'm pretty sure that the electric field needs to depend on the radius. I considered that the Gaussian radius may not be the same as the Spherical Radius. But, when we calculate Gauss' law for solid sphere of uniform charge density $\rho * (\text{volume}) = q$:
$$E*4\pi r^2= \frac {\rho * \frac {4}{3} \pi r^3}{\epsilon _0}$$ $$\Longrightarrow E= \frac {\rho * r}{3 \epsilon _0},$$ we cancel out the R's, so they must be the same value.
So, is the correct answer for spherical shell $E=\frac {\sigma }{\epsilon _0}?\quad\text{or}\quad E =\frac {\sigma R^2}{\epsilon _0r^2}?$ where R is the Radius of the sphere, and r is the gaussian radius. And if the second answer is right, why do we treat the solid sphere differently?