Skip to content

Unit 8: Applications of Integration

AP Calc cheatsheet

Open ↗

Loading…

The average value of ff on [a,b][a,b] is the constant height that would produce the same signed area over the interval:

On [a,b][a,b]:

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

This is different from the average rate of change. Average value averages outputs; average rate of change compares endpoint outputs.

Proof (Average value formula). Suppose the average value of ff on [a,b][a,b] is the constant height HH. The rectangle with base length b−ab-a and height HH should have the same signed area as the graph:

H(b−a)=∫abf(x) dx.H(b-a)=\int_a^b f(x)\,dx.

Solving for HH gives

H=1b−a∫abf(x) dx.H=\frac{1}{b-a}\int_a^b f(x)\,dx.

So the average value is

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

Example. Find the average value of f(x)=x2f(x)=x^2 on [0,3][0,3].

Apply the average value formula with a=0a=0 and b=3b=3:

favg=13−0∫03x2 dx.f_{\text{avg}} = \frac{1}{3-0}\int_0^3 x^2\,dx.

The definite integral was computed earlier as ∫03x2 dx=9\int_0^3 x^2\,dx = 9, so

favg=13⋅9=3.f_{\text{avg}} = \frac{1}{3}\cdot 9 = 3.

The average value is 33: a constant height of 33 would enclose the same area over [0,3][0,3] as the curve does.


If velocity is v(t)v(t), then:

displacement=∫abv(t) dt\text{displacement} = \int_a^b v(t)\,dt total distance=∫ab∣v(t)∣ dt\text{total distance} = \int_a^b \lvert v(t) \rvert\,dt

Note that displacement is your net change (signed area), meaning if you traveled around the Earth and traveled back to where you started you have 00 displacement. However, distance measures your total travel, meaning that it is geometric area.

If acceleration is given, integrate acceleration to get change in velocity. If velocity is given, integrate velocity to get change in position. This is just the Fundamental Theorem of Calculus in motion language:

∫abv(t) dt=s(b)−s(a),\int_a^b v(t)\,dt=s(b)-s(a),

because v(t)=s′(t)v(t)=s'(t). Similarly,

∫aba(t) dt=v(b)−v(a),\int_a^b a(t)\,dt=v(b)-v(a),

because a(t)=v′(t)a(t)=v'(t).

So integration does not directly give the final position or final velocity unless you also know an initial value:

s(b)=s(a)+∫abv(t) dt,s(b)=s(a)+\int_a^b v(t)\,dt,

and

v(b)=v(a)+∫aba(t) dt.v(b)=v(a)+\int_a^b a(t)\,dt.

Example. A particle moves with velocity v(t)=t2−4v(t)=t^2-4 (in suitable units) for 0≤t≤30\le t\le 3. Find its displacement and its total distance traveled.

First find where the velocity changes sign:

t2−4=0  ⟹  t=2,t^2-4=0 \;\Longrightarrow\; t=2,

(taking the positive root in the interval). For 0≤t<20\le t<2 the velocity is negative, and for 2<t≤32<t\le3 it is positive.

The displacement is the signed integral over the whole interval:

∫03(t2−4) dt=[t33−4t]03=(9−12)−0=−3.\int_0^3 (t^2-4)\,dt = \left[\frac{t^3}{3}-4t\right]_0^3 = (9-12)-0 = -3.

For total distance, split at t=2t=2 and integrate ∣v(t)∣\lvert v(t)\rvert:

∫02(4−t2) dt=[4t−t33]02=8−83=163,\int_0^2 (4-t^2)\,dt = \left[4t-\frac{t^3}{3}\right]_0^2 = 8-\frac83 = \frac{16}{3}, ∫23(t2−4) dt=[t33−4t]23=(9−12)−(83−8)=−3+163=73.\int_2^3 (t^2-4)\,dt = \left[\frac{t^3}{3}-4t\right]_2^3 = (9-12)-\left(\frac83-8\right) = -3+\frac{16}{3} = \frac{7}{3}.

Adding the two pieces,

total distance=163+73=233.\text{total distance}=\frac{16}{3}+\frac{7}{3}=\frac{23}{3}.

So the displacement is −3-3 while the total distance is 233\frac{23}{3}, confirming that the two quantities differ once the velocity changes sign.


