Differentiability and continuity

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 AB (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

Differentiability and continuity

The derivative.

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