20.1 First & Second Derivative Tests, Extrema, Concavity & Optimization
Key Takeaways
A critical number is an interior domain value where or does not exist; local extrema can occur exclusively at critical numbers, but not all critical numbers yield extrema.
The Extreme Value Theorem guarantees that every continuous function on a closed interval attains an absolute maximum and minimum; the Candidates Test locates them by comparing function values at all interior critical numbers and boundary endpoints.
The First Derivative Test establishes monotonicity ( for increasing, for decreasing) and classifies local extrema by tracking derivative sign changes: positive to negative indicates a local maximum, and negative to positive indicates a local minimum.
Concavity is governed by the second derivative ( for concave up, for concave down); a point of inflection requires an actual change in concavity sign across a point where the curve possesses a continuous tangent line.
Applied optimization translates verbal problems into a single-variable objective function via geometric or physical constraint equations, requiring explicit domain verification and confirmation of global optimality via derivative tests.
20.1 First & Second Derivative Tests, Extrema, Concavity & Optimization
Critical Numbers & The Extreme Value Theorem
Differential calculus provides the analytical framework for uncovering the qualitative and quantitative geometry of functions. At the core of curve analysis is Fermat's Theorem on local extrema: if a function attains a local extremum (maximum or minimum) at an interior point , and if exists, then . This motivates the formal definition of a critical number: a number in the domain of such that either or does not exist (is undefined).
Crucially, an -value where is undefined is a critical number only if belongs to the domain of . For instance, for , is undefined at ; because is in the domain of , is a critical number (corresponding to a vertical cusp). Conversely, for , is undefined at , but is not in the domain of , so is a vertical asymptote rather than a critical number.
The Extreme Value Theorem (EVT) states that if a real-valued function is continuous on a closed, bounded interval , then must attain both an absolute (global) maximum and an absolute (global) minimum at least once on . These absolute extrema must occur either at an interior critical number or at one of the boundary endpoints or .
The Candidates Test (or Closed Interval Method) operationalizes the EVT:
- Confirm is continuous on .
- Calculate and find all critical numbers lying strictly inside the open interval .
- Evaluate the original function at each interior critical number:
- Evaluate at the boundary endpoints: and .
- Identify the largest evaluated value as the absolute maximum and the smallest evaluated value as the absolute minimum on .
Monotonicity & The First Derivative Test
The sign of the first derivative characterizes the direction of a function's graph over an interval:
- If for all , then is strictly increasing on .
- If for all , then is strictly decreasing on .
- If for all , then is constant on .
The First Derivative Test classifies local extrema at a continuous critical number :
- Local Maximum: If changes sign from positive to negative as increases through (i.e., transitions from increasing to decreasing), then is a local maximum.
- Local Minimum: If changes sign from negative to positive as increases through (i.e., transitions from decreasing to increasing), then is a local minimum.
- No Local Extremum: If maintains the same sign on both sides of (positive to positive, or negative to negative), then is neither a local maximum nor a local minimum. For example, has , but for all , producing a stationary point of inflection rather than an extremum.
Concavity & Points of Inflection
While the first derivative dictates the slope of the tangent line, the second derivative dictates the rate of change of that slope, which defines the concavity of the curve:
- A differentiable function is concave upward on an open interval if is strictly increasing on . If on , the graph is concave upward, curving like an open cup . Tangent lines lie strictly below the curve.
- A differentiable function is concave downward on an open interval if is strictly decreasing on . If on , the graph is concave downward, curving like an inverted cup . Tangent lines lie strictly above the curve.
A point of inflection is a point on the curve where the concavity strictly changes sign (from upward to downward, or downward to upward) and where the function is continuous with a well-defined tangent line.
- A necessary condition for an inflection point on a twice-differentiable function is or does not exist.
- However, alone is not sufficient. For , , so . Yet for all ; because the concavity does not change sign across , is a local minimum, not a point of inflection.
The Second Derivative Test for Local Extrema
The Second Derivative Test uses curvature at a stationary critical point where :
- If and , then is concave downward at , meaning the horizontal tangent sits atop the curve. Thus, is a local maximum.
- If and , then is concave upward at , meaning the horizontal tangent sits below the curve. Thus, is a local minimum.
- If and (or does not exist), the test is inconclusive. The point may be a local maximum ( at ), a local minimum ( at ), or an inflection point ( at ). When this occurs, one must revert to the First Derivative Test.
Curve Sketching & Derivative Behavior Summary
| Derivative Condition | Geometric Curve Behavior | Classification / Feature |
|---|---|---|
| Slopes upward from left to right | Function is strictly increasing | |
| Slopes downward from left to right | Function is strictly decreasing | |
| or undefined; changes to | Peaks smoothly or sharply | Local (relative) maximum at |
| or undefined; changes to | Valleys smoothly or sharply | Local (relative) minimum at |
| Tangents lie below curve; slopes increasing | Concave upward () | |
| Tangents lie above curve; slopes decreasing | Concave downward () | |
| or undefined; changes sign | Curve transitions between and | Point of inflection at |
| and | Horizontal tangent with downward bowl | Local maximum confirmed |
| and | Horizontal tangent with upward bowl | Local minimum confirmed |
| and | Flat curvature at stationary point | Inconclusive; use First Derivative Test |
Applied Optimization: Systematic Analytical Methodology
Applied optimization problems require finding the absolute maximum or absolute minimum of a quantity modeled by a mathematical function subject to physical or economic constraints.
- Formulate Variables and Objective Function: Identify the target quantity to optimize (e.g., area, volume, cost, material surface area) and write an algebraic expression for it.
- Identify Constraint Equations: State the equations relating the auxiliary variables based on geometric, physical, or monetary conditions.
- Reduce to a Single Variable: Substitute the constraint into the objective function so that it depends on exactly one independent variable.
- Establish the Feasible Domain: Determine the physically and mathematically valid interval for the independent variable, taking note of whether the domain is closed or open .
- Differentiate & Locate Critical Numbers: Compute the first derivative of the single-variable objective function, set it equal to zero, and solve for critical values within the feasible domain.
- Verify Optimality: If the domain is closed, apply the Candidates Test. If the domain is an open interval with exactly one critical number, apply the Second Derivative Test or First Derivative Test to prove the critical value yields a global extremum.
Worked Exemplar: Optimization of a Cylindrical Container
Problem: A manufacturing engineer must design a closed right circular cylindrical container with a fixed volume of . Determine the radius and height that minimize the total surface area of the container, and compute this minimum surface area.
Step 1: Define the Objective Function and Constraint. Let denote the base radius and denote the height in centimeters.
- Volume constraint: .
- Objective: Minimize the total surface area consisting of the top, bottom, and lateral surface:
Step 2: Express the Objective Function in a Single Variable. Solve the volume constraint for the secondary variable :
Substitute into the surface area equation:
Because represents a physical length, the feasible domain is the open interval .
Step 3: Differentiate and Solve for Critical Numbers. Compute the first derivative with respect to :
Set to locate stationary critical numbers:
Multiply through by and divide by :
Step 4: Verify the Global Minimum via the Second Derivative Test. Differentiate to compute the second derivative:
Evaluate at the critical radius :
Because for all , the function is strictly concave upward across its entire domain. Therefore, is the unique absolute minimum.
Step 5: Determine Dimensions and Minimum Surface Area. Calculate the optimal container height:
Notice that , confirming the classic geometric result that a cylinder minimizing surface area for a fixed volume has a height equal to its diameter. Calculate the minimum surface area:
What are the absolute maximum and absolute minimum values of the polynomial function f(x) = 2x^3 - 9x^2 + 12x + 1 on the closed interval [0, 3]?
Absolute maximum = 6; Absolute minimum = 5
Absolute maximum = 10; Absolute minimum = 5
Absolute maximum = 10; Absolute minimum = 1
Absolute maximum = 6; Absolute minimum = 1
On which open interval is the function g(x) = 3x^5 - 5x^4 both strictly decreasing and concave downward?
(0, 1)
(-infinity, 0)
(1, 4/3)
(0, 4/3)
An open-top rectangular storage container is fabricated from a square sheet of metal measuring 24 inches on each side by cutting equal square corners of side length x inches and folding up the flaps. What cut length x maximizes the volume of the container, and what is the resulting maximum volume?
x = 6 inches; Maximum volume = 864 cubic inches
x = 4 inches; Maximum volume = 576 cubic inches
x = 8 inches; Maximum volume = 512 cubic inches
x = 4 inches; Maximum volume = 1,024 cubic inches
Suppose a function f is twice-differentiable on the real numbers, with f'(2) = 0 and f''(2) = 0. Which statement must be true regarding the point at x = 2?
The function f has a point of inflection at x = 2.
The Second Derivative Test is inconclusive at x = 2, so the point could be a local maximum, a local minimum, or an inflection point.
The function f has neither a local extremum nor a point of inflection at x = 2.
The function f has a local minimum at x = 2 because f''(2) is non-negative.
Sections you finish are checked off in the contents.