Processing math: 100%

The Derivative as a Function: Learn It 3

Derivatives and Continuity

Now that we can graph a derivative, let’s examine the behavior of the graphs.

First, we consider the relationship between differentiability and continuity. We will see that if a function is differentiable at a point, it must be continuous there; however, a function that is continuous at a point need not be differentiable at that point. In fact, a function may be continuous at a point and fail to be differentiable at the point for one of several reasons.

differentiability implies continuity

Let f(x) be a function and a be in its domain. If f(x) is differentiable at a, then f is continuous at a.

Proof


If f(x) is differentiable at a, then f(a) exists and

f(a)=limxaf(x)f(a)xa

 

We want to show that f(x) is continuous at a by showing that limxaf(x)=f(a). Thus,

limxaf(x)=limxa(f(x)f(a)+f(a))=limxa(f(x)f(a)xa(xa)+f(a))Multiply and dividef(x)f(a)byxa.=(limxaf(x)f(a)xa)(limxa(xa))+limxaf(a)=f(a)0+f(a)=f(a).

 

Therefore, since f(a) is defined and limxaf(x)=f(a), we conclude that f is continuous at a.

◼

We have just proven that differentiability implies continuity, but now we consider whether continuity implies differentiability.

To determine an answer to this question, we examine the function f(x)=|x|. This function is continuous everywhere; however, f(0) is undefined. This observation leads us to believe that continuity does not imply differentiability. Let’s explore further.

For f(x)=|x|,

f(0)=limx0f(x)f(0)x0=limx0|x||0|x0=limx0|x|x

This limit does not exist because

limx0|x|x=1andlimx0+|x|x=1
The function f(x) = the absolute value of x is graphed. It consists of two straight line segments: the first follows the equation y = −x and ends at the origin; the second follows the equation y = x and starts at the origin.
Figure 6. The function f(x)=|x| is continuous at 0 but is not differentiable at 0.

Let’s consider some additional situations in which a continuous function fails to be differentiable.

Consider the function f(x)=3x:

f(0)=limx03x0x0=limx013x2=+

Thus f(0) does not exist. A quick look at the graph of f(x)=3x clarifies the situation. The function has a vertical tangent line at 0 (Figure 7).

The function f(x) = the cube root of x is graphed. It has a vertical tangent at x = 0.
Figure 7. The function f(x)=3x has a vertical tangent at x=0. It is continuous at 0 but is not differentiable at 0.

The function f(x)={xsin(1x) if x00 if x=0 also has a derivative that exhibits interesting behavior at 0.

We see that,

f(0)=limx0xsin(1x)0x0=limx0sin(1x)

This limit does not exist, essentially because the slopes of the secant lines continuously change direction as they approach zero (Figure 8).

The function f(x) = x sin (1/2) if x does not equal 0 and f(x) = 0 if x = 0 is graphed. It looks like a rapidly oscillating sinusoidal function with amplitude decreasing to 0 at the origin.
Figure 8. The function f(x)={xsin(1x) if x00 if x=0 is not differentiable at 0.

In summary:

  1. We observe that if a function is not continuous, it cannot be differentiable, since every differentiable function must be continuous. However, if a function is continuous, it may still fail to be differentiable.
  2. We saw that f(x)=|x| failed to be differentiable at 0 because the limit of the slopes of the tangent lines on the left and right were not the same. Visually, this resulted in a sharp corner on the graph of the function at 0. From this we conclude that in order to be differentiable at a point, a function must be “smooth” at that point.
  3. As we saw in the example of f(x)=3x, a function fails to be differentiable at a point where there is a vertical tangent line.
  4. As we saw with f(x)={xsin(1x) if x00 if x=0 a function may fail to be differentiable at a point in more complicated ways as well.

A toy company wants to design a track for a toy car that starts out along a parabolic curve and then converts to a straight line (Figure 9). The function that describes the track is to have the form

f(x)={110x2+bx+c if x<1014x+52 if x10,

where x and f(x) are in inches.

For the car to move smoothly along the track, the function f(x) must be both continuous and differentiable at 10. Find values of b and c that make f(x) both continuous and differentiable.

A cart is drawn on a line that curves through (−10, 5) to (10, 0) with y-intercept roughly (0, 2).
Figure 9. For the car to move smoothly along the track, the function must be both continuous and differentiable.

Find values of a and b that make f(x)={ax+b if x<3x2 if x3 both continuous and differentiable at 3.