The derivative function

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.

About this lesson

Calculus BC (AP-aligned) › The derivative

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

Sources and credits

Written with this source as a starting point:

sedifier rewrote the text and added its own examples and exercises.

Written with AI assistance; every answer is checked by our math engine. Not yet reviewed by a teacher.

This lesson: CC BY-SA 4.0, © sedifier · All credits

The derivative function

The derivative.

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?
Sources and credits

Written with this source as a starting point:

sedifier rewrote the text and added its own examples and exercises.

Written with AI assistance; every answer is checked by our math engine. Not yet reviewed by a teacher.

This lesson: CC BY-SA 4.0, © sedifier · All credits