Chapter 4: Applications of Derivatives

AP Calculus AB & BC  |  Unit 2: Applications of Derivatives

Learning Objectives

4.1 Related Rates

In related rates problems, two or more quantities change over time and are linked by an equation. We differentiate that equation with respect to time $t$ (using the chain rule) to relate their rates of change.

Related Rates Strategy

  1. Identify all quantities that change with time and assign variables.
  2. Write an equation relating those quantities (geometric formula, Pythagorean theorem, etc.).
  3. Differentiate both sides with respect to $t$, using the chain rule.
  4. Substitute the known values and solve for the unknown rate.

Example 4.1 — Ladder Sliding Down a Wall

A 10-foot ladder leans against a wall. The bottom slides away from the wall at 2 ft/sec. How fast is the top sliding down when the bottom is 6 ft from the wall?

Setup: Let $x$ = distance from wall (bottom), $y$ = height on wall. Pythagorean: $x^2 + y^2 = 100$.

Differentiate w.r.t. $t$: $2x\dfrac{dx}{dt} + 2y\dfrac{dy}{dt} = 0$

Find $y$ when $x = 6$: $y = \sqrt{100 - 36} = 8$

Substitute ($\dfrac{dx}{dt} = 2$, $x=6$, $y=8$): $2(6)(2) + 2(8)\dfrac{dy}{dt} = 0$

$\dfrac{dy}{dt} = -\dfrac{24}{16} = -\dfrac{3}{2}$ ft/sec

The top slides down at $\dfrac{3}{2}$ ft/sec (negative = downward).

TRY IT

A spherical balloon is being inflated so its volume increases at 10 cm³/sec. How fast is the radius growing when $r = 5$ cm? (Recall: $V = \frac{4}{3}\pi r^3$)

Show Answer
$\dfrac{dV}{dt} = 4\pi r^2 \dfrac{dr}{dt}$
At $r=5$: $10 = 4\pi(25)\dfrac{dr}{dt}$
$\dfrac{dr}{dt} = \dfrac{10}{100\pi} = \dfrac{1}{10\pi}$ cm/sec $\approx 0.032$ cm/sec

Example 4.2 — Shadow Problem

A 6-foot person walks away from a 15-foot streetlight at 4 ft/sec. How fast is their shadow lengthening?

Let $x$ = person's distance from the lamp, $s$ = shadow length. By similar triangles: $\dfrac{15}{x+s} = \dfrac{6}{s}$, so $15s = 6(x+s)$, giving $9s = 6x \Rightarrow s = \dfrac{2x}{3}$.

Differentiate: $\dfrac{ds}{dt} = \dfrac{2}{3}\dfrac{dx}{dt} = \dfrac{2}{3}(4) = \dfrac{8}{3}$ ft/sec.

The shadow always lengthens at $\dfrac{8}{3}$ ft/sec regardless of position.

AP Exam Tip: Related rates are a classic FRQ topic. Always state what each variable represents and its units. Identify given rates (with sign: negative if decreasing) and the rate being sought. Show the differentiated equation before substituting values — this earns partial credit.

The sliding ladder: as $x$ (distance from wall) increases, $y$ (height) decreases. Use the slider to see both rates in action.

Figure 4.1 — Related Rates: Ladder Sliding Down Wall ($x^2 + y^2 = 100$)

4.2 Linear Approximation and Differentials

Near a point $(a, f(a))$, a differentiable function is well approximated by its tangent line. This is the foundation of linear approximation.

Linear Approximation (Linearization)

The linearization of $f$ at $x = a$ is the tangent line: $$L(x) = f(a) + f'(a)(x - a)$$

For $x$ near $a$: $f(x) \approx L(x)$.

Differential: If $y = f(x)$, then $dy = f'(x)\,dx$. For small change $\Delta x \approx dx$: $\Delta y \approx dy = f'(x)\,dx$.

Example 4.3 — Estimate $\sqrt{4.02}$

Let $f(x) = \sqrt{x}$, so $f'(x) = \dfrac{1}{2\sqrt{x}}$. Linearize at $a = 4$:

$L(x) = f(4) + f'(4)(x-4) = 2 + \dfrac{1}{4}(x-4)$

At $x = 4.02$: $L(4.02) = 2 + \dfrac{1}{4}(0.02) = 2 + 0.005 = 2.005$

Actual: $\sqrt{4.02} \approx 2.00499...$. Very close!

TRY IT

Use linear approximation to estimate $\sin(0.1)$ using $f(x) = \sin x$ at $a = 0$.

Show Answer
$f(0) = 0$, $f'(x) = \cos x$, $f'(0) = 1$
$L(x) = 0 + 1\cdot(x - 0) = x$
$\sin(0.1) \approx 0.1$ (actual: 0.09983... — excellent approximation!)

Linear approximation: the tangent line (red) hugs the curve (blue) near the base point. Drag the slider to change the base point $a$.

Figure 4.2 — Linear Approximation of $f(x) = \sqrt{x}$ at $a = 4$

