Skip to content

Unit 4: Contextual Applications of Differentiation

AP Calc cheatsheet

Open ↗

Loading…


If Q(t)Q(t) is a quantity depending on time, then:

  • Q′(t)Q'(t) is the instantaneous rate of change of QQ,
  • units of Q′(t)Q'(t) are units of QQ per unit of tt.

Always interpret both sign and units and give sufficient context if necessary.

Many contextual problems also distinguish between average and instantaneous rates of change. The average rate on [a,b][a,b] is the slope of the secant line:

Q(b)−Q(a)b−a,\frac{Q(b)-Q(a)}{b-a},

while the instantaneous rate at t=at=a is the derivative:

Q′(a).Q'(a).

If you are trying to figure out a mean or average, use average rate of change, but if you are trying to find your speed or rate of change at a specific moment, use derivatives.

A derivative value is not just a number. A complete interpretation usually needs:

  • the quantity changing,
  • the input value or time,
  • the direction of change if the sign matters,
  • correct units.

If H(t)H(t) is height in meters and H′(3)=−2H'(3)=-2, then at t=3t=3 the height is decreasing at 22 meters per unit of time. The negative sign means the height is going down; the magnitude 22 describes the speed of that change.

Example. Let P(t)P(t) be the number of fish in a lake, where tt is measured in years. Write a full sentence interpreting the statement P′(5)=40P'(5)=40.

The quantity changing is the fish population, measured in fish; the input is time in years; the sign is positive, so the population is growing; and the units of the derivative are fish per year. A complete interpretation is:

At time t=5t=5 years, the fish population is increasing at a rate of 4040 fish per year.

Notice that this is a rate, not a total: it does not say there are 4040 fish, but rather that the population is growing by about 4040 fish for each additional year near t=5t=5.

Contextual problems often include more variables than you actually need. The goal is to write one equation connecting the changing quantities, then identify which rate the question asks for.

If the independent variable is time, every changing quantity gets a rate such as dx/dtdx/dt, dV/dtdV/dt, or dA/dtdA/dt.

Example. A circular puddle has radius rr feet, and its area is increasing at 1212 square feet per minute. How fast is the radius increasing when r=3r=3?

Start with the relationship between area and radius:

A=πr2.A=\pi r^2.

Differentiate with respect to time:

dAdt=2πrdrdt.\frac{dA}{dt}=2\pi r\frac{dr}{dt}.

Now substitute the given values:

12=2π(3)drdt.12=2\pi(3)\frac{dr}{dt}.

So

drdt=126π=2π.\frac{dr}{dt}=\frac{12}{6\pi}=\frac{2}{\pi}.

The radius is increasing at 2π\frac{2}{\pi} feet per minute.


Given a graph of a function ff:

  • slope describes the derivative f′f',
  • steep positive slope means rapid increase,
  • slope near zero means little short-term change,
  • concavity tells whether the rate itself is increasing or decreasing.

Given a graph of a derivative f′f':

  • positive derivative means original function is increasing,
  • negative derivative means decreasing,
  • derivative crossing zero may indicate an extremum in the original function.

A lot of the contextual problems for AP Calculus regard physics and straight line motion. We denote position as s(t)s(t) or x(t)x(t), velocity as v(t)v(t), and acceleration as a(t)a(t).

For motion on a line, position, velocity, acceleration, and speed are related but not interchangeable.

Velocity is a vector, which means it includes direction:

v(t)=s′(t)v(t)=s'(t)

Speed is a scalar meaning it is the magnitude of velocity and does not include direction:

∣v(t)∣\lvert v(t)\rvert

Acceleration:

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

tells how velocity is changing. Speed increases when velocity and acceleration point in the same direction, because the velocity value is moving farther from zero. Speed decreases when velocity and acceleration have opposite signs.

For straight-line motion, AP problems often ask for all of the following from one model:

  • position at a time,
  • velocity at a time,
  • acceleration at a time,
  • when the particle is at rest,
  • when the particle changes direction,
  • total distance traveled on an interval.

Changing direction requires velocity to change sign, not merely equal zero. A particle can stop for an instant and continue in the same direction.

Example. A particle moves along a line with velocity v(t)=t2−5t+6v(t)=t^2-5t+6

for 0≤t≤40\le t\le4. Determine when it is moving right, when it is moving left, and whether it changes direction.

Factor the velocity:

v(t)=t2−5t+6=(t−2)(t−3).v(t)=t^2-5t+6=(t-2)(t-3).

The velocity is zero at t=2t=2 and t=3t=3. Test intervals:

