Contextual Applications of Differentiation

Study Sheet

Contextual Applications of Differentiation

Rates in context, motion, related rates, linear approximation & L'H ^opital

Interpreting the Derivative in Context

Concept
The meaning of f(a)f'(a)

If y=f(x)y=f(x) describes a real quantity, then f(x)=dydxf'(x)=\dfrac{dy}{dx} is the instantaneous rate of change of yy with respect to xx.

  • [leftmargin=*]
  • Value at a point: f(a)f'(a) is the rate of change of yy at the instant x=ax=a.
  • Units: the units of ff' are always (units of yy) per (units of xx). If VV is in liters and tt in seconds, then dVdt\dfrac{dV}{dt} is in liters per second.
  • Sign: f(a)>0f'(a)>0 means yy is increasing at x=ax=a; f(a)<0f'(a)<0 means decreasing.
  • Second derivative: f(a)f''(a) tells whether the rate itself is increasing or decreasing (concavity).
Example
Reading a rate with units

Let H(t)H(t) be the temperature (in ^\circF) of a cup of coffee tt minutes after it is poured. Suppose H(10)=140H(10)=140 and H(10)=3H'(10)=-3.

Interpretation: At t=10t=10 minutes, the coffee is 140140^\circF and its temperature is decreasing at a rate of 3 3\ ^\circF per minute. The units of HH' are ^\circF/min, and the negative sign means the coffee is cooling.

Estimate: Using the rate, H(11)H(10)+H(10)(1)=1403=137H(11)\approx H(10)+H'(10)(1)=140-3=137^\circF.

Tip

Tip. To interpret a derivative on the AP exam, always name three things: (1) the value/rate, (2) the correct units, and (3) when (the input value). “At x=ax=a, yy is increasing/decreasing at a rate of ___ units per ___.”

Straight-Line (Rectilinear) Motion

Concept
Position, velocity, speed, acceleration

For a particle moving along a line with position s(t)s(t):

  • [leftmargin=*]
  • Velocity v(t)=s(t)v(t)=s'(t) (has a sign: direction of motion).
  • Speed =v(t)=|v(t)| (always 0\ge 0; “how fast”).
  • Acceleration a(t)=v(t)=s(t)a(t)=v'(t)=s''(t).
  • At rest when v(t)=0v(t)=0; the particle may change direction there.
  • Speeding up when vv and aa have the same sign; slowing down when they have opposite signs.
  • Displacement on [a,b][a,b] is s(b)s(a)s(b)-s(a) (net change). Total distance is found by splitting at every time v=0v=0 and adding the absolute changes.
Example
Full motion snapshot

A particle has position s(t)=t36t2+9ts(t)=t^3-6t^2+9t meters, t0t\ge 0 seconds.

v(t)=3t212t+9=3(t1)(t3)v(t)=3t^2-12t+9=3(t-1)(t-3), so v=0v=0 at t=1,3t=1,3.  a(t)=6t12=6(t2)a(t)=6t-12=6(t-2).

Speeding up / slowing down (compare signs of vv and aa):

Total distance on [0,4][0,4]: s(0)=0, s(1)=4, s(3)=0, s(4)=4s(0)=0,\ s(1)=4,\ s(3)=0,\ s(4)=4.

distance=40+04+40=12 m,displacement=s(4)s(0)=4 m.\text{distance}=|4-0|+|0-4|+|4-0|=12\text{ m},\qquad \text{displacement}=s(4)-s(0)=4\text{ m}.
Tip

Tip. “Speeding up” is not the same as “moving in the positive direction.” A particle moving in the negative direction speeds up when its acceleration is also negative. Use signs of vv and aa, never signs of ss.

Related Rates

Concept
The three-step setup

Related-rates problems link the rates of change of two or more quantities that vary with time.

  • [leftmargin=*]
  • Relate: write an equation connecting the variables (geometry, similar triangles, Pythagorean theorem, area/volume formulas). Eliminate variables you have no rate for.
  • Differentiate both sides implicitly with respect to tt (chain rule on every variable).
  • Substitute the known instantaneous values last, then solve for the unknown rate.

Never plug in the moving numbers before differentiating.

Reminder — The Pythagorean theorem:a2+b2=c2a^2+b^2=c^2
Reminder — The differentiation rules:(xn)=nxn1,(fg)=fg+fg,(fg)=fgfgg2,(f(g(x)))=f(g(x))g(x)(x^{n})'=nx^{n-1},\quad (fg)'=f'g+fg',\quad \left(\tfrac{f}{g}\right)'=\frac{f'g-fg'}{g^{2}},\quad \big(f(g(x))\big)'=f'(g(x))g'(x)
Example
Sliding ladder

