Volume by Shells

Volume by Shells calculates the volume of a solid of revolution around the y-axis by integrating thin cylindrical shells instead of disk slices.

V=2πabxf(x)dxV = 2\pi\int_a^b x\,f(x)\,dx

Solve a problem with Volume by Shells

Type the problem. The solver will use Volume by Shells where Volume by Shells is the right tool, and tell you when it is not.

Drag one in or paste from the clipboard. JPEG, PNG or WebP. You get the transcription to check before anything is solved.

How to get a better answer
  • Paste the whole problem, including the instruction word — "simplify", "solve for x" and "factor" lead to three different answers.
  • Say what you have already tried. "I got x = 4 and the book says 2" turns a solution into a diagnosis.
  • Set the level in the settings button. A calculus shortcut is not a better answer if you have not met derivatives yet.
  • For a photo, get the whole problem in frame and hold the page flat — you get the transcription to fix before anything is solved.

What each symbol means

What Volume by Shells takes
VV
ff
aa
bb
xx
Volume by Shells
SymbolMeaning
VVThe volume of the solid of revolution, measured in cubic units such as cubic centimeters or cubic meters.
ffA continuous function representing the height of the region being rotated; if you confuse it with the distance from the axis, you will integrate the wrong quantity.
aaThe lower limit of integration, the x-value where the region begins; swapping aa and bb reverses the sign, and confusing this with a y-value gives an answer with incorrect units.
bbThe upper limit of integration, the x-value where the region ends; it must be greater than aa for the standard orientation.
xxThe variable of integration, representing the radius of each cylindrical shell (its distance from the y-axis); if you treat it as a constant, the integral collapses to zero.

When to use it

Use this method when you need to find the volume of a solid of revolution around the y-axis and the height of the region is easier to express as a function of xx than the radius would be.

Level

Usually taught in: Calculus II

Worked examples

1. Rotating a linear function with small integers

Problem

Find the volume of the solid obtained by rotating the region bounded by y=xy = x, x=0x = 0, and x=3x = 3 around the y-axis.
  1. V=2π03xxdxV = 2\pi\int_0^3 x \cdot x \, dx

    Set up the shell method formula. The radius of each shell is xx (distance from the y-axis) and the height is f(x)=xf(x) = x.

  2. V=2π03x2dxV = 2\pi\int_0^3 x^2 \, dx

    Multiply the radius and height: xx=x2x \cdot x = x^2.

  3. V=2π[x33]03V = 2\pi\left[\frac{x^3}{3}\right]_0^3

    Integrate using the power rule: the antiderivative of x2x^2 is x33\frac{x^3}{3}.

  4. V=2π(2730)=2π9=18πV = 2\pi\left(\frac{27}{3} - 0\right) = 2\pi \cdot 9 = 18\pi

    Evaluate at the bounds: 333=273=9\frac{3^3}{3} = \frac{27}{3} = 9, then multiply by 2π2\pi.

Answer: V=18π cubic unitsV = 18\pi \text{ cubic units}

This is the straightforward case where the height function is simply f(x)=xf(x) = x. The shell method works cleanly because we multiply the radius xx by the height xx to get x2x^2, which integrates easily.

2. Rotating a linear function with a negative slope

Problem

Find the volume of the solid obtained by rotating the region bounded by y=2xy = 2 - x, x=0x = 0, x=2x = 2, and the x-axis around the y-axis.
  1. V=2π02x(2x)dxV = 2\pi\int_0^2 x(2 - x) \, dx

    Set up the shell method. The radius is xx and the height is f(x)=2xf(x) = 2 - x. Note that 2x2 - x is positive for x<2x < 2, so this is valid over our bounds.

  2. V=2π02(2xx2)dxV = 2\pi\int_0^2 (2x - x^2) \, dx

    Distribute xx across the binomial: x(2x)=2xx2x(2 - x) = 2x - x^2.

  3. V=2π[x2x33]02V = 2\pi\left[x^2 - \frac{x^3}{3}\right]_0^2

    Integrate term by term: 2xdx=x2\int 2x \, dx = x^2 and x2dx=x33\int x^2 \, dx = \frac{x^3}{3}.

  4. V=2π(483)=2π(12383)=2π43=8π3V = 2\pi\left(4 - \frac{8}{3}\right) = 2\pi\left(\frac{12}{3} - \frac{8}{3}\right) = 2\pi \cdot \frac{4}{3} = \frac{8\pi}{3}

    Evaluate at the bounds: at x=2x = 2, we get 22233=483=432^2 - \frac{2^3}{3} = 4 - \frac{8}{3} = \frac{4}{3}. At x=0x = 0, both terms are zero.

Answer: V=8π3 cubic unitsV = \frac{8\pi}{3} \text{ cubic units}

This example requires distributing inside the integral and handling fractions carefully. The negative slope means the height decreases as xx increases, which is fine as long as the height stays positive throughout the region.

3. Volume of a cone-shaped container

Problem

