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.

Derivatives

Print the topic

Every lesson of the topic, from the first year to the last, 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. Average and instantaneous velocity

Warm-up

Three quick questions from earlier lessons.

  1. Two models for a club's members after tt years: L(t)=5+5tL(t) = 5 + 5t and E(t)=5⋅2tE(t) = 5 \cdot 2^t.
    1. The average rate of change of L on [0,3][0, 3]:
    2. The average rate of change of E on [0,3][0, 3]:
    3. E is multiplied by the same factor each year. That factor:
    4. Write a model that starts at 5 and triples every year:
    5. The models are used for 0≤t≤50 \le t \le 5 only. The largest value of E on this domain:
  2. Find the average rate of change of f(x)=1x2f(x) = 1x^2 from x=0x = 0 to x=7x = 7.
  3. f(x)=−(x−5)2+8f(x) = -(x - 5)^2 + 8. On which interval is ff increasing?
    1. (−∞,5)(-\infty, 5)
    2. (5,∞)(5, \infty)
    3. (−∞,8)(-\infty, 8)

Discover

A ball is thrown up. Its height after tt seconds is s(t)s(t) meters. Here is the line through the points of the graph at t=1t = 1 and t=1+ht = 1 + h (the curve is in violet). Make hh smaller.

The height s(t) = 20t − 5t² and the line through its points at t = 1 and t = 1 + h. As h shrinks, the line settles on the tangent at t = 1, of slope 10.

The slope of that line is the average velocity on [1,1+h][1, 1 + h]. As hh shrinks, what does it approach?

  1. About 10 m/s
  2. 15

Key idea

Velocity at one instant is the limit of average velocities over shorter and shorter intervals.

Average velocity on [a,a+h][a, a + h]: s(a+h)−s(a)h\dfrac{s(a + h) - s(a)}{h}. Instantaneous velocity at t=at = a: lim⁡h→0s(a+h)−s(a)h\displaystyle\lim_{h \to 0} \dfrac{s(a + h) - s(a)}{h}.

Worked example

s(t)=20t−5t2s(t) = 20t - 5t^2. Find the velocity at t=1t = 1.

s(1+h)=15+10h−5h2s(1 + h) = 15 + 10h - 5h^2
Substitute 1 + h and expand: 20 + 20h − 5(1 + 2h + h²).
s(1+h)−s(1)h=10−5h\dfrac{s(1 + h) - s(1)}{h} = 10 - 5h
Subtract s(1) = 15 and divide by h ≠ 0.
velocity at t=1t = 1: 1010 m/s
Let h → 0.

Your turn, guided

Your turn: same ball, t=3t = 3. The average velocity on [3,3+h][3, 3 + h] simplifies to −10−5h-10 - 5h.

velocity at t=3t = 3: −10-10 m/s
Let h → 0: the ball is on its way down.

Practice ★

  1. A ball's position is s(t)=2t2+4ts(t) = 2t^2 + 4t meters after tt seconds. Find its average velocity on [0,5][0, 5], in m/s.
  2. A ball's position is s(t)=10t2+10ts(t) = 10t^2 + 10t meters after tt seconds. Find its average velocity on [5,14][5, 14], in m/s.
  3. A ball's position is s(t)=2t2+7ts(t) = 2t^2 + 7t meters after tt seconds. Find its average velocity on [1,5][1, 5], in m/s.

Watch out!

Practice ★★

  1. s(t)=5t2s(t) = 5t^2. Simplify the average velocity on [3,3+h][3, 3 + h], s(3+h)−s(3)h\dfrac{s(3 + h) - s(3)}{h} for h≠0h \ne 0. Enter an expression in hh.
  2. s(t)=2t2s(t) = 2t^2. Simplify the average velocity on [2,2+h][2, 2 + h], s(2+h)−s(2)h\dfrac{s(2 + h) - s(2)}{h} for h≠0h \ne 0. Enter an expression in hh.
  1. s(t)=1t2+2ts(t) = 1t^2 + 2t meters. The average velocity on [4,4+h][4, 4 + h] simplifies to 10+1h10 + 1h m/s. Find the instantaneous velocity at t=4t = 4, in m/s.
  2. s(t)=6t2+10ts(t) = 6t^2 + 10t meters. The average velocity on [8,8+h][8, 8 + h] simplifies to 106+6h106 + 6h m/s. Find the instantaneous velocity at t=8t = 8, in m/s.

Exit ticket

Three questions to check you have got it.

  1. s(t)=1t2+2ts(t) = 1t^2 + 2t meters. The average velocity on [4,4+h][4, 4 + h] simplifies to 10+1h10 + 1h m/s. Find the instantaneous velocity at t=4t = 4, in m/s.
  2. s(t)=6t2+10ts(t) = 6t^2 + 10t meters. The average velocity on [8,8+h][8, 8 + h] simplifies to 106+6h106 + 6h m/s. Find the instantaneous velocity at t=8t = 8, in m/s.
  3. s(t)=2t2+7ts(t) = 2t^2 + 7t meters. The average velocity on [5,5+h][5, 5 + h] simplifies to 27+2h27 + 2h m/s. Find the instantaneous velocity at t=5t = 5, in m/s.

Summary card

Velocity

  • Average: s(a+h)−s(a)h\dfrac{s(a + h) - s(a)}{h}, change in position ÷ change in time.
  • Instantaneous: the limit of that as h→0h \to 0.

Watch out: divide by the time; a change in position alone is not a velocity.

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

Challenge ★★★

  1. s(t)=3t2+9ts(t) = 3t^2 + 9t. At what time tt does the instantaneous velocity equal the average velocity on [0,6][0, 6]?

2. The derivative at a point: the limit definition

Warm-up

Three quick questions from earlier lessons.

  1. A ball's position is s(t)=2t2+4ts(t) = 2t^2 + 4t meters after tt seconds. Find its average velocity on [0,5][0, 5], in m/s.
  2. s(t)=5t2s(t) = 5t^2. Simplify the average velocity on [3,3+h][3, 3 + h], s(3+h)−s(3)h\dfrac{s(3 + h) - s(3)}{h} for h≠0h \ne 0. Enter an expression in hh.
  3. s(t)=1t2+2ts(t) = 1t^2 + 2t meters. The average velocity on [4,4+h][4, 4 + h] simplifies to 10+1h10 + 1h m/s. Find the instantaneous velocity at t=4t = 4, in m/s.

Discover

The violet curve is y=x2y = x^2. The blue line goes through its points at x=ax = a and x=a+hx = a + h. Move aa, then shrink hh.

The parabola y = x² and a secant line through its points at x = a and x = a + h. As h shrinks, the secant turns into the tangent line at x = a, of slope 2a.

With a=1a = 1, the slope of the blue line is 2+h2 + h. What does it approach as h→0h \to 0?

  1. 2
  2. 1

Key idea

The derivative at a point is the limit of the secant slopes.

  1. Step 1h = 2: the secant through P and Q has slope 2.
  2. Step 2h = 1: slope 1.5.
  3. Step 3h = 0.5: slope 1.25.
  4. Step 4h = 0.1: slope 1.05 — the slopes approach 1, the slope of the tangent at P.

f′(a)=lim⁡h→0f(a+h)−f(a)hf'(a) = \displaystyle\lim_{h \to 0} \dfrac{f(a + h) - f(a)}{h}, when this limit exists. It is the instantaneous rate of change of ff at aa and the slope of the tangent line at (a,f(a))(a, f(a)).

Worked example

f(x)=x2+3xf(x) = x^2 + 3x. Find f′(2)f'(2).

f(2+h)−f(2)=7h+h2f(2 + h) - f(2) = 7h + h^2
f(2 + h) = 4 + 4h + h² + 6 + 3h; f(2) = 10.
f(2+h)−f(2)h=7+h\dfrac{f(2 + h) - f(2)}{h} = 7 + h
Divide by h ≠ 0.
f′(2)=7f'(2) = 7
Let h → 0.

Your turn, guided

Your turn: f(x)=x2+3xf(x) = x^2 + 3x at a=1a = 1.

f(1+h)−f(1)=5h+h2f(1 + h) - f(1) = 5h + h^2
f(1 + h) = 1 + 2h + h² + 3 + 3h; f(1) = 4.
f′(1)=5f'(1) = 5
Divide by h, then let h → 0.

Practice ★

  1. f(x)=x2+2xf(x) = x^2 + 2x. Use f′(3)=lim⁡h→0f(3+h)−f(3)hf'(3) = \displaystyle\lim_{h \to 0} \dfrac{f(3 + h) - f(3)}{h} to find f′(3)f'(3).
  2. f(x)=x2+14xf(x) = x^2 + 14x. Use f′(12)=lim⁡h→0f(12+h)−f(12)hf'(12) = \displaystyle\lim_{h \to 0} \dfrac{f(12 + h) - f(12)}{h} to find f′(12)f'(12).
  3. f(x)=x2+3xf(x) = x^2 + 3x. Use f′(2)=lim⁡h→0f(2+h)−f(2)hf'(2) = \displaystyle\lim_{h \to 0} \dfrac{f(2 + h) - f(2)}{h} to find f′(2)f'(2).

Watch out!

Practice ★★

  1. Which expression is f′(2)f'(2)?
    1. lim⁡h→0f(2+h)−f(2)h\displaystyle\lim_{h \to 0} \dfrac{f(2 + h) - f(2)}{h}
    2. lim⁡h→0(f(2+h)−f(2))\displaystyle\lim_{h \to 0} \big(f(2 + h) - f(2)\big)
    3. f(2+1)−f(2)1\dfrac{f(2 + 1) - f(2)}{1}
    4. f(2)f(2)
  1. f(x)=3xf(x) = \dfrac{ 3 }{x}. Use the limit definition to find f′(2)f'(2).
  2. f(x)=18xf(x) = \dfrac{ 18 }{x}. Use the limit definition to find f′(7)f'(7).

Exit ticket

Three questions to check you have got it.

  1. f(x)=x2+2xf(x) = x^2 + 2x. Use f′(3)=lim⁡h→0f(3+h)−f(3)hf'(3) = \displaystyle\lim_{h \to 0} \dfrac{f(3 + h) - f(3)}{h} to find f′(3)f'(3).
  2. f(x)=x2+14xf(x) = x^2 + 14x. Use f′(12)=lim⁡h→0f(12+h)−f(12)hf'(12) = \displaystyle\lim_{h \to 0} \dfrac{f(12 + h) - f(12)}{h} to find f′(12)f'(12).
  3. f(x)=x2+3xf(x) = x^2 + 3x. Use f′(2)=lim⁡h→0f(2+h)−f(2)hf'(2) = \displaystyle\lim_{h \to 0} \dfrac{f(2 + h) - f(2)}{h} to find f′(2)f'(2).

Summary card

The derivative at a point

  1. Write f(a+h)−f(a)f(a + h) - f(a) and simplify.
  2. Divide by hh.
  3. Let h→0h \to 0: the result is f′(a)f'(a).

Watch out: f′(a)f'(a) is a slope, not the value f(a)f(a).

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

Challenge ★★★

  1. f(x)=x3f(x) = x^3. Use the definition to find f′(4)f'(4) (expand (4+h)3(4 + h)^3).

3. The tangent line

Warm-up

