# Solid of revolution -- General question

There are two ways to revolve, around Y or X and the formulas are different.

If I have something bounded by $$f(x) = x^2 + 1$$. I can write $$x = \sqrt{y - 1}$$. But, is it wrong to swap axis to show that I'm integrating dy, not dx?