Applications of derivatives

Print the chapter

Every lesson of the chapter, ready for paper. Exercise sets are lettered A, B, C… and answered at the end.

To save a PDF, choose “Save as PDF” in the print dialog.

1. L'Hôpital's rule

Warm-up

Three quick questions from earlier lessons.

Discover

Near x=0x = 0, sin⁡(3x)≈3x\sin(3x) \approx 3x and tan⁡x≈x\tan x \approx x: each is close to its tangent line. What does sin⁡(3x)tan⁡x\dfrac{\sin(3x)}{\tan x} approach as x→0x \to 0?

  1. 3
  2. 0

Key idea

For 0/00/0 (or ∞/∞\infty/\infty), compare the rates instead of the values.

L'Hôpital's rule: if f(a)=g(a)=0f(a) = g(a) = 0 (or both tend to ±∞\pm\infty), then lim⁡x→af(x)g(x)=lim⁡x→af′(x)g′(x)\displaystyle\lim_{x \to a} \dfrac{f(x)}{g(x)} = \lim_{x \to a} \dfrac{f'(x)}{g'(x)}, when the second limit exists. Differentiate top and bottom separately, not with the quotient rule.

Worked example

Find lim⁡x→0e2x−1sin⁡x\displaystyle\lim_{x \to 0} \dfrac{e^{2x} - 1}{\sin x}.

Form 00\dfrac{0}{0}
Check the form: e⁰ − 1 = 0 and sin 0 = 0.
lim⁡x→02e2xcos⁡x\displaystyle\lim_{x \to 0} \dfrac{2e^{2x}}{\cos x}
Differentiate top and bottom.
=21=2= \dfrac{2}{1} = 2
Now substitute.

Your turn, guided

Your turn: lim⁡x→1ln⁡xx−1\displaystyle\lim_{x \to 1} \dfrac{\ln x}{x - 1}.

lim⁡x→11/x1\displaystyle\lim_{x \to 1} \dfrac{1/x}{1}
0/0: differentiate.
=1= 1
Substitute x = 1.

Practice ★

  1. Find lim⁡x→0e5x−1x\displaystyle\lim_{x \to 0} \dfrac{e^{ 5x} - 1}{x}.
  2. Find lim⁡x→0e4x−1x\displaystyle\lim_{x \to 0} \dfrac{e^{ 4x} - 1}{x}.
  3. Find lim⁡x→0e2x−1x\displaystyle\lim_{x \to 0} \dfrac{e^{ 2x} - 1}{x}.

Watch out!

Practice ★★

  1. Find lim⁡x→01−cos⁡(6x)x2\displaystyle\lim_{x \to 0} \dfrac{1 - \cos(6x)}{x^2}.
  2. Find lim⁡x→01−cos⁡(5x)x2\displaystyle\lim_{x \to 0} \dfrac{1 - \cos(5x)}{x^2}.
  1. Find lim⁡x→1x7−1ln⁡x\displaystyle\lim_{x \to 1} \dfrac{x^{ 7 } - 1}{\ln x}.
  2. Find lim⁡x→1x8−1ln⁡x\displaystyle\lim_{x \to 1} \dfrac{x^{ 8 } - 1}{\ln x}.

Exit ticket

Three questions to check you have got it.

  1. Find lim⁡x→0e5x−1x\displaystyle\lim_{x \to 0} \dfrac{e^{ 5x} - 1}{x}.
  2. Find lim⁡x→0e4x−1x\displaystyle\lim_{x \to 0} \dfrac{e^{ 4x} - 1}{x}.
  3. Find lim⁡x→0e2x−1x\displaystyle\lim_{x \to 0} \dfrac{e^{ 2x} - 1}{x}.

Summary card

L'Hôpital's rule

  1. Check the form is 0/00/0 or ∞/∞\infty/\infty.
  2. Differentiate top and bottom separately.
  3. Take the new limit (repeat if still 0/00/0).

Watch out: no indeterminate form, no L'Hôpital.

2. Critical numbers and the first derivative test

Warm-up

Three quick questions from earlier lessons.

Discover

On a graph, a hilltop has a horizontal tangent. Just before it the graph rises; just after it falls. What does f′f' do at a hilltop?

  1. It goes from ++ to −-
  2. It goes from −- to ++

Key idea