Three quick questions from earlier lessons.

  1. f(x)=x2+2xf(x) = x^2 + 2x. Use f′(3)=lim⁡h→0f(3+h)−f(3)hf'(3) = \displaystyle\lim_{h \to 0} \dfrac{f(3 + h) - f(3)}{h} to find f′(3)f'(3).
  2. Which expression is f′(2)f'(2)?
    1. lim⁡h→0f(2+h)−f(2)h\displaystyle\lim_{h \to 0} \dfrac{f(2 + h) - f(2)}{h}
    2. lim⁡h→0(f(2+h)−f(2))\displaystyle\lim_{h \to 0} \big(f(2 + h) - f(2)\big)
    3. f(2+1)−f(2)1\dfrac{f(2 + 1) - f(2)}{1}
    4. f(2)f(2)
  3. f(x)=3xf(x) = \dfrac{ 3 }{x}. Use the limit definition to find f′(2)f'(2).

Discover

The blue line is the tangent to y=x2y = x^2 at x=ax = a. Move aa.

The parabola y = x² and its tangent line at x = a, which touches the curve at (a, a²) with slope 2a.

At a=1a = 1, the tangent has slope 2 and touches the curve at (1,1)(1, 1). Which equation is it?

  1. y=1+2(x−1)y = 1 + 2(x - 1)
  2. y=2xy = 2x

Key idea

The tangent line touches the graph at (a,f(a))(a, f(a)) with slope f′(a)f'(a).

Tangent line to y=f(x)y = f(x) at x=ax = a: y=f(a)+f′(a)(x−a)y = f(a) + f'(a)(x - a).

Worked example

f(2)=5f(2) = 5 and f′(2)=−3f'(2) = -3. Write the tangent line at x=2x = 2.

y=5+(−3)(x−2)y = 5 + (-3)(x - 2)
The point (2, 5) and the slope −3.
y=−3x+11y = -3x + 11
Expand if you like.

Your turn, guided

Your turn: f(4)=1f(4) = 1 and f′(4)=2f'(4) = 2.

y=1+2(x−4)y = 1 + 2(x - 4)
Point (4, 1), slope 2.
y=2x−7y = 2x - 7
Expanded: 2x − 8 + 1.

Practice ★

  1. For f(x)=x2f(x) = x^2, f′(x)=2xf'(x) = 2x. Draw the tangent line to the graph at x=1x = 1: place two points on it.
  2. For f(x)=x2f(x) = x^2, f′(x)=2xf'(x) = 2x. Draw the tangent line to the graph at x=−2x = -2: place two points on it.
  1. f(1)=2f(1) = 2 and f′(1)=3f'(1) = 3. Write the tangent line to the graph of ff at x=1x = 1: enter the right-hand side of y=…y = \ldots
  2. f(2)=−5f(2) = -5 and f′(2)=3f'(2) = 3. Write the tangent line to the graph of ff at x=2x = 2: enter the right-hand side of y=…y = \ldots

Watch out!

Practice ★★

  1. For f(x)=x3f(x) = x^3, the difference quotient at x=−3x = -3 simplifies to 27+−9h+h227 + -9h + h^2. What is the slope of the tangent line at x=−3x = -3?
  2. For f(x)=x3f(x) = x^3, the difference quotient at x=−2x = -2 simplifies to 12+−6h+h212 + -6h + h^2. What is the slope of the tangent line at x=−2x = -2?

Exit ticket

Three questions to check you have got it.

  1. f(1)=2f(1) = 2 and f′(1)=3f'(1) = 3. Write the tangent line to the graph of ff at x=1x = 1: enter the right-hand side of y=…y = \ldots
  2. f(2)=−5f(2) = -5 and f′(2)=3f'(2) = 3. Write the tangent line to the graph of ff at x=2x = 2: enter the right-hand side of y=…y = \ldots
  3. f(1)=−4f(1) = -4 and f′(1)=−3f'(1) = -3. Write the tangent line to the graph of ff at x=1x = 1: enter the right-hand side of y=…y = \ldots

Summary card

The tangent line

  • Point: (a,f(a))(a, f(a)). Slope: f′(a)f'(a).
  • y=f(a)+f′(a)(x−a)y = f(a) + f'(a)(x - a).

Watch out: y=f′(a) xy = f'(a)\,x has the right slope but usually misses the point.

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

Challenge ★★★

  1. At which point (xx-value) is the tangent to y=x2y = x^2 parallel to the line y=−4x+1y = -4x + 1?

4. The derivative function

Warm-up

Three quick questions from earlier lessons.

  1. f(x)=x2+2xf(x) = x^2 + 2x. Use f′(3)=lim⁡h→0f(3+h)−f(3)hf'(3) = \displaystyle\lim_{h \to 0} \dfrac{f(3 + h) - f(3)}{h} to find f′(3)f'(3).
  2. Which expression is f′(2)f'(2)?
    1. lim⁡h→0f(2+h)−f(2)h\displaystyle\lim_{h \to 0} \dfrac{f(2 + h) - f(2)}{h}
    2. lim⁡h→0(f(2+h)−f(2))\displaystyle\lim_{h \to 0} \big(f(2 + h) - f(2)\big)
    3. f(2+1)−f(2)1\dfrac{f(2 + 1) - f(2)}{1}
    4. f(2)f(2)
  3. f(x)=3xf(x) = \dfrac{ 3 }{x}. Use the limit definition to find f′(2)f'(2).

Discover

The violet curve is y=x3−3xy = x^3 - 3x. The blue line is its tangent at x=ax = a. Slide aa from −2-2 to 22 and watch the slope.

The cubic y = x³ − 3x and its tangent at x = a. The tangent is horizontal at x = −1 and x = 1, slopes down between them, and slopes up outside.

Between x=−1x = -1 and x=1x = 1, the graph falls. What is the sign of the slope there?

  1. Negative
  2. Positive

Key idea

Computing f′(a)f'(a) at every aa gives a new function.

The derivative function is f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x) = \displaystyle\lim_{h \to 0} \dfrac{f(x + h) - f(x)}{h}. Where ff rises, f′(x)>0f'(x) > 0; where ff falls, f′(x)<0f'(x) < 0; where the tangent is horizontal, f′(x)=0f'(x) = 0.

Worked example

f(x)=x2−4xf(x) = x^2 - 4x. Find f′(x)f'(x).

f(x+h)−f(x)=2xh+h2−4hf(x + h) - f(x) = 2xh + h^2 - 4h
Expand (x + h)² − 4(x + h) and subtract x² − 4x.
f(x+h)−f(x)h=2x+h−4\dfrac{f(x + h) - f(x)}{h} = 2x + h - 4
Divide by h ≠ 0.
f′(x)=2x−4f'(x) = 2x - 4
Let h → 0. Check: f' = 0 at x = 2, the vertex.

Your turn, guided

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

f(x+h)−f(x)h=2x+h+6\dfrac{f(x + h) - f(x)}{h} = 2x + h + 6
The same steps.
f′(x)=2x+6f'(x) = 2x + 6
Let h → 0.

Practice ★

  1. Here is the graph of y=f(x)y = f(x). Tap the point of the graph where f′(x)=0f'(x) = 0.
  2. Here is the graph of y=f(x)y = f(x). Tap the point of the graph where f′(x)=0f'(x) = 0.
  1. f(x)=(x−3)2+3f(x) = (x - 3)^2 + 3, a parabola with its vertex at (3,3)(3, 3). Tick all the true statements.
    1. f′(3)=0f'(3) = 0
    2. f′(x)<0f'(x) < 0 for x<3x < 3
    3. f′(x)>0f'(x) > 0 for x>3x > 3
    4. f′(3)=3f'(3) = 3
    5. f′(x)>0f'(x) > 0 for every xx, because f(x)>0f(x) > 0

Watch out!

Practice ★★

  1. f(x)=2x2+1xf(x) = 2x^2 + 1x. Use f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x) = \displaystyle\lim_{h \to 0} \dfrac{f(x + h) - f(x)}{h} to find f′(x)f'(x).
  2. f(x)=10x2+14xf(x) = 10x^2 + 14x. Use f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x) = \displaystyle\lim_{h \to 0} \dfrac{f(x + h) - f(x)}{h} to find f′(x)f'(x).
  3. f(x)=3x2+2xf(x) = 3x^2 + 2x. Use f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x) = \displaystyle\lim_{h \to 0} \dfrac{f(x + h) - f(x)}{h} to find f′(x)f'(x).

Exit ticket

Three questions to check you have got it.

  1. f(x)=2x2+1xf(x) = 2x^2 + 1x. Use f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x) = \displaystyle\lim_{h \to 0} \dfrac{f(x + h) - f(x)}{h} to find f′(x)f'(x).
  2. f(x)=10x2+14xf(x) = 10x^2 + 14x. Use f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x) = \displaystyle\lim_{h \to 0} \dfrac{f(x + h) - f(x)}{h} to find f′(x)f'(x).
  3. f(x)=3x2+2xf(x) = 3x^2 + 2x. Use f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x) = \displaystyle\lim_{h \to 0} \dfrac{f(x + h) - f(x)}{h} to find f′(x)f'(x).

Summary card

The derivative function

  • f′(x)f'(x) is the slope of ff at each xx.
  • ff rises: f′>0f' > 0. ff falls: f′<0f' < 0. Horizontal tangent: f′=0f' = 0.

Watch out: f′=0f' = 0 (flat) is not the same as f=0f = 0 (on the axis).

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

Challenge ★★★

  1. f(x)=x2−10xf(x) = x^2 - 10x. For which xx is f′(x)=0f'(x) = 0?

5. Interpreting the derivative: rates and units

Warm-up

Three quick questions from earlier lessons.

  1. f(x)=x2+2xf(x) = x^2 + 2x. Use f′(3)=lim⁡h→0f(3+h)−f(3)hf'(3) = \displaystyle\lim_{h \to 0} \dfrac{f(3 + h) - f(3)}{h} to find f′(3)f'(3).
  2. Which expression is f′(2)f'(2)?
    1. lim⁡h→0f(2+h)−f(2)h\displaystyle\lim_{h \to 0} \dfrac{f(2 + h) - f(2)}{h}
    2. lim⁡h→0(f(2+h)−f(2))\displaystyle\lim_{h \to 0} \big(f(2 + h) - f(2)\big)
    3. f(2+1)−f(2)1\dfrac{f(2 + 1) - f(2)}{1}
    4. f(2)f(2)
  3. f(x)=3xf(x) = \dfrac{ 3 }{x}. Use the limit definition to find f′(2)f'(2).

Discover

T(m)T(m) is the temperature of a cup of coffee, in °F, mm minutes after it is poured. T′(10)=−2T'(10) = -2. What are the units of −2-2?

  1. °F per minute
  2. °F

Key idea

A derivative is a rate, with units.

If f(x)f(x) is measured in output units and xx in input units, then f′(a)f'(a) is in output units per input unit. f′(a)=rf'(a) = r means: at x=ax = a, ff changes by about rr for each extra unit of xx.

Worked example

Interpret T′(10)=−2T'(10) = -2.

Ten minutes after it is poured…
Input 10 minutes, output a rate in °F per minute.
…the coffee is cooling by about 2 °F per minute
Negative: the temperature goes down.
So T(11)≈T(10)−2T(11) \approx T(10) - 2
A rate lets you estimate a small change.

