I was wondering how to prove the analog of Newton's shell theorem for 2 dimensions, in which gravity obeys an inverse-linear law. Meaning:
that an anywhere inside a circle, the gravitational field due to the circle is 0
that outside the circle, the gravitational field from the circle is the same as if the mass from the circle was concentrated at the origin
I'm pretty sure these things are true, but when I tried to do the integral by imitating the 3-dimensional case, I failed. (I tried to imitate this.)
UPDATE 1: CuriousOne asked to show what I did. So here goes, using the same variable names and the same diagram as in the wikipedia page. In the 3D case, namely, it boils down to doing the one-variable integral $$ \int_{0}^{\pi} \frac{\sin\theta}{s^2}\cos\phi\,d\theta. $$ The idea, then, is to use $s$ as the variable of integration. (Assuming the second subquestion, $s$ then goes from $r - R$ to $r + R$.) One has $$ \cos \phi = \frac{r^2 + s^2 - R^2}{2rs} $$ by the law of cosines, where $r$ and $R$ are constants. (Yay.) To substitute $\sin\theta\,d\theta$, one starts with the fact that $$ \cos\theta = \frac{R^2 + r^2 - s^2}{2Rr} $$ (law of cosines again), which upon differentiating becomes $$ -\sin\theta\,d\theta = \frac{-sds}{Rr} $$ so that our integral becomes $$ \int_{r-R}^{r+R} \frac{1}{s^2}\cdot \frac{s}{Rr}\cdot \frac{r^2+s^2-R^2}{2rs}ds $$ which simplifies and is easy to integrate. In the 2D case, the diagram and the relationships between the variables are the same, but the integral boils down to computing $$ \int_0^\pi \frac{1}{s}\cos\phi\,d\theta. $$ (Unless I'm already mistaken.) I presumed that switching to $s$ as the variable of integration is the right thing to do (again), but I don't know how to get rid of $d\theta$ anymore, now that $\sin\theta$ is missing. [The rest of my failed efforts are removed due to lack of interest. For the record, this section previously ended with "can someone at least check my work?". (See comments below.)]
UPDATE 2: Qmechanic gives a solution below; basically, one should do the integral using $\theta$ as the variable of integration, not $s$.
I also just discovered this preprint, which gives a simple geometric solution that works for all dimensions. (Point outside the sphere.) It's very nice, and I also wonder if it's possible to "algebrize" the solution (i.e., turn it into a sequence of equalities involving integrals).