Extremes happen where f′f' changes sign.

A critical number of ff is a cc where f′(c)=0f'(c) = 0 or f′(c)f'(c) does not exist. First derivative test: if f′f' changes from ++ to −- at cc, ff has a local maximum; from −- to ++, a local minimum; no sign change, no extremum.

Worked example

f(x)=x3−12xf(x) = x^3 - 12x. Find the local extremes.

f′(x)=3x2−12=3(x−2)(x+2)f'(x) = 3x^2 - 12 = 3(x - 2)(x + 2)
Factor f'.
Signs: + ∣ − ∣ ++\ |\ -\ |\ +
Sign chart: + before −2, − between, + after 2.
Local max at x=−2x = -2, local min at x=2x = 2
+ to − at −2; − to + at 2.

Your turn, guided

Your turn: f(x)=x2−6xf(x) = x^2 - 6x.

critical number x=3x = 3
f'(x) = 2x − 6 = 0.
local minimum at x=3x = 3
− before 3, + after: a minimum.

Practice ★

  1. f(x)=x3−12xf(x) = x^3 - 12x. At which xx does ff have a local maximum?
  2. f(x)=x3−27xf(x) = x^3 - 27x. At which xx does ff have a local maximum?
  1. Here is the graph of the derivative y=f′(x)y = f'(x). Tap the point of this graph at the xx-value where ff has a local maximum.
  2. Here is the graph of the derivative y=f′(x)y = f'(x). Tap the point of this graph at the xx-value where ff has a local maximum.

Watch out!

Practice ★★

  1. f′(x)=(x−−3)(x−5)2f'(x) = (x - -3)(x - 5)^2. Tick all the true statements.
    1. ff has a local minimum at x=−3x = -3
    2. ff is increasing for x>−3x > -3
    3. ff has a local maximum at x=−3x = -3
    4. ff has a local extremum at x=5x = 5
  2. f′(x)=(x−0)(x−4)2f'(x) = (x - 0)(x - 4)^2. Tick all the true statements.
    1. ff has a local minimum at x=0x = 0
    2. ff is increasing for x>0x > 0
    3. ff has a local maximum at x=0x = 0
    4. ff has a local extremum at x=4x = 4

Exit ticket

Three questions to check you have got it.

  1. f(x)=x3−12xf(x) = x^3 - 12x. At which xx does ff have a local maximum?
  2. f(x)=x3−27xf(x) = x^3 - 27x. At which xx does ff have a local maximum?
  3. f(x)=x3−3xf(x) = x^3 - 3x. At which xx does ff have a local maximum?

Summary card

First derivative test

  1. Find the critical numbers.
  2. Sign chart of f′f'.
  3. +→−+ \to -: max; −→+- \to +: min; no change: neither.

Watch out: f′(c)=0f'(c) = 0 alone does not make an extremum.

3. The second derivative test and inflection points

Warm-up

Three quick questions from earlier lessons.

Discover

At a critical point the graph is flat. If the graph is concave up there, like a cup, is the point a maximum or a minimum?

  1. A minimum
  2. A maximum

Key idea

The second derivative can classify a critical point, and locates changes in concavity.

Second derivative test: if f′(c)=0f'(c) = 0 and f′′(c)>0f''(c) > 0, local minimum; f′′(c)<0f''(c) < 0, local maximum; f′′(c)=0f''(c) = 0, no conclusion. An inflection point is where f′′f'' changes sign.

Worked example

f(x)=x3−6x2f(x) = x^3 - 6x^2. Classify the critical points and find the inflection point.

Critical numbers 00 and 44
f' = 3x² − 12x = 3x(x − 4).
Local max at 00, local min at 44
f'' = 6x − 12: f''(0) = −12, f''(4) = 12.
Inflection point at x=2x = 2
f'' changes sign at x = 2.

Your turn, guided

Your turn: f(x)=x3−9x2f(x) = x^3 - 9x^2. Where is the inflection point?

x=3x = 3
f''(x) = 6x − 18.

Practice ★

  1. f(x)=x3−3x2f(x) = x^3 - 3x^2. At which xx does ff have an inflection point?
  2. f(x)=x3−12x2f(x) = x^3 - 12x^2. At which xx does ff have an inflection point?
  1. f′(8)=0f'(8) = 0 and f′′(8)=3f''(8) = 3. What happens at x=8x = 8?
    1. A local minimum
    2. A local maximum
    3. An inflection point