v(1)=(1−2)(1−3)=2>0,v(1)=(1-2)(1-3)=2>0, v(2.5)=(0.5)(−0.5)<0,v(2.5)=(0.5)(-0.5)<0,

and

v(3.5)=(1.5)(0.5)>0.v(3.5)=(1.5)(0.5)>0.

So the particle moves right on (0,2)(0,2) and (3,4)(3,4), and left on (2,3)(2,3). Since the sign of velocity changes at both t=2t=2 and t=3t=3, the particle changes direction at both times.

Example. A particle moves along a line with position s(t)=t3−6t2+9ts(t)=t^3-6t^2+9t meters, where tt is in seconds. Find the velocity and acceleration at t=4t=4, and determine whether the particle is speeding up or slowing down.

Differentiate to get velocity and acceleration:

v(t)=s′(t)=3t2−12t+9,a(t)=v′(t)=6t−12.v(t)=s'(t)=3t^2-12t+9,\qquad a(t)=v'(t)=6t-12.

Evaluate both at t=4t=4:

v(4)=3(16)−12(4)+9=48−48+9=9 m/s,v(4)=3(16)-12(4)+9=48-48+9=9\ \text{m/s}, a(4)=6(4)−12=12 m/s2.a(4)=6(4)-12=12\ \text{m/s}^2.

At t=4t=4 the velocity is +9+9 m/s and the acceleration is +12+12 m/s2^2. Because velocity and acceleration have the same sign, the velocity is moving farther from zero, so the particle is speeding up.


In business-style applications:

  • C(x)C(x) is cost,
  • R(x)R(x) is revenue,
  • P(x)=R(x)−C(x)P(x)=R(x)-C(x) is profit,
  • C′(x)C'(x), R′(x)R'(x), and P′(x)P'(x) are marginal cost, revenue, and profit.
  • C‾(x)=C(x)x\overline C(x)=\frac{C(x)}{x} is average cost per item.

For example, C′(100)=7C'(100)=7 means that near 100100 items, producing one more item increases cost by about 77 dollars.

The average cost function is useful when a problem asks for cost per item instead of total cost. To minimize average cost, differentiate C‾(x)\overline C(x) and look for critical points. A common relationship at an interior minimum is

C′(x)=C‾(x),C'(x)=\overline C(x),

which means the marginal cost equals the average cost.

Break-even and optimization language often uses the same functions:

  • profit is positive when R(x)>C(x)R(x)>C(x),
  • break-even points occur when R(x)=C(x)R(x)=C(x),
  • profit is maximized where P′(x)=0P'(x)=0 or at an endpoint of the feasible domain.
  • at an interior profit maximum, P′(x)=0P'(x)=0 means R′(x)=C′(x)R'(x)=C'(x).

Example. Suppose cost and revenue are modeled by

C(x)=0.02x2+4x+300,R(x)=20x,C(x)=0.02x^2+4x+300, \qquad R(x)=20x,

where xx is the number of items sold. Find the marginal profit at x=200x=200 and interpret it.

Profit is revenue minus cost:

P(x)=R(x)−C(x)=20x−(0.02x2+4x+300).P(x)=R(x)-C(x)=20x-(0.02x^2+4x+300).

Simplify:

P(x)=−0.02x2+16x−300.P(x)=-0.02x^2+16x-300.

Differentiate:

P′(x)=−0.04x+16.P'(x)=-0.04x+16.

Evaluate at x=200x=200:

P′(200)=−0.04(200)+16=8.P'(200)=-0.04(200)+16=8.

At a production level of 200200 items, profit is increasing at about 88 dollars per additional item. This means producing and selling one more item near that level is expected to increase profit by about 88 dollars.

Example. A company sells xx items at price p(x)=50−0.02xp(x)=50-0.02x dollars per item, and its cost is C(x)=1000+10xC(x)=1000+10x dollars. Find the marginal revenue and marginal profit when x=500x=500.

Revenue is price times quantity:

R(x)=x(50−0.02x)=50x−0.02x2.R(x)=x(50-0.02x)=50x-0.02x^2.

Profit is revenue minus cost:

P(x)=R(x)−C(x)=50x−0.02x2−(1000+10x).P(x)=R(x)-C(x)=50x-0.02x^2-(1000+10x).

Simplify:

P(x)=40x−0.02x2−1000.P(x)=40x-0.02x^2-1000.

Differentiate:

R′(x)=50−0.04x,P′(x)=40−0.04x.R'(x)=50-0.04x, \qquad P'(x)=40-0.04x.

Evaluate at x=500x=500:

R′(500)=50−0.04(500)=30,R'(500)=50-0.04(500)=30, P′(500)=40−0.04(500)=20.P'(500)=40-0.04(500)=20.

At 500500 items, revenue is increasing by about 3030 dollars per additional item, and profit is increasing by about 2020 dollars per additional item.


In a related rates problem, write an equation connecting quantities that change together. These equations often come from:

  • Pythagorean theorem,
  • volume formulas,
  • area formulas,
  • similar triangles.

If the problem asks how fast a quantity is changing, the final answer should usually be a value of a derivative with units.

Related rates uses implicit differentiation with respect to time. Treat changing quantities as functions of time, even if the equation does not explicitly contain tt, and keep fixed quantities constant. For example, in x2+y2=L2x^2+y^2=L^2, the ladder length LL is constant, but xx and yy change as the ladder slides. That is why differentiating gives rate terms:

ddt(x2+y2)=ddt(L2)⟹2xdxdt+2ydydt=0.\frac{d}{dt}(x^2+y^2)=\frac{d}{dt}(L^2) \quad\Longrightarrow\quad 2x\frac{dx}{dt}+2y\frac{dy}{dt}=0.

Do not plug in the numerical values before differentiating. The equation must still show how the variables are changing.

Example. A 1010 ft ladder leans against a wall. The bottom of the ladder is sliding away from the wall at 22 ft/s. When the bottom is 66 ft from the wall, how fast is the top of the ladder sliding down?

ladderx(t)y(t)dxdt>0dydt<0

Let xx be the distance from the wall to the bottom of the ladder, and let yy be the height of the top of the ladder. The ladder length is constant, so

x2+y2=102.x^2+y^2=10^2.

At the moment x=6x=6, find yy:

62+y2=100⟹y2=64⟹y=8.6^2+y^2=100 \quad\Longrightarrow\quad y^2=64 \quad\Longrightarrow\quad y=8.

Differentiate the equation with respect to time:

2xdxdt+2ydydt=0.2x\frac{dx}{dt}+2y\frac{dy}{dt}=0.

Substitute x=6x=6, y=8y=8, and dxdt=2\frac{dx}{dt}=2:

2(6)(2)+2(8)dydt=0.2(6)(2)+2(8)\frac{dy}{dt}=0.

Solve:

24+16dydt=0⟹dydt=−2416=−32.24+16\frac{dy}{dt}=0 \quad\Longrightarrow\quad \frac{dy}{dt}=-\frac{24}{16}=-\frac32.

The top of the ladder is sliding down at 32\frac32 ft/s.

Example. Air is pumped into a spherical balloon so that its volume increases at dVdt=100\frac{dV}{dt}=100 cubic centimeters per second. How fast is the radius changing at the moment when r=5r=5 cm?

The source equation is the volume of a sphere:

V=43πr3.V=\frac{4}{3}\pi r^3.

Differentiate both sides with respect to time, treating rr as a function of tt:

dVdt=4πr2 drdt.\frac{dV}{dt}=4\pi r^2\,\frac{dr}{dt}.

Substitute the known values dVdt=100\frac{dV}{dt}=100 and r=5r=5:

100=4π(5)2 drdt=100π drdt.100=4\pi(5)^2\,\frac{dr}{dt}=100\pi\,\frac{dr}{dt}.

Solve for the radius rate:

drdt=100100π=1π≈0.318 cm/s.\frac{dr}{dt}=\frac{100}{100\pi}=\frac{1}{\pi}\approx 0.318\ \text{cm/s}.

When the radius is 55 cm, it is increasing at about 0.3180.318 centimeters per second. The rate is positive because the balloon is inflating.

If a quantity changes because something enters and leaves, then:

net change rate=rate in−rate out.\text{net change rate} = \text{rate in} - \text{rate out}.

If R(t)R(t) is the rate entering a tank and L(t)L(t) is the rate leaving, then:

V′(t)=R(t)−L(t).V'(t) = R(t) - L(t).

Example. Water enters a tank at a constant rate R(t)=8R(t)=8 gallons per minute, and leaves at a rate L(t)=tL(t)=t gallons per minute, where tt is in minutes. Find V′(10)V'(10) and state whether the volume is rising or falling at that instant.

The net rate of change of volume is the rate in minus the rate out:

V′(t)=R(t)−L(t)=8−t.V'(t)=R(t)-L(t)=8-t.

Evaluate at t=10t=10:

V′(10)=8−10=−2 gallons per minute.V'(10)=8-10=-2\ \text{gallons per minute}.

At t=10t=10 minutes the volume is changing at −2-2 gallons per minute. The negative sign means more water is leaving than entering, so the volume is falling at that instant.