Your turn, guided

Your turn: s(t)s(t) meters, tt seconds. s(4)=30s(4) = 30 and s(4.5)=34s(4.5) = 34.

s′(4)≈34−300.5s'(4) \approx \dfrac{34 - 30}{0.5}
4 meters in 0.5 seconds.
s′(4)≈8s'(4) \approx 8 m/s
4 ÷ 0.5.

Practice ★

  1. V(t)V(t) is the volume of water in a tank, in liters, tt minutes after a tap is opened. V′(2)=8V'(2) = 8. What does this mean?
    1. At t=2t = 2 min, the volume is increasing at about 8 liters per minute.
    2. After 2 minutes, the tank holds 8 liters.
    3. In the first 2 minutes, 8 liters flowed in.
    4. It takes 8 minutes to add 2 liters.
  2. V(t)V(t) is the volume of water in a tank, in liters, tt minutes after a tap is opened. V′(7)=11V'(7) = 11. What does this mean?
    1. At t=7t = 7 min, the volume is increasing at about 11 liters per minute.
    2. After 7 minutes, the tank holds 11 liters.
    3. In the first 7 minutes, 11 liters flowed in.
    4. It takes 11 minutes to add 7 liters.
  1. C(q)C(q) is the cost, in dollars, of making qq bikes. What are the units of C′(125)C'(125)?
    1. dollars per bike
    2. dollars
    3. bikes per dollar

Watch out!

Practice ★★

  1. A car's position is s(t)s(t) meters after tt seconds. s(2)=31s(2) = 31 and s(2.5)=39s(2.5) = 39. Estimate s′(2)s'(2), in m/s.
  2. A car's position is s(t)s(t) meters after tt seconds. s(14)=239s(14) = 239 and s(14.5)=256s(14.5) = 256. Estimate s′(14)s'(14), in m/s.
  3. A car's position is s(t)s(t) meters after tt seconds. s(4)=34s(4) = 34 and s(4.5)=38s(4.5) = 38. Estimate s′(4)s'(4), in m/s.

Exit ticket

Three questions to check you have got it.

  1. V(t)V(t) is the volume of water in a tank, in liters, tt minutes after a tap is opened. V′(2)=8V'(2) = 8. What does this mean?
    1. At t=2t = 2 min, the volume is increasing at about 8 liters per minute.
    2. After 2 minutes, the tank holds 8 liters.
    3. In the first 2 minutes, 8 liters flowed in.
    4. It takes 8 minutes to add 2 liters.
  2. V(t)V(t) is the volume of water in a tank, in liters, tt minutes after a tap is opened. V′(7)=11V'(7) = 11. What does this mean?
    1. At t=7t = 7 min, the volume is increasing at about 11 liters per minute.
    2. After 7 minutes, the tank holds 11 liters.
    3. In the first 7 minutes, 11 liters flowed in.
    4. It takes 11 minutes to add 7 liters.
  3. V(t)V(t) is the volume of water in a tank, in liters, tt minutes after a tap is opened. V′(3)=19V'(3) = 19. What does this mean?
    1. At t=3t = 3 min, the volume is increasing at about 19 liters per minute.
    2. After 3 minutes, the tank holds 19 liters.
    3. In the first 3 minutes, 19 liters flowed in.
    4. It takes 19 minutes to add 3 liters.

Summary card

Reading a derivative

  • Units: output units per input unit.
  • f′(a)=rf'(a) = r: at x=ax = a, ff changes by about rr per extra unit of xx.

Watch out: f′(a)f'(a) is a rate at one moment, not a value and not a total change.

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

Challenge ★★★

  1. C(q)C(q) is the cost in dollars of making qq bikes, and C′(100)=22C'(100) = 22. About how much does the cost rise when 108 bikes are made instead of 100?

6. The second derivative, concavity and acceleration

Warm-up

Three quick questions from earlier lessons.

  1. Here is the graph of y=f(x)y = f(x). Tap the point of the graph where f′(x)=0f'(x) = 0.
  2. f(x)=(x−3)2+3f(x) = (x - 3)^2 + 3, a parabola with its vertex at (3,3)(3, 3). Tick all the true statements.
    1. f′(3)=0f'(3) = 0
    2. f′(x)<0f'(x) < 0 for x<3x < 3
    3. f′(x)>0f'(x) > 0 for x>3x > 3
    4. f′(3)=3f'(3) = 3
    5. f′(x)>0f'(x) > 0 for every xx, because f(x)>0f(x) > 0
  3. f(x)=2x2+1xf(x) = 2x^2 + 1x. Use f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x) = \displaystyle\lim_{h \to 0} \dfrac{f(x + h) - f(x)}{h} to find f′(x)f'(x).

Discover

The violet curve is y=x3y = x^3. The blue line is its tangent at x=ax = a. Slide aa from −2-2 to 22.

The cubic y = x³ and its tangent at x = a. For a < 0 the curve bends down and lies below the tangent; for a > 0 it bends up and lies above it. The bending changes at x = 0.

For a>0a > 0, the curve lies above its tangent lines and the slopes 3a23a^2 grow. How does the graph bend there?

  1. It bends up (concave up)
  2. It bends down (concave down)

Key idea

The derivative of the derivative tells how the slope changes.

f′′(x)f''(x) is the derivative of f′(x)f'(x). If f′′>0f'' > 0, f′f' increases and ff is concave up; if f′′<0f'' < 0, f′f' decreases and ff is concave down. A point where the concavity changes is an inflection point. For motion: acceleration a(t)=v′(t)=s′′(t)a(t) = v'(t) = s''(t).

Worked example

v(t)=t2+4tv(t) = t^2 + 4t m/s. Find the acceleration at t=3t = 3.

a(t)=v′(t)=2t+4a(t) = v'(t) = 2t + 4
From the derivative-function lesson: the derivative of t² + 4t.
a(3)=10a(3) = 10 m/s²
Substitute t = 3.

Your turn, guided

Your turn: same v(t)v(t), at t=1t = 1.

a(1)=6a(1) = 6 m/s²
2 · 1 + 4.

Practice ★

  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
  1. 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².
  2. A particle's velocity is v(t)=t2+28tv(t) = t^2 + 28t m/s. Its acceleration is a(t)=v′(t)a(t) = v'(t). Find a(27)a(27), in m/s².

Watch out!

Practice ★★

  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 an inflection point.
  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.

Exit ticket

Three questions to check you have got it.

  1. 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².
  2. A particle's velocity is v(t)=t2+28tv(t) = t^2 + 28t m/s. Its acceleration is a(t)=v′(t)a(t) = v'(t). Find a(27)a(27), in m/s².
  3. A particle's velocity is v(t)=t2+1tv(t) = t^2 + 1t m/s. Its acceleration is a(t)=v′(t)a(t) = v'(t). Find a(2)a(2), in m/s².

Summary card

The second derivative

  • f′′>0f'' > 0: slopes grow, concave up. f′′<0f'' < 0: slopes shrink, concave down.
  • Inflection point: the concavity changes; there f′f' has a maximum or minimum.
  • Acceleration is the derivative of velocity.

Watch out: f′f' says rising or falling; f′′f'' says how it bends.

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

Challenge ★★★

  1. f(x)=x4−42x2f(x) = x^4 - 42x^2. At which positive xx does f′′f'' change sign?

7. Differentiability and continuity

Warm-up

Three quick questions from earlier lessons.

  1. Here is the graph of y=f(x)y = f(x). Tap the point of the graph where f′(x)=0f'(x) = 0.
  2. f(x)=(x−3)2+3f(x) = (x - 3)^2 + 3, a parabola with its vertex at (3,3)(3, 3). Tick all the true statements.
    1. f′(3)=0f'(3) = 0
    2. f′(x)<0f'(x) < 0 for x<3x < 3
    3. f′(x)>0f'(x) > 0 for x>3x > 3
    4. f′(3)=3f'(3) = 3
    5. f′(x)>0f'(x) > 0 for every xx, because f(x)>0f(x) > 0
  3. f(x)=2x2+1xf(x) = 2x^2 + 1x. Use f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x) = \displaystyle\lim_{h \to 0} \dfrac{f(x + h) - f(x)}{h} to find f′(x)f'(x).

Discover

f(x)=∣x∣f(x) = |x|. Just left of 0 the slope is −1-1; just right of 0 it is 11. Does the graph have one tangent line at the origin?

  1. No
  2. Yes, since the graph has no break

Key idea

Differentiable means the limit defining f′(a)f'(a) exists.

If ff is differentiable at aa, then ff is continuous at aa. The converse is false: a continuous function fails to be differentiable at a corner, a cusp or a vertical tangent. A function is also not differentiable where it is not continuous.

Worked example

Is f(x)=∣x−2∣+1f(x) = |x - 2| + 1 differentiable at x=2x = 2?

ff is continuous at 22
No jump or hole at 2.
Slope −1-1 on the left, 11 on the right
The two pieces are 1 − (x − 2) and 1 + (x − 2).
Not differentiable at x=2x = 2: a corner
The one-sided slopes differ.

Your turn, guided

Your turn: f(x)=x2f(x) = x^2 for x≤1x \le 1 and f(x)=2x−1f(x) = 2x - 1 for x>1x > 1.

The pieces meet at (1,1)(1, 1)
Both pieces give 1 at x = 1.
Slope from the left: 22, from the right: 22, so ff is differentiable at 11
The slope of x² at 1 is 2 · 1.

Practice ★

  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. 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.

Watch out!

Practice ★★

  1. 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
  1. 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?
  2. f(x)=x2f(x) = x^2 for x≤29x \le 29 and f(x)=mx−841f(x) = mx - 841 for x>29x > 29. Which value of mm makes ff differentiable at x=29x = 29?

Exit ticket

Three questions to check you have got it.

  1. 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?
  2. f(x)=x2f(x) = x^2 for x≤29x \le 29 and f(x)=mx−841f(x) = mx - 841 for x>29x > 29. Which value of mm makes ff differentiable at x=29x = 29?
  3. f(x)=x2f(x) = x^2 for x≤3x \le 3 and f(x)=mx−9f(x) = mx - 9 for x>3x > 3. Which value of mm makes ff differentiable at x=3x = 3?

Summary card

Differentiability

  • Differentiable ⇒ continuous; not the other way round.
  • No derivative at a corner, a cusp, a vertical tangent, or a break.
  • To join two pieces smoothly, match the heights and the slopes.

Watch out: an unbroken graph can still have no tangent line.

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

Challenge ★★★

  1. At how many points is f(x)=∣x2−25∣f(x) = |x^2 - 25| not differentiable?

8. Local linearization

Warm-up

Three quick questions from earlier lessons.

  1. For f(x)=x2f(x) = x^2, f′(x)=2xf'(x) = 2x. Draw the tangent line to the graph at x=1x = 1: place two points on it.
  2. f(1)=2f(1) = 2 and f′(1)=3f'(1) = 3. Write the tangent line to the graph of ff at x=1x = 1: enter the right-hand side of y=…y = \ldots
  3. For f(x)=x3f(x) = x^3, the difference quotient at x=−3x = -3 simplifies to 27+−9h+h227 + -9h + h^2. What is the slope of the tangent line at x=−3x = -3?

Discover

