An important theorem concerning derivatives is this:
If a function f is differentiable at x = a, then f is continuous at x = a.
The proof begins with the identity that for all
Since both sides are finite, the function is continuous at x = a.
The converse of this theorem is false: A continuous function is not necessarily differentiable. A counterexample is the absolute value function which is continuous at the origin but not differentiable there. (The slope approaching from the left is not equal to the slope from the right.)
This is a theorem whose contrapositive is used as much as the theorem itself. The contrapositive is,
If a function is not continuous at a point, then it is not differentiable there.
Example 1: A function such as has a (removable) discontinuity at x = 3, but no value there.
So, in the limit definition of the derivative, there is no value of g(3) to use, and the derivative does not exist.
Since the point (1, 1) is on the left part of the graph, if h > 0, and the limit will always be a number greater than 3 divided by zero and will not exist. Therefore, even though the slopes from both side of x =1 approach the same value, namely 2, the derivative does not exist at x = 1.
This also applies to a situation like example 1 if f(3) were some value that did not fill in the hole in the graph.
On the AP Calculus exams students are often asked about the derivative of a function like those in the examples, and the lack of continuity should be an immediate clue that the derivative does not exist. See 2008 AB 6 (multiple-choice).
Just as important are questions in which the function is given as differentiable, but the student needs to know about continuity. Just remember: differentiability implies continuity. See 2013 AB 14 in which you must realize the since the function is given as differentiable at x = 1, it must be continuous there to solve the problem.
Continuity of the Derivative
A question that comes up is, if a function is differentiable is its derivative differentiable? The answer is no. While almost always the derivative is also differentiable, there is this counterexample:
The first line of the function has a removable oscillating discontinuity at x = 0, but since the factor squeezes the function to the origin; the added condition that makes the function continuous. Differentiating gives
And now there is no way to get around the oscillating discontinuity at x = 0.