Skip to main content

Applications of Integrals

Applications of integrals all follow the same organizing idea: slice a quantity into small pieces, approximate each piece, and add the pieces by integration. Area, volume, work, mass, average value, arc length, and accumulated change differ in geometry and units, but the integral structure is the same.

The hardest part is often not the integration itself. It is choosing the slice, writing the representative small quantity, identifying correct bounds, and checking units. Once the setup is correct, the definite integral carries out the accumulation.

Definitions

Area between curves is computed by integrating top minus bottom:

A=ab[f(x)g(x)]dxA=\int_a^b [f(x)-g(x)]\,dx

when f(x)g(x)f(x)\ge g(x) on [a,b][a,b]. If the curves cross, split the interval at intersection points or use absolute value with care.

Volumes by washers use cross-sectional area:

V=abπ(R(x)2r(x)2)dx.V=\int_a^b \pi\left(R(x)^2-r(x)^2\right)\,dx.

Volumes by cylindrical shells use

V=ab2π(radius)(height)dx.V=\int_a^b 2\pi(\text{radius})(\text{height})\,dx.

Work done by a variable force is

W=abF(x)dx.W=\int_a^b F(x)\,dx.

If a density ρ(x)\rho(x) is spread along a line segment, mass is

m=abρ(x)dx.m=\int_a^b \rho(x)\,dx.

The average value of ff on [a,b][a,b] is

favg=1baabf(x)dx.f_{\text{avg}}=\frac{1}{b-a}\int_a^b f(x)\,dx.

Arc length for a smooth curve y=f(x)y=f(x) is