The violet curve is y=xy = \sqrt{x}; the blue line is its tangent at x=ax = a. Move aa: near the point of contact, curve and line almost agree.

The curve y = √x and its tangent line at x = a. Near x = a the two are almost the same; farther away the line rises above the curve.

At a=4a = 4 the tangent is L(x)=2+14(x−4)L(x) = 2 + \tfrac{1}{4}(x - 4). Use it to estimate 4.4\sqrt{4.4}.

  1. 2.1
  2. 2.4

Key idea

Near x=ax = a, a differentiable function is almost its tangent line.

The local linearization of ff at x=ax = a is L(x)=f(a)+f′(a)(x−a)L(x) = f(a) + f'(a)(x - a), and f(x)≈L(x)f(x) \approx L(x) for xx near aa. If ff is concave up near aa, LL underestimates; if concave down, it overestimates.

Worked example

f(x)=xf(x) = \sqrt{x}, f′(x)=12xf'(x) = \dfrac{1}{2\sqrt{x}}. Estimate 9.6\sqrt{9.6}.

f(9)=3f(9) = 3, f′(9)=16f'(9) = \tfrac{1}{6}
A nearby point with an exact root: a = 9.
L(9.6)=3+16(0.6)=3.1L(9.6) = 3 + \tfrac{1}{6}(0.6) = 3.1
L(x) = f(9) + f'(9)(x − 9).
9.6≈3.1\sqrt{9.6} \approx 3.1 (true value 3.098…3.098…)
√x is concave down: the estimate is a little too big.

Your turn, guided

Your turn: f(2)=7f(2) = 7 and f′(2)=3f'(2) = 3. Estimate f(2.1)f(2.1).

f(2.1)≈7+3(0.1)=7.3f(2.1) \approx 7 + 3(0.1) = 7.3
L(x) = 7 + 3(x − 2).

Practice ★

  1. f(2)=3f(2) = 3 and f′(2)=2f'(2) = 2. Write the local linearization L(x)L(x) of ff at x=2x = 2.
  2. f(4)=−5f(4) = -5 and f′(4)=−4f'(4) = -4. Write the local linearization L(x)L(x) of ff at x=4x = 4.
  3. f(4)=4f(4) = 4 and f′(4)=−1f'(4) = -1. Write the local linearization L(x)L(x) of ff at x=4x = 4.

Watch out!

Practice ★★

  1. f(x)=xf(x) = \sqrt{x} has f′(x)=12xf'(x) = \dfrac{1}{2\sqrt{x}}. Use the local linearization at x=4x = 4 to estimate 6\sqrt{ 6 }. Give an exact fraction.
  2. f(x)=xf(x) = \sqrt{x} has f′(x)=12xf'(x) = \dfrac{1}{2\sqrt{x}}. Use the local linearization at x=4x = 4 to estimate 8\sqrt{ 8 }. Give an exact fraction.
  1. Near x=4x = 4, the graph of ff is concave up. Does the local linearization at x=4x = 4 over- or underestimate f(x)f(x) for xx near 44?
    1. Underestimate: the tangent line lies below the curve.
    2. Overestimate: the tangent line lies above the curve.
    3. Neither: near x=4x = 4 the linearization is exact.

Exit ticket

Three questions to check you have got it.

  1. f(2)=3f(2) = 3 and f′(2)=2f'(2) = 2. Write the local linearization L(x)L(x) of ff at x=2x = 2.
  2. f(4)=−5f(4) = -5 and f′(4)=−4f'(4) = -4. Write the local linearization L(x)L(x) of ff at x=4x = 4.
  3. f(4)=4f(4) = 4 and f′(4)=−1f'(4) = -1. Write the local linearization L(x)L(x) of ff at x=4x = 4.

Summary card

Local linearization

  • L(x)=f(a)+f′(a)(x−a)L(x) = f(a) + f'(a)(x - a), the tangent line used as an estimate.
  • Good near aa; concave up underestimates, concave down overestimates.

Watch out: multiply the step x−ax - a by the slope f′(a)f'(a).

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

Challenge ★★★

  1. Use the local linearization of f(x)=x3f(x) = \sqrt[3]{x} at x=27x = 27 to estimate 323\sqrt[3]{ 32 }.

9. The power, constant multiple and sum rules

Warm-up

Three quick questions from earlier lessons.

  1. Here is the graph of y=f(x)y = f(x). Tap the point of the graph where f′(x)=0f'(x) = 0.
  2. f(x)=(x−3)2+3f(x) = (x - 3)^2 + 3, a parabola with its vertex at (3,3)(3, 3). Tick all the true statements.
    1. f′(3)=0f'(3) = 0
    2. f′(x)<0f'(x) < 0 for x<3x < 3
    3. f′(x)>0f'(x) > 0 for x>3x > 3
    4. f′(3)=3f'(3) = 3
    5. f′(x)>0f'(x) > 0 for every xx, because f(x)>0f(x) > 0
  3. f(x)=2x2+1xf(x) = 2x^2 + 1x. Use f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x) = \displaystyle\lim_{h \to 0} \dfrac{f(x + h) - f(x)}{h} to find f′(x)f'(x).

Discover

From the limit definition: (x2)′=2x(x^2)' = 2x and (x3)′=3x2(x^3)' = 3x^2. Guess the pattern: what is (x4)′(x^4)'?

  1. 4x34x^3
  2. x3x^3

Key idea

Three rules replace the limit for every polynomial and power.

Power rule: (xn)′=n xn−1(x^n)' = n\,x^{n-1} for every real nn. Constant multiple: (k f)′=k f′(k\,f)' = k\,f'. Sum: (f+g)′=f′+g′(f + g)' = f' + g'. Constant: (c)′=0(c)' = 0.

Worked example

f(x)=5x3−2x+7f(x) = 5x^3 - \dfrac{2}{x} + 7. Find f′(x)f'(x).

f(x)=5x3−2x−1+7f(x) = 5x^3 - 2x^{-1} + 7
Write the fraction as a power.
f′(x)=15x2+2x−2f'(x) = 15x^2 + 2x^{-2}
Power rule term by term; the constant 7 gives 0.
f′(x)=15x2+2x2f'(x) = 15x^2 + \dfrac{2}{x^2}
Back to a fraction if you like.

Your turn, guided

Your turn: f(x)=4x5+3x−9f(x) = 4x^5 + 3x - 9.

f′(x)=20x4+3f'(x) = 20x^4 + 3
20x⁴ from 4x⁵, 3 from 3x, 0 from −9.

Practice ★

  1. f(x)=7x3+5xf(x) = 7x^{ 3 } + 5x. Find f′(x)f'(x).
  2. f(x)=13x10+28xf(x) = 13x^{ 10 } + 28x. Find f′(x)f'(x).
  3. f(x)=6x3+6xf(x) = 6x^{ 3 } + 6x. Find f′(x)f'(x).

Watch out!

Practice ★★

  1. f(x)=4x1f(x) = \dfrac{ 4 }{x^{ 1 } }. Find f′(x)f'(x).
  2. f(x)=19x5f(x) = \dfrac{ 19 }{x^{ 5 } }. Find f′(x)f'(x).
  1. f(x)=4x+8f(x) = 4\sqrt{x} + 8. Find f′(x)f'(x).
  2. f(x)=25x+36f(x) = 25\sqrt{x} + 36. Find f′(x)f'(x).

Exit ticket

Three questions to check you have got it.

  1. f(x)=7x3+5xf(x) = 7x^{ 3 } + 5x. Find f′(x)f'(x).
  2. f(x)=13x10+28xf(x) = 13x^{ 10 } + 28x. Find f′(x)f'(x).
  3. f(x)=6x3+6xf(x) = 6x^{ 3 } + 6x. Find f′(x)f'(x).

Summary card

Basic rules

  • (xn)′=nxn−1(x^n)' = n x^{n-1}; rewrite roots and fractions as powers first.
  • Constants factor out; sums split; a constant alone gives 0.

Watch out: with negative exponents, −2−1=−3-2 - 1 = -3.

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

Challenge ★★★

  1. f(x)=xnf(x) = x^n for a whole number nn, and f′(2)=80f'(2) = 80. What is nn?

10. Derivatives of exponential functions

Warm-up

Three quick questions from earlier lessons.

  1. f(x)=x2−3xf(x) = x^2 - 3x. Find the tangent line to its graph at x=3x = 3, from the definition.
    1. f(3)=  ?f(3) = \;?
    2. Simplify f(3+h)−f(3)h\dfrac{f(3 + h) - f(3)}{h} for h≠0h \ne 0:   ?\;?
    3. f′(3)=  ?f'(3) = \;?
    4. The tangent line: y=  ?y = \;?
    5. With the derivative rules: f′(x)=  ?f'(x) = \;?
    6. Approximation of f(3+0.1)f(3 + 0.1) by the tangent line:
  2. f(x)=7x3+5xf(x) = 7x^{ 3 } + 5x. Find f′(x)f'(x).
  3. f(x)=4x1f(x) = \dfrac{ 4 }{x^{ 1 } }. Find f′(x)f'(x).

Discover

The violet curve is y=exy = e^x, the blue line its tangent at x=ax = a. Move aa and compare the slope of the line with the height of the point.

The curve y = eˣ and its tangent at x = a. The tangent's slope equals the height eᵃ of the point of contact.

At a=0a = 0 the point is (0,1)(0, 1). What is the slope of the tangent there?

  1. 1
  2. 0

Key idea

The exponent varies, so the power rule does not apply.

(ex)′=ex(e^x)' = e^x. For any base b>0b > 0: (bx)′=bxln⁡b(b^x)' = b^x \ln b.

Worked example

f(x)=3ex−2xf(x) = 3e^x - 2^x. Find f′(x)f'(x).

(3ex)′=3ex(3e^x)' = 3e^x
eˣ is its own derivative.
(2x)′=2xln⁡2(2^x)' = 2^x \ln 2
Base 2: multiply by ln 2.
f′(x)=3ex−2xln⁡2f'(x) = 3e^x - 2^x \ln 2
Combine.

Your turn, guided

Your turn: f(x)=5ex+x3f(x) = 5e^x + x^3.

f′(x)=5ex+3x2f'(x) = 5e^x + 3x^2
5eˣ stays; x³ gives 3x².

Practice ★

  1. f(x)=3ex+2x2f(x) = 3e^x + 2x^2. Find f′(x)f'(x).
  2. f(x)=27ex+56x2f(x) = 27e^x + 56x^2. Find f′(x)f'(x).
  3. f(x)=2ex+1x2f(x) = 2e^x + 1x^2. Find f′(x)f'(x).

Watch out!

Practice ★★

  1. f(x)=3xf(x) = 3^x. Find f′(x)f'(x).
  2. f(x)=4xf(x) = 4^x. Find f′(x)f'(x).
  1. Find the slope of the tangent line to y=4ex+7y = 4e^x + 7 at x=0x = 0.
  2. Find the slope of the tangent line to y=19ex+21y = 19e^x + 21 at x=0x = 0.

Exit ticket

Three questions to check you have got it.

  1. f(x)=3xf(x) = 3^x. Find f′(x)f'(x).
  2. f(x)=4xf(x) = 4^x. Find f′(x)f'(x).
  3. f(x)=2xf(x) = 2^x. Find f′(x)f'(x).

