Achievable logoAchievable logo
AP Calculus AB
Sign in
Sign up
Purchase
Textbook
Practice exams
Support
How it works
Exam catalog
Mountain with a flag at the peak
Textbook
Introduction
1. Limits
2. Derivative basics
3. Advanced differentiation
4. Contextual uses
5. Analytical uses
6. Integration
7. Differential equations
8. Applications of integrals
8.1 Average value of a function
8.2 Motion with integrals
8.3 Area between curves
8.4 Volume
8.4.1 Cross section method
8.4.2 Disk & washer methods
9. Testing details tag
Wrapping up
Achievable logoAchievable logo
8.4.1 Cross section method
Achievable AP Calculus AB
8. Applications of integrals
8.4. Volume
Our AP Calculus AB course is currently in development and is a work-in-progress.

Cross section method

10 min read
Font
Discuss
Share
Feedback

What you’ll learn:

  • How integrals calculate volume
  • Set up and compute volumes of solids with known cross-sectional areas

We’ve seen that integrals compute area by adding up infinitely thin rectangles over an interval. Each rectangle has width dx and height given by either the function value f(x) or the distance between two curves.

That same “add up thin slices” idea works for 3D solids. Instead of rectangles, you slice the solid into infinitely thin cross sections - flat 2D slices perpendicular to an axis (usually the x- or y-axis). In these problems, the cross sections are usually familiar shapes such as squares, rectangles, triangles (equilateral, isosceles, or right), semicircles, and quarter circles. If you can write the area of a typical cross section as a function of position, then integrating that area over an interval gives the volume.

To see what solids with certain cross sections look like, visit this GeoGebra application.

When cross sections are perpendicular to the x-axis, use

V=∫x=ax=b​A(x)dx

and when they are perpendicular to the y-axis, use

V=∫y=cy=d​A(y)dy

The expressions for A(x) and A(y) (the area of a cross section) depend on the specific geometrical shape.

Example 1: squares

Use the formula for the area of a square A=s2.

Here, s is the distance between the curves. That distance becomes the side length of the square at a given x (or at a given y, depending on the slicing direction).

The region bounded by y=x​,y=−x​, and x=4 forms the base of a solid. Find the volume of the solid where the cross sections are:

a) Squares perpendicular to the x-axis.
b) Squares perpendicular to they-axis.

Solutions

a) Squares perpendicular to the x-axis

(spoiler)

Here’s a visual of the curve with two sample cross-sectional slices. When you set up these problems, it helps to sketch the region in the xy-plane and draw one or two representative slices. The sketch doesn’t need to be 3D - what matters is that you can identify the side length s.

Squares perpendicular to the x-axis
Squares perpendicular to the x-axis

s is the distance between the curves y=x​ and y=−x​:

s=x​−(−x​)

=2x​

The area of each cross section is

A(x)=(2x​)2

=4x

The interval to integrate over is from x=0 to x=4, so the volume of the solid is

V=∫04​(4x)dx

=2x2​04​

=32​

b) Squares perpendicular to the y-axis

(spoiler)

Here’s a visual of two slices perpendicular to the y-axis.

Squares perpendicular to the y-axis
Squares perpendicular to the y-axis

Since the slices are perpendicular to the y-axis, the area function depends on y. Rewrite the curve in terms of y:

x=y2

The side length s is the horizontal distance from the left boundary x=y2 to the right boundary x=4:

s=4−y2

The area of each cross section is

A(y)=(4−y2)2

The curve x=y2 meets x=4 at (4,2) and (4,−2), so the interval is y∈[−2,2]. The volume is

V=∫−22​(4−y2)2dy

=∫−22​(16−8y2+y4)dy

=34.133​

Example 2: rectangles

Use A=s×h.

Here, h is given in the problem, and s is the distance between the curves.

The region bounded by y=x and y=x2 forms the base of a solid. Find the volume when the cross sections are:

a) Rectangles perpendicular to the x-axis with height 1.5.
b) Rectangles perpendicular to they-axis with height 2 times the length of the base.

Solutions

a) Perpendicular to the x-axis with height 1.5

(spoiler)

s, the length of the base, is the distance between the curves (top minus bottom):

s=x−x2

The height is a constant 1.5, so the area of each cross section is

A(x)=1.5(x−x2)

The curves intersect at (0,0) and (1,1), so the interval is x∈[0,1]. The volume is

V=∫01​1.5(x−x2)dx

=0.25​

b) Perpendicular to the y-axis with height 2 times the length of the base

(spoiler)

Write the curves in terms of y:

  • x=y​
  • x=y

s, the length of the base, is the horizontal distance (right minus left):

