MathsCalculus

Volume of Revolution
calculator.

Spin a flat region around a line, and this finds the volume of the solid it sweeps out.

How it's worked out

Cut the solid into thin pieces, find the volume of one piece, and add them with an integral. The axis decides the shape of the piece. With curves written as y in terms of x, slices taken up and down across a horizontal axis are round, so you use disks or washers. Up-and-down strips spun about a vertical axis make cylinder walls, so you use shells.

Disks and washers. A slice at x is a circle with radius R, the distance from the axis to the farther curve. If a gap leaves a hole of radius r, subtract it. OpenStax states both rules for the x-axis, and for any other line you measure the radii from that line.

V\displaystyle V=π∫ab(R(x)2−r(x)2)dx\displaystyle {}= \pi \int_a^b \left(R(x)^2 - r(x)^2\right) dx

Shells. A strip at x has a height equal to the gap between the curves, and it sits at a distance from the axis. Unrolled, its wall is a thin slab, so its volume is the circumference times height times thickness. OpenStax gives the rule for the y-axis; moving the axis only changes the radius.

V\displaystyle V=2π∫ab|x\displaystyle {}= 2\pi \int_a^b |x−c||f(x)\displaystyle {}- c|\,|f(x)−g(x)|dx\displaystyle {}- g(x)|\,dx

Every integral here is worked out numerically by adaptive Gauss-Kronrod quadrature, which spends more points where the curve is hard and never touches the ends. That lets curves with a vertical tangent at an end, such as the square root at 0, work normally. When the volume is close to a simple multiple of π\pi, you see that match as well.

Worked examples

Ines works out the wood in a turned plug

Ines cuts a plug on a lathe with the profile y=xy = \sqrt{x}, 4 cm long, measured in centimeters. The region reaches the axis, so each slice is a solid disk. The square root goes away when you square the radius, which leaves an easy integral.

V\displaystyle V=π∫04xdx\displaystyle {}= \pi \int_0^4 x\,dx=8π\displaystyle {}= 8\pi

That is 25.13 cubic centimeters. One centimeter along, the slice has radius 1 and area 3.1416. The curved surface she has to sand comes to 36.18 square centimeters, and the flat end is extra.

For a plug of 50 cubic centimeters she needs a longer one, and the same shape reaches that volume at a length of 5.64 cm.

Open this example in the tool

Ben sets up a washer about the line y = 2

Ben spins the region between y=xy = x and y=x2y = x^2 about y=2y = 2. Both curves lie under the line, so the lower curve is now the farther one. The outer radius is 2−x22 - x^2 and the inner radius is 2−x2 - x. At x=0.5x = 0.5 that gives R = 1.75 and r = 1.5.

V\displaystyle V=π∫01((2−x2)2−(2−x)2)dx\displaystyle {}= \pi \int_0^1 \left((2 - x^2)^2 - (2 - x)^2\right) dx=8π15\displaystyle {}= \frac{8\pi}{15}

That is 1.6755. About the x-axis, the same region gives only 2π15\frac{2\pi}{15}, or 0.4189, because it sits closer to the axis and sweeps a shorter path.

He can check this with the theorem of Pappus. The region has area 0.1667 and its centroid, the balance point, is 1.6 from the line. Area times the path of the centroid gives 1.6755 again.

Open this example in the tool

Dana avoids solving a cubic

Dana spins the region under y=2x2−x3y = 2x^2 - x^3 about the y-axis. Washers would need x in terms of y, which means solving a cubic for each slice. Shells keep x as the variable, so the setup takes one line.

V\displaystyle V=2π∫02x(2x2−x3)dx\displaystyle {}= 2\pi \int_0^2 x\,(2x^2 - x^3)\,dx=16π5\displaystyle {}= \frac{16\pi}{5}

That is 10.0531. At x=1x = 1 the shell has radius 1 and height 1, so its wall has an area of 6.2832.

Open this example in the tool

Reading your result

The multiple of \(\pi\). Exams usually want this form. The match is found by testing fractions against the computed value, so treat it as very strong evidence and confirm it by hand if it matters. A sphere of radius 1 shows 4π3\frac{4\pi}{3}, and one arch of the sine curve shows π22\frac{\pi^2}{2}. Other solids have no such form, so you see the decimal alone.

Curved surface. This appears for one curve spun about the line it is measured from. The unit sphere gives 12.5664, the 4π4\pi you may remember. The formula covers the swept surface and not the flat ends.

Centroid. This is the region's balance point. Its distance from the axis, times 2π2\pi and the area, is the volume, as long as the axis misses the region. When the axis cuts through it, this rule does not apply, and Simpson's rule is the check instead.

Units. They follow your inputs. If x and y are in centimeters, the volume is in cubic centimeters and the surface is in square centimeters.

Common mistakes

  • Squaring the gap instead of each radius. The area of a ring is R2−r2R^2 - r^2, not (R−r)2(R - r)^2. For the region between xx and x2x^2, the wrong form gives π30\frac{\pi}{30} in place of 2π15\frac{2\pi}{15}.
  • Measuring radii from the x-axis. When the axis is y=2y = 2, each radius is the distance to that line. The curve's height alone is only right for the x-axis.
  • Swapping R and r below the axis line. With the region under the line, the lower curve is farther away, so it gives the outer radius. Swap them and the integrand comes out negative.
  • Losing the \(\pi\) or the 2. Disks carry π\pi and shells carry 2π2\pi. Mixing them up is off by a clean factor, so it is easy to miss.
  • Letting a vertical axis fall inside the interval. The two sides of the region sweep over each other, and adding their shells counts that overlap twice. Split the region at the axis and take each part on its own.
  • Adding flat ends to a washer volume. Ends matter for surface area, not for volume. Add πr2\pi r^2 per flat end only when you want the full outer surface.

Questions people ask

Use whichever lets you integrate in the variable your curves are written in. For y as a function of x, washers suit a horizontal axis and shells suit a vertical one. OpenStax says the choice often comes down to which integral is easiest.

Sources