Watch out!

Practice ★★

  1. f′(1)=0f'(1) = 0 and f′′(1)=0f''(1) = 0. What can you conclude about x=1x = 1?
    1. Nothing yet: it could be a maximum, a minimum or neither
    2. It is an inflection point
    3. It is a local maximum

Exit ticket

Three questions to check you have got it.

  1. f(x)=x3−3x2f(x) = x^3 - 3x^2. At which xx does ff have an inflection point?
  2. f(x)=x3−12x2f(x) = x^3 - 12x^2. At which xx does ff have an inflection point?
  3. f(x)=x3−15x2f(x) = x^3 - 15x^2. At which xx does ff have an inflection point?

Summary card

Second derivative test

  • f′=0f' = 0, f′′>0f'' > 0: min. f′=0f' = 0, f′′<0f'' < 0: max. f′′=0f'' = 0: test fails.
  • Inflection: f′′f'' changes sign.

Watch out: f′′(c)=0f''(c) = 0 is not enough for an inflection point.

4. Global extrema on a closed interval

Warm-up

Three quick questions from earlier lessons.

Discover

f(x)=x2f(x) = x^2 on [−1,3][-1, 3]. Its only critical point is x=0x = 0. Is f(0)=0f(0) = 0 the largest value on the interval?

  1. No, f(3)=9f(3) = 9 is larger
  2. Yes

Key idea

On a closed interval, compare a short list of candidates.

Extreme Value Theorem: a function continuous on [a,b][a, b] has a maximum and a minimum value there. Closed interval method: evaluate ff at the critical numbers in (a,b)(a, b) and at aa and bb; the largest value is the maximum, the smallest the minimum.

Worked example

Extremes of f(x)=x3−3xf(x) = x^3 - 3x on [0,3][0, 3].

Critical number 11
f'(x) = 3x² − 3 = 0 at x = 1 (−1 is outside).
f(0)=0f(0) = 0, f(1)=−2f(1) = -2, f(3)=18f(3) = 18
Evaluate the candidates.
Minimum −2-2 (at x=1x = 1), maximum 1818 (at x=3x = 3)
Compare.

Your turn, guided

Your turn: f(x)=x2−4xf(x) = x^2 - 4x on [0,5][0, 5]. Candidates: f(0)=0f(0) = 0, f(2)=−4f(2) = -4, f(5)=5f(5) = 5.

Maximum value 55
The largest candidate.

Practice ★

  1. Find the maximum value of f(x)=x2−6xf(x) = x^2 - 6x on [0,8][0, 8].
  2. Find the maximum value of f(x)=x2−2xf(x) = x^2 - 2x on [0,7][0, 7].
  1. Find the minimum value of f(x)=x3−3xf(x) = x^3 - 3x on [0,2][0, 2].
  2. Find the minimum value of f(x)=x3−3xf(x) = x^3 - 3x on [0,5][0, 5].

Watch out!

Practice ★★

  1. Which functions are guaranteed by the Extreme Value Theorem to have a maximum value on the interval? Tick all that are.
    1. x2x^2 on [−7,7][-7, 7]
    2. sin⁡x\sin x on [0,7][0, 7]
    3. xx on (0,7)(0, 7)
    4. 1x\dfrac{1}{x} on [−1,1][-1, 1]

Exit ticket

Three questions to check you have got it.

  1. Find the minimum value of f(x)=x3−3xf(x) = x^3 - 3x on [0,2][0, 2].
  2. Find the minimum value of f(x)=x3−3xf(x) = x^3 - 3x on [0,5][0, 5].
  3. Find the minimum value of f(x)=x3−27xf(x) = x^3 - 27x on [0,6][0, 6].

Summary card

Closed interval method

  1. Critical numbers inside (a,b)(a, b).
  2. Evaluate ff there and at aa and bb.
  3. Largest = maximum, smallest = minimum.

Watch out: the EVT needs continuity on a closed interval. Give the value, not just where it occurs, when asked.

5. The Mean Value Theorem

Warm-up

Three quick questions from earlier lessons.

Discover

The violet curve is y=x3y = x^3 on [0,2][0, 2] with its secant line, of slope 4. The blue line is the tangent at x=cx = c. Move cc until the tangent is parallel to the secant.