A 1010-ft ladder leans against a wall. The base is pulled away at dxdt=2\dfrac{dx}{dt}=2 ft/s. How fast is the top sliding down when the base is 66 ft from the wall?

Relate: x2+y2=100x^2+y^2=100. At x=6x=6: y=10036=8y=\sqrt{100-36}=8.

Differentiate: 2xdxdt+2ydydt=02x\dfrac{dx}{dt}+2y\dfrac{dy}{dt}=0.

Substitute: 2(6)(2)+2(8)dydt=024+16dydt=0dydt=322(6)(2)+2(8)\dfrac{dy}{dt}=0\Rightarrow 24+16\dfrac{dy}{dt}=0\Rightarrow \dfrac{dy}{dt}=-\dfrac{3}{2} ft/s.

The top is sliding down at 1.51.5 ft/s.

Tip

Tip. A negative answer for a rate is meaningful: it says the quantity is decreasing. Report the sign and the units, and answer the question that was asked (“sliding down at 1.51.5 ft/s”).

Linear Approximation & Differentials

Concept
Tangent-line approximation

Near x=ax=a a differentiable function is close to its tangent line. The linearization of ff at aa is

L(x)=f(a)+f(a)(xa),f(x)L(x) for x near a.L(x)=f(a)+f'(a)(x-a),\qquad f(x)\approx L(x)\text{ for }x\text{ near }a.

Differentials: for a small change dxdx, the estimated change in yy is dy=f(x)dxdy=f'(x)\,dx, so Δydy\Delta y\approx dy.

Over/under-estimate (use concavity):

  • [leftmargin=*]
  • If f>0f''>0 on the interval (concave up), the tangent line lies below the curve \Rightarrow L(x)L(x) is an underestimate.
  • If f<0f''<0 (concave down), the tangent line lies above the curve \Rightarrow L(x)L(x) is an overestimate.
Example
Approximating 9.1\sqrt{9.1} (and is it over or under?)

Let f(x)=xf(x)=\sqrt{x}, a=9a=9. Then f(9)=3f(9)=3 and f(x)=12xf'(x)=\dfrac{1}{2\sqrt{x}}, so f(9)=16f'(9)=\dfrac{1}{6}.

L(x)=3+16(x9)9.1L(9.1)=3+16(0.1)=3.01666.L(x)=3+\tfrac{1}{6}(x-9)\Rightarrow \sqrt{9.1}\approx L(9.1)=3+\tfrac{1}{6}(0.1)=3.0166\overline{6}.

Since f(x)=14x3/2<0f''(x)=-\dfrac{1}{4}x^{-3/2}<0, ff is concave down, so the tangent line sits above the curve and this is an overestimate. (Actual: 9.1=3.01662\sqrt{9.1}=3.01662\ldots)

Tip

Tip. To decide over- vs. under-estimate, you only need the sign of ff'' between aa and the point you plug in --- concave down \Rightarrow over, concave up \Rightarrow under.

L'Hôpital's Rule

Concept
When and how

If limxcf(x)g(x)\displaystyle\lim_{x\to c}\dfrac{f(x)}{g(x)} gives the indeterminate form 00\dfrac{0}{0} or \dfrac{\infty}{\infty}, then

limxcf(x)g(x)=limxcf(x)g(x)\lim_{x\to c}\frac{f(x)}{g(x)}=\lim_{x\to c}\frac{f'(x)}{g'(x)}

provided the right-hand limit exists (differentiate top and bottom separately --- not the quotient rule). Repeat if still indeterminate.

Other forms must be rewritten first:

  • [leftmargin=*]
  • 00\cdot\infty: rewrite as 00\dfrac{0}{0} or \dfrac{\infty}{\infty} by moving a factor to the denominator.
  • \infty-\infty: combine into a single fraction.
  • 1, 00, 01^\infty,\ 0^0,\ \infty^0: set y=(expression)y=(\text{expression}), take ln\ln, find limlny\lim \ln y, then exponentiate.

Warning: only apply the rule to a genuine 00\tfrac00 or \tfrac\infty\infty. Check the form each time.

