Unit 2 · Topic 2.4 Beta

Differentiability and Continuity

A function is differentiable at a when f′(a) exists.

Practice 3: Justification

Question set for this topic

Part 1 · Hook

Why this matters

A ramp that meets the floor at a sharp angle jolts a skateboard; a ramp that curves smoothly into the floor does not. Both are connected, with no gap to jump. Calculus draws the same line: a graph can be connected, continuous, and still have a point where no single slope exists.

Part 2 · Before you start

What this builds on

Part 3 · Prerequisite check

Quick check before you start

1. A function ff is continuous at x=ax = a when

  1. limx→af(x)\lim_{x \to a} f(x)=f(a)= f(a)
  2. f(a)f(a) is defined
  3. limx→af(x)\lim_{x \to a} f(x) exists
  4. f(a)=0f(a) = 0
Show the answer

All three conditions at once: f(a)f(a) is defined, the limit exists, and they are equal.

  • Correct: limx→af(x)\lim_{x \to a} f(x)=f(a)= f(a):
  • f(a)f(a) is defined:
  • limx→af(x)\lim_{x \to a} f(x) exists:
  • f(a)=0f(a) = 0:

2. For f(x)=x2f(x) = x^2, the definition of the derivative gives

  1. f′(x)=2xf'(x) = 2x
  2. f′(x)=xf'(x) = x
  3. f′(x)=2x+hf'(x) = 2x + h
  4. f′(x)=x2f'(x) = x^2
Show the answer

The difference quotient simplifies to 2x+h2x + h, whose limit as h→0h \to 0 is 2x2x.

  • Correct: f′(x)=2xf'(x) = 2x:
  • f′(x)=xf'(x) = x:
  • f′(x)=2x+hf'(x) = 2x + h:
  • f′(x)=x2f'(x) = x^2:

3. If limx→1−f(x)=3\lim_{x \to 1^-} f(x) = 3 and limx→1+f(x)=5\lim_{x \to 1^+} f(x) = 5, then limx→1f(x)\lim_{x \to 1} f(x)

  1. does not exist
  2. is 4
  3. is 3
  4. is 5
Show the answer

A two-sided limit exists only when the one-sided limits are equal.

  • Correct: does not exist:
  • is 4:
  • is 3:
  • is 5:

Part 4 · See it

See it first

Four small graphs. A corner: y = |x| + 0.5, a V shape with slope minus 1 on the left of 0 and 1 on the right. A cusp: y = x to the two-thirds, a sharp point at the origin where the slopes become infinitely steep in opposite directions. A vertical tangent: y = cube root of (x minus 1), with a vertical tangent line x = 1 drawn dashed. A jump: a line ending with a closed dot at (1, 1.5) and restarting with an open dot at (1, 0). The first three are continuous but not differentiable at the marked point; the jump is not continuous, so not differentiable.
Three continuous graphs that are not differentiable at one point (a corner, a cusp, a vertical tangent) and a jump, which is not continuous and so not differentiable. LevlPrep original diagram.

Part 5 · Step by step

How it works, step by step

  1. f′(a)f'(a) existsf(a+h)−f(a)f(a + h) - f(a)=f(a+h)−f(a)h⋅h= \frac{f(a + h) - f(a)}{h} \cdot h tends to f′(a)⋅0=0f'(a) \cdot 0 = 0
  2. f(a+h)−f(a)→0f(a + h) - f(a) \to 0 as h→0h \to 0limx→af(x)\lim_{x \to a} f(x)=f(a)= f(a): ff is continuous at aa
  3. The left and right difference quotients approach different numbers (a corner)the two-sided limit does not exist and f′(a)f'(a) does not exist, even though ff may be continuous
  4. The difference quotients grow without bound (a cusp or a vertical tangent)there is no finite slope, so f′(a)f'(a) does not exist

Part 6 · Key ideas

Key ideas

  • ff is differentiable at aa when f′(a)f'(a) exists: the limit of the difference quotient is a finite number.
  • Differentiable implies continuous. In a justification, say it: "ff is differentiable at aa, so ff is continuous at aa."
  • Continuous does NOT imply differentiable. A continuous graph fails to have a derivative at a corner (one-sided slopes differ), a cusp (slopes become infinite in opposite directions) or a vertical tangent line.
  • Not continuous implies not differentiable: a jump, hole or asymptote rules out a derivative.
  • For a piecewise function at the break: check continuity first, then compare the left and right slopes.