s=y​−y

The height is twice the base length:

h=2(y​−y)

So the area of each cross section is

A(y)=(y​−y)×2(y​−y)

=2(y​−y)2

The interval is y∈[0,1]. The volume is

V=∫01​2(y​−y)2dy

=0.067​

Example 3: equilateral triangles

Use the area formula A=43​​s2.

The region bounded by y=x1​ and the lines y=0.5,y=2, and x=−1 forms the base of a solid. Find the volume of the solid if cross sections perpendicular to the y-axis are equilateral triangles.

Solution

(spoiler)

Slices perpendicular to the y-axis depend on y. Each triangle’s side length s is the horizontal distance from the left boundary x=−1 to the right boundary x=y1​:

s=y1​+1

The area of each cross section is

A(y)=43​​(y1​+1)2

The interval is from y=0.5 to y=2, so the volume is

V=43​​∫0.52​(y1​+1)2dy

=2.500​

Example 4: isosceles right triangles

There are two possibilities here:

  1. Hypotenuse as the base
  2. Leg as the base

Case 1: Hypotenuse as base

Here, the distance between the curves s is the hypotenuse of a 45−45−90° triangle. Each leg has length 2​s​, so the area of each cross section is

A=21​(2​s​)2

=41​s2

The region bounded by the line y=x−1, the x-axis, and the y-axis forms the base of a solid. Find the volume if the cross sections perpendicular to the y-axis are isosceles right triangles whose hypotenuses lie along the base of the region.

Solution

(spoiler)

Slices perpendicular to the y-axis depend on y. The hypotenuse length s is the horizontal distance from x=0 (the y-axis) to x=y+1:

s=y+1

So the area of each cross section is

A(y)=41​(y+1)2

The interval is from y=−1 to y=0, so the volume is

V=41​∫−10​(y+1)2dy

=0.0833​

Case 2: Leg as base

Here, the distance between the curves s is a leg of the isosceles right triangle. The other leg is also s, so the area formula is

A=21​s2

The region bounded by the line y=x−1, the x-axis, and the y-axis forms the base of a solid. Find the volume if the cross sections perpendicular to the x-axis are isosceles right triangles whose legs lie along the base of the region.

Solution

(spoiler)

s is the vertical distance from the top boundary y=0 (the x-axis) to the bottom boundary y=x−1:

s=0−(x−1)

=1−x

So the area of each cross section is

A(x)=21​(1−x)2

The interval is from x=0 to x=1, so the volume is

V=21​∫01​(1−x)2dx

=0.167​

Example 5: semi-circles & quarter circles

The area of a semicircle is A=21​πr2. Here, the radius r is half the distance between the curves, so

A=21​π(2s​)2

=8π​s2

The region bounded by the curves y=ex and y=−x and the y-axis forms the base of a solid. Find its volume if the cross sections are semi-circles perpendicular to the x-axis. Use a calculator to evaluate after setting up the integral.

Solution

(spoiler)

s, the distance between the curves, is top minus bottom:

s=ex−(−x)

=ex+x

So the area of each cross section is

A(x)=8π​(ex+x)2

Graphing the two functions on Desmos shows that they intersect at (−0.56714,0.56714). The interval is from x=−0.56714 to x=0, so the volume is

V=8π​∫−0.567140​(ex+x)2dx

=0.0697​

The area of a quarter circle is A=41​πr2. This time, the radius is the full distance between the curves, so

A=4π​s2

The region bounded by the curves y=ex and y=−x and the y-axis forms the base of a solid. Find its volume if the cross sections are quarter circles perpendicular to the y-axis.

Solution

(spoiler)

Since the slices are perpendicular to the y-axis, rewrite the curves in terms of y:

  1. x=−y
  2. x=ln(y)

From y=0 up to the intersection point (−0.56714,0.56714), the radius s is the distance from x=−y to the y-axis x=0 (right minus left):

s=0−(−y)

s=y

So the area of each cross section is

A1​(y)=4π​y2

The volume for that portion is

V1​=4π​∫00.56714​y2dy

=0.0478

From y=0.56714 to y=1, the radius is the distance from x=ln(y) to the y-axis:

s=0−(ln(y))

=−ln(y)

So the area of each cross section is

A2​(y)=4π​(−ln(y))2

=4π​ln2(y)

The volume for that portion is

V2​=4π​∫0.567141​ln2(y)dy

=0.0314

The total volume of the solid is

V1​+V2​=0.0478+0.0314

=0.0792​

Always identify:

  • The direction of slicing (perpendicular to x or y-axis) to determine the expression for the side length s.
  • The area formula A(x) or A(y) depending on the shape of the cross section
  • The limits of integration

