Applications: Area, Volume, and Average Value
Learning Objectives
- Set up the area between two curves as , splitting at crossings and choosing or to avoid splitting.
- Compute volumes from cross-sectional areas, using disks, washers, and cylindrical shells, with the radius measured from the actual axis of rotation.
- Explain the slice-approximate-sum-limit recipe and watch it converge numerically.
- Compute the average value of a function, state the Mean Value Theorem for Integrals with its hypothesis, and show a case where it fails.
- Connect the average value to sampling, Monte Carlo estimation, and mean squared error.
Context & Motivation
the-definite-integral-and-riemann-sums defined the integral as a limit of sums, and integration-by-substitution-and-by-parts supplied tools for evaluating it. This lesson is about setting integrals up. The same recipe produces area, volume, mass, work, and expected values: cut the quantity into thin pieces, approximate each piece by something simple, add, and take the limit. Once a quantity is written as , the previous two lessons evaluate it.
Average value is the piece with the most reach in computing. The mean of a function over an interval is the continuous version of a mean over data: it is what a Monte Carlo estimator targets, the constant that minimizes squared error, and, applied to and followed by a square root, the root mean square used for signals and losses.
Core Theory
The recipe
Split into pieces of width . On the -th piece, approximate the quantity by a simple shape using the function value at a tag point, such as a rectangle, a disk, or a thin shell. Add these up to get a Riemann sum. If the quantity is additive over pieces and the approximation is accurate to first order in , the limit is a definite integral. The setup is the hard part: a sketch, a representative slice, and its size.
Area between curves
If and are continuous on ,
When on the whole interval this is . When the curves cross, find the crossings (solve ), split there, and integrate (top minus bottom) on each piece. Sometimes a region is simpler as a function of : area .
Volumes by cross-sections
If a solid lies between and and is the (continuous) area of its cross-section perpendicular to the -axis,
Three common cases when a region is rotated about a line:
- Disks. Region about the -axis: .
- Washers. Region between an outer curve and an inner curve: , where and are the outer and inner distances from the axis. Note , not .
- Shells. Rotating a strip of width at distance from a vertical axis sweeps a thin cylindrical shell of volume about , so , with the height of the strip.
These formulas assume the region lies on one side of the axis. A region that straddles the axis can fold over itself when rotated: where its two sides sweep out overlapping solid, adding both counts the overlap twice. (When the two sides sit at different positions along the axis, as for on about the -axis, nothing overlaps.)
Average value
For integrable on :
This is the limit of the ordinary mean of equally spaced samples, because .
Mean Value Theorem for Integrals. If is continuous on , there is a with . The reason: the average lies between the minimum and maximum of (which exist, by continuity on a closed interval), and a continuous function takes every value in between (see continuity-and-the-intermediate-value-theorem). Without continuity it can fail: on and on has average , a value never takes. The theorem says some exists, not that it is unique.
Worked Examples
Example 1: area between curves
The curves and meet where , at and , with between them:
Example 2: curves that cross
Find the area between and on . They cross where , at (the next crossing, , is outside). So on and on :
Quadrature on gives the same . The shortcut is a signed area and misses by about 29%.
Example 3: choosing the variable
The region between and has crossings at and . In it is one integral:
In the bottom boundary changes at (from the lower parabola branch to the line), so it needs two pieces: .
Example 4: a volume as a visible limit
Rotate , , about the -axis. Each slice is a disk of area , so . Riemann sums of the disk volumes converge to it:
textn left sum right sum (exact 8*pi = 25.1327) 4 18.8496 31.4159 16 23.5619 26.7035 64 24.7400 25.5254 256 25.0346 25.2309 1024 25.1082 25.1573
The error shrinks like , the usual rate for left and right sums when the integrand takes different values at the two ends (here and ). The midpoint sum is exact for every here, because the slice area is linear in and the midpoint rule integrates linear functions exactly.
Example 5: washers and shells agree
The region between and , . About the -axis, washers with , : . About the -axis, shells of radius and height : . Washers in (outer radius , inner radius ) give too. Two methods, one answer.
Example 6: an axis that is not a coordinate axis
Rotate the same region about the line . The shell radius is the distance to the axis, :
Washers in give the same: . A Monte Carlo estimate (NumPy default_rng(1), uniform points in the box of volume , counting points inside the solid) gave with standard error about , consistent. Using radius by habit would give , the volume about the -axis, not this solid.
Example 7: non-circular cross-sections
A pyramid with a square base of side and height has, at distance above the base, a square cross-section of side , so . For , this is , matching quadrature.
Example 8: average value and squared error
On , has average . The equation has two solutions, and . Averaging at midpoints gives (), (), (), (). Averaging at random points is Monte Carlo integration: (), (), (), converging more slowly and erratically, at rate about .
Which single constant best approximates on in mean squared error? Expanding,
which is minimized at , with minimum . Numerically gives and gives . In general, the average value is the least-squares constant. The root mean square of over a period is , since the mean of is .
Common Misconceptions & Pitfalls
- Integrating across a crossing. That gives signed area. Split at the crossings or integrate (Example 2).
- Radius equals . The radius is the distance to the axis of rotation. About it is (Example 6).
- Washer area as . It is .
- Mixing methods. Shells go with for a vertical axis and washers with . Writing a shell radius together with a washer area in one integral gives nonsense.
- Average of the endpoints. For on the mean of and is , while . For linear the two agree; in general they do not.
- Believing the average is always attained. Continuity guarantees a point where equals the average, but without it the value can be missed (Core Theory). Continuity is sufficient, not necessary: equal to , , on the three thirds of has average and attains it. The point is generally not the midpoint of the interval.
- Rotating a region that crosses the axis and adding both halves. The halves can overlap, and then the overlap is counted twice.
Summary
Setting up an integral means slicing, approximating each slice by a simple shape, adding, and taking the limit. For area, integrate top minus bottom, splitting at crossings (or integrate ), and switch to if that avoids a split. For volume, integrate cross-sectional area: for disks, for washers, and for shells, with all radii measured from the axis, and the region on one side of it. A left or right Riemann sum of the slice volumes converges to the exact volume, as the table shows. The average value is the limit of sample means, equals for some when is continuous (and may fail otherwise), and is the constant that minimizes mean squared error. The next lesson, improper-integrals, extends the integral to unbounded intervals and integrands.
Documentation Links
- Strang, Herman et al. (2016): Calculus Volume 1, 6.1 Areas between Curves
- Strang, Herman et al. (2016): Calculus Volume 1, 6.2 Determining Volumes by Slicing
- Strang, Herman et al. (2016): Calculus Volume 1, 6.3 Volumes of Revolution: Cylindrical Shells
- Strang, Herman et al. (2016): Calculus Volume 1, 5.3 The Fundamental Theorem of Calculus
- Active Calculus: 6.2 Using definite integrals to find volume
- MIT OCW 18.01SC: Unit 3 Part C