Introduction to Local Maxima and Local Minima
In many practical applications, we need to find the maximum or minimum values of a varying quantity. For a continuous function, the peaks and valleys on its graph represent the maximum and minimum values respectively within a certain neighborhood.
Local Maximum
A point is a point of local maximum if there is an interval around such that for all in that interval. The value is called the local maximum value.
Local Minimum
A point is a point of local minimum if there is an interval around such that for all in that interval. The value is called the local minimum value.
Extreme Values
The local maximum and local minimum values of a function are collectively known as local extreme values.
These are called local because the comparison is made only with nearby points, not necessarily with all points in the entire domain.
Critical Points and Turning Points
Before applying derivative tests, we need to identify candidate points where a maximum or minimum could occur.
Critical Point
A point in the domain of a function at which either or is not differentiable is called a critical point of .
Turning Point
A point where the graph of a continuous function changes its nature from strictly increasing to strictly decreasing or vice versa.
Important Note: Every point of local maximum or local minimum must be a critical point, but not every critical point gives a local extremum. Some critical points are neither maxima nor minima; for example, they may be stationary points where the curve continues to increase on both sides, or points of inflection.
First Derivative Test
Let be a function defined on an open interval . Let be continuous at a critical point in . Then:
1.Local Maximum
If changes sign from positive to negative as increases through (that is, for slightly less than , and for slightly greater than ), then is a point of local maximum.
2.Local Minimum
If changes sign from negative to positive as increases through (that is, for , and for ), then is a point of local minimum.
3.Neither Maximum nor Minimum
If does not change sign as increases through , then is neither a point of local maximum nor a point of local minimum.
Sometimes such a point may be a point of inflection, but that requires an additional change in concavity; it is not automatic merely because does not change sign.
Second Derivative Test
This test is often quicker than the First Derivative Test when the second derivative is easy to compute.
Let be a function defined on an interval and let . Suppose is twice differentiable at . Then:
1.Local Maximum
is a point of local maximum if and . In this case, the curve is concave downward at .
2.Local Minimum
is a point of local minimum if and . In this case, the curve is concave upward at .
3. Test Fails
If and , then the test is inconclusive. In that case, we must use the First Derivative Test or some other method.
So, the second derivative test is a shortcut, but it does not always decide the nature of a critical point.
Solved Examples
Example 1: Local Maxima and Minima of a Polynomial
Find all points of local maxima and local minima of the function .
Solution: Step 1: Find the first derivative .
Step 2: Find the critical points by setting . So the possible points of local extrema are and .
Step 3: Find the second derivative.
Step 4: Test each critical point.
- At : Therefore the graph is concave upward there, so is a point of local minimum. The local minimum value is
- At : Therefore the graph is concave downward there, so is a point of local maximum. The local maximum value is
Answer: Local maximum at with value ; local minimum at with value .
Example 2: Critical Point Which Is Not an Extremum
Find all points of local maxima and local minima of the function .
Solution: Step 1: Find the first derivative.
Step 2: Find the critical points. So the only critical point is .
Step 3: Try the second derivative test. At , So the second derivative test fails.
Step 4: Use the first derivative test. Observe that for all real , and in fact it is positive for all . Thus:
- for , ,
- for , .
Step 5: Conclude. Since the derivative does not change sign at , the function is increasing on both sides of . Therefore, is neither a point of local maximum nor a point of local minimum. In this case, it is a stationary point of inflection.
Answer: The function has no local maximum and no local minimum. The critical point is a stationary point of inflection.
Example 3: A Function with No Maxima or Minima
Find the local maxima and local minima, if any, for the function .
Solution: Step 1: Differentiate the function.
Step 2: Find critical points by solving . That gives But this equation has no real solution because for every real number .
Step 3: Conclude. Since the derivative is never zero and is never undefined, the function has no critical points. Without any critical points, the function cannot have a local maximum or a local minimum. Also, because for all , the function is strictly increasing everywhere.
Answer: The function has no local maxima and no local minima.
Example 4: Rational Function Maxima and Minima
Find the local maximum and local minimum values of the function , .
Solution: Step 1: Differentiate the function.
Step 2: Find critical points. Set :
Step 3: Find the second derivative.
Step 4: Test each critical point.
- At : so is a point of local minimum. The local minimum value is
- At : so is a point of local maximum. The local maximum value is
Because the function is defined on two separate intervals and , it is completely possible that the local maximum value is numerically less than the local minimum value .
Answer: Local maximum value is at . Local minimum value is at .
Example 5: Trigonometric Function
Find the local maximum and minimum values of , where .
Solution: Step 1: Differentiate the function.
Step 2: Find critical points by setting . In the interval , this happens at
Step 3: Find the second derivative.
Step 4: Test the critical points.
- At : So this is a local maximum. The maximum value is
- At : So this is a local minimum. The minimum value is
Answer: Local maximum value is at ; local minimum value is at .
Example 6: First Derivative Test Where Second Derivative Test Fails
Find local maxima and minima for .
Solution: Step 1: Find the first derivative.
Step 2: Find the critical points.
Step 3: Try the second derivative test. At , So the second derivative test is inconclusive.
Step 4: Use the first derivative test.
- For , say ,
- For , say , The derivative changes from negative to positive as we pass through 0.
Step 5: Conclude. Therefore is a point of local minimum. The local minimum value is There is no local maximum.
Answer: Local minimum at with value .
Example 7: Non-Differentiable Critical Point
Find all points of local maxima and local minima of the function .
Solution: Step 1: Note that is not differentiable at . Hence is a critical point.
Step 2: Since the derivative does not exist at , derivative tests are not directly applicable there. So we use the basic definition of local extrema.
Step 3: Compare nearby values. For every , Thus, in every neighborhood of 0,
Step 4: Conclude. So is a point of local minimum, and the local minimum value is 0. There is no local maximum because the function increases away from 0 on both sides.
Answer: Local minimum at with value ; no local maximum.
Example 8: Finding Maximum Profit
A company's profit function is given by . Find the maximum profit that the company can make.
Solution: Step 1: Differentiate the profit function.
Step 2: Find the critical point.
Step 3: Check the second derivative. So mathematically the parabola opens downward and attains its greatest value at The corresponding value is
Step 4: Interpret the practical meaning. In a real profit problem, usually represents number of units, so negative values of are not meaningful. Therefore, for the practical domain , the function is decreasing because Hence the maximum practical profit occurs at the left endpoint :
Answer: Mathematically, the maximum value of the function is at . Practically, if denotes number of units produced and hence , the maximum profit is at .