Common area formulas, where s is the distance between the curves and/or axes that defines the size of the shape:

Shape Area
Square A=s2
Rectangle A=s×h
Equilateral triangle A=43​​s2
Isosceles right triangle, hypotenuse as base A=41​s2
Isosceles right triangle, leg as base A=21​s2
Semicircle A=8π​s2
Quarter circle A=4π​s2

Sign up for free to take 5 quiz questions on this topic

All rights reserved ©2016 - 2026 Achievable, Inc.

Cross section method

What you’ll learn:

  • How integrals calculate volume
  • Set up and compute volumes of solids with known cross-sectional areas

We’ve seen that integrals compute area by adding up infinitely thin rectangles over an interval. Each rectangle has width dx and height given by either the function value f(x) or the distance between two curves.

That same “add up thin slices” idea works for 3D solids. Instead of rectangles, you slice the solid into infinitely thin cross sections - flat 2D slices perpendicular to an axis (usually the x- or y-axis). In these problems, the cross sections are usually familiar shapes such as squares, rectangles, triangles (equilateral, isosceles, or right), semicircles, and quarter circles. If you can write the area of a typical cross section as a function of position, then integrating that area over an interval gives the volume.

To see what solids with certain cross sections look like, visit this GeoGebra application.

When cross sections are perpendicular to the x-axis, use

V=∫x=ax=b​A(x)dx

and when they are perpendicular to the y-axis, use

V=∫y=cy=d​A(y)dy

The expressions for A(x) and A(y) (the area of a cross section) depend on the specific geometrical shape.

Example 1: squares

Use the formula for the area of a square A=s2.

Here, s is the distance between the curves. That distance becomes the side length of the square at a given x (or at a given y, depending on the slicing direction).

The region bounded by y=x​,y=−x​, and x=4 forms the base of a solid. Find the volume of the solid where the cross sections are:

a) Squares perpendicular to the x-axis.
b) Squares perpendicular to they-axis.

Solutions

a) Squares perpendicular to the x-axis

(spoiler)

Here’s a visual of the curve with two sample cross-sectional slices. When you set up these problems, it helps to sketch the region in the xy-plane and draw one or two representative slices. The sketch doesn’t need to be 3D - what matters is that you can identify the side length s.

s is the distance between the curves y=x​ and y=−x​:

s=x​−(−x​)

=2x​

The area of each cross section is

A(x)=(2x​)2

=4x

The interval to integrate over is from x=0 to x=4, so the volume of the solid is

V=∫04​(4x)dx

=2x2​04​

=32​

b) Squares perpendicular to the y-axis

(spoiler)

Here’s a visual of two slices perpendicular to the y-axis.

Since the slices are perpendicular to the y-axis, the area function depends on y. Rewrite the curve in terms of y:

x=y2

The side length s is the horizontal distance from the left boundary x=y2 to the right boundary x=4:

s=4−y2

The area of each cross section is

A(y)=(4−y2)2

The curve x=y2 meets x=4 at (4,2) and (4,−2), so the interval is y∈[−2,2]. The volume is

V=∫−22​(4−y2)2dy

=∫−22​(16−8y2+y4)dy

=34.133​

Example 2: rectangles

Use A=s×h.

Here, h is given in the problem, and s is the distance between the curves.

The region bounded by y=x and y=x2 forms the base of a solid. Find the volume when the cross sections are:

a) Rectangles perpendicular to the x-axis with height 1.5.
b) Rectangles perpendicular to they-axis with height 2 times the length of the base.

Solutions

a) Perpendicular to the x-axis with height 1.5

(spoiler)

s, the length of the base, is the distance between the curves (top minus bottom):

s=x−x2

The height is a constant 1.5, so the area of each cross section is

A(x)=1.5(x−x2)

The curves intersect at (0,0) and (1,1), so the interval is x∈[0,1]. The volume is

V=∫01​1.5(x−x2)dx

=0.25​

b) Perpendicular to the y-axis with height 2 times the length of the base

(spoiler)

Write the curves in terms of y:

  • x=y​
  • x=y

s, the length of the base, is the horizontal distance (right minus left):

s=y​−y

The height is twice the base length:

h=2(y​−y)

So the area of each cross section is

A(y)=(y​−y)×2(y​−y)

=2(y​−y)2

The interval is y∈[0,1]. The volume is

V=∫01​2(y​−y)2dy

=0.067​

Example 3: equilateral triangles

Use the area formula A=43​​s2.

