Concavity, Inflection Points, and the Second Derivative Test November 4, 2026 [00:00:05] Sine of what angle is one half? [00:00:13] This is one half, at pi over six. [00:00:21] This is a half. [00:00:25] 5 pi over 6. [00:00:30] Okay, so we got two critical values in that interval, 0 to pi. [00:00:35] Now what do we do? [00:00:39] We have to do a sign chart. I guess I did that wrong. [00:00:45] 2 pi, 0, 2 pi. [00:00:50] So f prime. [00:00:56] We have to pick some values, maybe. This one's not obvious. [00:01:03] What number should I pick here? [00:01:08] Can we pick 0? [00:01:14] The function definitely exists. The left is 0. [00:01:18] The next time it will be 0 would be negative 5 pi over 6. [00:01:30] So on this interval, it's going to be the same sign, either positive or negative. So we can actually choose 0 here. [00:01:40] And what is g prime of 0? [00:01:44] One minus two sine of zero. What is sine of zero? [00:01:51] 0, 1, which is positive. [00:01:54] What's a good angle between pi over 6 and 5 pi over 6? Pi over four, maybe? [00:02:08] Let's go pi over 2. It's easier. [00:02:16] Yes. Yikes. [00:02:24] And sine of pi over 2 is 1. [00:02:35] Definitely negative. [00:02:38] And then let's go with pi. [00:02:52] And sine of pi is 0. [00:03:00] Definitely positive. [00:03:02] So what does that tell us about f? [00:03:06] If f prime is positive, f is increasing. If f prime is negative, f is decreasing and increasing. [00:03:23] We're going to have a min or a max here. [00:03:28] Increasing to decreasing, or derivative positive to derivative negative, is a maximum. [00:03:42] So what was the original function? [00:03:52] So if it says find the local min and max, is that the y values? Is that the ordered pair? Is that the x values? [00:04:03] It's always the y values. [00:04:06] Any min and max is the min and max of the y value. [00:04:10] If it said find at what x values there are min and max, we'd be done. [00:04:18] You would give x equals pi over six for the maximum, and x equals five pi over six for the minimum. [00:04:24] Oh, this is not a very nice number. [00:04:30] What is cosine of pi over six? Square root of three over two? [00:04:39] Which is just pi over six plus square root of three. [00:04:48] Local max. [00:04:50] So, let's go ahead and graph. Go ahead and graph. [00:04:54] F prime. Let me put in some numbers for fun. [00:04:58] 10, 7, 3. [00:05:50] The derivative is zero here, and zero here. Between zero and three, is the derivative positive? [00:06:00] I don't know how high to go, but... And then somewhere over here is the steepest. [00:06:15] It's negative, negative, negative, negative, and back to 0. And then somewhere here is the steepest. [00:06:25] So, it will look like something like that. [00:06:29] How can we use the first derivative, which is in black? [00:06:36] Let us assume we have the exact graph here. How can we use the... let's say we have the first derivative. [00:06:45] How can we use this to determine where the steepest part of the function is? [00:06:55] What do you think? [00:07:00] The minimums and maximums of which function? [00:07:06] Of the first derivative. So, wherever is the steepest, wherever this min or max is, this case is a min, is exactly where this occurs. [00:07:18] It's the steepest. And so, how can we find mins and maxes of the first derivative? [00:07:28] Take the derivative again. And we call that the second derivative. [00:07:33] Okay, so when f double prime equals 0, f has a... [00:07:57] How do you spell steepest slope? Might be positive, might be negative. [00:08:10] Okay, we'll come back to that in a sec. [00:08:14] Back in Math 2.3, we dealt with quadratics. [00:08:22] And we say this opens down, this opens up. [00:08:30] Okay, the technical term is concave down. We'll talk about that in a sec. [00:08:39] And this is concave up. [00:08:41] Sorry, so from zero to whatever this number is, let's put in a number, let's call it five, it's concave down. [00:08:52] And from here to here, it's concave up. [00:09:01] And then from here to here, it's concave down. [00:09:08] It's the direction of the curve. [00:09:20] Which it does change at that steepest point. We'll talk about that in a second. [00:09:30] So, going back to this, what does it mean, or how can we define? [00:09:40] Define concave up or down. [00:09:48] How can we use math to define what it means? [00:09:53] Okay, you're getting your clue. That's what we're going to do. [00:09:58] But how can we define, like right here, this one point, how do I know that's concave down? [00:10:06] And at this point, how do I know it's concave down? [00:10:10] At this point, how do I know it's concave up? [00:10:13] What's that? Just the way it looks? [00:10:16] It's just the way it looks. [00:10:20] Okay. [00:10:22] What do you mean it's the way it looks? Like right there, how do you know that that's concave down? [00:10:27] Because it looks like an upside-down U. [00:10:32] We're getting there. Okay, the way it looks is not a good mathematical definition. [00:10:37] So what is true about all these tangent lines on the left, which is not true or the opposite of all the tangent lines on the right? [00:10:45] It's positive. [00:10:48] It's not true with whether the slope of the tangent line is positive because here is positive, here is negative. [00:10:55] Here is negative, here is positive. [00:11:01] What do you mean steeper? [00:11:14] Steeper refers to more than one point. [00:11:20] So, well, we'll get to that in a second. Okay, but maybe that's not true what I just said. [00:11:31] There's something true about all these tangent lines. That's the opposite of all these tangent lines. [00:11:43] So all these tangent lines on the left have some property different than all these tangent lines on the right. [00:11:54] Okay, let me show you on the other example. [00:12:00] Any tangent line here has a different property than all these tangent lines here. [00:12:11] And this tangent line we'll talk about in a second. [00:12:18] Let us not talk about minima and maxima. [00:12:21] Okay, for example, like, e to the x is always concave. [00:12:34] There are no minima or maxima, so we cannot talk about minima and maxima. [00:12:44] I don't even have an x and y axis here. [00:12:54] We're so close, somebody's got to figure it out. [00:12:57] Oh, that's it. I said, like, we're concave down on the left side of the zero, like all the tangents are facing it on the right side. [00:13:06] All of them are increasing. This is true. However, like this, there is just an always increasing function. [00:13:24] Let me show you another always increasing function. Ln of x. [00:13:33] Is ln of x concave up or concave down? [00:13:50] Concave down. [00:13:52] We need the outside. [00:13:57] But that's not how we're going to find it. Should I tell you? [00:14:06] Let's look at this one point right here. [00:14:10] What is true about every. [00:14:14] Let me go with this. Let's say we did a linear approximation going back to it. [00:14:21] And I estimate a little bit to the left or the right. Would the estimate be an overestimate or underestimate? [00:14:29] Over because this value is greater than this. And this value is greater than this. [00:14:34] For all these, if we did a linear approximation, these both would be underestimates. [00:14:42] And why are these underestimates? [00:14:47] Because it's underneath the function or below the function. The rest of the points here are above the function. [00:14:57] All of these tangent lines lie above the function. All of these tangent lines lie below the function. [00:15:09] All of these tangent lines, except for the point of tangency, of course, all of these lie above. [00:15:15] All of these over here lie below the function. [00:15:18] Okay, if the graph of f lies above its tangents on an interval. [00:15:36] It's called concave up. [00:15:39] The function is above the tangent lines, except at the point of tangency. If the graph of f lies below its tangents, [00:15:49] It's called concave down. [00:15:52] What if it doesn't lie above or below and the tangent line crosses through the function? [00:15:59] So, for example, [00:16:05] let's say it's this function. [00:16:09] From here all the way to here, [00:16:13] the function lies above all the tangent lines, which is concave up. This is concave down. [00:16:24] This one tangent line does not lie above. I didn't draw it very well. That's terrible. [00:16:38] When it crosses through the function, instead of just tangent, I mean it is tangent to it. [00:16:45] But one side lies below and one side lies above. [00:16:49] We call it a point of inflection. We'll write down that definition in a little bit. It changes concavity at a point of inflection. [00:17:03] If it's concave down, the slopes of the tangent line here, it's decreasing. [00:17:13] That's true. So all of these, the slopes are decreasing. All of these, the slopes of the tangent lines are increasing. [00:17:24] And right here it starts to decrease. [00:17:32] And how do we figure out if a function is increasing or decreasing? [00:17:38] When the derivative, whatever function, [00:17:43] derivative is either positive or negative. [00:17:46] That's it. If you forget, just use the example, either X squared or negative X squared. [00:17:52] The second derivative is positive; it is concave up. [00:17:55] The second derivative is negative two; it is concave down. [00:17:59] If you forget what it is. [00:18:02] Okay, you know, it's what were the two critical values. [00:18:08] Yesterday or Monday's lesson. [00:18:17] Zero, four, maybe two. [00:18:25] And then we did a sign chart for that, I believe. Okay, now let's figure out where it's concave up and concave down. [00:18:35] We need the second derivative, which is three x squared minus two x minus twelve. [00:18:48] And to figure out where the second derivative is positive or negative, we first have to figure out when it is zero. [00:18:55] So we set it equal zero. [00:18:59] The zeros of F double prime. [00:19:09] I don't think this factors very easily. [00:19:14] Let's do the little quadratic formula. [00:19:36] Was that. So 148. [00:19:43] Okay, let's plug each of these. We get an idea. [00:19:49] Somebody plug this in the calculator. [00:19:54] And two minus one. Square root of one hundred forty-eight, over six. [00:19:58] Subtraction is maybe. Give me one more digit. [00:20:04] Negative. [00:20:07] Was this our sign chart yesterday? [00:20:13] Okay. [00:20:17] And then we knew F was decreasing. [00:20:25] Decreasing increasing. [00:20:33] And now we're going to do an F double prime sign chart. [00:20:39] Negative one point six nine four. [00:20:47] We could have left in radical form for the exact value. And then two point three six one. [00:21:13] So we have three intervals for F double prime is either going to be positive or negative. [00:21:21] From negative infinity to negative one point six nine four. This is quadratic right. It opens up. [00:21:30] So we know the second derivative is going to be positive. [00:21:36] Negative positive. [00:21:39] Or you could plug in any number into the second derivative and see if that's true. [00:21:46] And now what does it tell us about our function F. Second derivative is positive. F is. Concave up. [00:21:57] Down. [00:22:01] Okay. [00:22:02] If we want a real graph, we need to plug those x-values into the function to see what the actual y-value is. [00:22:16] We are going to skip that for lack of time. [00:22:22] I definitely know the y-intercept is, was it twelve? [00:22:30] So from negative infinity to negative three it's both decreasing and concave up. [00:22:39] So decreasing and concave up. [00:22:46] We got a min. [00:22:51] Then it is increasing and concave up all the way to negative one point six nine four. [00:23:05] And then it starts to decrease. Sorry still increasing but concave down. [00:23:13] Zero. [00:23:14] Yeah so it's increasing and then decreasing but always concave down. [00:23:21] Wait where's the next zero. [00:23:26] I screwed that up. [00:23:39] And then right here changes to concave up. [00:23:49] Right here is called a point of inflection. A minimum and a maximum. I did not draw that very well. [00:23:58] Point of inflection changes concavity, and a minimum. [00:24:03] We really should have plugged in those X values to see the actual value. But concave up. [00:24:12] Min concave up. [00:24:15] Concave down. The function is still increasing but starts decreasing. This has a maximum. [00:24:25] This can make sense. OK. [00:24:29] Let's say we didn't know this. [00:24:34] And we did not know there is a minimum here. [00:24:39] How can I use the second derivative. [00:24:48] To determine this critical value whether it's a min or a max. [00:24:56] How can I say we didn't know F prime whether it's positive or negative on these intervals. [00:25:04] We know that was increasing and decreasing. All we knew was there's a critical point negative three. And the functions concave up. [00:25:13] Is that going to be a min or a max. [00:25:18] Definitely a min. If we have a critical value, [00:25:22] It's concave up. Gotta be a min. [00:25:27] We have a critical value and it's concave down. It's going to be a max. OK. [00:25:33] The second derivative test is nice if you do not want to do a sign chart for f prime, And it's easy to find the second derivative. [00:25:42] And you plug that critical value in. [00:25:47] And we'll do examples of that later. [00:25:50] Let me ask you this. What if F prime of some number equals zero and F double prime of that same number also equals zero. Then what. [00:26:04] For example. [00:26:10] X cubed. The first derivative is three X squared. [00:26:18] And the critical value is zero. [00:26:25] And the second derivative. [00:26:28] Is six X. With its zero also at x equals zero. [00:26:36] What is happening there. [00:26:42] It tells us there's a horizontal tangent line. [00:26:46] This tells us that. [00:26:50] And if the second derivative is also zero. It's going to mean it has a horizontal tangent line but it's neither a min nor max. [00:27:01] And probably going to be a point of inflection. [00:27:04] The point of inflection is when it just changes. [00:27:12] When F double prime changes signs. [00:27:18] Point of inflection. [00:27:23] When F double prime changes signs. [00:27:26] This is not an exponential function. [00:27:29] It is not a quadratic. What is it? [00:27:35] It's the composition of e to the x and that quadratic. So let's go first derivative. [00:27:47] What rule do we got to use here? Chain rule. [00:27:54] e to the negative x squared over 2 times derivative of the inside. Which is. [00:28:05] Negative two x times one half. [00:28:09] Let's find the first. Sorry. The critical values. [00:28:15] Of f. Does this not exist anywhere? [00:28:24] It exists everywhere. [00:28:27] Polynomial plug in any number. e to anything is a number. [00:28:32] So the derivative exists everywhere. So the only thing we have to do is f prime is zero. [00:28:42] Oh how do we figure out when this is zero? [00:28:52] So there's a product. [00:28:55] What makes this zero? [00:28:58] Zero. So x equals zero is definitely a critical value. Will this ever be zero? [00:29:09] No matter what you plug in here, you get e to some number. And e to anything is always positive. So this will never equal zero. [00:29:19] So we only have one critical value. [00:29:24] We'll do a sign chart in a minute. Let's do the second derivative. [00:29:33] Which is the derivative of this guy. [00:29:40] What rule do I use here? [00:30:06] So. [00:30:31] So. [00:30:34] We are going to do a sign chart. We need to first figure out when it's zero. [00:30:50] How in the world we're going to solve this? [00:30:56] Factor out that common factor here. [00:30:59] Will this ever be zero? [00:31:03] No. So then we go zero is one minus x squared. [00:31:18] Did I mess up? [00:31:23] Oh geez. I might have messed up the product rule. [00:31:28] This should be positive. [00:31:35] This should be negative right here. [00:31:44] Sorry. [00:31:47] So negative positive. [00:31:49] There we go. We still got two values. [00:31:53] To the left of zero. By plugging a negative number. Is this positive or negative? [00:32:06] No matter what this is positive. [00:32:11] Plug in negative one for example. This becomes positive. [00:32:15] And then we plug in a positive number. So it's going to be positive and negative. [00:32:32] Which does tell us F is increasing. [00:32:37] Decreasing. [00:32:40] And then F double prime. [00:32:46] There are two zeros of the second derivative. [00:32:50] Is going to be positive or negative. [00:33:12] Did I write this right. [00:33:14] I'm not sure what I'm doing. Let's say we plug in. [00:33:20] Negative ten. I'm just plugging in the number. [00:33:25] This is the same as. [00:33:30] This except for their opposites. [00:33:34] And. [00:33:37] If you plug in negative ten we get a positive number. This is way bigger. Is this making sense? This is positive. [00:33:45] For sure. [00:33:50] If we plug in zero. F double prime of zero. Is it going to be positive or negative? [00:34:01] Plug in zero. This thing is zero. [00:34:04] And then this is positive and then we got a negative. [00:34:08] It's negative. And then anything past one. [00:34:13] Two. [00:34:15] This thing is much larger than this. [00:34:18] And so it's positive. [00:34:21] Sorry that was a. So it's going to be positive. Negative positive. [00:34:33] Which means F is concave up. [00:34:37] Concave down. [00:34:43] Concave up. [00:34:49] Okay let's graph this real quick. [00:34:52] What was my original function? [00:34:57] E to the negative one half X squared. [00:35:00] Okay if we plug in zero what is F of zero? [00:35:06] F of zero. [00:35:08] E to the zero which is one. [00:35:20] We plug in one. What do we get? F of one. Is E to the negative one half. [00:35:28] What is E to the negative one half? That's some number here. [00:35:34] One over the square root of E. [00:35:38] And the same thing with negative one. [00:35:45] So between negative one and positive one. Concave down and we got a max at zero. So it's going to look like this. [00:35:55] Concave down. [00:36:01] And then from one all the way to the right it's decreasing and concave up. [00:36:10] Decreasing and concave up. And it has a horizontal asymptote there.