Subject: Class 12 Mathematics Chapter: Maxima and Minima Topic: 7.7 Maxima and Minima ā Find maximum and minimum values
Every engineer, economist and scientist wants to know when a quantity is as large or as small as possible: the maximum area a fence can enclose, the minimum cost of production, the highest point reached by a projectile. These greatest and least values of a function are called its maxima and minima, and calculus provides a complete and reliable method for finding them. The key idea is that a smooth function can change direction only at its critical points, so the search for extrema begins by locating the critical points and testing them.
A local maximum is a value of the function that is greater than or equal to all nearby values, while a local minimum is a value that is less than or equal to all nearby values. The absolute or global maximum is the largest value over the entire domain, and the absolute minimum is the smallest value over the entire domain. For a function continuous on a closed interval [a, b], both the absolute maximum and the absolute minimum must exist, and they occur either at critical points inside the interval or at the endpoints.
In this chapter we learn how to find local and absolute maxima and minima using the first and second derivative tests, how to handle functions on closed intervals, and how to interpret the results correctly. We will work through solved examples involving polynomials, trigonometric functions and quotients, and we will see how the sign of the derivative, the second derivative, and the endpoint values combine to identify the extremes of a function completely.
A function f has a local maximum at x = c if f(c) >= f(x) for all x sufficiently close to c, and a local minimum if f(c) <= f(x) for all such x. These definitions are local because they only compare f(c) with values in a small neighbourhood. By contrast, the absolute maximum of f on a set is the value f(x) that is at least as large as f(t) for every t in the set, and the absolute minimum is defined symmetrically.
Key points to remember:
Example 1: Find the local maxima and minima of f(x) = x^3 - 3x + 2.
Solution: Step 1: f'(x) = 3x^2 - 3 = 3(x - 1)(x + 1). Step 2: Critical points x = -1 and x = 1. Step 3: f''(x) = 6x, so f''(-1) = -6 < 0 and f''(1) = 6 > 0. Step 4: Hence x = -1 is a local maximum with f(-1) = 4, and x = 1 is a local minimum with f(1) = 0. Step 5: The function has no absolute maximum or minimum over the whole real line because it grows without bound.
Example 2: Find the local extrema of f(x) = sin x on the real line.
Solution: Step 1: f'(x) = cos x, with critical points where cos x = 0, i.e. x = Ļ/2 + kĻ. Step 2: f''(x) = -sin x. Step 3: At x = Ļ/2 + 2kĻ, f'' = -1 < 0, local maxima with value 1. Step 4: At x = 3Ļ/2 + 2kĻ, f'' = 1 > 0, local minima with value -1. Step 5: These are also the absolute maximum 1 and absolute minimum -1 of sine.
The extreme value theorem guarantees that a function continuous on a closed interval [a, b] attains its absolute maximum and absolute minimum somewhere in that interval. The candidates are all critical points lying inside the interval together with the two endpoints. By evaluating the function at every candidate and comparing the values, we identify the absolute maximum and minimum in one stroke.
Systematic procedure for absolute extrema:
Example 3: Find the absolute maximum and minimum of f(x) = x^3 - 3x + 2 on [0, 2].
Solution: Step 1: Critical points x = 1 and x = -1; only x = 1 lies in (0, 2). Step 2: f(1) = 0. Step 3: f(0) = 2 and f(2) = 8 - 6 + 2 = 4. Step 4: The values are 2, 0 and 4. Step 5: The absolute maximum is 4 at x = 2, and the absolute minimum is 0 at x = 1.
Example 4: Find the absolute maximum and minimum of f(x) = x^2 - 4x + 5 on [0, 3].
Solution: Step 1: f'(x) = 2x - 4 = 0 at x = 2. Step 2: f(2) = 4 - 8 + 5 = 1. Step 3: f(0) = 5 and f(3) = 9 - 12 + 5 = 2. Step 4: The values are 5, 1 and 2. Step 5: The absolute maximum is 5 at x = 0, and the absolute minimum is 1 at x = 2.
The second derivative test classifies critical points by the curvature of the graph. If f''(c) < 0, the curve bends downward and the critical point is a local maximum; if f''(c) > 0, the curve bends upward and the point is a local minimum; if f''(c) = 0, the test is inconclusive and the first derivative test must be used. This test is especially convenient for polynomials, where the second derivative is easy to compute.
Example 5: Classify the critical points of f(x) = x^3 - 3x^2 + 2 using the second derivative test.
Solution: Step 1: f'(x) = 3x^2 - 6x = 3x(x - 2), critical points x = 0 and x = 2. Step 2: f''(x) = 6x - 6. Step 3: f''(0) = -6 < 0, so x = 0 is a local maximum with value f(0) = 2. Step 4: f''(2) = 6 > 0, so x = 2 is a local minimum with value f(2) = -2. Step 5: Over the interval [1, 3], compare f(1) = 0, f(2) = -2 and f(3) = 2; the absolute maximum is 2 and the absolute minimum is -2.
Example 6: Find the local extrema of f(x) = x/(x^2 + 1).
Solution: Step 1: f'(x) = (1 - x^2)/(x^2 + 1)^2, critical points x = 1 and x = -1. Step 2: f''(x) may be computed; alternatively use signs. Step 3: For x < -1, f' < 0; between -1 and 1, f' > 0; for x > 1, f' < 0. Step 4: At x = -1, the derivative changes from negative to positive, a local minimum with value -1/2. Step 5: At x = 1, the derivative changes from positive to negative, a local maximum with value 1/2. These are also the absolute extrema of the function.
| Type of extremum | Condition | Geometric meaning |
|---|---|---|
| Local maximum | f' changes + to -, or f'' < 0 | Peak of the curve |
| Local minimum | f' changes - to +, or f'' > 0 | Valley of the curve |
| Inflection | f' does not change sign | Curve flattens and bends |
| Absolute maximum on [a, b] | Largest of critical and endpoint values | Highest value in interval |
| Absolute minimum on [a, b] | Smallest of critical and endpoint values | Lowest value in interval |
| Function | Interval | Absolute max | Absolute min |
|---|---|---|---|
| x^3 - 3x + 2 | [0, 2] | 4 at x = 2 | 0 at x = 1 |
| x^2 - 4x + 5 | [0, 3] | 5 at x = 0 | 1 at x = 2 |
| sin x | [0, Ļ] | 1 at x = Ļ/2 | 0 at x = 0 |
| x/(x^2 + 1) | Real line | 1/2 at x = 1 | -1/2 at x = -1 |
| x^3 - 3x^2 + 2 | [1, 3] | 2 at x = 3 | -2 at x = 2 |
flowchart TD
A[Maxima and Minima] --> B[Local Extrema]
A --> C[Absolute Extrema]
A --> D[First Derivative Test]
A --> E[Second Derivative Test]
A --> F[Closed Interval Method]
B --> G[Critical Points]
C --> H[Largest Value]
C --> I[Smallest Value]
D --> J[Sign Change Plus to Minus]
D --> K[Sign Change Minus to Plus]
E --> L[f Double Prime Less than 0 Max]
E --> M[f Double Prime Greater than 0 Min]
F --> N[Check Critical Points]
F --> O[Check Endpoints]
G --> P[f prime equals 0 or undefined]
Maxima and minima are the most important values a function can take, and calculus offers an exact algorithm for finding them. Local extrema live only at critical points, where the first derivative test or the second derivative test decides their nature, while absolute extrema on a closed interval are settled by comparing critical values with endpoint values. These methods transform questions about greatest and least quantities into routine differentiation and arithmetic. The same machinery powers optimisation, the final application in our series, where real-world problems in geometry, physics and economics are reduced to finding the maximum or minimum of a suitable function.