The region bounded by y=x1​ and the lines y=0.5,y=2, and x=−1 forms the base of a solid. Find the volume of the solid if cross sections perpendicular to the y-axis are equilateral triangles.

Solution

(spoiler)

Slices perpendicular to the y-axis depend on y. Each triangle’s side length s is the horizontal distance from the left boundary x=−1 to the right boundary x=y1​:

s=y1​+1

The area of each cross section is

A(y)=43​​(y1​+1)2

The interval is from y=0.5 to y=2, so the volume is

V=43​​∫0.52​(y1​+1)2dy

=2.500​

Example 4: isosceles right triangles

There are two possibilities here:

  1. Hypotenuse as the base
  2. Leg as the base

Case 1: Hypotenuse as base

Here, the distance between the curves s is the hypotenuse of a 45−45−90° triangle. Each leg has length 2​s​, so the area of each cross section is

A=21​(2​s​)2

=41​s2

The region bounded by the line y=x−1, the x-axis, and the y-axis forms the base of a solid. Find the volume if the cross sections perpendicular to the y-axis are isosceles right triangles whose hypotenuses lie along the base of the region.

Solution

(spoiler)

Slices perpendicular to the y-axis depend on y. The hypotenuse length s is the horizontal distance from x=0 (the y-axis) to x=y+1:

s=y+1

So the area of each cross section is

A(y)=41​(y+1)2

The interval is from y=−1 to y=0, so the volume is

V=41​∫−10​(y+1)2dy

=0.0833​

Case 2: Leg as base

Here, the distance between the curves s is a leg of the isosceles right triangle. The other leg is also s, so the area formula is

A=21​s2

The region bounded by the line y=x−1, the x-axis, and the y-axis forms the base of a solid. Find the volume if the cross sections perpendicular to the x-axis are isosceles right triangles whose legs lie along the base of the region.

Solution

(spoiler)

s is the vertical distance from the top boundary y=0 (the x-axis) to the bottom boundary y=x−1:

s=0−(x−1)

=1−x

So the area of each cross section is

A(x)=21​(1−x)2

The interval is from x=0 to x=1, so the volume is

V=21​∫01​(1−x)2dx

=0.167​

Example 5: semi-circles & quarter circles

The area of a semicircle is A=21​πr2. Here, the radius r is half the distance between the curves, so

A=21​π(2s​)2

=8π​s2

The region bounded by the curves y=ex and y=−x and the y-axis forms the base of a solid. Find its volume if the cross sections are semi-circles perpendicular to the x-axis. Use a calculator to evaluate after setting up the integral.

Solution

(spoiler)

s, the distance between the curves, is top minus bottom:

s=ex−(−x)

=ex+x

So the area of each cross section is

A(x)=8π​(ex+x)2

Graphing the two functions on Desmos shows that they intersect at (−0.56714,0.56714). The interval is from x=−0.56714 to x=0, so the volume is

V=8π​∫−0.567140​(ex+x)2dx

=0.0697​

The area of a quarter circle is A=41​πr2. This time, the radius is the full distance between the curves, so

A=4π​s2

The region bounded by the curves y=ex and y=−x and the y-axis forms the base of a solid. Find its volume if the cross sections are quarter circles perpendicular to the y-axis.

Solution

(spoiler)

Since the slices are perpendicular to the y-axis, rewrite the curves in terms of y:

  1. x=−y
  2. x=ln(y)

From y=0 up to the intersection point (−0.56714,0.56714), the radius s is the distance from x=−y to the y-axis x=0 (right minus left):

s=0−(−y)

s=y

So the area of each cross section is

A1​(y)=4π​y2

The volume for that portion is

V1​=4π​∫00.56714​y2dy

=0.0478

From y=0.56714 to y=1, the radius is the distance from x=ln(y) to the y-axis:

s=0−(ln(y))

=−ln(y)

So the area of each cross section is

A2​(y)=4π​(−ln(y))2

=4π​ln2(y)

The volume for that portion is

V2​=4π​∫0.567141​ln2(y)dy

=0.0314

The total volume of the solid is

V1​+V2​=0.0478+0.0314

=0.0792​

Key points

Always identify:

  • The direction of slicing (perpendicular to x or y-axis) to determine the expression for the side length s.
  • The area formula A(x) or A(y) depending on the shape of the cross section
  • The limits of integration

Common area formulas, where s is the distance between the curves and/or axes that defines the size of the shape:

Shape Area
Square A=s2
Rectangle A=s×h
Equilateral triangle A=43​​s2
Isosceles right triangle, hypotenuse as base A=41​s2
Isosceles right triangle, leg as base A=21​s2
Semicircle A=8π​s2
Quarter circle A=4π​s2