Area between curves is still an accumulation problem. Instead of adding rectangles from the xx-axis to one curve, each thin rectangle measures the distance between two curves, and integrates the function of the distances.

For vertical slices, if f(x)f(x) is the top function and g(x)g(x) is the bottom function (in terms of yy location):

A=∫abf(x)−g(x) dx.A=\int_a^b f(x) - g(x) \,dx.

For horizontal slices, if h(y)h(y) is the right function and j(y)j(y) is the left function (in terms of xx location)

A=∫cdh(y)−j(y) dy.A=\int_c^d h(y) - j(y) \,dy.

The subtraction order is chosen so each slice length is nonnegative.

Example. Find the area enclosed by y=xy=x and y=x2y=x^2.

First find the intersection points:

x=x2⟹x(x−1)=0.x=x^2 \quad\Longrightarrow\quad x(x-1)=0.

So the curves meet at x=0x=0 and x=1x=1. On [0,1][0,1], the line y=xy=x is above y=x2y=x^2. Therefore

A=∫01(x−x2) dx.A=\int_0^1 (x-x^2)\,dx.

Evaluate:

A=[x22−x33]01=12−13=16.A=\left[\frac{x^2}{2}-\frac{x^3}{3}\right]_0^1 = \frac12-\frac13 = \frac16.
0:510:51topy=xbottomy=x2xy

Example. Find the area of the region bounded by x=y2x=y^2 and x=2−yx=2-y.

These equations are easier to compare using horizontal slices because both are already written as xx in terms of yy. Find intersections:

y2=2−y⟹y2+y−2=0⟹(y+2)(y−1)=0.y^2=2-y \quad\Longrightarrow\quad y^2+y-2=0 \quad\Longrightarrow\quad (y+2)(y-1)=0.

So y=−2y=-2 and y=1y=1. On this interval, the right curve is x=2−yx=2-y and the left curve is x=y2x=y^2. The area is

A=∫−21[(2−y)−y2] dy.A=\int_{-2}^{1}\left[(2-y)-y^2\right]\,dy.

Evaluate:

A=[2y−y22−y33]−21=92.A=\left[2y-\frac{y^2}{2}-\frac{y^3}{3}\right]_{-2}^{1} = \frac{9}{2}.

Volume problems use the same slicing idea as area problems, but each slice has area instead of length. The general structure is

V=∫A(slice) d(slice variable).V=\int A(\text{slice})\,d(\text{slice variable}).

The main work is deciding what the cross-sectional area AA is.

If a solid has cross-sectional area A(x)A(x) perpendicular to the xx-axis, then

V=∫abA(x) dx.V=\int_a^b A(x)\,dx.

Common cross sections include squares, rectangles, semicircles, and equilateral triangles.

xybaseregioncrosssectionsperpendiculartox

Example. A solid has base bounded by y=xy=x and y=x2y=x^2 for 0≤x≤10\le x\le1. Cross sections perpendicular to the xx-axis are squares. Find the volume.

The side length of each square is top minus bottom:

s=x−x2.s=x-x^2.

So the cross-sectional area is

A(x)=s2=(x−x2)2.A(x)=s^2=(x-x^2)^2.

Therefore

V=∫01(x−x2)2 dx.V=\int_0^1 (x-x^2)^2\,dx.

Expand and integrate:

V=∫01(x2−2x3+x4) dx=[x33−x42+x55]01=130.V=\int_0^1 (x^2-2x^3+x^4)\,dx = \left[\frac{x^3}{3}-\frac{x^4}{2}+\frac{x^5}{5}\right]_0^1 = \frac{1}{30}.

When a region is revolved around an axis, a slice perpendicular to the axis forms a disk or washer.

If you are only revolving one function around an axis, you can use the disk method:

V=π∫ab[R(x)]2 dx.V=\pi\int_a^b [R(x)]^2\,dx.

If you are revolving two functions and taking the middle portion, you can use the washer method:

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

Here RR is the outer radius (“top” function) and rr is the inner radius (“bottom” function). Both radii are distances to the axis of rotation. The formulas in the integrand is just the standard area formula for a circle with the functions as the radius.

axisRdiskRrwasher

Example. Find the volume formed by revolving the region between y=xy=\sqrt{x} and the xx-axis on [0,4][0,4] about the xx-axis.

The radius is R(x)=xR(x)=\sqrt{x}. There is no hole, so this is a disk problem:

