Video Transcript
Differentiate the function π of π₯ equals minus π₯ squared over seven minus three π₯ minus four.
When we differentiate π of π₯, we get another function, the function π prime of π₯. The function π prime gives the slope of the tangent to the graph of π for a given value of π₯. Okay, so letβs differentiate the expression we have for π of π₯. One property of differentiation that we can use to find this is that the derivative of a sum or difference of two functions is the sum or difference, as appropriate, of the derivatives of the two functions. And in fact, this isnβt just true for the sum or difference of two functions. This is true for the sum or difference of any finite number of functions. As a result, we can consider the derivatives of minus π₯ squared over seven, three π₯, and four separately.
Letβs start by finding the derivatives of the function that takes π₯ to minus π₯ squared over seven. The derivative of this function is another function which outputs the slope of the tangent to the function minus π₯ squared over seven. Here is a quick sketch of the graph of the function we want to differentiate. Itβs a downward-facing parabola with vertex at the origin. Now, what can we say about its derivative? Well, for this value of π₯, the tangent to the graph is as shown. We see that it has positive slope, perhaps with a value of about one. So for this value of π₯, the derivative of our function π of π₯ is one. When π₯ is zero, the tangent lies on the π₯-axis which has a slope of zero. And so, the derivative of the function π of π₯ is zero for this value of π₯.
Unfortunately, we canβt just read off the derivative π by ππ₯ of minus π₯ squared over seven from this graph. Instead, we use a couple of properties or rules of differentiation, that the derivative of a number times a function is that number times the derivative of the function. And so, the derivative of negative seventh π₯ squared is negative seventh times the derivative of π₯ squared. And we also use the fact that the derivative of π₯ to the power of π with respect to π₯ is π times π₯ to the power of π minus one. And so, π by ππ₯ of π₯ to the power of two is two times π₯ to the power of one or just two π₯.
Putting these two together, we get negative a seventh times two π₯ which is negative two sevenths π₯. You might like to pause the video now. Have a look at the sketch and convince yourself that a derivative of negative two sevenths π₯ is reasonable.
Okay, what about the other terms? What is π by ππ₯ of three π₯? Can you see what the slope is here? We could apply the rule about the derivative of a number times a function being that number times the derivative of the function. We could also apply the fact that the derivative of π₯ with respect to π₯ is just one. You might remember that directly or see it as an application of the power rule with π equal to one. In any case, we get an answer of three. Remember that we have to subtract this from the previous term. Now again, you can look at the graph and ask yourself if it makes sense for the derivative of three π₯ to be three.
Finally, we need to find the derivative of the constant function four. Here, we can use the fact that the derivative of any constant function π, which is just some number, is zero. And so, π by ππ₯ of four is zero. Again, you can think about why this makes sense, given the graph of the constant function four.
Tidying up then, we get our final answer that the derivative π prime of π₯ is negative two sevenths π₯ minus three. Here, we used various differentiation rules to find this derivative. But for such a simple function, we can actually do this from first principles.
By definition, the derivative π prime of π₯ is the limit of π of π₯ plus β minus π of π₯ all over β, as β approaches zero. Now, what is π of π₯ plus β? Well, π of π₯ is minus π₯ squared over seven mins three π₯ minus four. So π of π₯ plus β is minus π₯ plus β squared over seven minus three times π₯ plus β minus four. Substituting the expression for π of π₯ completes the numerator. And we just have β in the denominator.
We can expand the parentheses in the numerator. And we can then note that lots of cancellation occurs. The remaining terms in the numerator have a common factor of β. Factoring β from these terms, we see that we can cancel the β in the denominator. Weβre left with a limit that we can evaluate by directly substituting zero for β. Doing this, we find that the derivative π prime of π₯ is negative two π₯ over seven minus three, as before.
So there we have it. Sometimes, when the function is simple, itβs easiest to differentiate it from first principles. That being said, for more complicated functions, the differentiation rules are essential to know.