In this section, we study how f(x0) might fail to exist. Here are a number of cases in which f does not have a derivative at a point.

 

Case 1

When f is not continuous at x=x0. For example, if there is a jump in the graph of f at x=x0, or we have limxx0f(x)=+ or , the function is not differentiable at the point of discontinuity.
For example, consider
H(x)={1if 0x0if x<0. This function, which is called the Heaviside step function, is not continuous at x=0; therefore H(0) does not exist. Another example is F(x)=1/x2. Because limx0F(x)=+, F is not differentiable at x=0.

Figure 1. The graphs of these two functions show that they are discontinuous at x=0, hence not differentiable there.

Case 2

When f+(x0) and f(x0) both exist but f+(x0)f(x0). In this case, there is a corner in the graph of f. For instance, see Figure 2.

 

Figure 2. The function is not differentiable wherever the graph has a corner or cusp.

 

 

Case 3

When the tangent line is vertical. In this case, limΔx0f(x0+Δx)f(x0)Δx=+ or . For example, consider f(x)=x1/3. As you can see in Figure 3, the tangent to its graph at (0,0) is vertical. This  function does not have a derivative at x=0, for ddxx3|x=0=limΔx00+Δx303Δx=limΔx0Δx3Δx=limΔx01Δx11/3=limΔx01(Δx)23=+.

Figure 3. Tangent to the graph of y=x3 at (0,0) is vertical.

 

Case 4

When the increment quotient f(x+Δx)f(x)Δx does not tend neither to any number nor to ± as Δx0.
For example, consider f(x)={xsin1xif x00if x=0. This function is not differentiable (although it is continuous) at x=0, because f(0)=limΔx0f(0+Δx)f(0)Δx=limΔx0Δxsin1Δx0Δx=limΔx0sin1Δx does not exist. The graph of f(x) is shown in Figure 4.

 

Figure 4. Graph of y={xsin(1/x)if x00if x=0