L=ab1+[f(x)]2dx.L=\int_a^b \sqrt{1+[f'(x)]^2}\,dx.

Key results

The slice method has a reliable pattern:

  1. Draw the region or physical setup.
  2. Choose the slicing direction.
  3. Write a representative slice quantity.
  4. Express everything in one variable.
  5. Set bounds from the geometry.
  6. Integrate and attach units.

For area, the representative slice has height top minus bottom and width dxdx. For washer volumes, the representative slice is a disk or annulus perpendicular to the axis of rotation. For shell volumes, the representative slice is parallel to the axis of rotation and becomes a cylindrical shell.

The choice between washers and shells is often strategic. If rotating around a horizontal axis, vertical slices often create washers and horizontal slices often create shells. If solving for inverse functions would be messy, shells may avoid that algebra. Both methods must give the same volume when set up correctly.

Work problems require force as a function of position. For a spring obeying Hooke's law,

F(x)=kx,F(x)=kx,

so stretching from aa to bb requires

W=abkxdx.W=\int_a^b kx\,dx.

For lifting a rope or pumping fluid, each slice has a weight and a distance moved. The small work is

dW=(weight of slice)(distance moved).dW=(\text{weight of slice})(\text{distance moved}).

Average value is not the same as average of endpoint values. It is the constant height that gives the same area:

favg(ba)=abf(x)dx.f_{\text{avg}}(b-a)=\int_a^b f(x)\,dx.

Centroid and center of mass formulas also arise from weighted integrals. The same accumulation idea applies, but each small mass is multiplied by a coordinate before integrating.

For volumes, the axis of rotation controls the radius. If the region is rotated about the xx-axis, radii are usually vertical distances. If it is rotated about the yy-axis, radii are usually horizontal distances. Rotating around a shifted line such as y=3y=3 or x=2x=-2 requires measuring distance to that line, not simply using the function value.

The washer method squares radii because each slice is an area. Forgetting the square is a dimensional error: a radius has length units, but a cross-sectional area must have square units. The shell method multiplies circumference 2πr2\pi r, height, and thickness. This also gives cubic units.

Work integrals are built from force times distance, but the force may be hidden inside weight density, spring stretch, pressure, or gravity. For pumping fluid, a horizontal slice has volume, weight, and lifting distance. For hydrostatic force, pressure depends on depth, and the force on a thin strip is pressure times area.

Arc length comes from the distance formula. Over a small interval,

ds(dx)2+(dy)2.ds\approx \sqrt{(dx)^2+(dy)^2}.

Since dy=f(x)dxdy=f'(x)\,dx, this becomes

ds1+[f(x)]2dx.ds\approx \sqrt{1+[f'(x)]^2}\,dx.

Integrating adds the small lengths. Arc length integrals are often algebraically harder than area integrals, and many require numerical methods.

Average value provides a way to replace a varying quantity by an equivalent constant over an interval. If temperature varies over time, the average value is the constant temperature that would produce the same accumulated temperature-time product. In probability, expected values are weighted averages written as integrals.

When curves cross, absolute value is not a cosmetic detail. The area between ff and gg over [a,b][a,b] is

abf(x)g(x)dx,\int_a^b |f(x)-g(x)|\,dx,

but evaluating that integral usually requires splitting at intersection points. Without splitting, positive and negative signed regions may cancel and produce a result smaller than the actual geometric area.

For physical applications, a unit check is a reliable setup test. Density times length gives mass. Force times distance gives work. Area times thickness gives volume. If the units of the integrand times the differential do not match the requested quantity, the slice model is probably wrong.

Some applications can be set up in more than one correct way. A volume may be computed with washers in xx, shells in yy, or sometimes Pappus's theorem in a more advanced setting. A good setup is not the one that looks most familiar; it is the one that expresses the slice cleanly and keeps the bounds simple.

Visual

ApplicationSlice quantityIntegral formUnits
Area between curvesheight dx\cdot dx(topbottom)dx\int(\text{top}-\text{bottom})\,dxsquare units
Washer volumeannulus area dx\cdot dxπ(R2r2)dx\int \pi(R^2-r^2)\,dxcubic units
Shell volumecircumference \cdot height dx\cdot dx2πrhdx\int 2\pi rh\,dxcubic units
Workforce dx\cdot dxF(x)dx\int F(x)\,dxjoules or ft-lb
Massdensity dx\cdot dxρ(x)dx\int \rho(x)\,dxmass units
Arc lengthsmall curve length1+(f)2dx\int\sqrt{1+(f')^2}\,dxlength units

Worked example 1: area between curves

Problem. Find the area enclosed by

y=xandy=x2.y=x \qquad\text{and}\qquad y=x^2.

Method.

  1. Find intersections:
x=x2x2x=0x(x1)=0.x=x^2 \quad\Rightarrow\quad x^2-x=0 \quad\Rightarrow\quad x(x-1)=0.

Thus x=0x=0 and x=1x=1.

  1. Determine which curve is on top. On 0<x<10\lt x\lt 1,
x>x2.x>x^2.

So the top curve is y=xy=x and the bottom curve is y=x2y=x^2.

  1. Set up the area integral:
A=01(xx2)dx.A=\int_0^1 (x-x^2)\,dx.
  1. Find an antiderivative:
(xx2)dx=x22x33.\int (x-x^2)\,dx=\frac{x^2}{2}-\frac{x^3}{3}.
  1. Evaluate:
A=[x22x33]01=1213.A=\left[\frac{x^2}{2}-\frac{x^3}{3}\right]_0^1 =\frac12-\frac13.
  1. Simplify:
A=16.A=\frac16.

Checked answer. The enclosed area is 1/61/6 square unit. The result is positive because the integrand was top minus bottom on the entire interval.

Worked example 2: volume by washers

Problem. Rotate the region under y=xy=\sqrt{x} from x=0x=0 to x=4x=4 around the xx-axis. Find the volume.

Method.

  1. A vertical slice perpendicular to the xx-axis rotates into a disk.

  2. The radius is the function value:

R(x)=x.R(x)=\sqrt{x}.
  1. There is no hole, so r(x)=0r(x)=0.

  2. The washer formula becomes

V=04π(R(x)2r(x)2)dx.V=\int_0^4 \pi(R(x)^2-r(x)^2)\,dx.
  1. Substitute:
V=04π(x)2dx=04πxdx.V=\int_0^4 \pi(\sqrt{x})^2\,dx =\int_0^4 \pi x\,dx.
  1. Integrate:
V=π[x22]04.V=\pi\left[\frac{x^2}{2}\right]_0^4.
  1. Evaluate:
V=π(1620)=8π.V=\pi\left(\frac{16}{2}-0\right)=8\pi.

Checked answer. The volume is 8π8\pi cubic units. The units are cubic because each disk area is multiplied by a thickness dxdx.

A shell setup would use horizontal slices and solve x=y2x=y^2. The shell radius would be yy, the shell height would be 4y24-y^2, and the bounds would be 0y20\le y\le 2:

V=022πy(4y2)dy.V=\int_0^2 2\pi y(4-y^2)\,dy.

Evaluating gives

2π[2y2y44]02=2π(84)=8π,2\pi\left[2y^2-\frac{y^4}{4}\right]_0^2 =2\pi(8-4)=8\pi,

matching the washer result.

This agreement is a strong check because the two methods use different slice directions. When two independent setups produce the same value, the radius, height, and bounds are much more likely to be correct.

In applied settings, the final answer should be interpreted in context. A volume is not just 8π8\pi; it is 8π8\pi cubic units of the solid generated by the stated rotation.

Code

def midpoint_integral(f, a, b, n=10000):
h = (b - a) / n
total = 0.0
for i in range(n):
total += f(a + (i + 0.5) * h)
return total * h

area = midpoint_integral(lambda x: x - x*x, 0, 1)
volume = midpoint_integral(lambda x: 3.141592653589793 * x, 0, 4)
print(area, volume)

Common pitfalls

  • Integrating bottom minus top and getting a negative area.
  • Forgetting to split the interval when curves cross.
  • Squaring the whole diameter instead of the radius in washer problems.
  • Mixing washers and shells without changing the slicing direction.
  • Omitting units. Area, volume, work, and mass have different dimensions.
  • Using endpoint averages instead of integral average value.
  • Treating force as constant in a work problem when the force depends on position.

Connections