I have previously learned about the volume of a solid of revolution about the x axis and that equation makes sense to me since it's taking the integral between points a and b of the area of a circle at each point.
$$ \int_{a}^{b} \pi [f(x)]²dx = \int_{a}^{b}Area(x)dx $$
But now when I've come across the formula for the area of a solid of revolution I can't quite understand why the slope factor is there. From looking at the volume of a solid of revolution I would assume counting the surface area is just the same as counting the volume except the area is replaced by the circumference. And looking at the equation that seems to be true, but the slope of the function on a small interval has also been added as a factor.
$$ \int_{a}^{b} 2\pi f(x)\sqrt{1+[f'(x)]²}dx $$
From the picture of it in the book it takes the arch length $$ ds = \sqrt{dx²+dy²} $$ of a small dx. But taking this ds and the integral from a to b aren't we counting every part twice since the integral already goes over every dx?




Note that $$ds = \sqrt{(dx)²+(dy)²} = \sqrt{1+\frac {(dy)²}{(dx)^2}}dx $$
We integrate $$\int_{a}^{b} 2\pi f(x)ds =\int_{a}^{b} 2\pi f(x)\sqrt{1+[f'(x)]²}dx$$
Thus in the integral there is only one copy of $dx$