The Disc Method

Revolving a region about a line sweeps out a solid of revolution. When the line lies along an edge of the region, each slice perpendicular to the line sweeps out a disc. The volume is a sum of discs.

Revolving about the x-axis or the y-axis

Take the region under y=f(x)≥0y = f(x) \ge 0 on [a,b][a, b] and revolve it about the xx-axis. A thin vertical strip at xx sweeps out a disc of radius f(x)f(x) and thickness Δx\Delta x. The cross section at xx is a circle of area πf(x)2\pi f(x)^2. So this is a volume with known cross sections, as on the page on cross sections.
The slices are always perpendicular to the axis. So a horizontal axis means an integral in xx, and a vertical axis means one in yy.

Revolving about other lines

When the axis is the line y=ky = k or x=hx = h, the radius is still the distance from the axis to the curve. For a horizontal axis y=ky = k, that's ∣f(x)−k∣|f(x) - k|, the top minus the bottom.