Example
A 00\tfrac00 limit needing the rule twice
limx0ex1xx2 (00)=limx0ex12x (00)=limx0ex2=12.\lim_{x\to 0}\frac{e^{x}-1-x}{x^{2}}\ \left(\tfrac00\right) =\lim_{x\to 0}\frac{e^{x}-1}{2x}\ \left(\tfrac00\right) =\lim_{x\to 0}\frac{e^{x}}{2}=\frac{1}{2}.

Each step was checked to still be 00\tfrac00 before applying the rule again.

Example
A 00\cdot\infty product
limx0+xlnx (0())=limx0+lnx1/x ()=limx0+1/x1/x2=limx0+(x)=0.\lim_{x\to 0^+} x\ln x\ (0\cdot(-\infty))=\lim_{x\to0^+}\frac{\ln x}{1/x}\ \left(\tfrac{-\infty}{\infty}\right) =\lim_{x\to0^+}\frac{1/x}{-1/x^2}=\lim_{x\to0^+}(-x)=0.
Tip

Tip. L'Hôpital is for indeterminate forms only. A form like 50\tfrac{5}{0}, 05\tfrac{0}{5}, or 0\tfrac{\infty}{0} is not indeterminate --- evaluate it directly (the answer may be 00, ±\pm\infty, or DNE).

Reminder — L'Hôpital's Rule:limxcf(x)g(x)=limxcf(x)g(x)when 00 or \lim_{x\to c}\frac{f(x)}{g(x)} = \lim_{x\to c}\frac{f'(x)}{g'(x)} \quad\text{when } \tfrac{0}{0} \text{ or } \tfrac{\infty}{\infty}

Going Deeper: Advanced Applications

Concept
1. Newton's Method (root-finding by tangent lines)

To approximate a root of f(x)=0f(x)=0, start with a guess x0x_0 and iterate