Part 7 · Misconception

A common mistake

The wrong idea: The graph of |x−3||x - 3| has no break at x=3x = 3, so it has a derivative there.

What actually happens: No break means continuous, which is necessary but not enough. At x=3x = 3 the slope is −1-1 from the left and 1 from the right, so the difference quotient has no limit: |x−3||x - 3| is continuous but not differentiable at 3.

Part 8 · Check yourself

Check yourself

Exam-style questions. Anything you miss goes into your review queue.

Graph

The graph of a function gg on [−3,4][-3, 4]

The graph of gg is made of a line segment on [−3,0][-3, 0], part of the parabola y=x22y = \frac{x^2}{2} on [0,2][0, 2], and part of the curve y=1+x−33y = 1 + \sqrt[3]{x - 3} on (2,4](2, 4].
−3−2−11234123xyg

1. At which values of xx in the open interval (−3,4)(-3, 4) is gg not differentiable? Select every one.

  1. x=−2x = -2
  2. x=0x = 0
  3. x=1x = 1
  4. x=2x = 2
  5. x=3x = 3
  6. x=3.5x = 3.5
Show the answer

A corner at x=0x = 0, a jump at x=2x = 2 and a vertical tangent at x=3x = 3. Everywhere else the graph is smooth.

  • x=−2x = -2: The graph is a straight line here, with slope −1-1.
  • Correct: x=0x = 0: A corner: slope −1-1 on the left, 0 on the right.
  • x=1x = 1: The parabola is smooth here, with slope 1.
  • Correct: x=2x = 2: A jump: gg is not continuous at 2, so it is not differentiable there.
  • Correct: x=3x = 3: The curve is vertical at (3,1)(3, 1): the difference quotients grow without bound.
  • x=3.5x = 3.5: The curve is smooth here, with a finite slope.

2. Which is true of gg at x=2x = 2?

  1. It is neither continuous nor differentiable.
  2. It is continuous but not differentiable.
  3. It is differentiable at 2 but not continuous at 2.
  4. It is both continuous and differentiable.
Show the answer

limx→2−g(x)=2\lim_{x \to 2^-} g(x) = 2 and limx→2+g(x)=0\lim_{x \to 2^+} g(x) = 0, so gg is not continuous at 2, and a function that is not continuous cannot be differentiable.

  • Correct: It is neither continuous nor differentiable.: A jump breaks continuity, and with it differentiability.
  • It is continuous but not differentiable.: The one-sided limits are 2 and 0, so gg is not continuous at 2.
  • It is differentiable at 2 but not continuous at 2.: Differentiable implies continuous, so this combination is impossible.
  • It is both continuous and differentiable.: There is a jump at x=2x = 2.

3. Why is gg not differentiable at x=3x = 3?

  1. The tangent line at (3,1)(3, 1) is vertical: the slopes grow without bound.
  2. g(3)g(3) is not defined, so there is no point to take a slope at.
  3. gg is not continuous at x=3x = 3.
  4. The graph has a corner at x=3x = 3, with two different finite slopes.
Show the answer

Near x=3x = 3 the curve 1+x−331 + \sqrt[3]{x - 3} is steeper and steeper; the slopes have no finite limit.

  • Correct: The tangent line at (3,1)(3, 1) is vertical: the slopes grow without bound.: A vertical tangent line has no finite slope.
  • g(3)g(3) is not defined, so there is no point to take a slope at.: g(3)=1g(3) = 1; the point is on the graph.
  • gg is not continuous at x=3x = 3.: The curve passes through (3,1)(3, 1) without a break, so gg is continuous there.
  • The graph has a corner at x=3x = 3, with two different finite slopes.: Both sides become infinitely steep in the same direction; there are no two finite slopes.

4. Which statement best explains why gg is not differentiable at x=0x = 0?

  1. gg is continuous at 0, but the difference quotient approaches −1-1 from the left and 0 from the right.
  2. gg is not continuous at 0, because two different formulas meet there.
  3. g(0)=0g(0) = 0, and a function has no derivative where its value is 0.
  4. The graph is level at x=0x = 0, so g′(0)g'(0) does not exist.