4.3 Mean Value Theorem

The Mean Value Theorem (MVT) is one of the most important theoretical results in calculus. It guarantees that somewhere on a smooth curve, the instantaneous rate of change equals the average rate of change.

Theorem: Mean Value Theorem (MVT)

If $f$ is:

then there exists at least one $c \in (a, b)$ such that:

$$f'(c) = \frac{f(b) - f(a)}{b - a}$$

The slope of the tangent line at $x = c$ equals the slope of the secant line from $a$ to $b$.

Corollary: Rolle's Theorem

If additionally $f(a) = f(b)$, then there exists $c \in (a, b)$ with $f'(c) = 0$. (At least one horizontal tangent exists between equal endpoints.)

Example 4.4 — Applying the MVT

Let $f(x) = x^3 - x$ on $[0, 2]$. Find the value(s) of $c$ guaranteed by the MVT.

Average rate: $\dfrac{f(2)-f(0)}{2-0} = \dfrac{(8-2)-0}{2} = \dfrac{6}{2} = 3$

Set $f'(c) = 3$: $f'(x) = 3x^2 - 1 = 3 \Rightarrow 3x^2 = 4 \Rightarrow x^2 = \dfrac{4}{3}$

$c = \dfrac{2}{\sqrt{3}} = \dfrac{2\sqrt{3}}{3} \approx 1.155 \in (0, 2)$ ✓

TRY IT

Verify the MVT applies to $f(x) = x^2$ on $[1, 3]$, then find $c$.

Show Answer
$f$ is a polynomial — continuous and differentiable everywhere. ✓
Average rate: $\dfrac{f(3)-f(1)}{3-1} = \dfrac{9-1}{2} = 4$
Set $f'(c) = 2c = 4 \Rightarrow c = 2 \in (1,3)$ ✓

Using MVT to Argue About Functions

The MVT is often used to prove facts from derivative information. For example: if $f'(x) > 0$ for all $x \in (a,b)$, then $f$ is increasing on $(a,b)$. This follows because for any $x_1 < x_2$ in the interval, the MVT guarantees $f(x_2) - f(x_1) = f'(c)(x_2 - x_1) > 0$.

AP Exam Tip: The MVT is often tested as a justification problem. Given a table of values, you may be asked: "Explain why there must exist a $c$ such that $f'(c) = k$." The key is to first verify the conditions (continuous, differentiable on the interval), then invoke the MVT explicitly by name.

The Mean Value Theorem: the red tangent at $c$ is parallel to the blue secant from $(a, f(a))$ to $(b, f(b))$. Adjust $a$ and $b$ to explore.

Figure 4.3 — Mean Value Theorem for $f(x) = x^3 - x$ on $[0, 2]$

Practice Problems

1

A conical tank (vertex down) has radius 3 m and height 6 m. Water fills at 2 m³/min. How fast is the water level rising when the depth is 4 m? ($V = \frac{1}{3}\pi r^2 h$; by similar triangles, $r = h/2$.)

Show Solution
$r = h/2$, so $V = \dfrac{1}{3}\pi(h/2)^2 h = \dfrac{\pi h^3}{12}$
$\dfrac{dV}{dt} = \dfrac{\pi h^2}{4}\dfrac{dh}{dt}$
At $h=4$: $2 = \dfrac{\pi(16)}{4}\dfrac{dh}{dt} = 4\pi\dfrac{dh}{dt}$
$\dfrac{dh}{dt} = \dfrac{1}{2\pi} \approx 0.159$ m/min
2

Two cars leave an intersection simultaneously. Car A travels north at 60 mph, Car B travels east at 80 mph. How fast is the distance between them increasing after 1 hour?

Show Solution
After $t$ hours: $x = 80t$, $y = 60t$, $D = \sqrt{x^2+y^2}$
$D\dfrac{dD}{dt} = x\dfrac{dx}{dt} + y\dfrac{dy}{dt}$
At $t=1$: $D = \sqrt{6400+3600} = 100$
$100\dfrac{dD}{dt} = 80(80) + 60(60) = 6400 + 3600 = 10000$
$\dfrac{dD}{dt} = 100$ mph
3

Use linear approximation to estimate $(1.03)^{10}$. Use $f(x) = x^{10}$ at $a = 1$.

Show Solution
$f(1) = 1$, $f'(x) = 10x^9$, $f'(1) = 10$
$L(x) = 1 + 10(x-1)$
$(1.03)^{10} \approx L(1.03) = 1 + 10(0.03) = 1.3$
(Actual: $\approx 1.344$)
4

A cube's side length is measured as 5 cm with error $\pm 0.02$ cm. Use differentials to estimate the maximum error in the calculated volume.

Show Solution
$V = s^3$, $dV = 3s^2\,ds$
At $s=5$, $|ds| = 0.02$:
$|dV| = 3(25)(0.02) = 1.5$ cm³
Maximum error in volume: $\pm 1.5$ cm³
5

