# Volumes with cross sections: triangles and semicircles

> AP Calculus AB · Applications of Integration
> Source: https://www.owlsprep.com/study/ap-calculus-ab-u8-volumes-with-cross-sections-triangles/

This module teaches you to calculate volumes of irregular 3D solids with known triangular and semicircular cross sections using the general slicing method, covering slicing perpendicular to both axes for the AP Calculus AB exam.

**Prerequisites:** [Definite integration for area between curves](https://www.owlsprep.com/study/ap-calculus-ab-u8-area-between-curves/); Basic geometry area formulas; Rewriting functions of $x$ as functions of $y$

## Learning objectives

- Apply the general slicing method to find volume of solids with known cross sections
- Calculate volume for solids with triangular cross sections (equilateral, isosceles right)
- Calculate volume for solids with semicircular cross sections
- Correctly set up integrals for slicing perpendicular to x or y axis

## General Method for Volumes with Known Cross Sections

Volumes with cross sections (often called volumes by slicing) is an application of definite integration that calculates the volume of irregular 3D solids where any cross section cut perpendicular to a fixed axis is a known shape. This topic makes up ~2-4% of your total AP Calculus AB exam score, appearing in both multiple-choice and free-response sections. The core idea is splitting the solid into infinitely many thin parallel slices, each with volume ≈ cross-sectional area × slice thickness, then integrating to get the exact total volume.

**Volume by Slicing** — A method for finding the volume of a solid with known cross-sectional shape, using definite integration to sum the volume of infinitely many thin slices.

*Example:* A solid with semicircular cross sections cut perpendicular to the x-axis

For cross sections perpendicular to the $x$-axis over interval $[a,b]$:

$$V = \int_a^b A(x) dx$$

For cross sections perpendicular to the $y$-axis over interval $[c,d]$:

$$V = \int_c^d A(y) dy$$

1. Identify slicing direction to know if you need $A(x)$ or $A(y)$
2. Find the length of the side/diameter of the cross section from base bounds
3. Calculate the cross-sectional area
4. Integrate over the full interval

**Worked example:** Set up, but do not evaluate, the integral for the volume of a solid whose base is bounded by the circle $x^2 + y^2 = 25$, with cross sections perpendicular to the $x$-axis that are semicircles with diameter lying on the base.

1. Identify slicing direction: Cross sections are perpendicular to the $x$-axis, so we need $A(x)$ and integrate with respect to $x$.
2. Find diameter length: Solve for $y$ to get bounds: $y = \pm \sqrt{25 - x^2}$. The diameter is the distance between upper and lower bound:
3. $$d(x) = \sqrt{25-x^2} - (-\sqrt{25-x^2}) = 2\sqrt{25-x^2}$$
4. Find cross-sectional area: Radius $r = d(x)/2 = \sqrt{25-x^2}$. Area of a semicircle:
5. $$A(x) = \frac{1}{2}\pi r^2 = \frac{1}{2}\pi (25-x^2)$$
6. The circle spans $x=-5$ to $x=5$, so the final integral for volume is:
7. $$V = \int_{-5}^5 \frac{1}{2}\pi (25-x^2) dx$$

> **Exam tip:** Always explicitly label whether your area is a function of $x$ or $y$ before setting up the integral; matching the variable of integration to the area function avoids common variable mix-ups.

## Volumes with Triangular Cross Sections

Triangular cross sections have one side lying on the base region of the solid. The general area formula for any triangle is $A = \frac{1}{2} \times \text{base} \times \text{height}$. For common triangular types tested on the exam, we derive fixed area formulas in terms of the side length $s$ (the side on the base):

- **Equilateral triangle with side $s$**: Height = $\frac{\sqrt{3}}{2}s$, so area $A = \frac{\sqrt{3}}{4}s^2$
- **Isosceles right triangle with leg $s$ on base**: Height = $s$, so area $A = \frac{1}{2}s^2$
- **Isosceles right triangle with hypotenuse $s$ on base**: Leg length = $\frac{s}{\sqrt{2}}$, so area $A = \frac{1}{4}s^2$

The base length $s$ is always calculated as the distance between the two bounding curves of the base: for x-axis slicing, $s(x) = y_{\text{upper}} - y_{\text{lower}}$; for y-axis slicing, $s(y) = x_{\text{right}} - x_{\text{left}}$.

**Worked example:** The base of a solid is the region bounded by $y = x^2$ and $y = 4x$. Cross sections perpendicular to the $x$-axis are equilateral triangles with base lying between the two curves. Find the volume of the solid.

1. Find bounds of integration by solving for intersections of the curves:
2. $$x^2 = 4x \implies x(x-4) = 0 \implies x=0, x=4$$
3. Base length of the equilateral triangle is:
4. $$s(x) = 4x - x^2$$
5. Calculate cross-sectional area:
6. $$A(x) = \frac{\sqrt{3}}{4}s(x)^2 = \frac{\sqrt{3}}{4}(4x - x^2)^2 = \sqrt{3}\left(4x^2 - 2x^3 + \frac{x^4}{4}\right)$$
7. Integrate over the interval to get total volume:
8. $$\begin{align*}V &= \sqrt{3} \int_0^4 \left(4x^2 - 2x^3 + \frac{x^4}{4}\right) dx \\&= \sqrt{3} \left[ \frac{4x^3}{3} - \frac{x^4}{2} + \frac{x^5}{20} \right]_0^4 \\&= \frac{128\sqrt{3}}{15} \approx 14.78\end{align*}$$

> **Exam tip:** Always confirm whether the base of the triangle or the hypotenuse lies on the base region; swapping these gives the wrong area formula, the most common MCQ distractor.

## Volumes with Semicircular Cross Sections

Semicircular cross sections almost always have their diameter lying on the base region, so the diameter length equals the distance between the base's two bounding curves. Starting from the semicircle area formula, we get a useful time-saving shortcut:

$$A = \frac{1}{2}\pi r^2 = \frac{1}{2}\pi \left(\frac{d}{2}\right)^2 = \frac{\pi d^2}{8}$$

You can always re-derive this shortcut if you forget it. For slicing perpendicular to the y-axis, just calculate $d(y)$ as the difference between the right and left x-values, then integrate with respect to y.

**Worked example:** The base of a solid is the region bounded by $y = x^2$, $x=0$, and $y=9$. Cross sections perpendicular to the $y$-axis are semicircles with diameter lying on the base. Find the volume of the solid.

1. Slicing perpendicular to the y-axis, so rewrite $y = x^2$ as $x = \sqrt{y}$ for $x \geq 0$, and use $A(y)$.
2. Find diameter, with $y$ bounded from 0 to 9:
3. $$d(y) = \sqrt{y} - 0 = \sqrt{y}$$
4. Calculate cross-sectional area using the shortcut:
5. $$A(y) = \frac{\pi d(y)^2}{8} = \frac{\pi (\sqrt{y})^2}{8} = \frac{\pi y}{8}$$
6. Integrate to get total volume:
7. $$V = \int_0^9 \frac{\pi y}{8} dy = \frac{\pi}{8} \left[ \frac{y^2}{2} \right]_0^9 = \frac{81\pi}{16} \approx 15.90$$

> **Exam tip:** Remember that semicircle area is half the area of a full circle; using the full circle area formula instead leads to double the correct volume, a very common error.

## AP-Style Practice Problems

**Check your understanding**

Test your understanding with this AP-style multiple choice question:

1. The base of a solid is the region bounded by $y = \sqrt{x}$, $y = 0$, and $x = 4$. Cross sections perpendicular to the $x$-axis are semicircles with diameter on the base. What is the volume of the solid?

   - (A) $2\pi$
   - (B) $4\pi$
   - (C) $\pi$
   - (D) $\frac{\pi}{2}$

   *Why:* Slicing perpendicular to x-axis, bounds 0 to 4, diameter $d(x) = \sqrt{x}$, area $A(x) = \frac{\pi x}{8}$, integration gives $V = \pi$.

**Worked example:** The base of a solid is the region $R$ bounded by $y = -x^2 + 4$ and the $x$-axis. (a) Cross sections perpendicular to the $x$-axis are isosceles right triangles with one leg on the base. Find the volume. (b) Cross sections perpendicular to the $y$-axis are semicircles with diameter on the base: set up the integral. (c) Set up the integral if cross sections are equilateral triangles perpendicular to the x-axis.

1. Part (a): Bounds are found by setting $-x^2 + 4 = 0 \implies x = \pm 2$, so $x \in [-2, 2]$. Leg length $s(x) = -x^2 + 4$, area $A(x) = \frac{1}{2}(-x^2 + 4)^2$.
2. Integrate using symmetry to simplify:
3. $$\begin{align*}V &= \int_{-2}^2 \frac{1}{2}(x^4 - 8x^2 + 16) dx = \int_0^2 (x^4 - 8x^2 + 16) dx \\&= \frac{256}{15} \approx 17.07\end{align*}$$
4. Part (b): Rewrite as function of $y$: $x = \pm \sqrt{4 - y}$, $y \in [0,4]$. Diameter $d(y) = 2\sqrt{4-y}$, area $A(y) = \frac{\pi}{2}(4-y)$. The integral is:
5. $$V = \int_0^4 \frac{\pi}{2}(4 - y) dy$$
6. Part (c): For equilateral triangles with side $s(x) = -x^2 + 4$, the integral is:
7. $$V = \int_{-2}^2 \frac{\sqrt{3}}{4}(-x^2 + 4)^2 dx$$

**Worked example:** A civil engineer designs a curved pedestrian overpass with semicircular cross sections perpendicular to its length. The overpass spans $x=0$ to $x=20$ meters, and the diameter of each cross section at position $x$ is $d(x) = 4 + 0.1x$ meters, with diameter on the ground plane. What is the total volume of concrete needed, to the nearest tenth of a cubic meter?

1. Slicing perpendicular to the x-axis from 0 to 20. Cross-sectional area is:
2. $$A(x) = \frac{\pi (4 + 0.1x)^2}{8} = \frac{\pi}{8}(16 + 0.8x + 0.01x^2)$$
3. Integrate to get total volume:
4. $$\begin{align*}V &= \frac{\pi}{8} \int_0^{20} (16 + 0.8x + 0.01x^2) dx \\&= \frac{\pi}{8} \left[ 16x + 0.4x^2 + \frac{0.01x^3}{3} \right]_0^{20} \\&\approx 199.0\end{align*}$$
5. The total volume of concrete needed is approximately 199.0 cubic meters.

## Common pitfalls

- **Wrong:** Using $\frac{1}{2}s^2$ as the area for an isosceles right triangle with hypotenuse $s$ on the base.
  - Why it fails: Students memorize the formula for leg on base and forget to adjust when the hypotenuse is on the base.
  - Correct: Always derive the area from $\frac{1}{2} \times \text{base} \times \text{height}$ using the given side location, rather than relying on memorized formulas.
- **Wrong:** Taking $r = d$ (full diameter length) as the radius for a semicircular cross section.
  - Why it fails: Students rush when writing the area formula and skip dividing the diameter by 2.
  - Correct: Write down diameter, then radius, then area step-by-step every time, even if you remember the shortcut.
- **Wrong:** Writing $A(x)$ and integrating with respect to $x$ when cross sections are perpendicular to the $y$-axis.
  - Why it fails: Students are used to slicing along the $x$-axis and forget to switch variables.
  - Correct: After identifying the slicing direction, explicitly note 'perpendicular to $x$ → integrate with respect to $x$' or 'perpendicular to $y$ → integrate with respect to $y$' at the top of your work.
- **Wrong:** Taking base length as only the upper $y$-value, instead of upper $y$ minus lower $y$, when the base spans from negative $y$ to positive $y$.
  - Why it fails: When one bound is the $x$-axis ($y=0$), students get used to just taking the upper $y$, and forget to adjust for symmetric regions centered at the origin.
  - Correct: Always calculate base length as upper boundary minus lower boundary, regardless of whether the lower bound is zero.
- **Wrong:** Only integrating from $0$ to $a$ for a symmetric base centered at the origin that spans from $-a$ to $a$.
  - Why it fails: Students only consider the positive half of the region and miss the negative half.
  - Correct: Always find all intersection points of the bounding curves to get the full interval of integration.
- **Wrong:** Misremembering the semicircle shortcut as $A = \frac{\pi r^2}{8}$ instead of $A = \frac{\pi d^2}{8}$.
  - Why it fails: Students mix up whether the shortcut is in terms of diameter or radius.
  - Correct: Re-derive the area formula from scratch if you can't remember the shortcut.

## Cheatsheet

| Category | Formula | Notes |
| --- | --- | --- |
| General Volume (perpendicular to $x$-axis) | $V = \int_a^b A(x) dx$ | $A(x)$ = cross-sectional area at $x$, $a,b$ are $x$-bounds of base |
| General Volume (perpendicular to $y$-axis) | $V = \int_c^d A(y) dy$ | $A(y)$ = cross-sectional area at $y$, $c,d$ are $y$-bounds of base |
| Equilateral triangle (side $s$ on base) | $A = \frac{\sqrt{3}}{4} s^2$ | Works for all equilateral triangular cross sections |
| Isosceles right triangle (leg $s$ on base) | $A = \frac{1}{2} s^2$ | $s$ = length of leg on the base region |
| Isosceles right triangle (hypotenuse $s$ on base) | $A = \frac{1}{4} s^2$ | $s$ = length of hypotenuse on the base region |
| Semicircle (diameter $d$ on base) | $A = \frac{\pi d^2}{8}$ | Shortcut from $A = \frac{1}{2}\pi r^2$, $r = d/2$ |
| Base length ($x$-axis slicing) | $s(x) = y_{\text{upper}} - y_{\text{lower}}$ | Always upper minus lower, even if lower bound is $y=0$ |
| Base length ($y$-axis slicing) | $s(y) = x_{\text{right}} - x_{\text{left}}$ | Always right minus left, even if left bound is $x=0$ |

## What's next

This topic of volumes by slicing with cross sections is a direct prerequisite for volumes of revolution, the next major topic in Unit 8 Applications of Integration. Volumes of revolution are just a special case of volumes with known cross sections, where each cross section is a circle or washer, so mastering setup of $A(x)$ and matching integration variables here will make volumes of revolution far more intuitive. This topic also reinforces the core idea of definite integration as summing infinitely many small quantities to get a total, building on your prior knowledge of area between curves. This general slicing method extends to other integration applications, and is required for arc length and surface area if you continue to AP Calculus BC.

- [Disc method around the x- or y-axis](https://www.owlsprep.com/study/ap-calculus-ab-u8-disc-method-around-the-x/)
- [Disc method around other axes](https://www.owlsprep.com/study/ap-calculus-ab-u8-disc-method-around-other-axes/)
- [Washer method around the x- or y-axis](https://www.owlsprep.com/study/ap-calculus-ab-u8-washer-method-around-the-x/)

---

From [OwlsPrep](https://www.owlsprep.com) — free study guides for A-Level, IB, AP and IGCSE, written against the official syllabus. Canonical page: https://www.owlsprep.com/study/ap-calculus-ab-u8-volumes-with-cross-sections-triangles/