Sometimes, we can use derivatives to estimate functions. Let L(x)L(x) be the estimated value of f(x)f(x). Near x=ax=a define L(x)L(x) as,

L(x)=f(a)+f′(a)(x−a).L(x) = f(a) + f'(a)(x-a).

For small changes in the input value (as long as the value stays near aa), L(x)L(x) basically equals f(x)f(x) for all intensive purposes. Scientists (especiallty physicists) and mathematicians use the process of linearization to simplify hard equations into much simpler ones.

Proof (Linearization). Differentiability at aa means

f′(a)=lim⁡x→af(x)−f(a)x−a.f'(a)=\lim_{x\to a}\frac{f(x)-f(a)}{x-a}.

For xx close to aa, the difference quotient is close to f′(a)f'(a), so

f(x)−f(a)x−a≈f′(a).\frac{f(x)-f(a)}{x-a}\approx f'(a).

Multiplying by x−ax-a gives

f(x)≈f(a)+f′(a)(x−a).f(x)\approx f(a)+f'(a)(x-a).

Linearization is a local approximation near aa. Farther away, the tangent line may no longer approximate the function well.

Example. Use a linearization to estimate 27\sqrt{27}.

Let f(x)=xf(x)=\sqrt{x} and choose the nearby easy point a=25a=25, since 25=5\sqrt{25}=5. The derivative is

f′(x)=12x,f′(25)=12⋅5=110.f'(x)=\frac{1}{2\sqrt{x}},\qquad f'(25)=\frac{1}{2\cdot 5}=\frac{1}{10}.

The linearization at a=25a=25 is

L(x)=f(25)+f′(25)(x−25)=5+110(x−25).L(x)=f(25)+f'(25)(x-25)=5+\frac{1}{10}(x-25).

Estimate at x=27x=27:

27≈L(27)=5+110(2)=5.2.\sqrt{27}\approx L(27)=5+\frac{1}{10}(2)=5.2.

So 27≈5.2\sqrt{27}\approx 5.2. The true value is about 5.1965.196, so the linear estimate is accurate to within a couple thousandths because 2727 is close to 2525.

Definition. If y=f(x)y=f(x), then the differential is defined as

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

This is equivalent to f′(x)=dydxf'(x)=\frac{dy}{dx}, combining two well known derivative notations (Think of it like treating dydy and dxdx as variables).

The differential models the approximate change in yy caused by a infinitesimal small change dxdx in xx. This is the same idea as linearization, written in a compact way:

Δy≈dy=f′(a)Δx.\Delta y\approx dy=f'(a)\Delta x.

The actual change is

Δy=f(a+Δx)−f(a),\Delta y=f(a+\Delta x)-f(a),

while the differential estimate is

dy=f′(a)Δx.dy=f'(a)\Delta x.

Differentials are especially useful for error estimates. If a measurement has possible error Δx\Delta x, then the propagated output error is approximately

∣dy∣=∣f′(a)∣∣Δx∣.\lvert dy\rvert=\lvert f'(a)\rvert\lvert \Delta x\rvert.

The same method estimates how measurement errors affect calculated quantities in physics.


When algebra does not resolve an indeterminate limit, L’Hôpital’s Rule may help, provided its conditions are met.

Theorem (L’Hôpital’s Rule). If a limit produces 0/00/0 or ∞/∞\infty/\infty and the hypotheses are satisfied, then

lim⁡x→af(x)g(x)=lim⁡x→af′(x)g′(x)\lim_{x \to a} \frac{f(x)}{g(x)} = \lim_{x \to a} \frac{f'(x)}{g'(x)}

provided the new limit exists in a usable way.

Here, “the hypotheses are satisfied” means the functions are differentiable near the input value, the denominator is not becoming unusable in the derivative step, and the original limit really has one of the indeterminate forms 0/00/0 or ∞/∞\infty/\infty. Do not use L’Hopital’s Rule just because a quotient looks complicated.

Proof (L’Hôpital’s Rule). Here is the idea for the 0/00/0 case. Suppose f(a)=g(a)=0f(a)=g(a)=0, and suppose ff and gg satisfy the needed continuity and differentiability conditions near aa, with g′(x)≠0g'(x)\ne0.

Cauchy’s Mean Value Theorem is a two-function version of the Mean Value Theorem. Instead of comparing one function’s average rate to one derivative, it compares the average rates of two functions:

For x≠ax\ne a, it gives a number cc between aa and xx such that