Verify the MVT conditions for $f(x) = x^2 + 2x$ on $[-1, 2]$ and find all values of $c$.

Show Solution
Polynomial — continuous and differentiable on all reals. ✓
Average rate: $\dfrac{f(2)-f(-1)}{2-(-1)} = \dfrac{8-(-1)}{3} = 3$
$f'(c) = 2c+2 = 3 \Rightarrow c = \dfrac{1}{2} \in (-1, 2)$ ✓
6

Use Rolle's Theorem to show $f(x) = x^3 - x$ has a zero of $f'$ in $(-1, 0)$.

Show Solution
$f(-1) = -1 - (-1) = 0$ and $f(0) = 0$.
Since $f(-1) = f(0) = 0$, $f$ is continuous on $[-1,0]$ and differentiable on $(-1,0)$, Rolle's Theorem guarantees a $c \in (-1, 0)$ with $f'(c) = 0$.
(Indeed: $f'(x) = 3x^2-1=0 \Rightarrow x = -1/\sqrt{3} \approx -0.577 \in (-1,0)$)
7

A particle's position is $s(t) = t^3 - 6t$ for $t \geq 0$. Find the time(s) when the instantaneous velocity equals the average velocity on $[0, 3]$.

Show Solution
Average velocity: $\dfrac{s(3)-s(0)}{3-0} = \dfrac{(27-18)-0}{3} = 3$ m/s
Set $v(t) = s'(t) = 3t^2-6 = 3 \Rightarrow t^2 = 3 \Rightarrow t = \sqrt{3} \approx 1.73 \in (0,3)$ ✓
8

(AP Style) The table shows values of a differentiable function $f$. Explain why there must exist a value $c \in (1, 4)$ with $f'(c) = 2$.

$x$14
$f(x)$39
Show Solution
Since $f$ is differentiable on $(1,4)$, it is also continuous on $[1,4]$. Both conditions of the MVT are satisfied.
The average rate of change is $\dfrac{f(4)-f(1)}{4-1} = \dfrac{9-3}{3} = 2$.
By the Mean Value Theorem, there exists at least one $c \in (1,4)$ such that $f'(c) = 2$.

📋 Chapter Summary

Core Theorems

Mean Value Theorem

If $f$ is continuous on $[a,b]$ and differentiable on $(a,b)$, then $\exists\, c \in (a,b)$ such that $f'(c) = \dfrac{f(b)-f(a)}{b-a}$.

Rolle's Theorem

Special case of MVT: if $f(a) = f(b)$, then $\exists\, c$ where $f'(c) = 0$. Used to prove MVT.

L'Hôpital's Rule

If $\lim\frac{f}{g}$ yields $\frac{0}{0}$ or $\frac{\infty}{\infty}$, then $\lim\dfrac{f(x)}{g(x)} = \lim\dfrac{f'(x)}{g'(x)}$ (if the latter exists).

Linearization

$L(x) = f(a) + f'(a)(x-a)$ approximates $f$ near $x = a$ using the tangent line.

Key Formulas

MVT Conclusion

$f'(c) = \dfrac{f(b)-f(a)}{b-a}$ — the instantaneous rate equals the average rate at some interior point.

Differential

$dy = f'(x)\,dx$ — approximates the change in $f$ for a small change $dx$ in $x$.

Newton's Method

$x_{n+1} = x_n - \dfrac{f(x_n)}{f'(x_n)}$ — iteratively approximates roots of $f(x) = 0$.

Indeterminate Forms

$\frac{0}{0}$, $\frac{\infty}{\infty}$, $0\cdot\infty$, $\infty-\infty$, $0^0$, $1^\infty$, $\infty^0$ — apply L'Hôpital or algebraic manipulation.

Applying L'Hôpital's Rule

  1. Verify the indeterminate form — confirm $\frac{0}{0}$ or $\frac{\infty}{\infty}$ by substitution
  2. Differentiate numerator and denominator separately — do NOT use quotient rule
  3. Evaluate the new limit — substitute; repeat if still indeterminate
  4. Convert other forms — write $0 \cdot \infty$ as $\frac{0}{1/\infty}$ first

📘 Key Terms

Mean Value Theorem Guarantees the existence of a point where the instantaneous rate equals the average rate over $[a,b]$.
L'Hôpital's Rule Evaluates indeterminate limits by replacing $\lim f/g$ with $\lim f'/g'$ when the original is $0/0$ or $\infty/\infty$.
Differential $dy = f'(x)\,dx$ — a linear approximation of the change in $y$ for a small change in $x$.
Linearization The tangent line $L(x) = f(a) + f'(a)(x-a)$ used to approximate values of $f$ near $x = a$.
Newton's Method An iterative numerical method for approximating roots of equations using tangent lines.
Indeterminate Form A limit expression like $0/0$ or $\infty/\infty$ whose value cannot be determined by direct substitution.
← Chapter 3: Chain Rule Chapter 5: Curve Sketching & Optimization ›