Along with continuity, you can also talk about whether or not a function is differentiable. A function is differentiable at a point when it is both continuous at the point and doesn’t have a “cusp”. A cusp shows up if the slope of the function suddenly changes. An example of this can be seen in the image below.
Functions with a “cusp” may come up when you have what is called a piecewise-defined function. That means the function has one expression on one interval, and a different expression on another interval. In the figure below, you can see that when (the blue graph) and that when (the green graph). Mathematically, this is written as
Even though the graph in this case is continuous at , it’s not differentiable at . A cusp occurs where you can draw several tangents to the graph. At points on the graph where you can draw many tangents, the derivative is not defined, and you can say that the function isn’t differentiable.
To explain differentiability properly, you need to know what right and left limits mean.
Theory
A limit of is a right limit when you approach the point from -values greater than . You write
A limit of is a left limit when you approach the point from -values smaller than . You write
Now let’s take a look at the definition of differentiability.
Theory
You say that a function is differentiable at a point if is continuous at and
Note! When you are checking the differentiability of a piecewise-defined function, you use the expression for values less than in and the expression for values greater than in .
Example 1
Decide whether
from the image above is differentiable
To answer this, you first have to check whether is continuous. Is for all ? For , you have
and for , you have
Now you need to check whether
for all . You begin by finding :
You check if is differentiable at the point . You begin with the left limit:
Next, the right limit:
Because
you know that is not differentiable at .
Example 2
Find out where the function
is both continuous and differentiable
As this is a rational function, you know that it is discontinuous where it has vertical asymptotes, which is where its denominator equals 0. That means you have to solve this:
That means the function is continuous for all values of except and . You write this mathematically as (all in except and ).
A function has to be continuous at a given point to be differentiable at that point, so you can conclude that the function is not differentiable at the points and . The question is if there are other points where is not differentiable. You check that by finding out whether
for all . First, you find an expression for the derivative:
You know that is defined for all except where the denominator of is not defined. This happens when the denominator is 0. You set the denominator equal to 0 and solve for :
That means is differentiable for all (all in except and ).