xn+1=xnf(xn)f(xn).x_{n+1}=x_n-\frac{f(x_n)}{f'(x_n)}.

Each step follows the tangent line at xnx_n down to the xx-axis.

Example (2\sqrt2 as a root of f(x)=x22f(x)=x^2-2): f(x)=2xf'(x)=2x. With x0=1.5x_0=1.5,

x1=1.5(1.5)222(1.5)=1.50.253=1.416,x2=1.416(1.416)222(1.416)1.41422.x_1=1.5-\frac{(1.5)^2-2}{2(1.5)}=1.5-\frac{0.25}{3}=1.41\overline{6},\quad x_2=1.41\overline{6}-\frac{(1.41\overline6)^2-2}{2(1.41\overline6)}\approx1.41422.

This converges rapidly (2=1.41421\sqrt2=1.41421\ldots). It can fail if f(xn)=0f'(x_n)=0 or the guess is poor.

Concept
2. Accuracy of the linear approximation

The error E(x)=f(x)L(x)E(x)=f(x)-L(x) of a tangent-line estimate is controlled by concavity: its sign is opposite the estimate's bias (concave up L\Rightarrow L under E>0\Rightarrow E>0). The farther xx is from aa and the larger f|f''|, the bigger the error --- EE grows roughly like 12f(a)(xa)2\tfrac12 f''(a)(x-a)^2. So a good estimate needs xx close to aa and small curvature. Always state “over” or “under” by checking the sign of ff'' between aa and xx.

Concept
3. Indeterminate powers via logarithms

For 1, 00, 01^\infty,\ 0^0,\ \infty^0, let yy equal the expression and take ln\ln.

Example (11^\infty): limx(1+3x)x\displaystyle\lim_{x\to\infty}\Big(1+\tfrac{3}{x}\Big)^{x}. Let y=(1+3x)xy=\big(1+\tfrac3x\big)^x, so

lny=xln ⁣(1+3x)=ln(1+3/x)1/x (00)L’H3/x21+3/x1/x2=31+3/x3.\ln y=x\ln\!\Big(1+\tfrac3x\Big)=\frac{\ln(1+3/x)}{1/x}\ \left(\tfrac00\right) \xrightarrow{\text{L'H}}\frac{\frac{-3/x^2}{1+3/x}}{-1/x^2}=\frac{3}{1+3/x}\to 3.

Therefore limx(1+3x)x=e3\displaystyle\lim_{x\to\infty}\big(1+\tfrac3x\big)^x=e^{3}.

Concept
4. Multi-step related rates: draining cone

Water drains from an inverted cone (height 1212 ft, top radius 66 ft) at dVdt=4\dfrac{dV}{dt}=-4 ft3^3/min. Find dhdt\dfrac{dh}{dt} when h=6h=6 ft.

Relate & reduce: similar triangles give rh=612=12\dfrac{r}{h}=\dfrac{6}{12}=\dfrac12, so r=h2r=\dfrac h2 and

V=13πr2h=13π(h2)2h=πh312.V=\frac13\pi r^2 h=\frac13\pi\Big(\frac h2\Big)^2 h=\frac{\pi h^3}{12}.

Differentiate: dVdt=πh24dhdt\dfrac{dV}{dt}=\dfrac{\pi h^2}{4}\dfrac{dh}{dt}. Substitute h=6h=6: 4=π(36)4dhdt=9πdhdt-4=\dfrac{\pi(36)}{4}\dfrac{dh}{dt}=9\pi\dfrac{dh}{dt}, so dhdt=49π0.141\dfrac{dh}{dt}=-\dfrac{4}{9\pi}\approx-0.141 ft/min (falling).

Concept
5. Related rates with an angle

A balloon rises straight up at 33 m/s. An observer stands 5050 m away. How fast is the angle of elevation θ\theta increasing when the balloon is 5050 m high?

Relate: tanθ=h50\tan\theta=\dfrac{h}{50}. Differentiate: sec2θdθdt=150dhdt\sec^2\theta\,\dfrac{d\theta}{dt}=\dfrac{1}{50}\dfrac{dh}{dt}. At h=50h=50, θ=45\theta=45^\circ so sec2θ=2\sec^2\theta=2: 2dθdt=150(3)2\dfrac{d\theta}{dt}=\dfrac{1}{50}(3), giving dθdt=3100=0.03\dfrac{d\theta}{dt}=\dfrac{3}{100}=0.03 rad/s.

Concept
6. Rectilinear motion: the sign-chart method

For a full motion analysis on [a,b][a,b]:

  • [leftmargin=*]
  • Find v=sv=s' and a=sa=s''; solve v=0v=0 and a=0a=0.
  • Build a number line; mark the sign of vv (direction) and of aa on each subinterval.
  • Same signs \Rightarrow speeding up; opposite signs \Rightarrow slowing down.
  • For total distance, split [a,b][a,b] at every time v=0v=0 and add s(ti+1)s(ti)|s(t_{i+1})-s(t_i)|; for displacement, just compute s(b)s(a)s(b)-s(a).

Formulas, Proofs & Tips

Tip
Critical points and concavity
f(c)=0 or undefinedc critical;f>0concave up, f<0concave downf'(c)=0 \text{ or undefined} \Rightarrow c \text{ critical};\qquad f''>0 \Rightarrow \text{concave up},\ f''<0 \Rightarrow \text{concave down}

What it means. Maxima and minima hide where the slope is zero; the second derivative says which one it is.

Example. f(x)=x33xf(x)=x^3-3x: f(x)=3x23=0f'(x)=3x^2-3=0 at x=±1x=\pm1, the critical points.

Why it works. At a smooth peak or valley the tangent is horizontal, so f=0f'=0. If f>0f''>0 the slope is increasing, so the curve bends upward and a horizontal tangent must be a minimum; f<0f''<0 reverses it.

Tip. f=0f'=0 alone is not enough — y=x3y=x^3 has f(0)=0f'(0)=0 but no extremum. Check a sign change of ff', or use ff''.

Tip
L'Hôpital's Rule
limxcf(x)g(x)=limxcf(x)g(x)when 00 or \lim_{x\to c}\frac{f(x)}{g(x)} = \lim_{x\to c}\frac{f'(x)}{g'(x)} \quad\text{when } \tfrac{0}{0} \text{ or } \tfrac{\infty}{\infty}

What it means. If a limit gives the indeterminate form 00\tfrac{0}{0} or \tfrac{\infty}{\infty}, differentiate the top and bottom separately and try again.

Why it works. Near cc both functions are approximated by their tangent lines, f(x)f(c)(xc)f(x)\approx f'(c)(x-c) and g(x)g(c)(xc)g(x)\approx g'(c)(x-c). The common factor (xc)(x-c) cancels in the ratio, leaving f(c)g(c)\tfrac{f'(c)}{g'(c)}.

Tip. Check the form FIRST — applying it to a limit that isn't indeterminate gives a wrong answer. It is not the quotient rule: do not differentiate fg\tfrac{f}{g} as a whole.