A decorative container is designed by rotating the curve y=32xy = \frac{3}{2}x from x=0x = 0 to x=4x = 4 feet around the vertical y-axis. Find the volume of the container.
  1. V=2π04x32xdxV = 2\pi\int_0^4 x \cdot \frac{3}{2}x \, dx

    Set up the shell method. The radius is xx feet and the height is f(x)=32xf(x) = \frac{3}{2}x feet.

  2. V=2π0432x2dxV = 2\pi\int_0^4 \frac{3}{2}x^2 \, dx

    Multiply: x32x=32x2x \cdot \frac{3}{2}x = \frac{3}{2}x^2.

  3. V=3π04x2dxV = 3\pi\int_0^4 x^2 \, dx

    Factor out the constant: 2π32=3π2\pi \cdot \frac{3}{2} = 3\pi.

  4. V=3π[x33]04V = 3\pi\left[\frac{x^3}{3}\right]_0^4

    Integrate using the power rule: x2dx=x33\int x^2 \, dx = \frac{x^3}{3}.

  5. V=3π643=64πV = 3\pi \cdot \frac{64}{3} = 64\pi

    Evaluate at the bounds: 433=643\frac{4^3}{3} = \frac{64}{3}, then multiply by 3π3\pi.

Answer: V=64π cubic feetV = 64\pi \text{ cubic feet}

Word problems often include fractional coefficients. This container problem demonstrates why the shell method is convenient: you can directly express the radius and height as functions of xx without needing to solve for xx in terms of yy.

Common mistakes

Where Volume by Shells usually goes wrong
Answer came out wrong
Writing V=πabxf(x)dxV = \pi\int_a^b x \, f(x) \, dx without the factor of 2.
Always include V=2πabxf(x)dxV = 2\pi\int_a^b x \, f(x) \, dx. If you forget the 2, your answer will be half the correct volume.
Using the shell method formula when the region is being rotated around the x-axis.
Read the problem carefully and sketch the region. If it says rotate around the x-axis, use the disk method; if around the y-axis, use shells.
Treating f(x)f(x) as the radius instead of the height of each shell.
Remember: radius is xx (how far the shell is from the y-axis), height is f(x)f(x) (how tall the region is at position xx). Check this setup against your sketch.
The mistakeWhy it is wrongThe fix
Writing V=πabxf(x)dxV = \pi\int_a^b x \, f(x) \, dx without the factor of 2.The circumference of a cylindrical shell at radius xx is 2πx2\pi x, not πx\pi x; the factor of 2 is essential.Always include V=2πabxf(x)dxV = 2\pi\int_a^b x \, f(x) \, dx. If you forget the 2, your answer will be half the correct volume.
Using the shell method formula when the region is being rotated around the x-axis.The shell method as stated applies only to rotation around the y-axis. If you rotate around the x-axis, you must use the disk method or adapt the formula by treating yy as the variable instead of xx.Read the problem carefully and sketch the region. If it says rotate around the x-axis, use the disk method; if around the y-axis, use shells.
Treating f(x)f(x) as the radius instead of the height of each shell.In V=2πabxf(x)dxV = 2\pi\int_a^b x \, f(x) \, dx, the variable xx is always the radius (distance from the y-axis) and f(x)f(x) is always the height. Swapping their roles means you integrate the wrong quantity and get a meaningless answer.Remember: radius is xx (how far the shell is from the y-axis), height is f(x)f(x) (how tall the region is at position xx). Check this setup against your sketch.

Tips and when to use something else

  • If you are rotating around the x-axis instead of the y-axis, switch to the disk method or use V=2πcdyg(y)dyV = 2\pi\int_c^d y \, g(y) \, dy where you treat yy as the variable of integration.
  • When f(x)f(x) is negative on part of the interval, only integrate over where it is positive, or split the integral at the point where f(x)=0f(x) = 0.
  • The shell method avoids having to solve y=f(x)y = f(x) for xx in terms of yy, which can be algebraically messy for complicated functions.
  • Always include the 2π2\pi factor—it comes from the circumference formula for a cylinder, and forgetting it is the most common error.

Frequently asked questions

Why do we use cylindrical shells instead of disks?
Shells are useful when you are rotating around the y-axis and it is easier to express the region as y=f(x)y = f(x) with xx as the independent variable. Disks work better when you have a function of yy, or when rotating around the x-axis. Choose whichever method requires less algebra.
What does the 2πx2\pi x term represent?
It is the circumference of a thin cylindrical shell at radius xx from the y-axis. When you "unwrap" a thin shell of height f(x)f(x) and thickness dxdx, its surface area is 2πxf(x)2\pi x \cdot f(x), and multiplying by the thickness dxdx gives the volume of that shell.
Can I use the shell method to rotate around the x-axis?
Yes, but you must swap the roles of xx and yy: use V=2πcdyg(y)dyV = 2\pi\int_c^d y \, g(y) \, dy, where gg is expressed as a function of yy and you integrate over the y-axis. If you apply the original formula to an x-axis rotation without this swap, you will get the wrong answer.
What if the function f(x)f(x) goes below the x-axis?
If f(x)f(x) is negative, it means the region extends below the x-axis. For rotation around the y-axis, only the distance from the y-axis matters, so you can use f(x)|f(x)| (the absolute value) or split the integral at each x-intercept and integrate each piece separately.

Need a different method?

The full solver is not scoped to one formula — type any problem and it will pick the method.

Open the math solver

Reviewed 2026-09-18