<< Hide Menu

📚

 > 

♾️ 

 > 

5.4 Using the First Derivative Test to Determine Relative (Local) Extrema

4 min readjune 18, 2024

5.4 Using the First Derivative Test to Determine Relative (Local) Extrema

Welcome back to Calculus with Fiveable! Let’s get into it.

Can the derivative of a function give us more information than just where the function increases or decreases? Yes, it can! In this study guide, we’ll learn how you can use the derivative of a function to determine its relative or local extrema.


🥇 First Derivative Test

We can use the First Derivative Test to determine the relative (local) extrema of a function. It states that if the derivative of a function changes from positive to negative at a point (which means that the function changes from increasing to decreasing at the point), then the function has a local or relative maximum at that point. If the derivative changes from negative to positive at a point (which means that the function changes from decreasing to increasing at the point), then the function has a local or relative minimum at that point.

The process of applying the First Derivative Test is similar to the process of finding the intervals where the function increases or decreases.

First, we need to find the critical points of the function. A critical point is a point where the derivative of the function is equal to 0 or is not defined. Once these points have been identified, we need to find the sign of the derivative of the function on either side of the critical point.

  • If the derivative is positive on the left side of the critical point and negative on the right side, then the point is a local maximum. ⬆️
  • If the derivative is negative on the left side of the critical point and positive on the right side, then the point is a local minimum. ⬇️
  • If the derivative is positive on both sides or negative on both sides, then the function is either always increasing or always decreasing at that point, and there is no relative extremum. 📈

✏️ First Derivative Test Walkthrough

Let’s walk through an example together.

Consider the function f(x)=x2f(x) = x^2. The derivative of this function is f(x)=2xf'(x) = 2x using the power rule. At x=0x = 0, the derivative is equal to 00, which means that it is a critical point, and thus we should evaluate the function’s derivative on either side of the point.

Derivative on the Left Side (for x<0x<0)

To check the behavior of the function on the left, substitute a value less than 0 into f(x)=2xf'(x)=2x. Let’s use x=1.x=-1.

f(1)=2(1)=2f'(-1)=2(-1)=-2

Now we know that the derivative is negative for x<0.x<0.

Derivative on the Right Side (for x>0x>0)

The process is similar here! Substitute a value greater than 0 into f(x)=2xf'(x)=2x. Let’s plug in x=1.x=1.

f(1)=2(1)=2f'(1)=2(1)=2

The derivative is positive for x>0x>0.

First Derivative Test Walkthrough Conclusion

The derivative of the function is negative on the left side of the point and the derivative of the function is positive on the right side, so the point x=0x=0 is a local minimum. ⬇️

Untitled

Image Created with Desmos

Take a look at the function and its local minimum!


📝 First Derivative Test Practice Problems

Now it’s time for you to do some practice on your own!

First Derivative Test Problems

First Derivative Test Question 1:

Let hh be a polynomial function and let its derivative, hh', be defined as h(x)=x2(x3)(x+4)h'(x)=x^2(x-3)(x+4). Where are hh’s relative minima?

First Derivative Test Question 2:

Let g(x)=x580xg(x)=x^5-80x. Where are gg’s relative maxima?

✅ First Derivative Test Solutions

First Derivative Test Question 1:

Since the problem asks us to find hh’s relative minima, we should apply the First Derivative Test. To do so, we first find the function’s critical points by setting h(x)h'(x) equal to 0.0.

x2=0x^2=0
(x3)=0(x-3)=0
(x+4)=0(x+4)=0

By solving each of these, we know that the critical points of h(x)h(x) are x=4,0,x=-4,0, and 33. This means that the function can have minima at only these 33 points.

Then we need to evaluate the left and right sides of the function’s derivative at each of these points to determine which are the relative minima. Here’s a table summarizing the results of plugging in the appropriate values!

xxLeftRightVerdict
4-4++-Relative maximum
00--Not an extremum
33-++Relative minimum

In conclusion, hh has one relative minimum at x=3.x=3.

First Derivative Test Question 2:

Since the problem asks us to find gg’s relative maxima, we should apply the First Derivative Test. To do so, we first need to find the function’s critical points. Since g(x)=5x480g'(x)=5x^4-80, the critical points are x=2x=-2 and 22 in this problem as g(x)g'(x) are 00 at these points. This means that the function can have maxima at only these 22 points.

We then need to evaluate the left and right sides of the function’s derivative at each of these points to determine which are the relative maxima.

xxLeftRightVerdict
2-2++-Relative maximum
22-++Relative minimum

In conclusion, gg has one relative maximum at x=2.x=-2.


🌟 Closing

Great work! The Derivative Test is a great tool that allows us to determine relative extrema of a function by identifying critical points and analyzing the sign of the derivative on either side of those points. It's important to keep in mind the limitations of the test and use other techniques to determine global extrema.