Contents / Calculus / Applications of Integration
Chapter 6
Applications of Integration
Areas, volumes, arc length, surface area, work, hydrostatic force, center of mass, and probability.
Introduction
The definite integral was introduced as area under a curve, but that was only the first thing it measures. The integral is a machine for adding up infinitely many infinitely small contributions, and anything that accumulates — the volume of a vase, the length of a road on a map, the work done by a spring, the push of water on a dam, the balance point of a metal plate, the probability that a phone call arrives in the next two minutes — is a candidate.
Every application in this chapter is built the same way. Cut the quantity into thin slices, approximate the contribution of one slice by something simple (a rectangle, a disk, a cylinder, a constant force), add the approximations to get a Riemann sum, and let the slices shrink. The limit of the Riemann sum is a definite integral by the definition of the integral, and the Fundamental Theorem of Calculus evaluates it. The calculus is identical from problem to problem; what changes is the geometry or physics that tells you what one slice contributes.
Learn the slicing argument once, properly, and you will never need to memorize a formula in this chapter. Every formula below is derived from it, and when a problem does not match any formula on the page — a tank of an unusual shape, a plate of an unusual outline — the derivation is what you fall back on.
6.1Areas between curves
Definition 6.1 (Area between two curves). Let and be continuous on with for all in . The area of the region bounded by above, below, and the vertical lines and is
This is a definition rather than a theorem only because "area of a curved region" has no earlier meaning; the integral is what gives it one. The formula is not arbitrary, though. Partition into subintervals of width and pick a sample point in each. The vertical strip of the region above is nearly a rectangle of width and height , so
and the approximation improves as grows. The right-hand side is a Riemann sum for , so its limit is the integral in the definition. The hypothesis is what makes the height non-negative; without it the sum counts some strips with a negative sign and the integral measures a signed area, not an area.
When the curves cross, the integrand changes sign and you must split the interval at the crossing points, taking top minus bottom on each piece separately. The compact way to say this is
but in practice you never integrate an absolute value: you find where , decide which curve is on top on each subinterval, and add the pieces.
Proposition 6.2 (Area with respect to ). If a region is bounded on the right by , on the left by , and by the horizontal lines and , with on , then its area is
The proof is the same Riemann-sum argument with horizontal strips of height and width : right minus left. Integrating in is the right choice whenever the region's left and right boundaries are each a single curve while its top or bottom boundary changes formula partway across. Choosing the wrong variable does not make the problem impossible, only longer.
Intuition. Think of the region as a stack of vertical matchsticks. Each matchstick starts on the lower curve and ends on the upper one, so its length is top minus bottom, and its sliver of area is that length times its tiny width. Adding the slivers is the integral.
If the matchsticks would have to change which curve they start on halfway across the region, turn them sideways and use horizontal ones instead. That is all "integrating with respect to " means.
Example 6.3 (Area between a parabola and a line). Find the area of the region enclosed by and .
Solution.
- Find where the curves meet: gives , so and . These are the limits of integration.
- Decide which curve is on top. At the line gives and the parabola gives , so the line is above the parabola on . (Two continuous curves that do not cross inside the interval cannot swap places, so one test point settles it.)
- Set up top minus bottom:
- Evaluate: at the bracket is , and at it is . The difference is .
Sanity check: the region sits inside the rectangle of area and fills something like a third of it. An answer of is plausible.□
Example 6.4 (Curves that cross). Find the area of the region bounded by , , and .
Solution.
- The curves cross where , that is, , so at in this interval.
- On the cosine is on top (at , ); on the sine is on top. Split the integral there:
- The first integral is .
- The second is .
- Total area: .
Had we integrated straight across we would have obtained : the two pieces are congruent and cancel. That is the signed-area trap.□
Example 6.5 (Integrating with respect to ). Find the area enclosed by the line and the parabola .
Solution.
- Solve both for : the line is and the parabola is .
- They meet where , so : at and .
- For between and the line lies to the right of the parabola (test : the line gives , the parabola ). Right minus left:
- An antiderivative is . At : . At : . The area is .
Doing this in would require splitting at , where the lower boundary switches from the bottom half of the parabola to the line, and integrating square roots. One integral in replaces two harder integrals in .□
Example 6.6 (Using symmetry). Find the area enclosed by and .
Solution.
- The curves meet where , so , and is on top between them.
- Both curves are even functions, so the region is symmetric about the -axis and its area is twice the area of the right half:
Symmetry halves the arithmetic and, more importantly, halves the chances of a sign slip at the negative endpoint.□
Pitfall. is the area between the graph of and the -axis only when on . The area bounded by and the -axis on is , but . Whenever a problem says "area", locate the sign changes first.
6.2Volumes by slicing
A solid is harder to measure than a plane region, but the strategy is identical: cut it into thin slabs, approximate each slab by a cylinder in the general sense (a shape with a flat base swept straight upward), and add.
Definition 6.7 (Volume by cross-sections). Let be a solid lying between the planes and , and let be the area of the cross-section of in the plane through perpendicular to the -axis. If is continuous on , the volume of is
The derivation is the area argument raised one dimension. Partition and slice with planes at the partition points into slabs. The slab between and is nearly a cylinder with base area and height , so its volume is nearly , and
The formula is exact for the shapes elementary geometry already knows how to measure. A box of base and height has throughout, so . A cylinder of radius has , so . What the integral adds is the ability to handle a cross-section that changes from slice to slice.
Everything hinges on finding , and is a plane-geometry problem: what shape is the slice, and what are its dimensions in terms of ? The three examples below are the three ways the question usually arrives.
Intuition. A loaf of bread is a stack of slices. If every slice has the same shape you can multiply one slice's area by the number of slices; if the slices change shape along the loaf, as in a baguette that tapers, you have to add the slices one at a time, and adding infinitely thin slices is integration.
A solid built on a base region with, say, square cross-sections is a loaf whose slices are squares whose size is dictated by the width of the base at each point.
Example 6.8 (Volume of a sphere). Show that a sphere of radius has volume .
Solution.
- Center the sphere at the origin and slice it perpendicular to the -axis. The slice at position is a disk whose radius satisfies , so .
- The cross-sectional area is , and the sphere runs from to .
- By symmetry,
The familiar formula, which is normally quoted without proof, is a two-line consequence of slicing.□
Example 6.9 (Square cross-sections on a circular base). The base of a solid is the disk . Cross-sections perpendicular to the -axis are squares with one side lying in the base. Find the volume.
Solution.
- At position , the base extends from to , so the side of the square is .
- The cross-sectional area is .
- The solid runs from to :
Sanity check: the solid fits inside a cube of side , of volume , and its largest square slice has area ; a volume around is reasonable.□
Example 6.10 (Semicircular cross-sections). The base of a solid is the region bounded by , the -axis and . Cross-sections perpendicular to the -axis are semicircles whose diameter lies in the base. Find the volume.
Solution.
- At position the base has width , which is the diameter of the semicircle, so the radius is .
- The area of a semicircle of radius is , so .
- Integrate from to :
The only work is step 1: identifying that the width of the base is the diameter, not the radius. Halving it is where the most common error in this kind of problem lives.□
Example 6.11 (Volume of a pyramid). Find the volume of a pyramid whose base is a square of side and whose height is .
Solution.
- Put the apex at the origin and let the -axis run down the pyramid's axis of symmetry, so the base sits in the plane .
- The cross-section at distance from the apex is a square, and by similar triangles its side satisfies , so and .
- Then
This is the classical "one third of base times height", and the same calculation works for a cone or for any pyramid: the cross-sectional area scales as , and supplies the .□
6.3Solids of revolution: disks and washers
A solid of revolution is what you get by rotating a plane region about a line in its plane. Because the region is being spun, every cross-section perpendicular to the axis is a circle or a ring, and slicing the solid perpendicular to the axis turns the general formula into two specific ones.
Theorem 6.12 (Disk method). If the region under , above the -axis, from to is rotated about the -axis, the resulting solid has volume
Proof. Slice the solid with the plane through perpendicular to the -axis. The region's vertical segment at runs from the axis to height ; when rotated it sweeps out a disk of radius , so . The volume-by-slicing formula finishes the proof. Written out, the Riemann sum being taken is : the sum of the volumes of thin coins of radius and thickness .∎
Theorem 6.13 (Washer method). If the region between (outer) and (inner), with on , is rotated about the -axis, the resulting solid has volume
Proof. Now the vertical segment at runs from height to height , so rotating it produces a ring (a washer) with outer radius and inner radius . Its area is , and slicing does the rest.∎
Three variations cover every disk-and-washer problem you will meet, and none of them needs a new formula, only the same reasoning applied to a different picture.
Rotation about the -axis: slice perpendicular to the -axis, so the slices are indexed by . Describe the region's boundary curves as , and the radii are horizontal distances:
or the washer version with two curves.
Rotation about a horizontal line : slice perpendicular to that line, again with vertical slices indexed by , but measure radii from the line, not from the -axis. A curve sits at distance from the line. Be careful about which curve is farther from the axis: rotating about a line above the region makes the lower curve the outer radius.
Rotation about a vertical line : slice perpendicular to it, indexed by , with radii .
In every case the rule is the same one sentence: integrate along the axis of rotation, with each radius the distance from the axis to a boundary curve.
Intuition. A potter's wheel spins a lump of clay, and the profile the potter's hand traces becomes the outline of a vase. To measure the vase's volume, slice it horizontally into thin coins; each coin's volume is times its thickness, and the radius at each height is read straight off the profile. If the vase is hollow, each coin is a ring and you subtract the hole.
Example 6.14 (Disk method about the -axis). Find the volume of the solid obtained by rotating the region under from to about the -axis.
Solution.
- The slice at is a disk of radius , so .
- Integrate:
Sanity check: the solid fits inside a cylinder of radius and length , of volume , and the paraboloid fills exactly half of its circumscribed cylinder. Half of is .□
Example 6.15 (Washer method about the -axis). The region enclosed by and is rotated about the -axis. Find the volume.
Solution.
- The curves meet at and , and on the line is above the parabola.
- The outer radius is and the inner radius is , so the washer at has area .
- Then
Note that is not : the washer's area is the difference of two disk areas, and would be wrong.□
Example 6.16 (Rotation about the -axis). The region bounded by , and is rotated about the -axis. Find the volume.
Solution.
- Because the axis is vertical, slice perpendicular to it: horizontal slices, indexed by from to .
- The slice at height extends from to the curve, so its radius is the -value on the curve: .
- Each slice is a disk of area , so
Sanity check: the solid is inside a cylinder of radius and height , of volume , and is a plausible fraction for a solid that hugs the cylinder near the top.□
Example 6.17 (Rotation about the line ). The region enclosed by and is rotated about the line . Find the volume.
Solution.
- The axis is horizontal, so slice vertically and index by from to .
- The axis lies above the region. The parabola is the curve farther from , so it gives the outer radius ; the line gives the inner radius .
- Set up the washers:
- Evaluate: .
Compare with the rotation of the same region about the -axis, which gave . The region is the same size, but rotating it about a more distant axis sweeps out a bigger solid.□
Example 6.18 (Rotation about the line ). The region enclosed by and is rotated about the line . Find the volume with washers.
Solution.
- The axis is vertical, so slice horizontally and index by from to .
- At height the region runs from the line () on the left to the parabola () on the right. The axis is to the left of both, so the parabola is the outer curve: , and .
- Washers:
- Evaluate: .
We will redo this with cylindrical shells in the next section and get the same with less algebra.□
Pitfall. Radii are distances to the axis of rotation, not -values. For an axis the radius of the curve is , and which of two curves is "outer" depends on where the axis is, not on which curve is higher. Draw the axis on your sketch before writing a single radius.
6.4Volumes by cylindrical shells
Try to rotate the region under , , about the -axis with washers. You need the boundary as in terms of , which means solving a cubic, and the inner and outer radii come from different branches of the solution. The shell method sidesteps this by slicing parallel to the axis instead of perpendicular to it.
Theorem 6.19 (Shell method). If the region under , above the -axis, from to (with ) is rotated about the -axis, the resulting solid has volume
Proof. Partition and let be the midpoint of . The rectangle of width and height standing on that subinterval, when rotated about the -axis, sweeps out a cylindrical shell: a solid cylinder of radius and height with a cylinder of radius removed. Its volume is
using . Adding the shells,
which is a Riemann sum for , and its limit as is the integral.∎
The formula is easier to remember from the shape of one shell than from the symbols. Cut a thin shell along a vertical line and unroll it: you get a rectangular slab of length equal to the circumference , height , and thickness . Its volume is (circumference)(height)(thickness), and that is the integrand. In words,
and every shell problem consists of identifying those three quantities. For a region between two curves , the height is . For rotation about a vertical line with the region to its right, the radius is . For rotation about the -axis, slice horizontally: the radius is , the height is the horizontal extent of the region at height , and you integrate in .
Shells and washers always agree, so the choice is purely one of convenience. Use shells when the region is naturally described by vertical strips but the axis is vertical, or by horizontal strips but the axis is horizontal, or whenever the washer method would force you to invert a function or split the integral. Use washers when the strips are already perpendicular to the axis.
Intuition. An onion and a loaf of bread are two ways to cut the same solid. Washers slice it like bread, perpendicular to the axis, and each slice is a disk or ring. Shells peel it like an onion, in layers wrapped around the axis, and each layer is a thin hollow cylinder. When a region's description makes one cut easy and the other awkward, take the easy cut; the volume does not care which one you use.
Example 6.20 (Shells about the -axis). Find the volume of the solid obtained by rotating the region under from to about the -axis.
Solution.
- The shell at has radius , height and thickness .
- Set up and evaluate:
- As a check, do it with washers: slice horizontally, from to , outer radius and inner radius , giving . Same answer, more setup.
Example 6.21 (When washers fail and shells succeed). The region under from to is rotated about the -axis. Find the volume.
Solution.
- Washers would require expressing the curve as in terms of , which means solving a cubic; the horizontal slice at height also hits the curve twice, at two different roots. Shells avoid all of it.
- The shell at has radius and height :
Sanity check: the region's maximum height is at where , so the solid fits in a cylinder of radius and height , of volume roughly . Our is comfortably inside.□
Example 6.22 (Shells about the line ). Redo the rotation of the region between and about the line using shells.
Solution.
- Use vertical strips, from to . The strip at is at distance from the axis, and its height is .
- Shells:
where the middle step used .
- This agrees with the washer computation from the previous section, and the integrand here is a polynomial with no square roots.
Example 6.23 (Shells about the -axis). Use shells to find the volume when the region bounded by , and is rotated about the -axis.
Solution.
- For a horizontal axis, shells are horizontal strips: index by from to (the curve reaches at ).
- The strip at height runs horizontally from the curve, where , to , so its length is . Its distance from the -axis is .
- Shells:
This matches the disk computation earlier in the chapter, as it must. Here the disk method was easier; the example shows that shells work in either orientation.□
Pitfall. The radius of a shell is the distance from the strip to the axis of rotation, which is only when the axis is the -axis. For the axis and a region to its left, the radius is , and reversing the sign gives a negative "volume" that should stop you immediately. The height is the length of the strip, never the value alone when the region has a lower boundary above the axis.
6.5Work
In physics, the work done by a constant force moving an object a distance in the direction of the force is . In SI units force is in newtons and distance in meters, and work is in joules (); in the US customary system force is in pounds, distance in feet, and work is in foot-pounds. The definition breaks the moment the force varies along the way — stretching a spring, lifting a rope that gets lighter as it comes up, or pumping water that has to rise farther the deeper it starts.
Definition 6.24 (Work done by a variable force). If an object moves along the -axis from to under a force directed along the axis, the work done is
The formula comes from the same slicing. Partition ; on a short subinterval the force is nearly constant at , so the work over that step is nearly , and the total is nearly . Letting the steps shrink gives the integral. Notice that is the area under the force-displacement graph, which is why a work problem is often solved fastest by sketching that graph.
Theorem 6.25 (Hooke's Law). The force required to hold a spring stretched (or compressed) units beyond its natural length is , where is the spring constant. Consequently the work needed to stretch the spring from to beyond its natural length is
The law itself is an empirical fact valid for moderate extensions; the work formula is the definition applied to it. The variable is displacement from the natural length, not the total length of the spring, and is usually not given directly but must be deduced from one measurement of force at one extension.
Method 6.26 (Cable and rope problems). When a hanging cable of weight density (weight per unit length) is hauled up over a height , slice the cable rather than the motion. The piece of cable at initial depth below the top has weight and must be raised a distance , so
plus, if a load hangs from the end, the load's weight times .
Method 6.27 (Pumping problems). To find the work needed to pump a liquid out of a tank, slice the liquid into thin horizontal layers, because every drop in one layer travels the same distance. Choose a coordinate along the vertical, and for the layer at position determine three things: its cross-sectional area from the tank's shape, so that its volume is ; its weight , where is the density of the liquid; and the distance it must be lifted to the outlet. Then
with and the bottom and top of the liquid. For water, in SI units, and the weight density is in US units (in which case omit the ).
The two hard parts of any pumping problem are geometry and bookkeeping. The geometry is : for a cylinder it is constant, for a cone it comes from similar triangles, for a sphere from Pythagoras. The bookkeeping is : it depends on where you put the origin and on whether the outlet is at the top of the tank or above it, and a sign error here is the usual failure mode. Write the two functions down separately and check each against a specific layer (the top one and the bottom one) before integrating.
Intuition. Pushing a box across a floor at constant force is just force times distance. Pulling a bungee cord is different: the first few centimeters are easy and the last few are hard, so no single force describes the job. Break the pull into tiny steps, treat the force as constant during each step, and add up force times step length. That sum is the integral, and the same idea handles a rope that gets lighter as it comes up and water that has farther to travel the deeper it sits.
Example 6.28 (Work to stretch a spring). A spring has natural length cm and spring constant N/m. Find the work needed to stretch it from a length of cm to a length of cm.
Solution.
- Measure in meters from the natural length: a length of cm is and a length of cm is .
- Hooke's Law gives , so
- Sanity check: the force ranges from N to N over a displacement of m, so the work should be between J and J. It is.
Example 6.29 (Hauling up a cable). A -lb cable is ft long and hangs vertically from the top of a tall building. How much work is required to lift the cable to the top of the building?
Solution.
- The cable weighs lb/ft. Slice it: the piece at depth ft below the top, of length , weighs lb and must rise ft.
- The work on that piece is , and adding the pieces,
- Sanity check: if the whole -lb cable were lifted through its center of mass at ft, the work would be ft-lb. The center of mass shortcut agrees, and it always does when the density is uniform, as we will see in the section on centers of mass.
Example 6.30 (Pumping water from a conical tank). A tank has the shape of an inverted circular cone with height m and top radius m. It is filled with water to a depth of m. Find the work required to empty the tank by pumping all the water to the top of the tank. (Take .)
Solution.
- Put the origin at the apex with measured upward, so the water occupies and the outlet is at .
- Cross-sectional area: by similar triangles the radius at height is , so .
- Lift distance: the layer at height must rise to , so . Check the extremes: the top layer () rises m and the bottom layer rises m. Correct.
- Assemble:
- The bracket is , so .
The water near the apex is a small volume lifted a long way and the water near the surface is a large volume lifted a short way; the integrand records exactly that trade-off.□
Example 6.31 (Pumping water from a hemispherical bowl). A hemispherical bowl of radius m is full of water, with its flat rim at ground level. Find the work required to pump all the water up to the rim.
Solution.
- Put the origin at the center of the rim and measure downward, so the water occupies and a layer at depth must rise exactly : .
- The horizontal cross-section at depth is a circle whose radius satisfies , so .
- Assemble:
Sanity check: the water's weight is N, and the whole mass rises on average a bit over m (its center of mass is m below the rim). Weight times m is J, in agreement.□
Example 6.32 (Work against gravity). Newton's law of gravitation says the Earth attracts a body of mass at distance from the Earth's center with force , which at the surface equals . How much work is required to lift a kg satellite from the surface to a height above it, one Earth radius up? Use m and .
Solution.
- Since , write the force as ; the force is not constant, so a naive is wrong.
- The work is
- Numerically, J.
Using with would give twice this, because it assumes the surface value of gravity all the way up, while in fact the pull has fallen to a quarter of its surface strength by the time the satellite arrives.□
Pitfall. In pumping problems the distance a layer travels is measured to the outlet, not to the water's surface, and the limits of integration cover the water, not the tank. A tank filled to m out of m has layers from to that each rise . Mixing those two numbers up is the most common error in this section.
6.6Average value of a function
The average of finitely many numbers is their sum divided by how many there are. A function on an interval takes infinitely many values, and the integral replaces the sum.
Definition 6.33 (Average value of a function). The average value of a continuous function on is
To see that this is the right definition, sample at equally spaced points and average the samples. With , so that ,
and as the Riemann sum on the right tends to the integral. Geometrically, is the height of the rectangle on whose area equals the area under the curve: multiply the definition through by to see that .
Theorem 6.34 (Mean Value Theorem for Integrals). If is continuous on , then there is a number in such that
Proof. By the Extreme Value Theorem, attains a minimum and a maximum on . Since for all in the interval, integrating gives , and dividing by ,
So lies between two values that takes. By the Intermediate Value Theorem, takes every value between and , so for some in .∎
Continuity is doing all the work: it supplies the extreme values and the intermediate values. For a step function that equals on the left half of the interval and on the right half, the average value is , and no point achieves it.
An alternative proof applies the ordinary Mean Value Theorem to : by the Fundamental Theorem of Calculus , and the MVT gives a with , which is the same statement. The two proofs are two views of the same fact.
Intuition. A day's temperature rises and falls. The average temperature is not the midpoint of the high and the low; a day that is cold for twenty hours and hot for four has a low average even if the extremes are symmetric. The integral weights every minute equally, so the average value is the constant temperature that would deliver the same total heating over the day. The Mean Value Theorem for Integrals says that at some instant the thermometer actually read that average — it cannot jump over it.
Example 6.35 (Average temperature). The temperature in a city is modeled by degrees Celsius, where is hours after midnight. Find the average temperature between am and pm.
Solution.
- The interval is , of length :
- At : . At : .
- .
The sine term contributes nothing because over it spends as much time above zero as below, in mirror image. The temperature peaks at at noon, but the average over the daytime hours is the baseline.□
Example 6.36 (Finding the point ). Find the average value of on , and find all in the interval at which equals it.
Solution.
- Average value:
- Solve : gives , and both lie in .
The Mean Value Theorem for Integrals promised at least one such ; here there are two. Geometrically, the rectangle of height over has area , the same as the area under the parabola.□
Example 6.37 (Average of a reciprocal). Find the average value of on .
Solution.
- Apply the definition:
- Sanity check: decreases from to , and lies between them, as the proof of the Mean Value Theorem for Integrals says it must.
6.7Arc length
A curve has a length, but a curve is not a line segment and no ruler measures it directly. The definition is the natural one: approximate the curve by a polygon, measure the polygon, and refine.
Let have a continuous derivative on (such an is called smooth, and the hypothesis is essential below). Partition and let . The polygon with vertices approximates the curve, and its length is . The length of the curve is defined to be the limit of these polygonal lengths as the mesh of the partition goes to zero, provided the limit exists.
Theorem 6.38 (Arc length formula). If is continuous on , the length of the curve , , is
Proof. Let . The -th segment of the polygon has length
By the Mean Value Theorem applied to on , there is an in that subinterval with . Substituting,
so the polygon's length is , a Riemann sum for the continuous function . As the mesh goes to zero the sum converges to the integral.∎
The proof shows where the hypothesis enters: without a continuous the Mean Value Theorem step fails and the Riemann sums need not converge. It also shows the formula's meaning. Over a tiny horizontal run the curve rises , and the little piece of curve is the hypotenuse of a right triangle. Factoring out gives , and .
The symmetric form of the same fact is useful enough to record:
Definition 6.39 (Arc length function). For a smooth curve starting at the point , the arc length function is
the distance along the curve from the starting point to . By the Fundamental Theorem of Calculus,
The derivative is always at least : the curve is never shorter than its horizontal projection, and it equals exactly where the tangent is horizontal.
Now the bad news. The integrand has an elementary antiderivative only for a narrow family of functions. Even leads to , which needs a trigonometric substitution and produces a logarithm; and lead to integrals with no elementary antiderivative at all, and those are handled numerically. Textbook exercises are therefore engineered so that is a perfect square, and it pays to recognize the pattern. If
because the cross term in is exactly cancelled by the added . Functions like , and are all of this type, and the square root disappears.
Intuition. Lay a piece of string along the curve, then pull it straight and measure it. Arc length is what the ruler reads. The formula computes the same thing by pretending the curve is made of very short straight segments, each the hypotenuse of a tiny right triangle with legs and : Pythagoras on each, then add. The factor is the ratio of hypotenuse to horizontal leg; a steep curve packs a lot of length into a little horizontal distance.
Example 6.40 (A curve with an elementary arc length). Find the length of the arc of from to .
Solution.
- , so .
- The length is
- Substitute , ; when , , and when , :
- Sanity check: the straight segment from to has length ; the curve must be slightly longer, and it is.
Example 6.41 (The perfect-square family). Find the length of the curve for .
Solution.
- . Squaring,
- Adding flips the sign of the middle term:
- The square root is now the positive quantity , so
- Sanity check: the endpoints are and , at straight-line distance , and is a little longer. Good.
Example 6.42 (Arc length of a parabola). Find the length of from to .
Solution.
- , so . This is not a perfect square; substitute , :
- The integral is evaluated in the chapter on techniques of integration by the substitution , which turns it into . The result is
- Evaluate from to : the bracket at is and at it is . So
- Sanity check: the chord from to has length , and the path along the two legs has length . The arc is between them.
Example 6.43 (The arc length function). Find the arc length function for measured from the point , and use it to find the length of the curve from to .
Solution.
- , which has the perfect-square shape with :
- Then
- The length to is .
Once is known, the length between any two points on the curve is a difference of two values of ; this is the sense in which is a coordinate along the curve.□
Pitfall. The formula is , not and not . And when the perfect-square trick produces , the square root is , which equals only where that expression is positive. On the intervals used in this chapter it always is, but check it.
6.8Parametric curves: the formulas carry over
Everything in this chapter has a version for a curve given parametrically as , , . The full treatment, including derivatives, tangent lines, areas and polar coordinates, is in the chapter on Parametric Equations and Polar Coordinates; this section records only what is needed to transfer the integrals.
Notation. For a smooth parametric curve, the slope of the tangent, the arc length element and the area under the curve are
the last one requiring the curve to be traversed once, left to right, as increases. Arc length is and the area of the surface obtained by rotating the curve about the -axis is .
The arc length element is the parametric form of : divide by and take the square root. The tangent slope is undefined where (a vertical tangent, if there) and zero where .
Example 6.44 (Arc length of a parametric curve). Find the length of the curve , for .
Solution.
- and , so (for ).
- Substitute , :
- Sanity check: the curve is from to , whose chord has length .
6.9Area of a surface of revolution
Rotating a curve (rather than a region) about an axis sweeps out a surface, and its area is the amount of paint needed to coat it. The natural approximation is to replace the curve by a polygon, as for arc length, and rotate the polygon: each segment sweeps out a band, and each band is a piece of a cone.
A cone of base radius and slant height has lateral area (cut it along a slant line and flatten it into a sector of a circle of radius and arc length ; the sector's area is ). A frustum, the band cut from a cone between two parallel planes, with radii and and slant height , therefore has lateral area
obtained by subtracting two cone areas and using similar triangles. In words: a band's area is times its average radius times its slant width.
Theorem 6.45 (Area of a surface of revolution). If and has a continuous derivative on , the area of the surface obtained by rotating the curve , , about the -axis is
Proof. Partition and inscribe the polygon with vertices . Rotating the segment about the -axis produces a frustum with slant height and average radius , so its area is
As in the arc length proof, the Mean Value Theorem gives for some in , and because is continuous and is small, both and are close to . The band's area is therefore approximately , the sum over the bands is a Riemann sum for , and its limit is the integral. Justifying the replacement of and by inside the limit needs one more fact. Let be the largest change in over any single subinterval of the partition and the maximum of on . The average of and differs from by at most , so the error in one band is at most and the total error over all bands is at most . That as the mesh goes to zero is the uniform continuity of on the closed interval , a real-analysis fact we take on trust; with it, the frustum sums and the Riemann sums have the same limit.∎
Remark. Where the curve meets the axis with a vertical tangent — the poles of the sphere below, or at — is unbounded at an endpoint and the integral is, strictly, improper. In every such case in this chapter the factor vanishes fast enough to tame the root: the integrand simplifies to something bounded, and the improper integral is an ordinary one in disguise.
The compact way to remember the theorem is
where the radius is the distance from the curve to the axis. For rotation about the -axis the radius is ; for rotation about the -axis it is . Either arc length element may be used with either axis, so the four combinations are
with written in whichever variable makes the integral tractable.
The warning from arc length applies twice over: the factor is present, and now it is multiplied by . Exercises are chosen so that a substitution kills the root; sphere, cone and the perfect-square family are the standard sources of clean answers.
Intuition. Wrap masking tape around a vase in thin horizontal strips. Each strip is a ring whose length is the vase's circumference at that height, , and whose width is a short piece of the vase's profile — the slanted profile, not the vertical drop, because on a sloping surface the tape runs along the slope. Circumference times slant width, summed over all the strips, is the surface area.
Example 6.46 (Surface area of a sphere). Show that a sphere of radius has surface area .
Solution.
- The sphere is generated by rotating the semicircle , , about the -axis.
- , so
- The square root in cancels the one in :
The integrand is constant: every slab of the sphere of thickness carries the same surface area , regardless of where it is cut. Archimedes knew this.□
Example 6.47 (Surface area of a cone). Find the area of the surface generated by rotating , , about the -axis.
Solution.
- , so .
- Then
- Sanity check: this is a cone of base radius and slant height , and agrees.
Example 6.48 (Rotation about the -axis). The arc of the parabola from to is rotated about the -axis. Find the area of the resulting surface.
Solution.
- The radius is and we may take in the variable : with , .
- So
- Substitute , ; the limits become and :
- Sanity check: the surface is a bowl between radii and with slant length about (the arc length of the parabola), so it is roughly a frustum of average radius : . Close.
Pitfall. Surface area needs , not . Forgetting the factor gives , which is times the area under the curve and has nothing to do with the surface. The two ideas are easy to confuse because the surface integrand contains the disk method's radius; the difference is that a surface has thickness along the slope, while a disk has thickness along the axis.
6.10Hydrostatic force
A fluid at rest presses on any surface in contact with it. At depth below the surface of a fluid of density , the pressure is the weight of the column of fluid above a unit area,
measured in pascals (newtons per square meter) or pounds per square foot, and by Pascal's principle it acts equally in all directions, so a vertical plate feels it head-on. On a horizontal plate at constant depth the total force is simply pressure times area. On a vertical plate the depth changes from top to bottom, the pressure changes with it, and only an integral adds up the varying push.
Proposition 6.49 (Hydrostatic force on a vertical plate). Suppose a vertical plate is submerged in a fluid of density , and that at position (in some vertical coordinate running from to over the plate) the plate has horizontal width and lies at depth below the surface. The total force on one side of the plate is
The derivation is slicing again. Partition the plate into thin horizontal strips of height . Every point of a strip is at nearly the same depth , so the pressure across the strip is nearly the constant and the force on the strip is nearly pressure times area, . Sum and take the limit. Horizontal strips are compulsory; a vertical strip spans many depths and has no single pressure.
In US units the density is given as a weight density (for water, ) and the formula reads ; in SI units for water. As with pumping, the two functions to get right are the width , which comes from the plate's outline, and the depth , which depends on where the surface is relative to your coordinate.
Intuition. Dive to the bottom of a swimming pool and your ears tell you the pressure is greater there than at the surface. A dam's face feels the same thing: the strip along its top is barely pushed, the strip along its bottom is pushed hard. To get the total push you cannot multiply one pressure by the whole area; you add the push on each thin horizontal strip, weighted by how deep it sits. This is why dams are thick at the base and thin at the crest.
Example 6.50 (Force on a rectangular gate). A rectangular gate m wide and m tall is submerged vertically in water so that its top edge is m below the surface. Find the hydrostatic force on the gate.
Solution.
- Let be the distance below the top edge of the gate, from to . Then the depth is and the width is the constant .
- Integrate:
- Sanity check: the pressure at the center of the gate (depth m) is Pa, and the gate's area is ; their product is N. For a rectangle, pressure at the center times area is exact, because the pressure varies linearly with depth.
Example 6.51 (Force on a semicircular plate). A plate in the shape of a semicircle of radius m is submerged vertically in water with its diameter along the surface and the curved edge below. Find the force on one side.
Solution.
- Let be the depth below the surface, . Then . At depth the plate's horizontal width is the chord of the circle , so .
- The force is
- Substitute , , so ; the limits become :
- Sanity check: the plate's area is and its centroid (computed in the next section) is at depth m. Pressure at the centroid times area is N. Same answer.
Example 6.52 (Force on a triangular plate below the surface). A vertical plate is an isosceles triangle with its m base horizontal at the top and its apex m directly below the midpoint of the base. The base is m below the surface of the water. Find the force on one side.
Solution.
- Let be the distance below the base, . The depth is .
- The width shrinks linearly from at to at : by similar triangles .
- Assemble and expand:
- The bracket is , so N.
Sanity check: the triangle's area is and its centroid is one third of the way from the base to the apex, at depth m; N.□
The sanity checks in the last three examples all used the same shortcut, which we can now state: the hydrostatic force on a vertical plate equals the pressure at the plate's centroid times the plate's area,
It follows from the definition of the centroid in the next section, since is the first moment of the plate about the surface line, which is . The shortcut is exact, and it is the fastest check on any hydrostatic calculation whose shape has a known centroid.
Pitfall. Depth is measured down from the fluid surface, not up from the bottom of the plate and not from the top of the plate unless the top is at the surface. If a plate's top edge is m under water, a strip meters below that edge is at depth . Getting this offset wrong changes the answer by a factor, not by a rounding error.
6.11Moments and centers of mass
Where should you place a fulcrum under a plank so that it balances? Where is the point at which a flat metal plate can be balanced on a pin? The answer is the center of mass, and its coordinates are ratios of integrals.
Start with point masses on a line at positions . The rod balances at when the turning effects on the two sides cancel, , that is, when
the total moment about the origin divided by the total mass. The center of mass is the mass-weighted average position.
Definition 6.53 (Center of mass of a rod). For a thin rod lying along the -axis from to with linear density (mass per unit length), the mass and the moment about the origin are
and the center of mass is .
Slice the rod: the piece over has mass approximately located at , so its moment is . Summing and passing to the limit gives the two integrals. When is constant it cancels from the ratio and is the midpoint; variable density pulls toward the heavy end.
For a flat plate (a lamina) occupying a region in the plane, balance must hold in two directions. The moment about the -axis, , measures the tendency to rotate about that axis and is built from -coordinates; the moment about the -axis, , is built from -coordinates. For point masses, and , and .
Theorem 6.54 (Centroid of a plane region). Let be the region under , above the -axis, from to , with continuous and , and let be its area. If a lamina of uniform density occupies , its center of mass, called the centroid of , is with
Proof. Slice into vertical strips. The strip over is nearly a rectangle of width and height , where we take to be the midpoint. Its mass is , and by symmetry a rectangle balances at its center, the point . Treating the strip as a point mass at its center, its moment about the -axis is and its moment about the -axis is . Summing over strips and taking the limit,
Dividing, the density cancels and the formulas for and follow.∎
The density canceled, which is why the centroid is a property of the region's shape alone; for a lamina of non-uniform density the same slicing works but stays inside the integrals (and, if depends on , the strips must be cut the other way). For a region between two curves the strip runs from to , its center is at height , and the same argument gives
since .
Proposition 6.55 (Symmetry principle). If a region is symmetric about a line, its centroid lies on that line.
Reflection in the line pairs each strip with a mirror strip of equal mass on the other side, so the moments about the line cancel. The principle saves an integral every time it applies: a semicircle centered on the -axis has without calculation, and a region symmetric about two lines has its centroid at their intersection.
Theorem 6.56 (Theorem of Pappus). Let be a plane region of area that does not cross a line in its plane (it lies on one side of , and may touch it), and let be the distance from the centroid of to . The volume of the solid obtained by rotating about is
the area of the region times the distance traveled by its centroid.
Proof. Take to be the -axis and the region between on with . By the shell method,
by the centroid formula, and is the distance from the centroid to the axis.∎
Pappus turns a hard volume into an easy one whenever the centroid is known, and it runs backward too: a known volume and area give the centroid.
Intuition. Balance a ruler on your finger. With a lump of clay stuck near one end, the balance point shifts toward the clay: the heavier side gets more say in where the average lands. A flat plate is the same problem in two directions at once, and Pappus's theorem says that when you spin the plate around an axis, the plate's whole area is effectively carried around the circle its balance point traces, so volume is area times that circle's circumference.
Example 6.57 (Center of mass of a non-uniform rod). A rod extends from to meters and its density is kg/m. Find its center of mass.
Solution.
- Mass: kg.
- Moment: kg·m.
- m.
The density increases to the right, so the balance point is right of the midpoint , as it should be. It cannot be beyond , and is comfortably inside.□
Example 6.58 (Centroid of a semicircle). Find the centroid of the semicircular region , .
Solution.
- The region is symmetric about the -axis, so by the symmetry principle.
- The upper boundary is on and the area is . Then
- Sanity check: , so the centroid is a bit less than halfway up. There is more area near the diameter than near the top of the arc, which pulls the balance point down. Correct.
Example 6.59 (Centroid of the region under a cosine arch). Find the centroid of the region bounded by , , and .
Solution.
- Area: .
- . Integrate by parts with , :
- .
- Sanity check: the region is fat on the left (where ) and thin on the right, so should be less than the midpoint ; and should be under since most of the area is low. Both hold.
Example 6.60 (Centroid of a region between two curves). Find the centroid of the region bounded by and .
Solution.
- The curves meet at and , the line is on top, and .
- .
- .
Sanity check: the region is the sliver between a line and a parabola, thickest around , and is exactly where you would put a pin by eye. And lies inside the region, since .□
Example 6.61 (Volume of a torus by Pappus). A circle of radius is rotated about a line in its plane at distance from its center. Find the volume of the resulting torus (a doughnut).
Solution.
- The disk has area , and its centroid, by symmetry, is its center, at distance from the axis.
- Pappus:
- As a second check on Pappus, rotate the semicircular region of radius about its diameter: and from the semicircle example, so , the volume of a sphere.
Doing the torus with washers means integrating terms; Pappus makes it a one-line product.□
Pitfall. is the moment about the -axis and it is built from -coordinates, so , not itself and not . The letter in the subscript names the axis, not the coordinate. And in the integrand is , because a strip's mass sits at half its height; forgetting the doubles and usually puts the "centroid" outside the region, which is an immediate signal that something is wrong.
6.12Applications to economics and biology
The slicing argument does not care whether the thing being sliced is a solid, a fluid or a market. Three short applications show the range.
Definition 6.62 (Consumer surplus). Let be the demand function for a commodity: the price at which exactly units will be sold. If the commodity sells at the price corresponding to sales of units, the consumer surplus is
The demand curve is decreasing: the first units are bought by customers who would have paid a lot, and later units by customers who will only pay a little. If the market price is , the customer who would have paid for the -th unit saves . Partition into groups of units; the group near saves about , and the total savings across all buyers is the Riemann sum, hence the integral. Geometrically it is the area between the demand curve and the horizontal line from to .
Example 6.63 (Consumer surplus). The demand for a product is dollars per unit. Find the consumer surplus when the sales level is units.
Solution.
- The price at is .
- Then
- Evaluate: dollars.
Theorem 6.64 (Poiseuille's law of laminar flow). In a blood vessel (or pipe) of radius and length , with pressure difference between the ends and viscosity , the velocity of the fluid at distance from the central axis is , and the flux, the volume passing a cross-section per unit time, is
Proof. The velocity law is a fact from fluid mechanics; the flux follows from it by slicing the cross-section into thin concentric rings. The ring between radii and has area approximately , and the fluid in it moves at velocity , so the volume crossing that ring per unit time is about . Summing and taking the limit,
The fourth power is the physiologically important part: halving a vessel's radius cuts the flow by a factor of sixteen, which is why small changes in arterial radius have such large effects on circulation.
The last application is a measurement technique. In the dye dilution method for cardiac output, an amount of dye is injected into the right atrium and its concentration in the aorta is measured over an interval until the dye has passed. If the heart pumps at a constant rate (volume per unit time), then in a short interval the volume of blood carries of dye, so the total dye passing the sensor is , and
Example 6.65 (Cardiac output). A mg bolus of dye is injected and its concentration in the aorta is modeled by mg/L for seconds. Estimate the cardiac output.
Solution.
- mg·s/L.
- L/s, which is L/min — a normal resting cardiac output.
6.13Probability
A continuous random variable — the height of a randomly chosen adult, the time until the next bus, the lifetime of a light bulb — does not have a probability of taking any single value; it has a probability of landing in an interval, and that probability is an integral.
Definition 6.66 (Probability density function). A function is a probability density function for the random variable if
The three conditions say that probability is area under the density, that areas are never negative, and that the total probability is . Note what the definition does not say: is not the probability that (that probability is ), and may exceed on a short interval as long as the total area is . The improper integral is the one studied in the chapter on techniques of integration; for a density that is zero outside a bounded interval it is an ordinary integral over that interval.
Definition 6.67 (Mean and median). The mean (or expected value) of a random variable with density is
and the median is the number such that .
The mean is the probability-weighted average of the possible values, exactly the formula for the center of mass of a rod with density and total mass ; if the region under the density were cut from sheet metal, it would balance at . The median is the point that splits the area in half. For a symmetric density the two coincide; for a skewed one they do not, and the mean is dragged toward the long tail.
Theorem 6.68 (Exponential distribution). For , the function
is a probability density function, with mean , median , and
Proof. is clear. For the total probability and the tail,
For the mean, integrate by parts with and , so :
using (the exponential beats the polynomial). Finally the median solves , giving .∎
The exponential density models waiting times: the time until the next phone call, the next radioactive decay, the next customer. Its parameter is fixed by the mean: a process whose events are on average apart has . The median is always shorter than the mean, by the factor , because the density is skewed toward long waits.
Definition 6.69 (Normal distribution). The normal distribution with mean and standard deviation has density
This is the bell curve, and it describes an enormous range of measured quantities: heights, test scores, measurement errors, anything that is the sum of many small independent effects. The graph is symmetric about , so the mean and median are both , and controls the spread: small gives a tall narrow peak, large a low wide one. That integrates to depends on the classical fact
which is proved with a double integral in the chapter on multiple integrals.
The normal density has no elementary antiderivative, so probabilities under it cannot be found by the Fundamental Theorem of Calculus. They are computed numerically (Simpson's rule, or a table of the standard normal , , to which every case reduces by the substitution ). Three values are worth memorizing:
Intuition. A density function is a histogram with infinitely thin bars. The height at a point is not a probability; the area over an interval is. Asking "what is the probability that the bus comes in exactly minutes" gets the answer zero, but "between and minutes" has an honest area. The mean is where the histogram would balance, and for a lopsided histogram like the exponential the balance point sits to the right of the halfway-area point, because the long tail, though thin, is far away and exerts leverage.
Example 6.70 (Checking a density and computing a probability). Let for and otherwise. Verify that is a probability density function, find , and find the mean.
Solution.
- on since both and are non-negative there. Total area:
- Probability:
- Mean: the density is symmetric about , so by symmetry. Directly,
Example 6.71 (Exponential waiting times). Calls to a helpline arrive at random with an average gap of minutes between calls. Find the probability that the next call arrives within minutes, the probability that it takes more than minutes, and the median waiting time.
Solution.
- The mean is , so and the density is for .
- .
- .
- Median: minutes.
Note how the median () is well below the mean (): more than half of all waits are shorter than average, balanced by a minority of long waits.□
Example 6.72 (A normal probability). Adult heights in a population are normally distributed with mean cm and standard deviation cm. What proportion of adults are between cm and cm tall?
Solution.
- The interval runs from to .
- By symmetry, and .
- Adding, the proportion is approximately , about .
Written as an integral, this is
and there is no antiderivative to evaluate it with; the tabulated values are the only route.□
Pitfall. A density can exceed ( starts at ) and the probability of any exact value is . Both are unsettling on first meeting and both are correct: probability is area, and area over a single point is zero however tall the curve.
Summary. Every formula in this chapter is a Riemann sum for one slice. With continuous and on , (split at crossings; use and right minus left when the region is described by ). If the cross-section at has continuous area , then , which specialises to disks , washers , and shells about the -axis. Work is , with for a spring and for pumping; hydrostatic force is over horizontal strips. The average value is attained at some when is continuous. For continuous, and, if also , . The centroid of the region under is , , and Pappus gives . A density satisfies and , with .
- Integrating across a crossing point. Solve first, and take top minus bottom on each piece; a single integral across a crossing measures signed area and can even be zero.
- Choosing the integration variable by habit. If the left and right boundaries are single curves and the top or bottom switches formula, integrate in .
- Forgetting to square the radius in disks and washers, or squaring the difference instead of subtracting the squares: a washer's area is , never .
- Measuring radii from the -axis when the axis of rotation is . The radius is , and the curve farther from the axis is the outer one, whichever is higher.
- Using as the shell radius for every vertical axis. For the axis the radius is the distance .
- In pumping problems, measuring the lift to the surface of the water instead of to the outlet, or integrating over the whole tank when it is only partly full.
- In spring problems, using the total length of the spring instead of the extension beyond the natural length.
- Dropping the square root in arc length: it is , and the perfect-square trick applies only when genuinely factors.
- Using instead of in surface area, which computes times an area under a curve rather than a surface.
- Measuring depth from the wrong reference in hydrostatic problems. Depth is distance below the fluid surface; a plate whose top is m down has a strip below its top at depth .
- Confusing with . is the moment about the -axis and is built from ; the coordinate is . And carries the factor because a strip's mass sits at half its height.
- Applying Pappus to a region that straddles the axis; the theorem needs the region on one side of it.
- Reading a density value as a probability. Probability is area, , and itself may exceed .
- Not sketching. Nearly every error in this chapter — wrong limits, wrong outer radius, wrong depth — is caught by a rough picture with the axis drawn in.