f(x)−f(a)g(x)−g(a)=f′(c)g′(c).\frac{f(x)-f(a)}{g(x)-g(a)} = \frac{f'(c)}{g'(c)}.

Since f(a)=g(a)=0f(a)=g(a)=0, this becomes

f(x)g(x)=f′(c)g′(c).\frac{f(x)}{g(x)}=\frac{f'(c)}{g'(c)}.

As x→ax\to a, the point cc also moves toward aa. If

lim⁡u→af′(u)g′(u)=L,\lim_{u\to a}\frac{f'(u)}{g'(u)}=L,

then

lim⁡x→af(x)g(x)=L.\lim_{x\to a}\frac{f(x)}{g(x)}=L.

The ∞/∞\infty/\infty case is proved with a similar Cauchy Mean Value Theorem argument, but the hypotheses are more technical.

If one round of L’Hôpital’s cancellations doesn’t get rid of the indeterminate forms, you can always continuing applying it until you get an example!

Example. Evaluate lim⁡x→0ex−1x.\displaystyle\lim_{x\to0}\frac{e^x-1}{x}.

Direct substitution gives e0−10=00\frac{e^0-1}{0}=\frac{0}{0}, an indeterminate form, so L’Hopital’s Rule applies. Differentiate the numerator and denominator separately:

lim⁡x→0ex−1x=lim⁡x→0ex1.\lim_{x\to0}\frac{e^x-1}{x}=\lim_{x\to0}\frac{e^x}{1}.

Now substitution works:

lim⁡x→0ex1=e0=1.\lim_{x\to0}\frac{e^x}{1}=e^0=1.

So the limit equals 11.

L’Hôpital’s Rule requires a quotient with an indeterminate form:

00or∞∞.\frac{0}{0} \quad\text{or}\quad \frac{\infty}{\infty}.

It does not apply just because a fraction is present. Check the original form first.

For other indeterminate forms, rewrite before using the rule. For instance, products, differences, and powers may need algebra or logarithms before they become a quotient form.

Common rewrites:

Original formPossible rewrite
0⋅∞0\cdot\inftymove one factor to the denominator
∞−∞\infty-\inftycombine into one fraction or rationalize
1∞, 00, ∞01^\infty,\ 0^0,\ \infty^0take logs, find the limit of ln⁡y\ln y, then exponentiate

Example. Evaluate lim⁡x→0+xln⁡x.\lim_{x\to0^+}x\ln x.

Directly, this has the indeterminate form 0⋅(−∞)0\cdot(-\infty). Rewrite it as a quotient:

xln⁡x=ln⁡x1/x.x\ln x=\frac{\ln x}{1/x}.

Now the form is −∞/∞-\infty/\infty, so L’Hopital’s Rule applies:

lim⁡x→0+ln⁡x1/x=lim⁡x→0+1/x−1/x2.\lim_{x\to0^+}\frac{\ln x}{1/x} = \lim_{x\to0^+}\frac{1/x}{-1/x^2}.

Simplify:

1/x−1/x2=−x.\frac{1/x}{-1/x^2}=-x.

Therefore

lim⁡x→0+xln⁡x=lim⁡x→0+(−x)=0.\lim_{x\to0^+}x\ln x = \lim_{x\to0^+}(-x)=0.

Example. Evaluate lim⁡x→0+(1+x)1/x.\lim_{x\to0^+}(1+x)^{1/x}.

Let

y=(1+x)1/x.y=(1+x)^{1/x}.

Take the natural logarithm:

ln⁡y=ln⁡(1+x)x.\ln y=\frac{\ln(1+x)}{x}.

The right side gives 0/00/0 as x→0+x\to0^+, so use L’Hopital’s Rule:

lim⁡x→0+ln⁡(1+x)x=lim⁡x→0+1/(1+x)1=1.\lim_{x\to0^+}\frac{\ln(1+x)}{x} = \lim_{x\to0^+}\frac{1/(1+x)}{1} =1.

Thus

lim⁡x→0+ln⁡y=1.\lim_{x\to0^+}\ln y=1.

Exponentiate to return to yy:

lim⁡x→0+(1+x)1/x=e1=e.\lim_{x\to0^+}(1+x)^{1/x}=e^1=e.

Contextual derivative questions are translation problems first and calculus problems second. Before differentiating, decide what each symbol measures and what its derivative would mean.

When writing interpretations:

  • “Increasing” means the derivative is positive.
  • “Decreasing” means the derivative is negative.
  • “Speeding up” means velocity and acceleration have the same sign.
  • “Slowing down” means velocity and acceleration have opposite signs.
  • “Approximately” usually signals linearization or a tangent-line estimate.