V=π∫04(x)2 dx=π∫04x dx.V=\pi\int_0^4(\sqrt{x})^2\,dx = \pi\int_0^4x\,dx.

Evaluate:

V=π[x22]04=8π.V=\pi\left[\frac{x^2}{2}\right]_0^4=8\pi.

Example. Find the volume formed by revolving the region between y=4−x2y=4-x^2 and y=0y=0 about the line y=−1y=-1.

The axis is below the region, so each washer has outer radius from y=−1y=-1 to y=4−x2y=4-x^2:

R(x)=5−x2.R(x)=5-x^2.

The inner radius is from y=−1y=-1 to y=0y=0:

r(x)=1.r(x)=1.

The curve meets the xx-axis at x=−2x=-2 and x=2x=2. Therefore

V=π∫−22[(5−x2)2−12] dx.V=\pi\int_{-2}^{2}\left[(5-x^2)^2-1^2\right]\,dx.

Expand:

(5−x2)2−1=25−10x2+x4−1=24−10x2+x4.(5-x^2)^2-1=25-10x^2+x^4-1=24-10x^2+x^4.

So

V=π[24x−10x33+x55]−22=1216π15.V=\pi\left[24x-\frac{10x^3}{3}+\frac{x^5}{5}\right]_{-2}^{2} =\frac{1216\pi}{15}.

Shells come from slices parallel to the axis of rotation. A thin shell has approximate volume

dV=2π(radius)(height)(thickness).dV=2\pi(\text{radius})(\text{height})(\text{thickness}).

Thus

V=2π∫ab(radius)(height) d(slice variable).V=2\pi\int_a^b(\text{radius})(\text{height})\,d(\text{slice variable}).

Shells are often cleaner when washers would require solving for inverse functions or splitting the region.

axisradiusheightthicknessthincylindricalshell

Example. Find the volume formed by revolving the region under y=x2y=x^2 from x=0x=0 to x=2x=2 about the yy-axis using shells.

A vertical slice has radius xx and height x2x^2. Therefore

V=2π∫02x(x2) dx=2π∫02x3 dx.V=2\pi\int_0^2 x(x^2)\,dx = 2\pi\int_0^2 x^3\,dx.

Evaluate:

V=2π[x44]02=8π.V=2\pi\left[\frac{x^4}{4}\right]_0^2 = 8\pi.

Example. Find the volume formed by revolving the region bounded by y=xy=x and y=x2y=x^2 about the yy-axis using shells.

The curves intersect where

x=x2⟹x=0,1.x=x^2 \quad\Longrightarrow\quad x=0,1.

Using vertical shells, the radius is xx and the height is top minus bottom:

h(x)=x−x2.h(x)=x-x^2.

Thus

V=2π∫01x(x−x2) dx=2π∫01(x2−x3) dx.V=2\pi\int_0^1 x(x-x^2)\,dx =2\pi\int_0^1(x^2-x^3)\,dx.

Evaluate:

V=2π[x33−x44]01=2π(13−14)=π6.V=2\pi\left[\frac{x^3}{3}-\frac{x^4}{4}\right]_0^1 =2\pi\left(\frac13-\frac14\right) =\frac{\pi}{6}.

Suppose you wanted to find the length traveled along a graph from point aa to point bb. If you zoom in far enough, each tiny part of a smooth curve looks almost like a straight line (linearization). Arc length adds those tiny straight-line distances.

For one tiny piece of curve, the horizontal change is dxdx and the vertical change is dydy. By the Pythagorean theorem,

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

Since

dy=f′(x) dx,dy=f'(x)\,dx,

the length element becomes

