The derivative

Print the chapter

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

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

1. Average and instantaneous velocity

Warm-up

Three quick questions from earlier lessons.

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)=4t2+9ts(t) = 4t^2 + 9t meters after tt seconds. Find its average velocity on [0,6][0, 6], in m/s.
  2. A ball's position is s(t)=1t2+4ts(t) = 1t^2 + 4t meters after tt seconds. Find its average velocity on [0,5][0, 5], in m/s.
  3. A ball's position is s(t)=3t2+9ts(t) = 3t^2 + 9t meters after tt seconds. Find its average velocity on [0,4][0, 4], 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)=3t2+7ts(t) = 3t^2 + 7t meters. The average velocity on [6,6+h][6, 6 + h] simplifies to 43+3h43 + 3h m/s. Find the instantaneous velocity at t=6t = 6, in m/s.
  2. s(t)=1t2+6ts(t) = 1t^2 + 6t meters. The average velocity on [6,6+h][6, 6 + h] simplifies to 18+1h18 + 1h m/s. Find the instantaneous velocity at t=6t = 6, in m/s.

Exit ticket

Three questions to check you have got it.

  1. s(t)=3t2+7ts(t) = 3t^2 + 7t meters. The average velocity on [6,6+h][6, 6 + h] simplifies to 43+3h43 + 3h m/s. Find the instantaneous velocity at t=6t = 6, in m/s.
  2. s(t)=1t2+6ts(t) = 1t^2 + 6t meters. The average velocity on [6,6+h][6, 6 + h] simplifies to 18+1h18 + 1h m/s. Find the instantaneous velocity at t=6t = 6, in m/s.
  3. s(t)=5t2+5ts(t) = 5t^2 + 5t meters. The average velocity on [5,5+h][5, 5 + h] simplifies to 55+5h55 + 5h 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.

2. The derivative at a point: the limit definition

Warm-up

Three quick questions from earlier lessons.

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+4xf(x) = x^2 + 4x. Use f′(4)=lim⁡h→0f(4+h)−f(4)hf'(4) = \displaystyle\lim_{h \to 0} \dfrac{f(4 + h) - f(4)}{h} to find f′(4)f'(4).
  2. f(x)=x2+4xf(x) = x^2 + 4x. 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).
  3. f(x)=x2+5xf(x) = x^2 + 5x. Use f′(5)=lim⁡h→0f(5+h)−f(5)hf'(5) = \displaystyle\lim_{h \to 0} \dfrac{f(5 + h) - f(5)}{h} to find f′(5)f'(5).

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)=4xf(x) = \dfrac{ 4 }{x}. Use the limit definition to find f′(3)f'(3).
  2. f(x)=6xf(x) = \dfrac{ 6 }{x}. Use the limit definition to find f′(4)f'(4).

Exit ticket

Three questions to check you have got it.

  1. f(x)=x2+4xf(x) = x^2 + 4x. Use f′(4)=lim⁡h→0f(4+h)−f(4)hf'(4) = \displaystyle\lim_{h \to 0} \dfrac{f(4 + h) - f(4)}{h} to find f′(4)f'(4).
  2. f(x)=x2+4xf(x) = x^2 + 4x. 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).
  3. f(x)=x2+5xf(x) = x^2 + 5x. Use f′(5)=lim⁡h→0f(5+h)−f(5)hf'(5) = \displaystyle\lim_{h \to 0} \dfrac{f(5 + h) - f(5)}{h} to find f′(5)f'(5).

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

3. The tangent line

Warm-up

Three quick questions from earlier lessons.

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?
  1. Boss problem. f(x)=x2−4xf(x) = x^2 - 4x. Find the tangent line to its graph at x=5x = 5, from the definition.

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.

4. The derivative function

Warm-up

Three quick questions from earlier lessons.

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)=3x2+8xf(x) = 3x^2 + 8x. 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)=3x2+5xf(x) = 3x^2 + 5x. 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)=5x2+2xf(x) = 5x^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)=3x2+8xf(x) = 3x^2 + 8x. 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)=3x2+5xf(x) = 3x^2 + 5x. 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)=5x2+2xf(x) = 5x^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).

5. Interpreting the derivative: rates and units

Warm-up

Three quick questions from earlier lessons.

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(9)=83s(9) = 83 and s(9.5)=88s(9.5) = 88. Estimate s′(9)s'(9), in m/s.
  2. A car's position is s(t)s(t) meters after tt seconds. s(3)=31s(3) = 31 and s(3.5)=37s(3.5) = 37. Estimate s′(3)s'(3), in m/s.
  3. A car's position is s(t)s(t) meters after tt seconds. s(7)=49s(7) = 49 and s(7.5)=53s(7.5) = 53. Estimate s′(7)s'(7), 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.

6. The second derivative, concavity and acceleration

Warm-up

Three quick questions from earlier lessons.

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

7. Differentiability and continuity

Warm-up

Three quick questions from earlier lessons.

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≤5x \le 5 and f(x)=mx−25f(x) = mx - 25 for x>5x > 5. Which value of mm makes ff differentiable at x=5x = 5?

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

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.

8. Local linearization

Warm-up

Three quick questions from earlier lessons.

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