My physics textbook said that the moment of inertia of a sphere is $\frac25mr^2$ where $m$ and $r$ are the mass and the radius of the sphere respectively. I wanted to verify the result by finding it myself, however, I always end up with $\frac35mr^2$ instead of $\frac25mr^2$. What is wrong with my method?
My approach involved cutting up a sphere into an infinite amount of hollow sphere shells, each of which having volume $4\pi r^2dr$. Then, calling $d$ the density of the sphere and $R$ the radius, the moment of inertia should be: $$\int_{0}^{R}4\pi r^2\cdot d\cdot r^2\cdot dr$$ Calculating this integral gives the following: $$4\pi d\frac{R^5}5$$ Using $m=d\cdot\frac43\pi r^3$, we can simplify this to: $$\frac35mR^2$$
This is clearly not the correct answer. Where have I gone wrong in my method? Is cutting the sphere into hollow shells conceptually wrong in the first place?