The curve y = x³, its secant line y = 4x on [0, 2], and its tangent at x = c. Near c ≈ 1.15 the tangent is parallel to the secant.

Is there a point in (0,2)(0, 2) where the tangent's slope equals 4?

  1. Yes, near c≈1.15c \approx 1.15
  2. Yes, at the midpoint c=1c = 1

Key idea

Somewhere, the instantaneous rate equals the average rate.

Mean Value Theorem: if ff is continuous on [a,b][a, b] and differentiable on (a,b)(a, b), there is a cc in (a,b)(a, b) with f′(c)=f(b)−f(a)b−af'(c) = \dfrac{f(b) - f(a)}{b - a}.

Worked example

f(x)=x2f(x) = x^2 on [1,5][1, 5]. Find cc.

f(5)−f(1)5−1=6\dfrac{f(5) - f(1)}{5 - 1} = 6
Average rate: (25 − 1)/4.
2c=62c = 6
f'(c) = 2c.
c=3c = 3
Check: 3 is in (1, 5).

Your turn, guided

Your turn: f(x)=x2f(x) = x^2 on [2,8][2, 8].

c=5c = 5
(64 − 4)/6 = 10, so 2c = 10.

Practice ★

  1. f(x)=x2f(x) = x^2 on [2,5][2, 5]. Find the cc given by the Mean Value Theorem.
  2. f(x)=x2f(x) = x^2 on [3,9][3, 9]. Find the cc given by the Mean Value Theorem.
  3. f(x)=x2f(x) = x^2 on [1,7][1, 7]. Find the cc given by the Mean Value Theorem.

Watch out!

Practice ★★

  1. f(x)=x3f(x) = x^3 on [0,4][0, 4]. Find the cc in (0,4)(0, 4) given by the Mean Value Theorem.
  2. f(x)=x3f(x) = x^3 on [0,6][0, 6]. Find the cc in (0,6)(0, 6) given by the Mean Value Theorem.
  1. A car drove 276 miles in 4 hours. Must its speedometer have read exactly 69 mph at some moment?
    1. Yes, by the Mean Value Theorem
    2. Only if it drove at a constant speed
    3. No: it may have gone faster and slower without hitting 69 exactly

Exit ticket

Three questions to check you have got it.

  1. f(x)=x2f(x) = x^2 on [2,5][2, 5]. Find the cc given by the Mean Value Theorem.
  2. f(x)=x2f(x) = x^2 on [3,9][3, 9]. Find the cc given by the Mean Value Theorem.
  3. f(x)=x2f(x) = x^2 on [1,7][1, 7]. Find the cc given by the Mean Value Theorem.

Summary card

Mean Value Theorem

  1. Check: continuous on [a,b][a, b], differentiable on (a,b)(a, b).
  2. Average rate f(b)−f(a)b−a\dfrac{f(b) - f(a)}{b - a}.
  3. Solve f′(c)=f'(c) = that rate, with cc in (a,b)(a, b).

Watch out: cc is not always the midpoint.

6. Motion on a line: velocity, acceleration, distance

Warm-up

Three quick questions from earlier lessons.

Discover

A ball moving left has velocity −4-4 m/s; its acceleration is −2-2 m/s². Is it getting faster or slower?

  1. Faster
  2. Slower, since the acceleration is negative

Key idea

For a particle on a line with position s(t)s(t):

v(t)=s′(t)v(t) = s'(t), a(t)=v′(t)=s′′(t)a(t) = v'(t) = s''(t). At rest: v=0v = 0. It changes direction where vv changes sign. Speeding up when vv and aa have the same sign, slowing down when opposite. Total distance adds the distances of each leg between turns.

Worked example

s(t)=t2−4ts(t) = t^2 - 4t on [0,5][0, 5]. Find the total distance.

It turns at t=2t = 2
v = 2t − 4 = 0.
Legs: ∣−4−0∣=4|-4 - 0| = 4 and ∣5−(−4)∣=9|5 - (-4)| = 9
s(0) = 0, s(2) = −4, s(5) = 5.
Total distance 1313 m
Add the legs. (The displacement is only 5.)

Your turn, guided

Your turn: s(t)=t2−6ts(t) = t^2 - 6t. When is it at rest?

