Educerie

Educerie · AP · Calculus AB and BC

AP Calculus AB and BC 2.4

Connecting Differentiability and Continuity: Determining When Derivatives Do and Do Not Exist

How do we find the rate of change at one instant, and how do we compute it quickly for any function?

What you will learn

  • Understand that differentiable implies continuous and that the reverse is false
  • Know the three failures: a corner, a vertical tangent and a break
  • Understand that a piecewise function needs continuity and equal slopes at the join
  • Know that a smooth peak has a derivative of zero

You must be able to

  1. Show that a function is not differentiable using one-sided slopes
  2. Find the x-values where f prime fails from a graph
  3. Find constants that make a piecewise function differentiable
  4. Write a justification that names the function and the failure
  5. Explain why equal slopes do not repair a jump

In the exam. Section I multiple choice: "which statement must be true", a piecewise function where you find the constant that makes it differentiable, or a graph where you choose the points at which f′f' does not exist. Section II free response: a piecewise function and the sentence that justifies continuity or differentiability. Reports note that students claim continuity without showing it.

1Differentiable means continuous

Rule. If ff is differentiable at x=ax = a, then ff is continuous at x=ax = a.

Why it is true, in three lines. If f′(a)f'(a) exists, then for xx near aa:

f(x)−f(a)=f(x)−f(a)x−a⋅(x−a) f(x) - f(a) = \frac{f(x) - f(a)}{x - a} \cdot (x - a)

As x→ax \to a, the quotient goes to the number f′(a)f'(a) and (x−a)(x - a) goes to 0. The product goes to 0. So f(x)→f(a)f(x) \to f(a), which is continuity.

Two consequences follow, and both can be an exam statement.

  • Not continuous means not differentiable. A break in the graph rules out a derivative. This is the contrapositive of the rule, and it is the quickest way to show f′f' does not exist.
  • Not in the domain means not in the domain of f′f'. If aa is not in the domain of ff, then aa is not in the domain of f′f'. For f(x)=ln⁡xf(x) = \ln x, f′f' has no value at 00 or at any negative number.

2Continuous does not mean differentiable

A continuous function may fail to be differentiable at a point in its domain. The CED names two causes. A break in the graph is a third reason, from section 2.

A corner: the one-sided limits of the quotient differ. Take f(x)=∣x∣f(x) = |x| at 0.

lim⁡h→0+∣h∣−0h=lim⁡h→0+hh=1lim⁡h→0−∣h∣−0h=lim⁡h→0−−hh=−1 \lim_{h \to 0^{+}} \frac{|h| - 0}{h} = \lim_{h \to 0^{+}} \frac{h}{h} = 1 \qquad \lim_{h \to 0^{-}} \frac{|h| - 0}{h} = \lim_{h \to 0^{-}} \frac{-h}{h} = -1

The slope from the right is 1, from the left is −1-1, so the two-sided limit does not exist and f′(0)f'(0) does not exist. The graph is continuous at 0, with a sharp point.

A vertical tangent: the slope is infinite. Take f(x)=x3f(x) = \sqrt[3]{x} at 0.

lim⁡h→0h3−0h=lim⁡h→01h2/3=∞ \lim_{h \to 0} \frac{\sqrt[3]{h} - 0}{h} = \lim_{h \to 0} \frac{1}{h^{2/3}} = \infty

The graph passes smoothly through the origin, but the tangent line there is the vertical line x=0x = 0, which has no slope. So f′(0)f'(0) does not exist, even though ff is continuous.

A related case is a cusp, such as f(x)=x2/3f(x) = x^{2/3} at 0: the quotient goes to −∞-\infty from the left and +∞+\infty from the right. No derivative exists there either.

A discontinuity. Any jump, hole or vertical asymptote at aa means f′(a)f'(a) does not exist. You do not need to compute a quotient: use "not continuous, so not differentiable".

