6.3 Applications of Derivatives: Curve Sketching, Extrema & Optimization

Key Takeaways

  • A critical point c in the domain of f occurs where f'(c) = 0 or f'(c) does not exist; Fermat's Theorem guarantees that local extrema can occur only at critical points, though not all critical points are extrema.
  • The First Derivative Test identifies intervals of increase (f' > 0) and decrease (f' < 0); a critical point c is a local maximum if f' changes from positive to negative, and a local minimum if f' changes from negative to positive.
  • The Second Derivative Test analyzes concavity (f'' > 0 concave up, f'' < 0 concave down) and points of inflection where concavity changes sign; for f'(c) = 0, f''(c) < 0 indicates a local maximum, f''(c) > 0 indicates a local minimum, and f''(c) = 0 is inconclusive.
  • The Extreme Value Theorem (EVT) guarantees absolute extrema for continuous functions on closed bounded intervals [a, b], identified using the Candidates Test across interior critical points and interval boundaries.
  • Applied optimization requires formulating an objective function, eliminating auxiliary variables via constraints, determining the realistic feasible domain, and rigorously verifying global optimality using derivative tests or boundary evaluations.
Last updated: September 2026

6.3 Applications of Derivatives: Curve Sketching, Extrema & Optimization

Differential calculus provides the analytical framework for curve sketching, functional analysis, and applied optimization. By analyzing the signs, zeros, and discontinuities of first and second derivatives, mathematicians and secondary students can construct precise qualitative sketches of complex functions without relying on point-by-point graphing technology. Furthermore, the synthesis of theoretical existence theorems (the Extreme Value Theorem, Rolle's Theorem, and the Mean Value Theorem) enables the exact resolution of real-world optimization problems across engineering, economics, and physical sciences.


1. Critical Points, Monotonicity & The First Derivative Test

The Definition of a Critical Point

[!IMPORTANT] Definition (Critical Point): A number $c$ in the domain of a function $f$ is a critical point (or critical number) if and only if: f(c)=0orf(c) does not existf'(c) = 0 \quad \text{or} \quad f'(c) \text{ does not exist}

A crucial domain requirement is that $c$ must be an element of $\operatorname{dom}(f)$. For example, consider $f(x) = \frac{1}{x}$. Its derivative is $f'(x) = -\frac{1}{x^2}$. While $f'(0)$ does not exist, $x = 0$ is not a critical point of $f$ because $0 \notin \operatorname{dom}(f)$; $x = 0$ is a vertical asymptote.

Fermat's Theorem on Stationary Points

Fermat's Theorem establishes that if $f$ has a local extremum (local maximum or local minimum) at $x = c$, and $f'(c)$ exists, then $f'(c) = 0$. Consequently, local extrema can occur only at critical points. However, the converse is false: the existence of a critical point does not guarantee an extremum. For instance, $f(x) = x^3$ has $f'(0) = 0$, but $x = 0$ is an inflection point, not an extremum.

Intervals of Increase and Decrease (Monotonicity)

The sign of the first derivative reveals whether a differentiable function is rising or falling:

  • If $f'(x) > 0$ for all $x \in (a, b)$, then $f$ is strictly increasing on $[a, b]$.
  • If $f'(x) < 0$ for all $x \in (a, b)$, then $f$ is strictly decreasing on $[a, b]$.

Proof via the Mean Value Theorem: Choose any $x_1, x_2 \in [a, b]$ with $x_1 < x_2$. By MVT, there exists $c \in (x_1, x_2)$ such that $f(x_2) - f(x_1) = f'(c)(x_2 - x_1)$. If $f'(c) > 0$, then because $(x_2 - x_1) > 0$, we have $f(x_2) - f(x_1) > 0 \implies f(x_2) > f(x_1)$, proving $f$ is strictly increasing.

The First Derivative Test for Local Extrema

Let $c$ be a critical point of a function $f$ that is continuous on an open interval containing $c$:

  1. Local Maximum: If $f'(x)$ changes sign from positive ($+$) to negative ($-$) at $c$ as $x$ increases from left to right, then $f(c)$ is a local maximum.
  2. Local Minimum: If $f'(x)$ changes sign from negative ($-$) to positive ($+$) at $c$ as $x$ increases from left to right, then $f(c)$ is a local minimum.
  3. No Extremum: If $f'(x)$ does not change sign at $c$ (remains positive on both sides or negative on both sides), then $f(c)$ is neither a local maximum nor a local minimum.

2. Concavity, Points of Inflection & The Second Derivative Test

While the first derivative tracks the rate of change of the function, the second derivative tracks the rate of change of the slope, defining concavity.

Analytical Definition of Concavity

  • A function $f$ is concave up on an open interval $(a, b)$ if $f'$ is strictly increasing on $(a, b)$. If $f''(x) > 0$ on $(a, b)$, $f$ is concave up. Geometrically, the curve bends upward, lying entirely above its tangent lines and below its secant chords.
  • A function $f$ is concave down on an open interval $(a, b)$ if $f'$ is strictly decreasing on $(a, b)$. If $f''(x) < 0$ on $(a, b)$, $f$ is concave down. Geometrically, the curve bends downward, lying entirely below its tangent lines and above its secant chords.

Points of Inflection

[!IMPORTANT] Definition (Point of Inflection): A point $(c, f(c))$ on a curve is a point of inflection if and only if:

  1. $f$ is continuous at $x = c$, and
  2. The curve changes concavity across $x = c$ (from concave up to concave down, or vice versa).

For a twice-differentiable function, a necessary condition for an inflection point is $f''(c) = 0$ or $f''(c)$ does not exist. However, this condition is not sufficient. For example, $f(x) = x^4$ has $f''(x) = 12x^2$, so $f''(0) = 0$. However, $12x^2 > 0$ for all $x \ne 0$; because the sign of $f''$ does not change, $(0, 0)$ is not an inflection point.

The Second Derivative Test for Local Extrema

Suppose $f''$ is continuous on an open interval containing $c$, and $f'(c) = 0$:

  • If $f''(c) < 0$, the graph is concave down at $c$, so $f(c)$ is a local maximum.
  • If $f''(c) > 0$, the graph is concave up at $c$, so $f(c)$ is a local minimum.
  • If $f''(c) = 0$ or $f''(c)$ fails to exist, the Second Derivative Test is inconclusive. The First Derivative Test must be employed.

3. Theoretical Existence Theorems: Rolle's, MVT & EVT

Rigorous calculus is anchored by three major theoretical existence theorems:

Rolle's Theorem

Let $f$ be a function that satisfies three conditions:

  1. Continuous on the closed interval $[a, b]$,
  2. Differentiable on the open interval $(a, b)$, and
  3. $f(a) = f(b)$. Then there exists at least one number $c \in (a, b)$ such that $f'(c) = 0$.

The Mean Value Theorem (MVT)

Rolle's Theorem generalizes directly to the Mean Value Theorem by rotating the coordinate axes:

Theorem (The Mean Value Theorem): If $f$ is continuous on the closed interval $[a, b]$ and differentiable on the open interval $(a, b)$, then there exists at least one number $c \in (a, b)$ such that: f(c)=f(b)f(a)baf'(c) = \frac{f(b) - f(a)}{b - a}

Geometrically, the MVT asserts that there exists at least one interior point $c$ where the instantaneous rate of change (tangent line slope) equals the average rate of change over the interval (secant line slope). In kinematics, if a car travels 140 miles in 2 hours on a toll road, its average speed is 70 mph; by the MVT, the speedometer registered exactly 70 mph at least once during the trip.

The Extreme Value Theorem (EVT) & The Candidates Test

Theorem (Extreme Value Theorem - EVT): If $f$ is continuous on a closed, bounded interval $[a, b]$, then $f$ attains both an absolute (global) maximum and an absolute (global) minimum on $[a, b]$.

To find these absolute extrema, use the Closed Interval Method (Candidates Test):

  1. Find all critical points of $f$ located strictly inside the open interval $(a, b)$.
  2. Evaluate $f(x)$ at each interior critical point.
  3. Evaluate $f(x)$ at both boundary endpoints $x = a$ and $x = b$.
  4. The largest of these values is the absolute maximum; the smallest is the absolute minimum.

4. Applied Optimization: A Structured Methodology

Optimization translates qualitative real-world objectives into mathematical extrema. Accomplished educators teach a disciplined six-stage problem-solving protocol:

+-----------------------------------------------------------------------------+
|                   SIX-STAGE OPTIMIZATION METHODOLOGY                        |
|                                                                             |
|   1. Diagram & Variables: Sketch the scenario and label all quantities.     |
|   2. Objective Function: Formulate equation for quantity to maximize/minimize.|
|   3. Constraint Equation: Identify relationships between auxiliary variables.|
|   4. Single-Variable Formulation: Substitute constraint into objective func.|
|   5. Feasible Domain: Establish physical boundaries (e.g., length > 0).     |
|   6. Calculus Optimization: Find critical points and test endpoints.        |
+-----------------------------------------------------------------------------+

Comprehensive Worked Example: The Classical Agricultural Pen

A farmer has 1200 meters of fencing to enclose a rectangular pasture adjacent to a long straight stone wall (no fencing needed along the wall) and divide it into two equal pens with an internal fence perpendicular to the wall. What dimensions maximize the total enclosed area?

  1. Variables: Let $x$ be the width perpendicular to the wall, and $y$ be the length parallel to the wall.
  2. Objective Function: Maximize total area $A = x \cdot y$.
  3. Constraint Equation: Three fence sections of length $x$ (two outer boundaries + one dividing fence) plus one length $y$: $3x + y = 1200 \implies y = 1200 - 3x$.
  4. Single-Variable Function: $A(x) = x(1200 - 3x) = 1200x - 3x^2$.
  5. Feasible Domain: Both dimensions must be non-negative: $x \ge 0$ and $y = 1200 - 3x \ge 0 \implies 3x \le 1200 \implies x \le 400$. Feasible closed domain: $[0, 400]$.
  6. Calculus Evaluation:
    • Differentiate: $A'(x) = 1200 - 6x$.
    • Set $A'(x) = 0$: $6x = 1200 \implies x = 200$ meters.
    • Second derivative test: $A''(x) = -6 < 0$ (concave down everywhere, confirming a global maximum).
    • Check Candidates: $A(0) = 0$, $A(400) = 0$, $A(200) = 200(600) = 120,000\text{ m}^2$.
    • Dimensions: Width $x = 200$ meters, Length $y = 1200 - 3(200) = 600$ meters.

5. Secondary Pedagogical Traps & Instructional Interventions

Misconception 1: Assuming Every Critical Point Must Yield an Extremum

Students frequently find points where $f'(x) = 0$ and immediately conclude without testing that they have discovered a local maximum or minimum.

  • Pedagogical Intervention: Showcase the classic polynomial $f(x) = x^3$. Its derivative $f'(x) = 3x^2$ has a critical point at $x = 0$. However, $3x^2 > 0$ for all $x \ne 0$. Because $f'$ does not change sign, $f$ is strictly increasing across $x = 0$. Have students construct first derivative sign charts (+ | +) to verify that a sign change is mandatory for an extremum.

Misconception 2: Confusing Local Extrema with Absolute Extrema in Optimization

In applied optimization, students often locate a local extremum via $f'(x) = 0$ and fail to check the boundary endpoints of the feasible domain, or conversely, assume that the highest local peak is necessarily the global maximum on an unbounded domain.

  • Pedagogical Intervention: Emphasize the Candidates Test. Present functions on closed intervals where the absolute maximum occurs at an endpoint rather than an interior critical point (e.g., $f(x) = x^2$ on $[-1, 3]$ has critical point $x = 0$ with $f(0) = 0$, but the absolute maximum is $f(3) = 9$). Train students to always state the domain explicitly and compare interior critical values directly against boundary evaluations.

Misconception 3: Setting $f''(x) = 0$ as the Sole Criterion for an Inflection Point

Students routinely equate $f''(c) = 0$ with an inflection point without verifying that the concavity actually changes sign across $c$.

  • Pedagogical Intervention: Examine $f(x) = x^4$, where $f''(x) = 12x^2$. Here $f''(0) = 0$, but $12x^2 \ge 0$ for all $x \in \mathbb{R}$. The curve is concave up on $(-\infty, 0)$ and concave up on $(0, \infty)$. Because no concavity change occurs, $(0, 0)$ is an absolute minimum, not an inflection point. Require students to construct a second derivative sign chart verifying a true sign change before declaring an inflection point.
Loading diagram...
Extrema, Concavity & Curve Analysis Workflow
Test Your Knowledge

What are the absolute maximum and absolute minimum values of the polynomial function f(x) = 2x³ - 3x² - 12x + 5 on the closed interval [-2, 4]?

A
B
C
D
Test Your Knowledge

Consider the cubic function f(x) = x³ - 3x on the interval [0, 3]. The Mean Value Theorem guarantees the existence of a number c ∈ (0, 3) such that f'(c) equals the average rate of change of f over [0, 3]. What is the exact value of c?

A
B
C
D
Test Your Knowledge

A farmer has 1200 meters of fencing to construct a rectangular pasture adjacent to a long straight stone wall (requiring no fence along the wall) and subdivide it into two equal pens with an internal dividing fence perpendicular to the wall. Which dimensions maximize the total enclosed area?

A
B
C
D