Lessons and exercises follow the school system and stay in its language.Les leçons et les exercices suivent le système scolaire et restent dans sa langue.Lektionen und Übungen folgen dem Schulsystem und bleiben in seiner Sprache.

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.

  1. f(x)=(3x+6)2f(x) = (3x + 6)^{ 2 }. Find f′(x)f'(x).
  2. f(x)=sin⁡(3x2)f(x) = \sin(3x^2). Find f′(x)f'(x).
  3. f(x)=e3x2f(x) = e^{ 3x^2}. Find f′(x)f'(x).

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→0e3x−1x\displaystyle\lim_{x \to 0} \dfrac{e^{ 3x} - 1}{x}.
  2. Find lim⁡x→0e72x−1x\displaystyle\lim_{x \to 0} \dfrac{e^{ 72x} - 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→0e3x−1x\displaystyle\lim_{x \to 0} \dfrac{e^{ 3x} - 1}{x}.
  2. Find lim⁡x→0e72x−1x\displaystyle\lim_{x \to 0} \dfrac{e^{ 72x} - 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.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. Find lim⁡x→0sin⁡(3x)−3xx3\displaystyle\lim_{x \to 0} \dfrac{\sin(3x) - 3x}{x^3}.

2. Critical numbers and the first derivative test

Warm-up

Three quick questions from earlier lessons.

  1. f(x)=(3x+6)2f(x) = (3x + 6)^{ 2 }. Find f′(x)f'(x).
  2. f(x)=sin⁡(3x2)f(x) = \sin(3x^2). Find f′(x)f'(x).
  3. f(x)=e3x2f(x) = e^{ 3x^2}. Find f′(x)f'(x).

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−108xf(x) = x^3 - 108x. 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−108xf(x) = x^3 - 108x. 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.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. f(x)=x3−12xf(x) = x^3 - 12x. What is the value of the local maximum?

3. The second derivative test and inflection points

Warm-up

Three quick questions from earlier lessons.

  1. On (2,8)(2, 8), the graph of ff is increasing and concave down. Tick all the true statements about that interval.
    1. f′(x)>0f'(x) > 0
    2. f′′(x)<0f''(x) < 0
    3. f′f' is decreasing: the graph rises more and more slowly
    4. f′′(x)>0f''(x) > 0, because ff is increasing
    5. f′(x)<0f'(x) < 0, because the graph bends down
  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 an inflection point.
  3. A particle's velocity is v(t)=t2+2tv(t) = t^2 + 2t m/s. Its acceleration is a(t)=v′(t)a(t) = v'(t). Find a(3)a(3), in m/s².

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−6x2f(x) = x^3 - 6x^2. At which xx does ff have an inflection point?
  2. f(x)=x3−33x2f(x) = x^3 - 33x^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−6x2f(x) = x^3 - 6x^2. At which xx does ff have an inflection point?
  2. f(x)=x3−33x2f(x) = x^3 - 33x^2. At which xx does ff have an inflection point?
  3. f(x)=x3−3x2f(x) = x^3 - 3x^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.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. f(x)=x4−20x3f(x) = x^4 - 20x^3. At which positive xx does the graph have an inflection point?

4. Global extrema on a closed interval

Warm-up

Three quick questions from earlier lessons.

  1. f(x)=x3−12xf(x) = x^3 - 12x. At which xx does ff have a local maximum?
  2. 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
  3. 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.

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.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. Find the maximum value of f(x)=x e−x/5f(x) = x\,e^{-x/5} on [0,∞)[0, \infty) (exact).

5. The Mean Value Theorem

Warm-up

Three quick questions from earlier lessons.

  1. Is f(x)=∣x−−1∣f(x) = |x - -1| differentiable at x=−1x = -1?
    1. No: the graph has a corner there (slopes −1 and 1).
    2. Yes, because ff is continuous at x=−1x = -1.
    3. No, because ff is not continuous at x=−1x = -1.
  2. Which functions are differentiable at x=0x = 0? Tick all that are.
    1. x2+8xx^2 + 8x
    2. sin⁡(8x)\sin(8x)
    3. 8∣x∣8|x|
    4. x3\sqrt[3]{x}
    5. f(x)=0f(x) = 0 for x<0x < 0 and f(x)=8f(x) = 8 for x≥0x \ge 0
  3. f(x)=x2f(x) = x^2 for x≤4x \le 4 and f(x)=mx−16f(x) = mx - 16 for x>4x > 4. Which value of mm makes ff differentiable at x=4x = 4?

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.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. f(x)=xf(x) = \sqrt{x} on [0,25][0, 25]. Find the cc given by the Mean Value Theorem.

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

Warm-up

Three quick questions from earlier lessons.

  1. On (2,8)(2, 8), the graph of ff is increasing and concave down. Tick all the true statements about that interval.
    1. f′(x)>0f'(x) > 0
    2. f′′(x)<0f''(x) < 0
    3. f′f' is decreasing: the graph rises more and more slowly
    4. f′′(x)>0f''(x) > 0, because ff is increasing
    5. f′(x)<0f'(x) < 0, because the graph bends down
  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 an inflection point.
  3. A particle's velocity is v(t)=t2+2tv(t) = t^2 + 2t m/s. Its acceleration is a(t)=v′(t)a(t) = v'(t). Find a(3)a(3), in m/s².

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−4ts(t) = t^2 - 4t. At what time tt is it at rest?
  2. A particle's position is s(t)=t2−46ts(t) = t^2 - 46t. 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−4ts(t) = t^2 - 4t. At what time tt is it at rest?
  2. A particle's position is s(t)=t2−46ts(t) = t^2 - 46t. At what time tt is it at rest?
  3. A particle's position is s(t)=t2−6ts(t) = t^2 - 6t. 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.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. A particle's position is s(t)=t3−27ts(t) = t^3 - 27t. Find the total distance it travels from t=0t = 0 to t=6t = 6.

7. Optimization

Warm-up

Three quick questions from earlier lessons.

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

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 10. What is the largest possible value of their product?
  2. Two positive numbers add up to 54. What is the largest possible value of their product?
  1. A farmer has 20 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 140 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?

Exit ticket

Three questions to check you have got it.

  1. A farmer has 20 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 140 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 40 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.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. A rectangle has one side on the xx-axis and its upper corners on y=75−x2y = 75 - x^2. What is its greatest area?

8. Logarithmic differentiation

Discover

How would you differentiate f(x)=xxf(x) = x^x? The base and the exponent both change.

  1. Take the logarithm first
  2. Use the power rule: x⋅xx−1x \cdot x^{x-1}

Key idea

Logarithmic differentiation.

If y=f(x)>0y = f(x) > 0, take ln⁡y\ln y, differentiate both sides, then multiply by yy:

y′y=(ln⁡y)′\dfrac{y'}{y} = (\ln y)', so y′=y (ln⁡y)′y' = y\,(\ln y)'.

Worked example

Differentiate y=xxy = x^x for x>0x > 0.

ln⁡y=xln⁡x\ln y = x\ln x
Take logarithms.
y′y=ln⁡x+1\dfrac{y'}{y} = \ln x + 1
Differentiate both sides (product rule on the right).
y′=xx(ln⁡x+1)y' = x^x(\ln x + 1)
Multiply by yy.

Your turn, guided

Your turn: for y=xxy = x^x, what is y′(1)y'(1)?

y′(1)=1y'(1) = 1
11(ln⁡1+1)=1×11^1(\ln 1 + 1) = 1 \times 1.

Practice ★

  1. f(x)=x3xf(x) = x^{ 3x} for x>0x > 0. Find f′(1)f'(1).
  2. f(x)=x2xf(x) = x^{ 2x} for x>0x > 0. Find f′(1)f'(1).
  3. f(x)=x8xf(x) = x^{ 8x} for x>0x > 0. Find f′(1)f'(1).

Practice ★★

  1. f(x)=xxf(x) = x^x. Find f′(4)f'(4) exactly.
  2. f(x)=xxf(x) = x^x. Find f′(2)f'(2) exactly.

Exit ticket

Two questions to check.

  1. f(x)=x3xf(x) = x^{ 3x} for x>0x > 0. Find f′(1)f'(1).
  2. f(x)=x2xf(x) = x^{ 2x} for x>0x > 0. Find f′(1)f'(1).

Summary card

Logarithmic differentiation

  • For y=f(x)g(x)y = f(x)^{g(x)}: write ln⁡y=g(x)ln⁡f(x)\ln y = g(x)\ln f(x).
  • Differentiate, then multiply by yy.

It also shortens long products and quotients.

9. History of calculus: Fermat, Newton and Leibniz

Discover

In the 1630s, the French lawyer Pierre de Fermat sent the Paris mathematicians his Method for determining maxima and minima and tangents to curved lines. Why would tangents and maxima belong in one method?

  1. At a maximum, the tangent is horizontal
  2. Both were needed to measure land

Key idea

One idea, found twice and written two ways.

16201640166016801700c. 1636Fermatc. 1636Fermat
  1. Step 116201640166016801700c. 1636Fermatc. 1636FermatPierre de Fermat c. 1607 – 1665Rolland Lefebvre. Public domain1630s: Fermat finds maxima, minima and tangents with one method and sends it to Paris.
  2. Step 216201640166016801700c. 1636Fermat1665Newtonc. 1636Fermat1665NewtonIsaac Newton 1642–1727Godfrey Kneller, 1689. Public domain1665: the plague closes Cambridge. At home in Lincolnshire, Newton develops his method of fluxions.
  3. Step 316201640166016801700c. 1636Fermat1665Newton1684Leibnizc. 1636Fermat1665Newton1684LeibnizGottfried Wilhelm Leibniz 1646–1716Christoph Bernhard Francke, before 1729. Public domain1684: Leibniz publishes 'A new method for maxima, minima and tangents', with the d-notation we still use.

Newton spoke of fluxions, quantities that flow in time. Leibniz wrote dxdx and dydy, and by 1676 he had the rule d(xn)=nxn−1 dxd(x^n) = n x^{n-1}\,dx. We still write dydx\dfrac{dy}{dx}, his notation.

Source

Nova methodus pro maximis et minimis, itemque tangentibus, quae nec fractas nec irrationales quantitates moratur, et singulare pro illis calculi genus.

A new method for maxima and minima, and also for tangents, which neither fractional nor irrational quantities hold up, and a singular kind of calculus for them.

Gottfried Wilhelm Leibniz, title of his 1684 article in Acta Eruditorum: the Latin, then our translation

What is Leibniz's 'new method' for?

  1. Finding maxima, minima and tangents
  2. Finding the areas of curved shapes

Worked example

Fermat's question, our way: which number xx makes x(10−x)x(10 - x) as large as possible?

10−2x=010 - 2x = 0
The slope of 10x−x210x - x^2 is 10−2x10 - 2x.
x=5x = 5, giving 2525
A flat tangent at the top.

Practice ★

  1. In 1684 Leibniz published 'A new method for maxima, minima and tangents'. What did his paper give the world?
    1. His differential calculus, with dx and dy
    2. The first table of logarithms
    3. Newton's laws of motion
  1. With Leibniz's rule d(xn)=nxn−1 dxd(x^n) = nx^{n-1}\,dx: find the slope of y=x4y = x^{ 4 } at x=2x = 2.
  2. With Leibniz's rule d(xn)=nxn−1 dxd(x^n) = nx^{n-1}\,dx: find the slope of y=x5y = x^{ 5 } at x=2x = 2.
  1. A Fermat-style question: a rectangle has perimeter 108 cm. Which side length gives the largest area?

Summary card

Derivatives today

  • Speed and acceleration in physics: rates of change.
  • Economics: marginal cost is the derivative of the cost.
  • Engineering and computer science: finding the best design, or training a neural network, means following slopes downhill.

Sources: MacTutor biographies of Fermat, Newton and Leibniz (see "Sources and credits").