# Video: Discussing the Differentiability of a Piecewise Function at a Point

Suppose 𝑓(𝑥) = −1 + (3/𝑥), if 𝑥 ≤ 1 and 𝑓(𝑥) = −𝑥³ + 3, if 𝑥 > 1. What can be said about the differentiability of the function at 𝑥 = 1?

02:31

### Video Transcript

Suppose that 𝑓 of 𝑥 is equal to negative one plus three over 𝑥 if 𝑥 is less than or equal to one and negative 𝑥 cubed plus three if 𝑥 is greater than one. What can be said about the differentiability of 𝑓 at 𝑥 equals one?

Here, we have been given a piecewise defined function and asked to check the differentiability. If we call our value of one 𝑥 nought, our general process for this type of question is first to check for continuity at 𝑥 nought. And then if this is satisfied, we check that the limit as 𝑥 approaches 𝑥 nought of our derivative exists, which means checking the left and right limits both exists and agree. We first begin with the continuity condition stated here. Since this is a piecewise defined function, we’ll need to check that both the left and the right limits as 𝑥 approaches one of 𝑓 of 𝑥 both exist and agree. When 𝑥 is less than one, our function is negative one plus three over 𝑥. By direct substitution, our left-sided limit then evaluates to two. When 𝑥 is greater than one, our function is negative 𝑥 cubed plus three. And by the same approach, the right-sided limit also evaluates to two.

Since these two limits both exist and agree, we can also see that the normal limit exists and is equal to two. Moving onto 𝑓 of one, the function itself here is defined by our first subfunction since 𝑥 is equal to one. And in fact, we’ve already substituted one into our first subfunction here, which gave us an answer of two. This means that we can say that the limit as 𝑥 approaches one of 𝑓 of 𝑥 and 𝑓 of one are both equal to two. We have, therefore, satisfied the continuity condition and our function is continuous when 𝑥 is equal to one. Let’s now move on to considering the derivative of our function.

Since our function is defind peacewise, the derivative of our function will also be defined piecewise. And we’ll need to differentiate both of our subfunctions. And here is worth noting that were not yet making any claims as the derivative when 𝑥 is equal to one, since that’s, in fact, what we’re trying to find right now. One of the tools that we can use to help us differentiate our subfunctions is the power rules stated here. To help us apply this rule more easily, we can reexpress three over 𝑥 as three 𝑥 to the power of minus one. Applying the rule, we find that 𝑓 dash of 𝑥 is equal to negative three over 𝑥 squared if 𝑥 is less than one and negative three 𝑥 squared if 𝑥 is greater than one.

We now need to consider the limit as 𝑥 approaches one of 𝑓 dash of 𝑥. We’ll do so by considering the left- and the right-sided limits in a process similar to the one that we just reformed for the continuity condition. By direct substitution of one, we find that both of these limits are equal to negative three. And since they exist and agree, the limit as 𝑥 approaches one of 𝑓 dash of 𝑥 is also equal to negative three. Since this limit exists, we know that our derivative also exists at 𝑥 equals one. We’ve now completed all the steps of our process. And from these, we can conclude that the function 𝑓 is differentiable at the point where 𝑥 is equal to one.