Show the answer

On the left the graph is the line y=−xy = -x (slope −1-1); on the right the parabola x22\frac{x^2}{2} has slope xx, which is 0 at x=0x = 0. Two different one-sided slopes make a corner.

  • Correct: gg is continuous at 0, but the difference quotient approaches −1-1 from the left and 0 from the right.: Continuous, but the one-sided slopes differ: a corner.
  • gg is not continuous at 0, because two different formulas meet there.: Both formulas give 0 at x=0x = 0, so gg is continuous; a change of formula alone breaks nothing.
  • g(0)=0g(0) = 0, and a function has no derivative where its value is 0.: A function can be 0 and still have a derivative; x2x^2 does at x=0x = 0.
  • The graph is level at x=0x = 0, so g′(0)g'(0) does not exist.: A level tangent line would mean g′(0)=0g'(0) = 0, which exists; here no single tangent line exists.

5. Which statement is true for every function ff?

  1. If ff is differentiable at aa, then ff is continuous at aa.
  2. If ff is continuous at aa, then ff is differentiable at aa.
  3. If ff is not differentiable at aa, then ff is not continuous at aa.
  4. If f(a)f(a) is defined, then ff is differentiable at aa.
Show the answer

Differentiability implies continuity.

  • Correct: If ff is differentiable at aa, then ff is continuous at aa.: The theorem: a derivative at aa forces continuity at aa.
  • If ff is continuous at aa, then ff is differentiable at aa.: The converse is false: |x||x| is continuous at 0 but not differentiable there.
  • If ff is not differentiable at aa, then ff is not continuous at aa.: False: |x||x| is not differentiable at 0 yet is continuous there.
  • If f(a)f(a) is defined, then ff is differentiable at aa.: A value at aa does not even guarantee continuity, let alone a derivative.

6. A function ff is continuous at x=ax = a. What can you conclude about f′(a)f'(a)?

  1. f′(a)f'(a) may or may not exist.
  2. f′(a)f'(a) exists, because continuity guarantees a slope.
  3. f′(a)f'(a) does not exist.
  4. f′(a)=f(a)f'(a) = f(a).
Show the answer

Continuity is necessary for a derivative but not sufficient: x2x^2 (differentiable at 0) and |x||x| (not differentiable at 0) are both continuous at 0.

  • Correct: f′(a)f'(a) may or may not exist.: Continuity alone does not decide it.
  • f′(a)f'(a) exists, because continuity guarantees a slope.: A corner, cusp or vertical tangent can be continuous with no derivative.
  • f′(a)f'(a) does not exist.: Many continuous functions, such as x2x^2, do have derivatives.
  • f′(a)=f(a)f'(a) = f(a).: A slope and a height are different quantities.

7. A student writes: "ff is not differentiable at x=2x = 2, so ff is not continuous at x=2x = 2." Which response is correct?

  1. The reasoning is wrong: f(x)=|x−2|f(x) = |x - 2| is continuous at 2 but not differentiable there.
  2. The reasoning is right: differentiability and continuity mean the same thing.
  3. The reasoning is right: it is the theorem that differentiable functions are continuous.
  4. The reasoning is wrong: a function that is not differentiable is continuous.
Show the answer

The theorem runs one way: differentiable implies continuous. Its converse, and the student's statement, can fail.

  • Correct: The reasoning is wrong: f(x)=|x−2|f(x) = |x - 2| is continuous at 2 but not differentiable there.: One counterexample shows the claim is false.
  • The reasoning is right: differentiability and continuity mean the same thing.: They differ: corners, cusps and vertical tangents are continuous points with no derivative.
  • The reasoning is right: it is the theorem that differentiable functions are continuous.: The student reversed the theorem; "not differentiable" says nothing about continuity.
  • The reasoning is wrong: a function that is not differentiable is continuous.: A jump is not differentiable and not continuous either; no conclusion either way.

Part 9 · Summary

Summary

A function is differentiable at aa when f′(a)f'(a) exists. Differentiability implies continuity, but not the other way round: corners, cusps and vertical tangents are continuous points with no derivative, and any discontinuity also rules a derivative out. At a break in a piecewise function, check continuity, then compare the one-sided slopes.

Part 10 · Up next

What comes next

Part 11 · Connections

Connections