Visualizing Volume of Solids with Desmos 3D

March 2026 · AP Calculus, Desmos, Volume of Solids of Revolution

One of the hardest things about computing volumes in calculus is building the right mental picture. You're told to "revolve the region about the x-axis" or "use shells about a vertical line," but what does that actually look like? These interactive Desmos 3D widgets let you see the solid being constructed in real time, rotate it in space, and adjust sliders to change the functions and bounds.

There are 11 widgets in total, covering the three main approaches to computing volume: the washer method, the shell method, and the cross-section method. Each comes in multiple variants depending on the axis of revolution or the shape of the cross section. All of them are also available on the Tools page if you want the widgets without the commentary.

Quick Reference: When to Use Each Method

Method Slicing Direction Typical Integral Best When
Washers Perpendicular to the axis of revolution $\displaystyle V = \pi\int_a^b \bigl[R(x)^2 - r(x)^2\bigr]\,dx$ Both curves are easy to express as functions of the integration variable
Shells Parallel to the axis of revolution $\displaystyle V = 2\pi\int_a^b r(x)\cdot h(x)\,dx$ Solving for the other variable would be messy, or the region is easier to describe in one direction
Cross Sections Perpendicular to an axis (no revolution) $\displaystyle V = \int_a^b A(x)\,dx$ The solid is not a surface of revolution; instead, each slice has a known geometric shape

The Washer Method

When you revolve a region around an axis, each thin slice perpendicular to that axis sweeps out a washer: a disk with a hole in the middle. The outer radius $R$ comes from whichever curve is farther from the axis, and the inner radius $r$ comes from the curve that's closer. If the inner radius is zero (only one curve bounding the region), the washer reduces to a plain disk.

The four washer widgets cover every combination you'll encounter in AP Calculus. The first two revolve about horizontal lines (including the x-axis as a special case), and the second two revolve about vertical lines (including the y-axis).

Washers about the x-axis

This is the most common starting point. Two curves $f(x)$ and $g(x)$ bound a region, and you revolve around $y = 0$. The outer radius at each $x$ is the curve that's farther from the x-axis, and the inner radius is the curve that's closer. Drag the slider to sweep the washer from left to right and watch the solid build up.

Washers (x-axis) — Open in Desmos

Washers about a horizontal axis

When the axis of revolution is $y = k$ rather than $y = 0$, the radii change. The outer radius becomes $|f(x) - k|$ and the inner radius becomes $|g(x) - k|$. This widget lets you move the axis up and down and see how it changes the shape of the solid. Pay attention to what happens when the axis moves outside the region vs. between the two curves.

Washers (Horizontal Axis) — Open in Desmos

Washers about the y-axis and vertical axes

When revolving about a vertical axis, you integrate with respect to $y$. The radii are now horizontal distances from the axis to the curves. In the y-axis version, you need the curves expressed as functions of $y$ (or use their inverses). The vertical-axis variant adds a movable axis $x = k$.

Washers (y-axis) — Open in Desmos
Washers (Vertical Axis) — Open in Desmos

The Shell Method

The shell method takes a different approach. Instead of slicing perpendicular to the axis, you slice parallel to it. Each thin strip of the region, when revolved, sweeps out a cylindrical shell. The volume of each shell is its circumference ($2\pi r$) times its height ($h$) times its thickness ($dx$ or $dy$).

The shell method is especially useful when the washer method would require you to solve for $x$ in terms of $y$ (or vice versa) and the resulting expression is complicated. As a rule of thumb: if the axis of revolution is vertical and the region is described naturally in terms of $x$, shells are often the easier path.

Shells about horizontal axes

When the axis of revolution is horizontal, you integrate with respect to $y$, and each shell has its axis running left to right. The radius of each shell is the vertical distance from the strip to the axis, and the height is the horizontal width of the region at that $y$-value.

Shells (x-axis) — Open in Desmos
Shells (Horizontal Axis) — Open in Desmos

Shells about vertical axes

This is probably the most common use of the shell method: revolving about the y-axis (or a vertical line) while integrating with respect to $x$. The radius of each shell is the horizontal distance from $x$ to the axis, and the height is $f(x) - g(x)$. No need to solve for inverse functions.

Shells (y-axis) — Open in Desmos
Shells (Vertical Axis) — Open in Desmos

The Cross-Section Method

Not every volume problem involves revolution. Sometimes you're told that the base of a solid is the region between two curves, and that cross sections perpendicular to the x-axis have a particular shape: squares, semicircles, equilateral triangles, and so on. The side length (or diameter) of each cross section is typically $f(x) - g(x)$, the vertical distance between the two curves at that point.

These solids can be hard to picture from a textbook diagram alone, which is exactly why the 3D view helps. In each widget below, you can drag to rotate the solid and see how the cross-sectional shapes stack up to form the volume.

Square cross sections

Each slice is a square whose side length $s = f(x) - g(x)$. The area of each slice is $s^2$, so the volume integral is $\displaystyle V = \int_a^b [f(x) - g(x)]^2\,dx$.

Cross Sections (Squares) — Open in Desmos

Semicircular cross sections

Each slice is a semicircle whose diameter equals $f(x) - g(x)$. The radius is half that, so the area of each slice is $\frac{1}{2}\pi\left(\frac{f(x)-g(x)}{2}\right)^2$. The resulting solid has a smooth, rounded profile.

Cross Sections (Semicircles) — Open in Desmos

Equilateral triangle cross sections

Each slice is an equilateral triangle with side length $s = f(x) - g(x)$. The area of an equilateral triangle with side $s$ is $\frac{\sqrt{3}}{4}s^2$, so $\displaystyle V = \frac{\sqrt{3}}{4}\int_a^b [f(x) - g(x)]^2\,dx$.

Cross Sections (Equilateral Triangles) — Open in Desmos

Tips for Using the Widgets

A few things that will help you get the most out of these visualizations:

Rotate freely. Click and drag to orbit the 3D view. Many of these solids look confusing from the default angle but make perfect sense once you rotate to look down the axis of revolution, or view the solid from the side.

Use the sliders. The Desmos expression panel (on the left side of each widget) typically has sliders for the bounds of integration and sometimes for the functions themselves. Drag these to watch the solid grow or change shape in real time.

Make a copy and customize. Click the Desmos logo or the "Open in Desmos" link below each widget to open the full editor. From there you can duplicate the graph and swap in your own functions, change the bounds, or adjust the axis of revolution to match a specific homework problem.

Compare methods. For any region that gets revolved about an axis, try both the washer and shell widgets with the same functions. Seeing the same solid built two different ways reinforces why the two integrals give the same answer.

← Back to Blog