Summary card

Exponentials

  • (ex)′=ex(e^x)' = e^x.
  • (bx)′=bxln⁡b(b^x)' = b^x \ln b.

Watch out: xnx^n (variable base) and bxb^x (variable exponent) have different rules.

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

Challenge ★★★

  1. Where does the tangent to y=exy = e^x at x=2x = 2 cross the yy-axis? Give the exact yy-value.

11. Derivatives of sine and cosine

Warm-up

Three quick questions from earlier lessons.

  1. f(x)=x2−3xf(x) = x^2 - 3x. Find the tangent line to its graph at x=3x = 3, from the definition.
    1. f(3)=  ?f(3) = \;?
    2. Simplify f(3+h)−f(3)h\dfrac{f(3 + h) - f(3)}{h} for h≠0h \ne 0:   ?\;?
    3. f′(3)=  ?f'(3) = \;?
    4. The tangent line: y=  ?y = \;?
    5. With the derivative rules: f′(x)=  ?f'(x) = \;?
    6. Approximation of f(3+0.1)f(3 + 0.1) by the tangent line:
  2. f(x)=7x3+5xf(x) = 7x^{ 3 } + 5x. Find f′(x)f'(x).
  3. f(x)=4x1f(x) = \dfrac{ 4 }{x^{ 1 } }. Find f′(x)f'(x).

Discover

The violet curves are y=sin⁡xy = \sin x and y=cos⁡xy = \cos x; the blue line is the tangent to sin⁡x\sin x at x=ax = a. Move aa and compare the slope of the line with the height of the cosine curve at x=ax = a.

The sine curve, the cosine curve and the tangent to the sine curve at x = a. The tangent's slope is always the height of the cosine curve at a.

At a=π/2≈1.57a = \pi/2 \approx 1.57, sine is at its top. What is the slope there, and what is cos⁡(π/2)\cos(\pi/2)?

  1. Both are 0
  2. Both are 1

Key idea

With xx in radians:

(sin⁡x)′=cos⁡x(\sin x)' = \cos x and (cos⁡x)′=−sin⁡x(\cos x)' = -\sin x.

Worked example

f(x)=3sin⁡x−4cos⁡xf(x) = 3\sin x - 4\cos x. Find f′(x)f'(x).

(3sin⁡x)′=3cos⁡x(3\sin x)' = 3\cos x
(sin x)' = cos x.
(−4cos⁡x)′=4sin⁡x(-4\cos x)' = 4\sin x
(cos x)' = −sin x, and − · − = +.
f′(x)=3cos⁡x+4sin⁡xf'(x) = 3\cos x + 4\sin x
Combine.

Your turn, guided

Your turn: f(x)=2cos⁡x+x2f(x) = 2\cos x + x^2.

f′(x)=−2sin⁡x+2xf'(x) = -2\sin x + 2x
−2 sin x and 2x.

Practice ★

  1. f(x)=2sin⁡x+2cos⁡xf(x) = 2\sin x + 2\cos x. Find f′(x)f'(x).
  2. f(x)=19sin⁡x+44cos⁡xf(x) = 19\sin x + 44\cos x. Find f′(x)f'(x).
  3. f(x)=3sin⁡x+4cos⁡xf(x) = 3\sin x + 4\cos x. Find f′(x)f'(x).

Watch out!

Practice ★★

  1. Find the slope of the tangent line to y=sin⁡xy = \sin x at x=π2x = \dfrac{\pi}{ 2 }. Give an exact value.
  2. Find the slope of the tangent line to y=sin⁡xy = \sin x at x=π3x = \dfrac{\pi}{ 3 }. Give an exact value.
  1. f(x)=4x−2cos⁡xf(x) = 4x - 2\cos x. Find f′(x)f'(x).
  2. f(x)=23x−48cos⁡xf(x) = 23x - 48\cos x. Find f′(x)f'(x).

Exit ticket

Three questions to check you have got it.

  1. f(x)=2sin⁡x+2cos⁡xf(x) = 2\sin x + 2\cos x. Find f′(x)f'(x).
  2. f(x)=19sin⁡x+44cos⁡xf(x) = 19\sin x + 44\cos x. Find f′(x)f'(x).
  3. f(x)=3sin⁡x+4cos⁡xf(x) = 3\sin x + 4\cos x. Find f′(x)f'(x).

Summary card

Sine and cosine

  • (sin⁡x)′=cos⁡x(\sin x)' = \cos x.
  • (cos⁡x)′=−sin⁡x(\cos x)' = -\sin x.

Watch out: the minus sign goes with the derivative of cosine; radians only.

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

Challenge ★★★

  1. f(x)=2xsin⁡xf(x) = 2x\sin x. Find f′(π)f'(\pi).

12. The product rule

Warm-up

Three quick questions from earlier lessons.

  1. f(x)=x2−3xf(x) = x^2 - 3x. Find the tangent line to its graph at x=3x = 3, from the definition.
    1. f(3)=  ?f(3) = \;?
    2. Simplify f(3+h)−f(3)h\dfrac{f(3 + h) - f(3)}{h} for h≠0h \ne 0:   ?\;?
    3. f′(3)=  ?f'(3) = \;?
    4. The tangent line: y=  ?y = \;?
    5. With the derivative rules: f′(x)=  ?f'(x) = \;?
    6. Approximation of f(3+0.1)f(3 + 0.1) by the tangent line:
  2. f(x)=7x3+5xf(x) = 7x^{ 3 } + 5x. Find f′(x)f'(x).
  3. f(x)=4x1f(x) = \dfrac{ 4 }{x^{ 1 } }. Find f′(x)f'(x).

Discover

f(x)=xf(x) = x and g(x)=xg(x) = x, so f(x)g(x)=x2f(x)g(x) = x^2. Is (x2)′(x^2)' equal to f′(x) g′(x)=1⋅1f'(x)\,g'(x) = 1 \cdot 1?

  1. No
  2. Yes

Key idea

Each factor takes its turn to be differentiated.

Product rule: (f g)′=f′ g+f g′(f\,g)' = f'\,g + f\,g'.

Worked example

h(x)=x3exh(x) = x^3 e^x. Find h′(x)h'(x).

f′=3x2f' = 3x^2, g′=exg' = e^x
f = x³, g = eˣ.
h′(x)=3x2ex+x3exh'(x) = 3x^2 e^x + x^3 e^x
f'g + fg'.
h′(x)=x2ex(3+x)h'(x) = x^2 e^x (3 + x)
Factor if you like.

Your turn, guided

Your turn: h(x)=xcos⁡xh(x) = x\cos x.

f′=1f' = 1, g′=−sin⁡xg' = -\sin x
f = x, g = cos x.
h′(x)=cos⁡x−xsin⁡xh'(x) = \cos x - x\sin x
f'g + fg'.

Practice ★

  1. f(x)=x3sin⁡xf(x) = x^{ 3 }\sin x. Find f′(x)f'(x).
  2. f(x)=x9sin⁡xf(x) = x^{ 9 }\sin x. Find f′(x)f'(x).
  1. f(x)=(x+3)exf(x) = (x + 3)e^x. Find f′(x)f'(x).
  2. f(x)=(x+74)exf(x) = (x + 74)e^x. Find f′(x)f'(x).

Watch out!

Practice ★★

  1. f(2)=4f(2) = 4, f′(2)=4f'(2) = 4, g(2)=−4g(2) = -4 and g′(2)=−1g'(2) = -1. Find (fg)′(2)(fg)'(2).
  2. f(2)=−4f(2) = -4, f′(2)=−2f'(2) = -2, g(2)=2g(2) = 2 and g′(2)=3g'(2) = 3. Find (fg)′(2)(fg)'(2).
  3. f(2)=−1f(2) = -1, f′(2)=1f'(2) = 1, g(2)=5g(2) = 5 and g′(2)=−1g'(2) = -1. Find (fg)′(2)(fg)'(2).

Exit ticket

Three questions to check you have got it.

  1. f(x)=x3sin⁡xf(x) = x^{ 3 }\sin x. Find f′(x)f'(x).
  2. f(x)=x9sin⁡xf(x) = x^{ 9 }\sin x. Find f′(x)f'(x).
  3. f(x)=x2sin⁡xf(x) = x^{ 2 }\sin x. Find f′(x)f'(x).

Summary card

Product rule

(fg)′=f′g+fg′(fg)' = f'g + fg': differentiate one factor at a time, keep the other.

Watch out: (fg)′≠f′g′(fg)' \ne f'g'.

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

Challenge ★★★

  1. f(x)=x4exf(x) = x^{ 4 }e^x. Find f′(1)f'(1).

13. The quotient rule

Warm-up

Three quick questions from earlier lessons.

  1. f(x)=x3sin⁡xf(x) = x^{ 3 }\sin x. Find f′(x)f'(x).
  2. f(x)=(x+3)exf(x) = (x + 3)e^x. Find f′(x)f'(x).
  3. f(2)=4f(2) = 4, f′(2)=4f'(2) = 4, g(2)=−4g(2) = -4 and g′(2)=−1g'(2) = -1. Find (fg)′(2)(fg)'(2).

Discover

x3x=x2\dfrac{x^3}{x} = x^2, whose derivative is 2x2x. The quotient of the derivatives would be 3x21\dfrac{3x^2}{1}. Do they agree?

  1. No
  2. Yes

Key idea

Top's derivative first, then subtract.

Quotient rule: (fg)′=f′ g−f g′g2\left(\dfrac{f}{g}\right)' = \dfrac{f'\,g - f\,g'}{g^2}, where g≠0g \ne 0.

Worked example

h(x)=x2x+1h(x) = \dfrac{x^2}{x + 1}. Find h′(x)h'(x).

f′=2xf' = 2x, g′=1g' = 1
f = x², g = x + 1.
h′(x)=2x(x+1)−x2(x+1)2h'(x) = \dfrac{2x(x + 1) - x^2}{(x + 1)^2}
f'g − fg' over g².
h′(x)=x2+2x(x+1)2h'(x) = \dfrac{x^2 + 2x}{(x + 1)^2}
Simplify the top.

Your turn, guided

Your turn: h(x)=exxh(x) = \dfrac{e^x}{x}.

h′(x)=xex−exx2h'(x) = \dfrac{xe^x - e^x}{x^2}
f = eˣ, g = x: f'g − fg' = xeˣ − eˣ.

Practice ★

  1. f(x)=xx+3f(x) = \dfrac{x}{x + 3}. Find f′(x)f'(x).
  2. f(x)=xx+94f(x) = \dfrac{x}{x + 94}. Find f′(x)f'(x).
  3. f(x)=xx+1f(x) = \dfrac{x}{x + 1}. Find f′(x)f'(x).

Watch out!

Practice ★★

  1. f(x)=1sin⁡xxf(x) = \dfrac{ 1\sin x}{x}. Find f′(x)f'(x).
  2. f(x)=30sin⁡xxf(x) = \dfrac{ 30\sin x}{x}. Find f′(x)f'(x).
  1. f(1)=1f(1) = 1, f′(1)=−2f'(1) = -2, g(1)=4g(1) = 4 and g′(1)=2g'(1) = 2. Find (fg)′(1)\left(\dfrac{f}{g}\right)'(1).
  2. f(1)=1f(1) = 1, f′(1)=1f'(1) = 1, g(1)=1g(1) = 1 and g′(1)=4g'(1) = 4. Find (fg)′(1)\left(\dfrac{f}{g}\right)'(1).

