yego.me
💡 Stop wasting time. Read Youtube instead of watch. Download Chrome Extension

Second partial derivative test example, part 2


5m read
·Nov 11, 2024

In the last video, we were given a multivariable function and asked to find and classify all of its critical points. So, critical points just mean finding where the gradient is equal to zero, and we found four different points for that. I have them down here; they were (0, 0), (0, -2), (√3, 1), and (-√3, 1).

So then, the next step is to classify those, and that requires the second partial derivative test. What I'm going to go ahead and do is copy down the partial derivatives since we already computed those. I'll copy them and then just kind of paste them down here where we can start to use them for the second partial derivatives.

Let me clean things up a little bit, and we don't need the simplification of it. So, we've got our partial derivatives now. Since we know we want to apply the second partial derivative test, we've got to first just compute all of the different second partial derivatives of our function. That's just kind of the first thing to do.

So, let's go ahead and do it. The second partial derivative of the function with respect to X twice in a row will take this the partial derivative with respect to X and then do it with respect to X again. So, this first term looks like six times a variable times a constant, so it'll just be 6 times that constant, and then the second term, the derivative of -6x, is just -6.

Moving right along, when we do the second partial derivative with respect to Y twice in a row, we take the partial derivative with respect to Y and then do it again. So, this x² term looks like nothing; it looks like a constant as far as Y is concerned, so we ignore it. The derivative of -3y² is -6y, and then the derivative of -6y is just -6.

Then we can't forget that last crucially important mixed partial derivative term, which is the partial derivative of f, where first we do it with respect to X and then with respect to Y. The order doesn't really matter in this case since it's a perfectly ordinary polynomial function. So, we could do it either way; but I'm just going to choose to take a look at this guy and differentiate it with respect to Y. So, the derivative of the first term with respect to Y is 6x, and then that second term looks like a constant with respect to Y, so that's all we have.

Now what we're going to do is plug in each of the critical points to the special second partial derivative test expression. To remind you of what that is, that expression is we take the second partial derivative with respect to X twice. I'll just write it with a kind of shorter notation using subscripts, and we multiply that by the second partial derivative with respect to Y, and then we subtract off the mixed partial derivative term squared.

So, let's go ahead and do that for each of our points. When we do this at the point (0, 0), what we end up getting is, plugging that into the partial derivative with respect to X twice gives us 6 times 0, which is 0, so there just -6. This gives us -6 multiplied by, when we plug it into the partial derivative with respect to y² again, that y goes to zero, so we're left with just -6.

Then we subtract off the mixed partial derivative term, which in this case is zero because when we plug in x equals 0, we get zero. So we're subtracting off 0², and that entire thing equals -6 times -6, which is 36. We’ll get to analyzing what it means that that's positive in just a moment, but let's just kind of get all of them on the board so we can kind of start doing this with all of them.

If we do this with (0, -2), then once we plug in y = -2 to this expression, this time I'll write it out: 6 times -2 - 6, so that's -12 - 6, which gives us -18. Then, when we plug it into the partial derivative of f with respect to y², again I'll kind of write it out: -6 times -2 is equal to 12 - 6, so that will give us 6 that we plug in here.

Then for the mixed partial derivative, again x is equal to 0, so the mixed partial derivative is just going to look like zero when we do this. So, we’re subtracting off 0² and we get -18 times 6. Oh geez, what's -18 times 6? So that's going to be -108. The specific sign, the specific magnitude won't matter; it's going to be the sign that's important, and this is definitely negative.

Now, kind of moving right along, these examples can take quite a while. If we plug in (√3, 1), what we get now, instead of plugging in y = -2, we're plugging in y = 1. So, that'll be 6 times 1 - 6, so the whole thing is just 0.

Now, for the partial derivative with respect to y², instead of plugging in -2, now we're plugging in y = 1, so we have -6 times 1 - 6, which gives us -12. Now for the mixed partial derivative term which is 6x. X is equal to the √3, so now we're subtracting off √3².

What that equals is this first part is just entirely zero, and we're subtracting off three, so that's -3. Now we have (√3, 1), and this will be very similar because this first term just had a y, and we plugged in the Y, so it's also going to be zero for totally the same reasons.

The value of y didn't change, so that's also going to be 0, so it doesn't really matter because we're multiplying it by a zero. Right? And then, over here now we're plugging in -√3, and that's going to have the same square. So again, we're just subtracting off three.

So, what does this second partial derivative test tell us? Once we express this term, if it's greater than zero, we have a maximum or a minimum. That's what the test tells us, and then if it's less than zero, if it's less than zero, we have a saddle point.

So, in this case, the only term that's greater than zero is this first one. To analyze whether it's a maximum or a minimum, notice that the partial derivative with respect to X twice in a row or with respect to Y twice in a row was negative, which indicates a sort of negative concavity, meaning this corresponds to a maximum.

So this guy corresponds to a local maximum. Now all of the other three gave us negative numbers, so all of these other three give us saddle points. Saddle points!

So, the answer to the question—the original find and classify, you know, such and such points—is that we found four different critical points: (0, 0), (0, -2), (√3, 1), and (-√3, 1), and all of them are saddle points except for (0, 0), which is a local maximum.

All of that is something that we can tell without even looking at the graph of the function. And with that, I will see you in the next video!

More Articles

View All
Introduction to the Crusades
We are in the year 1095. Just for context, this is roughly half a century after the Great Schism between the Eastern Orthodox Church, centered in Constantinople, and what eventually gets known as the Roman Catholic Church, or the Latin Church, centered in…
Bill Belichick & Ray Dalio on Dealing with Arrogant Players
Do you get paraders that are too arrogant? Well, I would say sometimes when we get the rookies in from college, there’s a decru process that goes on. Uhhuh, some of his players come out in college, he gets drafted. You know, he’s the best player on the t…
Heat transfer and thermal equilibrium | Thermodynamics | AP Chemistry | Khan Academy
Let’s see. We have two samples of helium gas. One sample of helium gas is at temperature t1, and the other sample of helium gas is at temperature t2. If t2 is greater than t1, that means, on average, the particles of helium gas in the second box are movin…
Dividing line segments according to ratio
We’re told point A is at negative one, four and point C is at four, negative six. Find the coordinates of point B on segment line segment AC such that the ratio of AB to AC is three to five. So, pause this video and see if you can figure that out. All ri…
Evaluating quotient of fractional exponents | Mathematics I | High School Math | Khan Academy
Let’s see if we can figure out what 256 to the 47th power divided by 2 to the 47th power is, and like always, pause the video and see if you can figure this out. All right, let’s work through this together. At first, you might find this kind of daunting,…
Extinct Sloth Fossils Discovered In Underwater Cave | National Geographic
[Music] We don’t know how the sloths ended up in the cave. Our working hypothesis is that the sloth entered the cave in order to look for water, uh, and died in those positions. Then what happened was water level then rose, submerging the sloth remains, p…