dL=1+[f′(x)]2 dx.dL=\sqrt{1+[f'(x)]^2}\,dx.

For a smooth function y=f(x)y=f(x) on [a,b][a,b]:

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

Example. Find the arc length of y=23x3/2y=\frac{2}{3}x^{3/2} on 0≤x≤30\le x\le3.

Differentiate:

y′=x.y'=\sqrt{x}.

Then

L=∫031+(x)2 dx=∫031+x dx.L=\int_0^3 \sqrt{1+(\sqrt{x})^2}\,dx = \int_0^3 \sqrt{1+x}\,dx.

Use u=1+xu=1+x, so du=dxdu=dx. The bounds change from x=0x=0 to u=1u=1 and from x=3x=3 to u=4u=4:

L=∫14u1/2 du=[23u3/2]14.L=\int_1^4 u^{1/2}\,du = \left[\frac{2}{3}u^{3/2}\right]_1^4.

So

L=23(8−1)=143.L=\frac{2}{3}(8-1)=\frac{14}{3}.

Surface area is different from volume: instead of adding cross-sectional areas, it adds thin bands of surface.

If y=f(x)≥0y=f(x)\ge0 is revolved around the xx-axis on [a,b][a,b], then the surface area is

S=2π∫abf(x)1+[f′(x)]2 dx.S=2\pi\int_a^b f(x)\sqrt{1+[f'(x)]^2}\,dx.

If x=g(y)≥0x=g(y)\ge0 is revolved around the yy-axis on [c,d][c,d], then

S=2π∫cdg(y)1+[g′(y)]2 dy.S=2\pi\int_c^d g(y)\sqrt{1+[g'(y)]^2}\,dy.

The radius is the distance to the axis of rotation. The square-root factor comes from arc length.

The formula comes from approximating the surface with many thin bands. A tiny piece of curve has length dsds. When that tiny piece rotates around an axis, it sweeps out a thin band whose circumference is 2πr2\pi r and whose width along the surface is approximately dsds. So

dS≈2πr ds.dS\approx 2\pi r\,ds.

For y=f(x)y=f(x) revolved around the xx-axis, r=f(x)r=f(x) and

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

Example. Set up and solve the surface area integral formed by revolving y=xy=\sqrt{x} on 1≤x≤41\le x\le4 about the xx-axis.

The radius is

r=f(x)=x.r=f(x)=\sqrt{x}.

The derivative is

f′(x)=12x.f'(x)=\frac{1}{2\sqrt{x}}.

So the surface area is

S=2π∫14x1+(12x)2 dx.S=2\pi\int_1^4 \sqrt{x}\sqrt{1+\left(\frac{1}{2\sqrt{x}}\right)^2}\,dx.

Simplify the integrand:

x1+14x=x4x+14x=124x+1.\sqrt{x}\sqrt{1+\frac{1}{4x}} = \sqrt{x}\sqrt{\frac{4x+1}{4x}} = \frac12\sqrt{4x+1}.

Thus

S=2π∫14124x+1 dx=π∫144x+1 dx.S=2\pi\int_1^4 \frac12\sqrt{4x+1}\,dx = \pi\int_1^4 \sqrt{4x+1}\,dx.

Let u=4x+1u=4x+1, so du=4 dxdu=4\,dx. When x=1x=1, u=5u=5. When x=4x=4, u=17u=17. Therefore

S=π4∫517u1/2 du=π4[23u3/2]517.S=\frac{\pi}{4}\int_5^{17}u^{1/2}\,du = \frac{\pi}{4}\left[\frac{2}{3}u^{3/2}\right]_5^{17}.

So

S=π6(173/2−53/2)=π6(1717−55).S=\frac{\pi}{6}\left(17^{3/2}-5^{3/2}\right) = \frac{\pi}{6}(17\sqrt{17}-5\sqrt5).

Applications to statistics: Probability density functions

Section titled “Applications to statistics: Probability density functions”

A probability density function p(x)p(x) must satisfy

p(x)≥0p(x)\ge0

and

∫−∞∞p(x) dx=1.\int_{-\infty}^{\infty}p(x)\,dx=1.

For a continuous random variable,

P(a≤X≤b)=∫abp(x) dx.P(a\le X\le b)=\int_a^b p(x)\,dx.

The mean, or expected value, is

μ=∫−∞∞x p(x) dx.\mu=\int_{-\infty}^{\infty}x\,p(x)\,dx.

Example. Let

p(x)=kxp(x)=kx

on 0≤x≤20\le x\le2 and p(x)=0p(x)=0 elsewhere. Find kk so that pp is a probability density function.

The total probability must be 11:

∫02kx dx=1.\int_0^2 kx\,dx=1.

Evaluate:

k[x22]02=1⟹2k=1.k\left[\frac{x^2}{2}\right]_0^2=1 \quad\Longrightarrow\quad 2k=1.

Thus

k=12.k=\frac12.

Applications of integration are mostly about choosing the correct tiny piece.

When curves cross, split the interval at every intersection point. The expression “top minus bottom” or “right minus left” can change from one subinterval to the next.