Figure 1. Three ways the derivative can fail to exist at a point: a corner (f(x) = |x| at 0), a vertical tangent (the cube root of x at 0) and a jump in the graph corner y x slope -1 slope 1 Figure 1. Three ways the derivative can fail to exist at a point: a corner (f(x) = |x| at 0), a vertical tangent (the cube root of x at 0) and a jump in the graph vertical tangent y x slope grows without limit Figure 1. Three ways the derivative can fail to exist at a point: a corner (f(x) = |x| at 0), a vertical tangent (the cube root of x at 0) and a jump in the graph jump 0 y x not continuous at x = 1
Figure 1 · Three ways the derivative can fail to exist at a point: a corner, a vertical tangent and a jump

In Figure 1, the first two graphs are continuous at the marked point. The third is not. All three have no derivative there.

3Reading a graph

To find the xx-values where f′(x)f'(x) does not exist, scan the graph of ff for:

  • a sharp corner (a point where the direction changes suddenly);
  • a vertical tangent (the graph climbs or falls vertically);
  • a break: a jump, a hole, or an asymptote.

A smooth turning point, like the top of a hill, has a derivative. It equals 0 there. A point where the graph merely has a high or low value is not a problem.

4Piecewise functions

A piecewise function can fail at the join. To test it at x=cx = c, do two checks, in order.

  1. Continuity: do the left limit, the right limit and f(c)f(c) agree?
  2. Smoothness: do the derivatives of the two pieces, evaluated at cc, agree?

If step 1 fails, stop: not differentiable. If step 1 passes and step 2 fails, you have a corner. If both pass, ff is differentiable at cc, and f′(c)f'(c) is the shared slope.

Example (invented): a corner.

h(x)={x2x≤13x−2x>1 h(x) = \begin{cases} x^2 & x \le 1 \\ 3x - 2 & x > 1 \end{cases}

  • Continuity: left side gives 12=11^2 = 1, right side gives 3(1)−2=13(1) - 2 = 1, and h(1)=1h(1) = 1. Continuous.
  • Slopes at 1: the left piece has slope 2x=22x = 2 at x=1x = 1, the right piece has slope 3. They differ.
  • So hh is continuous at 1 but not differentiable at 1.

Example (invented): choosing constants.

g(x)={ax2+1x≤22x+bx>2 g(x) = \begin{cases} ax^2 + 1 & x \le 2 \\ 2x + b & x > 2 \end{cases}

Find aa and bb so that gg is differentiable at x=2x = 2.

  • Slopes equal: left slope 2ax=4a2ax = 4a and right slope 2, so 4a=24a = 2 and a=12a = \frac{1}{2}.
  • Continuity: 4a+1=4+b4a + 1 = 4 + b. With a=12a = \frac{1}{2} this gives 3=4+b3 = 4 + b, so b=−1b = -1.

The two equations give the two unknowns. Use the continuity equation first to be sure you have not forgotten it. A common failure is to match the slopes and skip continuity, which can leave a jump.

The trap in the other direction. Matching slopes proves nothing about a function with a jump. If f(x)=x2f(x) = x^2 for x≤1x \le 1 and 2x2x for x>1x > 1, both pieces have slope 2 at x=1x = 1, but f(1)=1f(1) = 1 while the right-hand limit is 2. It is not continuous, so it is not differentiable.

5Writing the justification

The reports on the AP exam show the marks go to specific sentences. Use these shapes.

  • Not continuous: "ff is not continuous at x=3x = 3 because lim⁡x→3−f(x)=2\lim_{x \to 3^-} f(x) = 2 and lim⁡x→3+f(x)=5\lim_{x \to 3^+} f(x) = 5. Therefore ff is not differentiable at x=3x = 3."
  • Continuous, a corner: "ff is continuous at x=1x = 1. The slope from the left is 2 and the slope from the right is 3, so the limit of the difference quotient does not exist, and ff is not differentiable at x=1x = 1."
  • Differentiable: "ff is continuous at 2, and both one-sided slopes equal 2, so f′(2)=2f'(2) = 2."

Name the function and the point. Compute the one-sided limits instead of just stating them.

Practice questions

30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.