Slicing: The Idea Behind Every Formula
Every formula in this lesson is the same three-step construction applied to a different measurement:
- Slice the quantity into thin pieces whose size you already know (area of a rectangle, area of a disk, length of a hypotenuse).
- Sum the pieces; the sum is an approximation that improves as the slices get thinner.
- Take the limit as slice width tends to zero, which turns the sum into a definite integral.
For area under , each slice is a rectangle of height and width , giving . For volume, the slice is a disk of radius and thickness , so its volume is and the total is . For arc length, the slice is the hypotenuse of a right triangle with legs and , so its length is . The average value is the height of the single rectangle that would cover the same area over the same interval.
Because the limit of a Riemann sum is taken over finer and finer slices, the accuracy of a numerical answer depends only on the slice width used in a computer calculation â the exact integral is what you get as the width goes to zero, and the Python checks below demonstrate the convergence.
Average Value of a Function
The formula has a units check built in: the integral carries units of " times ", and dividing by the interval length (units of ) leaves units of again. Geometrically, is the height of the flat rectangle with the same area as the region under the curve. By the mean value theorem for integrals, at least one point in the interval satisfies , so the curve actually reaches its average height somewhere.
Example: Average Value
Find the average value of on .
The average exceeds the midpoint value because grows faster and faster â the interval is weighted towards its large right-hand end. The point guaranteed by the mean value theorem satisfies , so , which does lie inside .
Area of Ellipse
Example: Area of Ellipse
Find the area enclosed by .
square units. The same answer follows from calculus by integrating over and doubling â the substitution turns that integral into . Squashing the circle of radius 3 (area ) to removes exactly one third of the area, since .
Volume of Revolution (Disk Method)
Example: Volume of Revolution
Find the volume obtained by rotating from to about the x-axis.
cubic units. A useful sanity check compares against the cylinder that would contain the solid: the region sits inside the rectangle , , whose rotation is a cylinder of radius 2 and height 4 with volume . The answer is exactly half of it, which matches the fact that the area under (equal to ) is two thirds of the rectangle's area â the discrepancy between the two ratios is the square in .
Arc Length
Example: Arc Length
Find the arc length of from to .
. Compare it with the straight-line distance from to , which is : the curve is 29% longer, as any curve must be. Because , arc length is always at least the horizontal run â here .
Surface Area of Revolution
For on : , so . Then
About 36.18 square units, against the volume â the two quantities are not comparable directly (area versus volume), which is exactly why unit errors in this chapter are so common.
Choosing the Right Formula
| Question asked | Formula | Watch out for |
|---|---|---|
| Area between curve and x-axis | split at sign changes of | |
| Volume about x-axis | radius is , not | |
| Average value | divide by length, not by 1 | |
| Arc length | needs continuous | |
| Surface area | includes the radius |
Three failure modes account for most wrong answers. Squaring the differential instead of the radius gives a volume in the wrong units. Integrating a function that changes sign without splitting the interval cancels a positive lobe against a negative one. And applying the arc length formula across a corner â for instance to at the origin, where jumps from to â produces a number that is too small, because the true path length must go around the corner.
Checking the Formulas Numerically
import math
def trapezoid(f, a, b, n=200000):
h = (b - a) / n
total = 0.5 * (f(a) + f(b))
for i in range(1, n):
total += f(a + i * h)
return total * h
average = trapezoid(lambda t: t * t, 0, 3) / 3
print(round(average, 6)) # 3.0
length = trapezoid(lambda t: math.sqrt(1 + t), 0, 3)
print(round(length, 6)) # 4.666667
import math
def disk_volume(f, a, b, n=200000):
h = (b - a) / n
total = 0.5 * (f(a) ** 2 + f(b) ** 2)
for i in range(1, n):
total += f(a + i * h) ** 2
return math.pi * total * h
print(round(disk_volume(lambda t: math.sqrt(t), 0, 4), 6)) # 25.132741
The trapezoid routine converges to the exact values and to six decimals with 200,000 slices, and the disk routine returns â confirming both the formulas and the substitutions used above.
Common Mistakes
Dividing by 1 instead of by (b - a) for average value
Fix: f_avg = (1/(b-a)) times the integral; the interval length always appears in the denominator.
Integrating a sign-changing function as a single area
Fix: Split the interval where f crosses zero and take absolute values, otherwise positive and negative lobes cancel.
Using the arc length formula across a corner or cusp
Fix: Break the curve at the point where dy/dx is undefined and add the lengths of the smooth pieces.
Key Takeaways
- Every application of the integral is a Riemann sum: slice, sum, then take the limit as slice width tends to zero.
- Average value is the height of the rectangle with the same area over the same interval, and it equals f at some point c.
- Disk volume squares the radius first; surface area uses a linear radius times the arc-length element.
- Sanity-check every answer against a bounding shape â a cylinder, a straight-line distance, or a numerical quadrature.