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

Second partial derivative test example, part 1


4m read
·Nov 11, 2024

So one common type of problem that you see in a number of multivariable calculus classes will say something to the effect of the following: find and classify all of the critical points of, and then you'll insert some kind of multivariable function.

So first of all, this idea of a critical point basically means anywhere where the gradient equals zero. So you're looking for places where the gradient of your function at some kind of input, some specified input (x) and (y) that you're solving for, is equal to zero. As I've talked about in the last couple videos, the reason you might want to do this is because you're hoping to maximize the function or to maybe minimize the function.

Now, the second requirement of classifying those points, that's what the second derivative test is all about. Once you find something where the gradient equals zero, you want to be able to determine: is it a local maximum, is it a local minimum, or is it a saddle point?

So let's go ahead and work through this example. The first thing we're going to need to do, if we're solving for when the gradient equals 0, and remember when we say equal 0, we really mean the zero vector, but it's just a convenient way of putting it all on one line. We take both partial derivatives.

So the partial derivative with respect to (x) is, well, this first term, when we take the derivative of (3x^2 \cdot y) with respect to (x), that 2 hops down, so we have (6xy^3). Well, (y) looks like a constant, so (y^3) looks like a constant, minus (3x^2). So that 2 comes down, so we're subtracting off (6x). Again, this (3y^2) term, (y) looks like a constant, so everything here looks like a constant with zero derivative as far as the (x) direction is concerned.

Now, we do the partial of (f) with respect to (y). Then this first term looks like some sort of constant (3x^2); (x) looks like a constant, so some kind of constant times (y). So the whole thing looks like (3x^2). The second term, minus (x^3), minus (y^3), excuse me, looks like minus (3y^2) when we take the derivative, minus (3y^2).

Then this next term only has an (x), so it looks like a constant as far as (y) is concerned. Then this last term, we take down the 2 because we're differentiating (y^2), and you'll get (-6y), (-6 \cdot y).

So when we are finding the critical points, the first step is to set both of these guys equal to 0. So this first one, when we do set it equal to zero, we can simplify a bit by factoring out (6x). So this really looks like (6x \cdot (y - 1)) and then that's what we're setting equal to zero.

What this equation tells us is that either it's the (6x) term that equals 0, in which case that would mean (x) is equal to 0, or it's the case that (y - 1 = 0), in which case that would mean that (y = 1). So at least one of these things has to be true. That's kind of the first requirement that we've found.

Let me scroll down a little bit here. For the second equation, when we set it equal to 0, it's not immediately straightforward how you would solve for this in a nice way in terms of (x) and (y). But because we've already solved one, we can kind of plug them in and say, for example, if it was the case that (x = 0), and we kind of want to see what that turns our equation into, then we would have, well (3x^2) is nothing, that would be (0) and we'd just be left with (-3y^2 - 6y = 0).

We can factor out a bit, so I'm going to factor out a (-3y). So I'll factor out (-3y), which means that first term just has a (y) remaining, and then that second term has a (2), a positive (2) since I factored out (-3). So positive (2), and that equals (0). So what this whole situation would imply is that either (-3y = 0), which would mean (y = 0), or it would be the case that (y + 2 = 0), which would mean that (y = -2).

So that's the first situation where we plug in (x = 0). Now alternatively, there's the possibility that (y = 1). So we could say (y = 1) and what that gives us in the entire equation, we still have that (3x^2) because we're kind of solving for (x) now. (3x^2) and then the rest of it becomes, let's see, (-3 \cdot 1^2), so minus (3). We're plugging in (1) for (y), and we subtract off (6), plugging in that (1) for (y) again, and that whole thing is equal to (3x^2), then minus (3 - 6), so I'm subtracting off (9).

From here, I can factor out a little bit, and this will be (3 \cdot (x^2 - 3)). What that implies then, since this whole thing has to equal (0), what that implies is that (x^2 - 3 = 0). So we have (x = \pm \sqrt{3}).

Maybe I should kind of specify these are distinct things that we found. One of them was in the circumstance where (x = 0), and then the other was what we found in the circumstance where (y = 1). So this gives us a grand total of three different critical points because in the first situation where (x = 0), the critical points that we have, well both of them are going to have an (x) coordinate of (0) in them, an (x) coordinate of (0), and the two corresponding (y) coordinates are (0) or (-2). So you have (0) or (-2).

There's kind of two possibilities, and then there's another two possibilities here where if (y = 1), when (y = 1), we'll have (x) as positive or negative (\sqrt{3}). So we have positive (\sqrt{3}) and (y = 1), and then we have negative (\sqrt{3}) and (y = 1).

So these are the critical points, critical points which basically means all partial derivatives are equal to (0). In the next video, I will classify each of these critical points using the second partial derivative test.

More Articles

View All
Safari Live - Day 218 | National Geographic
This program features live coverage of an African safari and may include animal kills and caucuses. Viewer discretion is advised. There’s why the inclusion of the pride is such a firm favorite. [Music] How insane was that, everybody? And welcome to the 1…
Introduction to remainders
We’re already somewhat familiar with the idea of division. If I were to say 8 divided by 2, you could think of that as 8 objects: 1, 2, 3, 4, 5, 6, 7, 8. Divided into equal groups of two. So how many equal groups of two could you have? Well, you could hav…
Quantum Mechanics: The Uncertainty Within
When I was a kid, I loved science, but I felt as though there was no point in becoming a scientist. Everything was already invented; everything we needed to know had already been discovered. Great! I mean, we had equations to describe all kinds of things—…
Substitute Teaching with Khanmigo
Hi, I’m Michelle, a professional learning specialist here at Khan Academy and a former classroom teacher just like you. I’d like to introduce you to Kigo, your AI-driven companion who’s revolutionizing teaching for a more engaging and efficient experienc…
Photo Walk in Napa Valley | National Geographic
Hi everybody! I’m Ashley Kalina. Thanks for joining us again. We’re here in beautiful Napa Valley for Get Outdoors Day, and we are here with National Geographic and our friends at Nature Valley. I’m joined by Ben Horton, the wonderful photographer. He’s g…
A productive day in my life: Packing and moving abroad 🇮🇹
This video is sponsored by Japanese monthly subscription box Sakurako. Hi guys, it’s me Dudi! For those who are not familiar with this channel, I’m about to become a medical student in Italy. Actually, my med school has already started, and I’m supposed …