t=3t = 3
v(t) = 2t − 6 = 0.

Practice ★

  1. A particle's position is s(t)=t2−2ts(t) = t^2 - 2t. At what time tt is it at rest?
  2. A particle's position is s(t)=t2−6ts(t) = t^2 - 6t. At what time tt is it at rest?
  1. At t=3t = 3, a particle has velocity −8-8 m/s and acceleration −2-2 m/s². Is it speeding up or slowing down?
    1. Speeding up: velocity and acceleration have the same sign
    2. Slowing down, because the acceleration is negative
    3. Neither: its speed stays the same

Watch out!

Practice ★★

  1. A particle's position is s(t)=t2−4ts(t) = t^2 - 4t meters. Find the total distance it travels from t=0t = 0 to t=9t = 9.
  2. A particle's position is s(t)=t2−4ts(t) = t^2 - 4t meters. Find the total distance it travels from t=0t = 0 to t=6t = 6.

Exit ticket

Three questions to check you have got it.

  1. A particle's position is s(t)=t2−2ts(t) = t^2 - 2t. At what time tt is it at rest?
  2. A particle's position is s(t)=t2−6ts(t) = t^2 - 6t. At what time tt is it at rest?
  3. A particle's position is s(t)=t2−10ts(t) = t^2 - 10t. At what time tt is it at rest?

Summary card

Motion on a line

  • v=s′v = s', a=v′a = v'; at rest when v=0v = 0.
  • Same signs of vv and aa: speeding up.
  • Distance: add each leg between turns.

Watch out: displacement and distance differ when the particle turns back.

7. Optimization

Warm-up

Three quick questions from earlier lessons.

Discover

A farmer has pp m of fence for three sides of a rectangle against a wall. The graph shows the area A(x)=x(p−2x)A(x) = x(p - 2x) for a width xx. Move pp.

The area A(x) = x(p − 2x) of a rectangle fenced on three sides with p meters. Each parabola peaks at x = p/4.

For p=40p = 40, where is the area largest?

  1. At x=10x = 10
  2. At x≈13.3x \approx 13.3, a square

Key idea

Turn the story into one function of one variable, then use the closed interval method.

Optimization: (1) name the quantity to optimize and the variables; (2) use the constraint to write it as a function of one variable; (3) find its domain; (4) find the critical numbers and compare with the endpoints; (5) answer the question asked, with units.

Worked example

Two positive numbers add to 20. Maximize their product.

P(x)=x(20−x)P(x) = x(20 - x), 0<x<200 < x < 20
Constraint y = 20 − x.
x=10x = 10, a maximum (P′′=−2P'' = -2)
P'(x) = 20 − 2x.
Largest product P(10)=100P(10) = 100
The question asks for the product.

Your turn, guided

Your turn: same problem with sum 30.

Largest product 225225
x = 15 = y.

Practice ★

  1. Two positive numbers add up to 35. What is the largest possible value of their product?
  2. Two positive numbers add up to 20. What is the largest possible value of their product?
  1. A farmer has 104 m of fence for three sides of a rectangle; a long wall forms the fourth side. Find the largest possible area, in m².
  2. A farmer has 40 m of fence for three sides of a rectangle; a long wall forms the fourth side. Find the largest possible area, in m².

Watch out!

Practice ★★

  1. Squares of side xx are cut from the corners of a 9-cm square sheet, and the sides are folded up into an open box. Which xx gives the largest volume?
  2. Squares of side xx are cut from the corners of a 15-cm square sheet, and the sides are folded up into an open box. Which xx gives the largest volume?
  1. Boss problem. Squares of side xx are cut from the corners of a 18-cm square sheet to fold an open box.

Exit ticket

Three questions to check you have got it.

  1. A farmer has 104 m of fence for three sides of a rectangle; a long wall forms the fourth side. Find the largest possible area, in m².
  2. A farmer has 40 m of fence for three sides of a rectangle; a long wall forms the fourth side. Find the largest possible area, in m².
  3. A farmer has 60 m of fence for three sides of a rectangle; a long wall forms the fourth side. Find the largest possible area, in m².

Summary card

Optimization

  1. Quantity and constraint.
  2. One-variable function and its domain.
  3. Critical numbers vs endpoints.
  4. Answer the question: the value or the place, with units.

Watch out: not every critical number is the optimum.