Exit ticket

Three questions to check you have got it.

  1. f(x)=xx+3f(x) = \dfrac{x}{x + 3}. Find f′(x)f'(x).
  2. f(x)=xx+94f(x) = \dfrac{x}{x + 94}. Find f′(x)f'(x).
  3. f(x)=xx+1f(x) = \dfrac{x}{x + 1}. Find f′(x)f'(x).

Summary card

Quotient rule

(fg)′=f′g−fg′g2\left(\dfrac{f}{g}\right)' = \dfrac{f'g - fg'}{g^2}: "low d-high minus high d-low, over low squared".

Watch out: the order in the numerator matters.

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

Challenge ★★★

  1. f(x)=x2+1xf(x) = \dfrac{x^2 + 1}{x} for x>0x > 0. Where does the graph have a horizontal tangent?

14. Derivatives of tangent, secant, cotangent and cosecant

Warm-up

Three quick questions from earlier lessons.

  1. f(x)=xx+3f(x) = \dfrac{x}{x + 3}. Find f′(x)f'(x).
  2. f(x)=1sin⁡xxf(x) = \dfrac{ 1\sin x}{x}. Find f′(x)f'(x).
  3. f(1)=1f(1) = 1, f′(1)=−2f'(1) = -2, g(1)=4g(1) = 4 and g′(1)=2g'(1) = 2. Find (fg)′(1)\left(\dfrac{f}{g}\right)'(1).

Discover

tan⁡x=sin⁡xcos⁡x\tan x = \dfrac{\sin x}{\cos x}. With the quotient rule, the top of (tan⁡x)′(\tan x)' is cos⁡x⋅cos⁡x−sin⁡x⋅(−sin⁡x)\cos x \cdot \cos x - \sin x \cdot (-\sin x). What does it simplify to?

  1. 1
  2. cos⁡2x−sin⁡2x\cos^2 x - \sin^2 x

Key idea

The quotient rule gives the other four.

(tan⁡x)′=sec⁡2x(\tan x)' = \sec^2 x, (sec⁡x)′=sec⁡xtan⁡x(\sec x)' = \sec x \tan x, (cot⁡x)′=−csc⁡2x(\cot x)' = -\csc^2 x, (csc⁡x)′=−csc⁡xcot⁡x(\csc x)' = -\csc x \cot x. The "co" functions get a minus sign.

Worked example

f(x)=2tan⁡x−csc⁡xf(x) = 2\tan x - \csc x. Find f′(x)f'(x).

(2tan⁡x)′=2sec⁡2x(2\tan x)' = 2\sec^2 x
(tan x)' = sec² x.
(−csc⁡x)′=csc⁡xcot⁡x(-\csc x)' = \csc x \cot x
(csc x)' = −csc x cot x, and − · − = +.
f′(x)=2sec⁡2x+csc⁡xcot⁡xf'(x) = 2\sec^2 x + \csc x\cot x
Combine.

Your turn, guided

Your turn: f(x)=sec⁡x+xf(x) = \sec x + x.

f′(x)=sec⁡xtan⁡x+1f'(x) = \sec x\tan x + 1
sec x tan x, plus 1.

Practice ★

  1. f(x)=2tan⁡xf(x) = 2\tan x. Find f′(x)f'(x).
  2. f(x)=74tan⁡xf(x) = 74\tan x. Find f′(x)f'(x).
  3. f(x)=3tan⁡xf(x) = 3\tan x. Find f′(x)f'(x).

Watch out!

Practice ★★

  1. f(x)=sec⁡x+2cot⁡xf(x) = \sec x + 2\cot x. Find f′(x)f'(x).
  2. f(x)=sec⁡x+8cot⁡xf(x) = \sec x + 8\cot x. Find f′(x)f'(x).
  1. Find the slope of the tangent line to y=tan⁡xy = \tan x at x=π6x = \dfrac{\pi}{ 6 }. Give an exact value.
  2. Find the slope of the tangent line to y=tan⁡xy = \tan x at x=π4x = \dfrac{\pi}{ 4 }. Give an exact value.

Exit ticket

Three questions to check you have got it.

  1. f(x)=2tan⁡xf(x) = 2\tan x. Find f′(x)f'(x).
  2. f(x)=74tan⁡xf(x) = 74\tan x. Find f′(x)f'(x).
  3. f(x)=3tan⁡xf(x) = 3\tan x. Find f′(x)f'(x).

Summary card

tan, sec, cot, csc

  • (tan⁡x)′=sec⁡2x(\tan x)' = \sec^2 x, (sec⁡x)′=sec⁡xtan⁡x(\sec x)' = \sec x\tan x.
  • (cot⁡x)′=−csc⁡2x(\cot x)' = -\csc^2 x, (csc⁡x)′=−csc⁡xcot⁡x(\csc x)' = -\csc x\cot x.

Watch out: co-functions take a minus sign. You may also write sec⁡2x\sec^2 x as 1cos⁡2x\dfrac{1}{\cos^2 x}.

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

Challenge ★★★

  1. f(x)=9tan⁡2xf(x) = 9\tan^2 x. Find f′(π4)f'\left(\dfrac{\pi}{4}\right).

15. The chain rule

Warm-up

Three quick questions from earlier lessons.

  1. f(x)=x3sin⁡xf(x) = x^{ 3 }\sin x. Find f′(x)f'(x).
  2. f(x)=(x+3)exf(x) = (x + 3)e^x. Find f′(x)f'(x).
  3. f(2)=4f(2) = 4, f′(2)=4f'(2) = 4, g(2)=−4g(2) = -4 and g′(2)=−1g'(2) = -1. Find (fg)′(2)(fg)'(2).

Discover

The violet curve is y=sin⁡xy = \sin x; the blue one is y=sin⁡(kx)y = \sin(kx). Increase kk.

The curves y = sin x and y = sin(kx). With k = 2 the blue curve oscillates twice as fast, and its steepest slope is 2 instead of 1.

At k=2k = 2 the blue curve goes twice as fast. At x=0x = 0, what is the slope of y=sin⁡(2x)y = \sin(2x)?

  1. 2
  2. 1

Key idea

For a function inside a function: differentiate the outside, keep the inside, multiply by the derivative of the inside.

Chain rule: (f(g(x)))′=f′(g(x))⋅g′(x)\big(f(g(x))\big)' = f'(g(x)) \cdot g'(x).

Worked example

h(x)=(x2+1)5h(x) = (x^2 + 1)^5. Find h′(x)h'(x).

f(u)=u5f(u) = u^5, g(x)=x2+1g(x) = x^2 + 1
Outside u⁵, inside u = x² + 1.
h′(x)=5(x2+1)4⋅2xh'(x) = 5(x^2 + 1)^4 \cdot 2x
f'(u) = 5u⁴ with the inside kept; g'(x) = 2x.
h′(x)=10x(x2+1)4h'(x) = 10x(x^2 + 1)^4
Tidy.

Your turn, guided

Your turn: h(x)=e3xh(x) = e^{3x}.

h′(x)=3e3xh'(x) = 3e^{3x}
Outside eᵘ, inside 3x: eᵘ times 3.

Practice ★

  1. f(x)=(3x+6)2f(x) = (3x + 6)^{ 2 }. Find f′(x)f'(x).
  2. f(x)=(8x+7)4f(x) = (8x + 7)^{ 4 }. Find f′(x)f'(x).
  3. f(x)=(2x+6)2f(x) = (2x + 6)^{ 2 }. Find f′(x)f'(x).

Watch out!

Practice ★★

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

Exit ticket

Three questions to check you have got it.

  1. f(x)=(3x+6)2f(x) = (3x + 6)^{ 2 }. Find f′(x)f'(x).
  2. f(x)=(8x+7)4f(x) = (8x + 7)^{ 4 }. Find f′(x)f'(x).
  3. f(x)=(2x+6)2f(x) = (2x + 6)^{ 2 }. Find f′(x)f'(x).

Summary card

Chain rule

(f(g(x)))′=f′(g(x)) g′(x)\big(f(g(x))\big)' = f'(g(x))\,g'(x): outside's derivative (inside kept) times inside's derivative.

Watch out: do not forget the factor g′(x)g'(x).

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

Challenge ★★★

  1. f(x)=(x2+1)2f(x) = (x^2 + 1)^{ 2 }. Find f′(1)f'(1).

16. Derivatives of inverse functions: ln x, arcsin x, arctan x

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

y=ln⁡xy = \ln x means ey=xe^y = x. The slope of eye^y is ey=xe^y = x. The graphs of ln⁡\ln and exp⁡\exp are reflections, so their slopes are reciprocal. What is (ln⁡x)′(\ln x)'?

  1. 1x\dfrac{1}{x}
  2. ln⁡x\ln x

Key idea

The derivatives of the inverse functions come from the chain rule.

(ln⁡x)′=1x(\ln x)' = \dfrac{1}{x} (x>0x > 0); (arcsin⁡x)′=11−x2(\arcsin x)' = \dfrac{1}{\sqrt{1 - x^2}}; (arctan⁡x)′=11+x2(\arctan x)' = \dfrac{1}{1 + x^2}. With an inside function: (ln⁡u)′=u′u(\ln u)' = \dfrac{u'}{u}.

Worked example

h(x)=ln⁡(x3+2)h(x) = \ln(x^3 + 2). Find h′(x)h'(x).

(ln⁡u)′=u′u(\ln u)' = \dfrac{u'}{u}
Inside u = x³ + 2, u' = 3x².
h′(x)=3x2x3+2h'(x) = \dfrac{3x^2}{x^3 + 2}
Substitute.

Your turn, guided

Your turn: h(x)=arctan⁡(x2)h(x) = \arctan(x^2).

h′(x)=2x1+x4h'(x) = \dfrac{2x}{1 + x^4}
u = x², u' = 2x; divide by 1 + u² = 1 + x⁴.

Practice ★

  1. f(x)=ln⁡(9x)f(x) = \ln(9x) for x>0x > 0. Find f′(x)f'(x).
  2. f(x)=ln⁡(2x)f(x) = \ln(2x) for x>0x > 0. Find f′(x)f'(x).
  1. f(x)=ln⁡(x2+2)f(x) = \ln(x^2 + 2). Find f′(x)f'(x).
  2. f(x)=ln⁡(x2+15)f(x) = \ln(x^2 + 15). Find f′(x)f'(x).

Watch out!

Practice ★★

  1. f(x)=arctan⁡(7x)f(x) = \arctan(7x). Find f′(x)f'(x).
  2. f(x)=arctan⁡(2x)f(x) = \arctan(2x). Find f′(x)f'(x).

Exit ticket

Three questions to check you have got it.

  1. f(x)=ln⁡(x2+2)f(x) = \ln(x^2 + 2). Find f′(x)f'(x).
  2. f(x)=ln⁡(x2+15)f(x) = \ln(x^2 + 15). Find f′(x)f'(x).
  3. f(x)=ln⁡(x2+3)f(x) = \ln(x^2 + 3). Find f′(x)f'(x).

Summary card

