Video Transcript
In this video, weโll learn how to determine the concavity of a function as well as its inflection points using its second derivative. Before we move on, you must ensure that youโre confident in finding the first and second derivatives of functions using the standard rules for differentiation. And you should also be able to apply the first derivative test to determine the nature of critical points.
To understand what we actually mean by concavity of a function, weโre going to consider three very common functions. Consider the graph of the function ๐ of ๐ฅ equals ๐ฅ squared. This is an example of a function thatโs concave upward over its entire domain. It curves upwards, and the value of its slope increases over its entire domain. Before the critical point or turning point of the function, the slope is negative. At the critical point, the slope is zero. And after the critical point, the slope is positive. An alternative way to think about this is that if a graph of a function lies above all of its tangents over some interval, the function is concave upward over that interval.
Now, consider the function ๐ of ๐ฅ equals negative ๐ฅ squared. This is an example of a function thatโs concave downwards over its entire domain. The function curves downwards and the value of the slope decreases over some interval. Before the critical point, the slope is positive. At the critical point, the slope is zero. And after the critical point, the slope has a negative value. Considering the tangents to the curve once again, we can see that if a graph of a function lies below all of its tangents over some interval, then it must be concave downward over that interval.
Now, looking back at both functions ๐ and ๐, we can also see that the critical point on the graph of ๐ of ๐ฅ equals ๐ฅ squared is an absolute minimum. Itโs the lowest point of the curve over its entire domain. The critical point on the graph of ๐ of ๐ฅ is an absolute maximum. Itโs the highest point of the curve over its entire domain. Now consider the graph of the function โ of ๐ฅ equals ๐ฅ cubed. We have something a little bit different going on here. The critical point at the origin zero, zero is called a point of inflection. A point of inflection occurs when the concavity of the function changes. Here it changes from concave downward to concave upward. But the reverse is also true.
Note, though, that a point of inflection doesnโt necessarily need to occur at a critical point. For instance, this graph has portions which are concave downward and portions which are concave upward. There will occur a point on this curve where the concavity changes and so we have a point of inflection. Itโs not, however, a critical point. The slope at this point is not zero, and of course we can see it does exist.
So now we know what we mean by concavity and points of inflection. Letโs look at how we can determine the nature of a critical point and, therefore, its concavity. Letโs begin by going back to the function ๐ of ๐ฅ. We need to find its gradient function, which is given by its first derivative. The first derivative of ๐ฅ squared with respect to ๐ฅ is two ๐ฅ. We can find the location of any critical points by setting ๐ prime of ๐ฅ equal to zero, so zero is equal to two ๐ฅ, which means ๐ฅ is equal to zero. So we have a critical point at zero. Then the first derivative test tells us that the nature of the critical point can be established by finding the slope of the tangent to the curve either side of this point.
We know the slope at zero is equal to zero. When ๐ฅ is equal to negative one, ๐ prime of ๐ฅ is two times negative one, which is negative two. And when ๐ฅ is equal to one, the gradient function is two times one, which is equal to two. The slope changes from negative to positive about the critical point, giving us that concave-upward shape. What this means is that over that interval, the slope ๐ prime of ๐ฅ is increasing. In other words, the rate of change of ๐ prime of ๐ฅ must be positive. But of course, the rate of change of ๐ prime of ๐ฅ is its derivative, so itโs ๐ double prime of ๐ฅ. And ๐ double prime of ๐ฅ must be greater than zero.
And so this gives us the first definition. If ๐ double prime of ๐ฅ is greater than zero for all values of ๐ฅ in some interval ๐ผ, then the graph must be concave upward over that interval. And this is known as the second derivative test since evaluating the second derivative gives us information about the nature of the extremer and thus the concavity of the curve. The reverse is true for a graph which is concave downwards. The value of its slope is decreasing. It moves from positive to negative. This means the rate of change of the slope must be negative. So ๐ double prime of ๐ฅ is less than zero. And we can therefore say that if ๐ double prime of ๐ฅ is less than zero for all ๐ฅ in some interval ๐ผ, then ๐ of ๐ฅ is concave downward over that interval.
So what happens if the second derivative is equal to zero? Well, in fact, when the second derivative is equal to zero or does not exist, we might have a point of inflection. But we canโt assume any point where the second derivative is equal to zero or does not exist is necessarily a point of inflection. Instead, we evaluate the second derivative either side of our critical point, and we check that the concavity changes from concave up to down or vice versa. Now that we have our definitions, weโre going to look at an example of how to calculate the intervals over which a polynomial function is concave up or concave down.
Determine the intervals on which the function ๐ of ๐ฅ equals negative four ๐ฅ to the fifth power plus ๐ฅ cubed is concave up and down.
We have a function which is a fifth-degree polynomial, and weโre asked to determine the concavity of the function. Specifically, we need to look for the intervals over which itโs concave upward and concave downward. And so we recall that given a function ๐ of ๐ฅ, if its second derivative is positive, itโs greater than zero for all ๐ฅ in some interval ๐ผ, then ๐ of ๐ฅ is concave upward over that interval. Similarly, if the second derivative is less than zero, then ๐ of ๐ฅ is concave downwards over that interval. If itโs equal to zero, then we might have a point of inflection. But weโd need to perform further testing to be sure. In fact, weโre only interested in the concavity, so these two definitions are enough.
We are going to then need to find the second derivative of our function, so weโll differentiate it twice. And of course, to differentiate a power term, we multiply the entire term by the exponent and then reduce that exponent by one. So the first derivative of negative four ๐ฅ to the fifth power is five times negative four ๐ฅ to the fourth power. And when we differentiate ๐ฅ cubed, we get three ๐ฅ squared. So our first derivative is negative 20๐ฅ to the fourth power plus three ๐ฅ squared. To find the second derivative, we repeat this process one more time. We differentiate ๐ prime of ๐ฅ and we get four times negative 20๐ฅ cubed plus two times three ๐ฅ, giving us that the second derivative is negative 80๐ฅ cubed plus six ๐ฅ.
To find the interval on which our function is concave up, we need to solve the inequality negative 80๐ฅ cubed plus six ๐ฅ is greater than zero. Remember, weโre finding the locations where the second derivative is positive. To do that, weโre going to begin by solving negative 80๐ฅ cubed plus six ๐ฅ is equal to zero. Weโll then sketch the graph of the function to determine the intervals over which itโs positive and negative. We factor our two ๐ฅ from the left-hand side of our equation, and we get two ๐ฅ times negative 40๐ฅ squared plus three. For this expression to be equal to zero, we can say that either two ๐ฅ is equal to zero or negative 40๐ฅ squared plus three is equal to zero. The solution to our first equation is ๐ฅ is equal to zero. And we solve our second by adding 40๐ฅ squared to both sides.
We then divide through by 40, so ๐ฅ squared is equal to three over 40. And then we find the positive and negative square root of three over 40, so those are our second lot of solutions to ๐ฅ. In fact, if we distribute the root over our fraction and then rationalize the denominator, we get plus or minus the square root of 30 over 20. Next, weโll sketch the graph of the function negative 80๐ฅ cubed plus six ๐ฅ. Itโs a cubic function with a negative leading coefficient, so it will look a little something like this. By solving negative 80๐ฅ cubed plus six ๐ฅ equals zero, we found the roots of that equation, the places where it intersects the ๐ฅ-axis, and of course weโre looking to find the locations where this is positive. And if we look at our graph, we see itโs positive here and itโs positive over here.
In other words, itโs positive when ๐ฅ is less than negative root 30 over 20 and when ๐ฅ is greater than zero and less than root 30 over 20. And so those are the intervals using inequality notation for which ๐ of ๐ฅ is concave up. When itโs concave down, the second derivative is less than zero. And if we look at our graph, we see thatโs here and over here. So, thatโs when ๐ฅ is greater than negative root 30 over 20 and less than zero and when ๐ฅ is greater than root 30 over 20. Using interval notation, ๐ of ๐ฅ is concave up on the open intervals from negative โ to negative root 30 over 20 and zero to root 30 over 20 and concave down on the open interval from negative root 30 over 20 to zero and root 30 over 20 to โ.
Now that weโve established how to determine the concavity of a function, weโll look at how to determine whether a graph has a point of inflection.
Find the inflection point on the graph of ๐ of ๐ฅ equals ๐ฅ cubed minus nine ๐ฅ squared plus six ๐ฅ.
We recall that an inflection point on a curve is the point at which the concavity of the function changes. An inflection point might not appear at a critical point, and so we know that an inflection point can be determined by using the second derivative. If the second derivative is equal to zero or does not exist, then we might have an inflection point. To be sure, we check that the concavity either side of that point changes from either concave up to downwards or vice versa. And so weโre going to begin by finding the first derivative of our function. Differentiating term by term and remembering that when we differentiate a power term, we multiply by the exponent and then reduce this exponent by one, and we find ๐ prime of ๐ฅ is three ๐ฅ squared minus 18๐ฅ plus six.
We then repeat this process again to find the second derivative, and thatโs just six ๐ฅ minus 18. Of course, a constant differentiates to zero. Note that we said that an inflection point might occur when the second derivative is equal to zero or does not exist. But of course, ๐ of ๐ฅ was a polynomial, so continuous and differentiable over its entire domain. Similarly, ๐ prime of ๐ฅ was also a polynomial, so itโs also differentiable and continuous over its entire domain. This tells us that the second derivative does indeed exist for all values of ๐ฅ in the domain of the function. So weโre only going to solve six ๐ฅ minus 18 equals zero. We add 18 to both sides and then we divide by six. And we see that the second derivative is equal to zero at the point ๐ฅ equals three.
Now that weโve established that a point of inflection might occur at the point ๐ฅ equals three, weโre going to check the concavity either side by evaluating the second derivative at ๐ฅ equals two and ๐ฅ equals four. We choose points which are local to where the second derivative is equal to zero. In this case, because thereโs only one point where this is the case and the second derivative is a linear function, itโs not hard to do that. If our second derivative function had been a higher-order polynomial though and there have been multiple points where the second derivative was equal to zero, weโd need to take care to pick points that are not beyond the adjacent points where the second derivative is equal to zero.
When ๐ฅ is equal to two, the second derivative is six times two minus 18, which is negative six. Then when ๐ฅ is equal to four, our expression for the second derivative is six times four minus 18, and this time thatโs positive six. And so about the point ๐ฅ equals three, the second derivative changes from being negative to positive. This means it changes from being concave down to concave up, and that does indeed confirm to us that the point ๐ฅ equals three is a point of inflection. To find the coordinates of that point of inflection then, we substitute ๐ฅ equals three into the original function. Thatโs three cubed minus nine times three squared plus six times three, which is negative 36. The inflection point on the graph of our function then is at three, negative 36.
Throughout this video, weโve made reference to the fact that, firstly, a point of inflection might occur at a critical point, but it wonโt always. Weโve also said that the second derivative being equal to zero doesnโt guarantee the existence of a point of inflection. A prime example here is the function ๐ of ๐ฅ equals ๐ฅ to the fourth power. The first derivative ๐ prime of ๐ฅ of this function is four ๐ฅ cubed. Then the second derivative is given by 12๐ฅ squared. Now, if we were to set the second derivative equal to zero, we get the equation 12๐ฅ squared equals zero, and solving gives us a value of ๐ฅ equals zero. So the second derivative is equal to zero at the point where ๐ฅ is equal to zero.
But what happens on the graph of the function at the point ๐ฅ equals zero? We do, in fact, appear to have a turning point of some description. But the concavity of the function doesnโt change. Itโs concave up before the point ๐ฅ equals zero and concave up after the point ๐ฅ equals zero. And so this is why itโs really important to check the value of the second derivative when you think youโve got a point of inflection. Remember, if the second derivative is less than zero, the curve will be concave down in that region. If itโs greater than zero, it will be concave up. But if itโs equal to zero, it might be a point of inflection. But we need to do a little bit more work by checking the value of the second derivative just to the left and just to the right to see whether itโs concave up, concave down, or a point of inflection.
Weโre now going to recap the key points from this lesson. In this video, we learned that if for some function ๐ of ๐ฅ, ๐ double prime of ๐ฅ is greater than zero for all ๐ฅ in some interval, then ๐ of ๐ฅ is concave up over that interval. Similarly, if ๐ double prime of ๐ฅ is less than zero for all ๐ฅ in some interval, then ๐ of ๐ฅ is concave down over that interval. Finally, we learned that a point of inflection is a point about which the concavity of the function changes. We can find possible locations of points of inflection by finding points at which the second derivative is equal to zero or possibly doesnโt exist. But we do need to check that the concavity of the function will change to either side of this point.