I was trying to derive the surface area of a sphere, and I was hoping someone could possibly explain why this one method I am trying does not work. I've seen and done other ways of deriving the surface area so I'm not asking for a different way, but I'm specifically wondering why this one wouldn't work.
I started with a sphere centered at the origin with radius $r$. I then imagined taking narrow, verticle slices out of the sphere (that are parallel with the z-axis and perpendicular to the x-axis) to create rings. I would then unroll each ring and find its area. The area would be $2\pi \sqrt{r^{2}-x^{2}} * dx$ (where $dx$ is the width of each ring) It seems to me that if I did this for all x values on $[-r, r]$, and summed them, I should get the surface area of the sphere. I wrote this as the integral :
$ \int_{-r}^{r} 2\pi\sqrt{r^{2}-x^{2}} \,dx $
This integral is equal to $\pi^{2}r^{2}$, which is obviously not the right answer.
I'm thinking that maybe I need to account for the curvature in some way that I'm not, but I'm really not sure. If anyone could explain why this doesn't work, I would appreciate it greatly.