How to Find the Volume of a Solid with Square Cross-Sections Over a Triangle
At a glance
- 1. Describe the triangle
Choose coordinates and identify the interval over which the slices run.
- 2. Find each square’s side
At each position, measure the segment inside the triangular base perpendicular to the slicing direction.
- 3. Square the side length
The cross-sectional area is the side length squared.
- 4. Integrate the area
Integrate that area across the triangle’s full interval to obtain the volume.
A solid with a triangular base and square cross-sections is found by adding the areas of its square slices. The key step is to determine the side length of a typical square from the triangular base; that length usually changes from slice to slice.
The triangle’s dimensions and the direction of the cross-sections determine the numerical volume. The method below gives a general formula for a right triangle, followed by a worked example.
The cross-section formula
Suppose the base is a right triangle with legs of lengths and . Put the triangle in the coordinate plane with vertices , , and . Its sloping side has equation
Take square cross-sections in planes perpendicular to the -axis. At a particular value of , the vertical segment inside the triangular base runs from to . This segment is the side of the square, so its length is
The cross-sectional area is the square of that length:
To find the solid’s volume, integrate the area from the left end of the triangle to the right end:
This formula assumes the squares are built on cross-sections perpendicular to the leg of length . If you instead slice perpendicular to the leg of length , the changing square side runs along the other leg, and the result is .
Worked example
Let the triangular base have vertices , , and . The legs have lengths and . Cross-sections perpendicular to the -axis are squares.
The line joining to has slope , so its equation is . At position , the side length of the square is therefore , and its area is
Integrate over :
The volume is 32 cubic units. The general formula gives the same result: .
Why the integral works
A thin slice of the solid has approximate volume equal to its cross-sectional area multiplied by its small thickness. For a slice at position , that is approximately . Adding many such slices approximates the whole solid; taking the limit as the thickness shrinks gives the definite integral .
The slice thickness must be measured in the direction in which the cross-sections are stacked. In the example, the slices run from to , so the thickness is and the limits are 0 and 6.
Common mistakes
- Using the triangle’s area as the cross-sectional area. The base is triangular, but each slice is square. Its area is the square of the segment length in the base.
- Using the side length instead of its square. Integrating gives an area-like quantity, not volume. Use .
- Choosing the wrong limits. The limits cover the full range of slice positions. For slices perpendicular to the -axis in the example, they are 0 and 6.
- Ignoring the slicing direction. A slice perpendicular to a different axis may have a different side-length function and a different volume. State the direction before setting up the integral.
- Forgetting cubic units. Integrating an area over a length gives volume, so the result has units such as cubic centimeters or cubic meters.
If a problem gives a different triangle or a different direction for the cross-sections, use the same method: find the segment cut from the base by one slice, square its length, and integrate over the interval of slices.
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.