Inverse functions

  • (ln⁡x)′=1x(\ln x)' = \dfrac{1}{x}, (ln⁡u)′=u′u(\ln u)' = \dfrac{u'}{u}.
  • (arcsin⁡x)′=11−x2(\arcsin x)' = \dfrac{1}{\sqrt{1 - x^2}}, (arctan⁡x)′=11+x2(\arctan x)' = \dfrac{1}{1 + x^2}.

Watch out: the chain rule still applies to the inside.

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

Challenge ★★★

  1. f(x)=arcsin⁡(x2)f(x) = \arcsin\left(\dfrac{x}{ 2 }\right). Find f′(x)f'(x).

17. Implicit differentiation

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

The circle x2+y2=25x^2 + y^2 = 25 is not the graph of one function, but it has a tangent line at each point. If yy depends on xx, what is ddx(y2)\dfrac{d}{dx}\big(y^2\big)?

  1. 2y⋅dydx2y \cdot \dfrac{dy}{dx}
  2. 2y2y

Key idea

Differentiate both sides with respect to xx, treating yy as a function of xx.

Implicit differentiation: every term with yy picks up a factor dydx\dfrac{dy}{dx} (chain rule); products like xyxy need the product rule. Then solve the equation for dydx\dfrac{dy}{dx}.

Worked example

x2+y2=25x^2 + y^2 = 25. Find dydx\dfrac{dy}{dx}.

2x+2y y′=02x + 2y\,y' = 0
Differentiate each term; (y²)' = 2y y'.
y′=−xyy' = -\dfrac{x}{y}
Isolate y'.
y′(3,4)=−34y'(3, 4) = -\dfrac{3}{4}
At (3, 4): the tangent's slope.

Your turn, guided

Your turn: y3+x=7y^3 + x = 7.

3y2 y′+1=03y^2\,y' + 1 = 0
(y³)' = 3y² y'; (x)' = 1.
y′=−13y2y' = -\dfrac{1}{3y^2}
Isolate y'.

Practice ★

  1. x2+3y2=70x^2 + 3y^2 = 70. Find dydx\dfrac{dy}{dx} in terms of xx and yy.
  2. x2+30y2=216x^2 + 30y^2 = 216. Find dydx\dfrac{dy}{dx} in terms of xx and yy.
  1. y2=x3+5xy^2 = x^3 + 5x. Find dydx\dfrac{dy}{dx} in terms of xx and yy.
  2. y2=x3+6xy^2 = x^3 + 6x. Find dydx\dfrac{dy}{dx} in terms of xx and yy.

Watch out!

Practice ★★

  1. xy+7x=19xy + 7x = 19. Find dydx\dfrac{dy}{dx} in terms of xx and yy.
  2. xy+3x=15xy + 3x = 15. Find dydx\dfrac{dy}{dx} in terms of xx and yy.

Exit ticket

Three questions to check you have got it.

  1. x2+3y2=70x^2 + 3y^2 = 70. Find dydx\dfrac{dy}{dx} in terms of xx and yy.
  2. x2+30y2=216x^2 + 30y^2 = 216. Find dydx\dfrac{dy}{dx} in terms of xx and yy.
  3. x2+3y2=87x^2 + 3y^2 = 87. Find dydx\dfrac{dy}{dx} in terms of xx and yy.

Summary card

Implicit differentiation

  1. Differentiate both sides with respect to xx.
  2. Each yy term gets a factor y′y'; use the product rule for xyxy.
  3. Solve for y′y'.

Watch out: (y2)′=2y y′(y^2)' = 2y\,y', not 2y2y.

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

Challenge ★★★

  1. Find dydx\dfrac{dy}{dx} for x3+y3=54x^3 + y^3 = 54 at the point (3,3)(3, 3).

18. Tangent lines to curves defined implicitly

Warm-up

Three quick questions from earlier lessons.

  1. For f(x)=x2f(x) = x^2, f′(x)=2xf'(x) = 2x. Draw the tangent line to the graph at x=1x = 1: place two points on it.
  2. f(1)=2f(1) = 2 and f′(1)=3f'(1) = 3. Write the tangent line to the graph of ff at x=1x = 1: enter the right-hand side of y=…y = \ldots
  3. For f(x)=x3f(x) = x^3, the difference quotient at x=−3x = -3 simplifies to 27+−9h+h227 + -9h + h^2. What is the slope of the tangent line at x=−3x = -3?

Discover

The violet curve is the circle x2+y2=25x^2 + y^2 = 25; the blue line is its tangent at the point at angle aa. Move aa.

The circle x² + y² = 25 and its tangent line at the point (5 cos a, 5 sin a). The tangent is perpendicular to the radius, with slope −x/y.

The radius to (3,4)(3, 4) has slope 43\tfrac{4}{3}. What is the slope of the tangent there?

  1. −34-\tfrac{3}{4}
  2. 43\tfrac{4}{3}

Key idea

After implicit differentiation, y′y' depends on both coordinates.

To find the tangent at (x0,y0)(x_0, y_0): compute y′y' implicitly, substitute both x0x_0 and y0y_0 to get the slope mm, then y=y0+m(x−x0)y = y_0 + m(x - x_0).

Worked example

Tangent to x2+xy+y2=7x^2 + xy + y^2 = 7 at (1,2)(1, 2).

2x+y+x y′+2y y′=02x + y + x\,y' + 2y\,y' = 0
Product rule on xy.
y′=−2x+yx+2yy' = -\dfrac{2x + y}{x + 2y}
Solve for y'.
y=2−45(x−1)y = 2 - \tfrac{4}{5}(x - 1)
At (1, 2): −4/5.

Your turn, guided

Your turn: x2+y2=13x^2 + y^2 = 13 at (2,3)(2, 3).

slope =−23= -\tfrac{2}{3}
y' = −x/y at (2, 3).
y=3−23(x−2)y = 3 - \tfrac{2}{3}(x - 2)
Point-slope form.

Practice ★

  1. Find the slope of the tangent line to the circle x2+y2=5x^2 + y^2 = 5 at the point (2,1)(2, 1).
  2. Find the slope of the tangent line to the circle x2+y2=1037x^2 + y^2 = 1037 at the point (29,14)(29, 14).
  3. Find the slope of the tangent line to the circle x2+y2=13x^2 + y^2 = 13 at the point (2,3)(2, 3).

Watch out!

Practice ★★

  1. Write the tangent line to x2+y2=20x^2 + y^2 = 20 at (4,2)(4, 2): enter the right-hand side of y=…y = \ldots
  2. Write the tangent line to x2+y2=45x^2 + y^2 = 45 at (6,3)(6, 3): enter the right-hand side of y=…y = \ldots
  1. The point (1,2)(1, 2) is on the curve x2+xy+y2=7x^2 + xy + y^2 = 7. Find the slope of the tangent line there.
  2. The point (1,5)(1, 5) is on the curve x2+xy+y2=31x^2 + xy + y^2 = 31. Find the slope of the tangent line there.

Exit ticket

Three questions to check you have got it.

  1. Find the slope of the tangent line to the circle x2+y2=5x^2 + y^2 = 5 at the point (2,1)(2, 1).
  2. Find the slope of the tangent line to the circle x2+y2=1037x^2 + y^2 = 1037 at the point (29,14)(29, 14).
  3. Find the slope of the tangent line to the circle x2+y2=13x^2 + y^2 = 13 at the point (2,3)(2, 3).

Summary card

Tangents to implicit curves

  • Slope: substitute the point into y′y' (both xx and yy).
  • Line: y=y0+m(x−x0)y = y_0 + m(x - x_0).

Watch out: the tangent to a circle is perpendicular to the radius.

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

Challenge ★★★

  1. Find the yy-intercept of the tangent line to x2+y2=8x^2 + y^2 = 8 at (2,2)(2, 2).

19. The derivative of an inverse function

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

f(2)=5f(2) = 5 and the tangent to ff at (2,5)(2, 5) has slope 3. The graph of f−1f^{-1} is the reflection in y=xy = x, so it passes through (5,2)(5, 2). Reflecting swaps rise and run. What is its slope there?

  1. 13\tfrac{1}{3}
  2. 33

Key idea

Slopes of inverse functions are reciprocals at matching points.

If f(a)=bf(a) = b and f′(a)≠0f'(a) \ne 0, then (f−1)′(b)=1f′(a)(f^{-1})'(b) = \dfrac{1}{f'(a)}. In general (f−1)′(x)=1f′(f−1(x))(f^{-1})'(x) = \dfrac{1}{f'\big(f^{-1}(x)\big)}.

Worked example

f(x)=x3+2xf(x) = x^3 + 2x, g=f−1g = f^{-1}. Find g′(3)g'(3).

g(3)=1g(3) = 1
Find a with f(a) = 3: 1 + 2 = 3.
f′(1)=5f'(1) = 5
f'(x) = 3x² + 2.
g′(3)=15g'(3) = \tfrac{1}{5}
Reciprocal.

Your turn, guided

Your turn: same ff, find g′(12)g'(12). Note f(2)=12f(2) = 12.

f′(2)=14f'(2) = 14
f'(2) = 3·4 + 2.
g′(12)=114g'(12) = \tfrac{1}{14}
Reciprocal.

Practice ★

  1. ff is invertible with f(2)=10f(2) = 10 and f′(2)=2f'(2) = 2. Find (f−1)′(10)(f^{-1})'(10).
  2. ff is invertible with f(39)=65f(39) = 65 and f′(39)=24f'(39) = 24. Find (f−1)′(65)(f^{-1})'(65).
  1. gg is the inverse of ff. Which expression equals g′(7)g'(7)?
    1. 1f′(g(7))\dfrac{1}{f'(g(7))}
    2. 1f′(7)\dfrac{1}{f'(7)}
    3. f′(g(7))f'(g(7))
    4. 1f(7)\dfrac{1}{f(7)}

Watch out!

Practice ★★

  1. f(x)=x3+8xf(x) = x^3 + 8x has an inverse gg. Note f(1)=9f(1) = 9. Find g′(9)g'(9).
  2. f(x)=x3+7xf(x) = x^3 + 7x has an inverse gg. Note f(1)=8f(1) = 8. Find g′(8)g'(8).

Exit ticket

Three questions to check you have got it.

  1. ff is invertible with f(2)=10f(2) = 10 and f′(2)=2f'(2) = 2. Find (f−1)′(10)(f^{-1})'(10).
  2. ff is invertible with f(39)=65f(39) = 65 and f′(39)=24f'(39) = 24. Find (f−1)′(65)(f^{-1})'(65).
  3. ff is invertible with f(1)=7f(1) = 7 and f′(1)=3f'(1) = 3. Find (f−1)′(7)(f^{-1})'(7).

Summary card

Derivative of an inverse

  1. Find a=f−1(b)a = f^{-1}(b).
  2. Compute f′(a)f'(a).
  3. (f−1)′(b)=1/f′(a)(f^{-1})'(b) = 1 / f'(a).

Watch out: evaluate f′f' at aa, the input of ff, not at bb.

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

Challenge ★★★

  1. f(x)=ex+5xf(x) = e^x + 5x has an inverse gg. Note f(0)=1f(0) = 1. Find g′(1)g'(1).

20. Related rates: area and volume

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

A stone drops in a pond; the ripple's radius grows at 2 cm/s. Is the area growing at a constant rate?

  1. No, faster and faster
  2. Yes, 2 cm²/s

Key idea

When quantities are linked by an equation, their rates are linked by its derivative with respect to time.

Related rates: write an equation linking the quantities, differentiate it with respect to tt (chain rule: each quantity gets its own rate), then substitute the values at the moment of interest.

Worked example

A ripple's radius grows at 2 cm/s. How fast is the area growing when r=10r = 10 cm?

A=πr2A = \pi r^2
The link between the quantities.
dAdt=2πrdrdt\dfrac{dA}{dt} = 2\pi r \dfrac{dr}{dt}
Differentiate with respect to t.
dAdt=40π≈126\dfrac{dA}{dt} = 40\pi \approx 126 cm²/s
Now substitute r = 10, dr/dt = 2.

Your turn, guided

Your turn: a square's side grows at 3 cm/s. A=s2A = s^2. Find dAdt\dfrac{dA}{dt} when s=5s = 5.

dAdt=2sdsdt\dfrac{dA}{dt} = 2s\dfrac{ds}{dt}
Differentiate.
dAdt=30\dfrac{dA}{dt} = 30 cm²/s
2 · 5 · 3.

Practice ★

  1. A circular ripple's radius grows at 2 cm/s. How fast is its area growing when the radius is 8 cm? (cm²/s, exact)
  2. A circular ripple's radius grows at 12 cm/s. How fast is its area growing when the radius is 34 cm? (cm²/s, exact)
  1. A balloon's radius increases at 3 cm/s. With V=43πr3V = \tfrac{4}{3}\pi r^3, find dVdt\dfrac{dV}{dt} when r=4r = 4 cm. (cm³/s, exact)
  2. A balloon's radius increases at 8 cm/s. With V=43πr3V = \tfrac{4}{3}\pi r^3, find dVdt\dfrac{dV}{dt} when r=12r = 12 cm. (cm³/s, exact)

Watch out!

Practice ★★

  1. Air is pumped into a spherical balloon at 29 cm³/s. How fast is the radius increasing when r=6r = 6 cm? (cm/s, exact)
  2. Air is pumped into a spherical balloon at 26 cm³/s. How fast is the radius increasing when r=3r = 3 cm? (cm/s, exact)

Exit ticket

Three questions to check you have got it.

  1. A circular ripple's radius grows at 2 cm/s. How fast is its area growing when the radius is 8 cm? (cm²/s, exact)
  2. A circular ripple's radius grows at 12 cm/s. How fast is its area growing when the radius is 34 cm? (cm²/s, exact)
  3. A circular ripple's radius grows at 3 cm/s. How fast is its area growing when the radius is 10 cm? (cm²/s, exact)

Summary card

Related rates

  1. Equation linking the quantities.
  2. Differentiate with respect to tt.
  3. Substitute the values at that moment; solve for the unknown rate.

Watch out: substitute changing values only after differentiating.

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

Challenge ★★★

  1. The edges of a cube grow at 2 cm/s. How fast is its volume growing when the edge is 4 cm? (cm³/s)

21. Related rates with right triangles

Warm-up

Three quick questions from earlier lessons.

  1. x2+3y2=70x^2 + 3y^2 = 70. Find dydx\dfrac{dy}{dx} in terms of xx and yy.
  2. xy+7x=19xy + 7x = 19. Find dydx\dfrac{dy}{dx} in terms of xx and yy.
  3. y2=x3+5xy^2 = x^3 + 5x. Find dydx\dfrac{dy}{dx} in terms of xx and yy.

Discover

A 5-m ladder leans against a wall; its foot is aa m from the wall. Slide the foot outwards at a steady pace.

A 5-m ladder from (a, 0) on the ground to the wall at x = 0. As a grows by equal steps, the top drops slowly at first, then faster and faster.

The foot moves at a steady speed. Does the top slide down at a steady speed?

  1. No: it speeds up near the ground
  2. Yes, the same speed as the foot

Key idea

Right triangles link distances by Pythagoras.

If x2+y2=D2x^2 + y^2 = D^2, then x x′+y y′=D D′x\,x' + y\,y' = D\,D' (all with respect to tt). A constant length (a ladder) has rate 0; a decreasing length has a negative rate.

Worked example

A 10-ft ladder: foot 6 ft from the wall, sliding out at 2 ft/s. How fast is the top moving?

y=8y = 8
At that moment y = √(100 − 36).
2x x′+2y y′=02x\,x' + 2y\,y' = 0
Differentiate x² + y² = 100.
y′=−32y' = -\tfrac{3}{2} ft/s: the top slides down
6 · 2 + 8 · y' = 0.

Your turn, guided

Your turn: same ladder, when the foot is 8 ft out (so y=6y = 6).

y′=−83y' = -\tfrac{8}{3} ft/s
8 · 2 + 6 · y' = 0.

Practice ★

  1. A 15-ft ladder leans against a wall. Its foot slides away from the wall at 4 ft/s. How fast is the top moving when the foot is 9 ft from the wall? (ft/s; negative means down)
  2. A 10-ft ladder leans against a wall. Its foot slides away from the wall at 3 ft/s. How fast is the top moving when the foot is 6 ft from the wall? (ft/s; negative means down)
  3. A 15-ft ladder leans against a wall. Its foot slides away from the wall at 2 ft/s. How fast is the top moving when the foot is 9 ft from the wall? (ft/s; negative means down)

Watch out!

Practice ★★

  1. Two cars leave the same crossing at noon: one drives north at 40 mph, the other east at 40 mph. How fast is the distance between them growing? (mph, exact)
  1. A plane flies at an altitude of 6 km, horizontally away from a radar station, at 11 km/min. How fast is its distance to the station increasing when the horizontal distance is 8 km? (km/min)
  2. A plane flies at an altitude of 9 km, horizontally away from a radar station, at 10 km/min. How fast is its distance to the station increasing when the horizontal distance is 12 km? (km/min)

Exit ticket

Three questions to check you have got it.

  1. A 15-ft ladder leans against a wall. Its foot slides away from the wall at 4 ft/s. How fast is the top moving when the foot is 9 ft from the wall? (ft/s; negative means down)
  2. A 10-ft ladder leans against a wall. Its foot slides away from the wall at 3 ft/s. How fast is the top moving when the foot is 6 ft from the wall? (ft/s; negative means down)
  3. A 15-ft ladder leans against a wall. Its foot slides away from the wall at 2 ft/s. How fast is the top moving when the foot is 9 ft from the wall? (ft/s; negative means down)

Summary card

Right-triangle rates

  • x2+y2=D2⇒x x′+y y′=D D′x^2 + y^2 = D^2 \Rightarrow x\,x' + y\,y' = D\,D'.
  • Find the missing side at that moment first.

Watch out: rates at right angles do not add; decreasing lengths have negative rates.

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

Challenge ★★★

  1. A 20-ft ladder leans against a wall. Its foot slides away at 2 ft/s. How fast is the top moving when the foot is 16 ft from the wall? (ft/s)

22. Related rates with similar triangles

Warm-up

Three quick questions from earlier lessons.

  1. A circular ripple's radius grows at 2 cm/s. How fast is its area growing when the radius is 8 cm? (cm²/s, exact)
  2. A balloon's radius increases at 3 cm/s. With V=43πr3V = \tfrac{4}{3}\pi r^3, find dVdt\dfrac{dV}{dt} when r=4r = 4 cm. (cm³/s, exact)
  3. Air is pumped into a spherical balloon at 29 cm³/s. How fast is the radius increasing when r=6r = 6 cm? (cm/s, exact)

Discover

A 6-ft person walks away from a 15-ft lamp. With xx the distance to the lamp and ss the shadow's length, two right triangles share the angle at the shadow's tip. Which equation links ss and xx?

  1. 6s=15x+s\dfrac{6}{s} = \dfrac{15}{x + s}
  2. 6s=15x\dfrac{6}{s} = \dfrac{15}{x}

Key idea

Similar triangles remove an extra variable.

When a problem has more changing quantities than rates you know, use a fixed ratio (similar triangles, a cone's shape) to write one quantity in terms of another before differentiating.

Worked example

6-ft person, 15-ft lamp, walking at 3 ft/s. How fast does the shadow grow?

6x+6s=15s6x + 6s = 15s, so s=23xs = \tfrac{2}{3}x
Cross-multiply 6/s = 15/(x + s).
s′=23x′s' = \tfrac{2}{3}x'
Differentiate.
s′=2s' = 2 ft/s
x' = 3.

Your turn, guided

Your turn: a cone tank whose radius is half the depth: V=π12h3V = \tfrac{\pi}{12}h^3. Differentiate.

dVdt=π4h2⋅dhdt\dfrac{dV}{dt} = \dfrac{\pi}{4}h^2 \cdot \dfrac{dh}{dt}
Chain rule: 3h²/12 = h²/4.

Practice ★

  1. Put the steps for finding dAdt\dfrac{dA}{dt} when r=3r = 3 in order.
    • Draw a picture and name the changing quantities
    • Write an equation linking them: A=πr2A = \pi r^2
    • Differentiate with respect to tt: A′=2πr r′A' = 2\pi r \, r'
    • Substitute r=3r = 3 and the known rate
  1. A person 6 ft tall walks away from a 13-ft street lamp at 4 ft/s. How fast is the length of their shadow growing? (ft/s, exact)
  2. A person 5 ft tall walks away from a 18-ft street lamp at 4 ft/s. How fast is the length of their shadow growing? (ft/s, exact)

Watch out!

Practice ★★

  1. Water flows at 9 m³/min into a cone-shaped tank, vertex down, whose radius is always half the water's depth: V=π12h3V = \tfrac{\pi}{12}h^3. How fast is the depth rising when h=4h = 4 m? (m/min, exact)
  2. Water flows at 3 m³/min into a cone-shaped tank, vertex down, whose radius is always half the water's depth: V=π12h3V = \tfrac{\pi}{12}h^3. How fast is the depth rising when h=3h = 3 m? (m/min, exact)

Exit ticket

Three questions to check you have got it.

  1. Water flows at 9 m³/min into a cone-shaped tank, vertex down, whose radius is always half the water's depth: V=π12h3V = \tfrac{\pi}{12}h^3. How fast is the depth rising when h=4h = 4 m? (m/min, exact)
  2. Water flows at 3 m³/min into a cone-shaped tank, vertex down, whose radius is always half the water's depth: V=π12h3V = \tfrac{\pi}{12}h^3. How fast is the depth rising when h=3h = 3 m? (m/min, exact)
  3. Water flows at 7 m³/min into a cone-shaped tank, vertex down, whose radius is always half the water's depth: V=π12h3V = \tfrac{\pi}{12}h^3. How fast is the depth rising when h=4h = 4 m? (m/min, exact)

Summary card

Similar triangles

  1. Use the fixed ratio to write one variable in terms of another.
  2. Differentiate with respect to tt.
  3. Substitute the moment's values.

Watch out: the big triangle's base runs from the lamp to the shadow's tip.

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

Challenge ★★★

  1. A person 5 ft tall walks away from a 15-ft street lamp at 2 ft/s. How fast is the tip of the shadow moving away from the lamp? (ft/s)

23. 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}.

24. 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?

25. 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?

26. 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).

27. 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.

28. 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.

29. 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?

30. 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.

31. 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").