AP CALCULUS BC • ANALYTICAL APPLICATIONS OF DIFFERENTIATION

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

Classify critical points as local maxima, minima, or neither by analyzing the sign behavior of the first derivative.

Historical Context & Motivation

The quest to find the highest and lowest values of a quantity is one of the oldest problems in mathematics, predating formal calculus by centuries. Ancient Greek geometers, most notably Euclid and Apollonius, investigated extremal properties of curves using purely geometric arguments—for instance, proving that the circle encloses the maximum area for a given perimeter. However, these proofs were bespoke constructions, limited to specific problems and lacking a general algorithmic framework. The development of calculus in the seventeenth century finally provided that framework, transforming optimization from a collection of clever tricks into a systematic discipline built on the concept of the derivative.

1637
Fermat's Method of Adequality
Pierre de Fermat developed a proto-derivative technique called "adequality," in which he compared f(x) to f(x + e) and let e vanish to locate points where a function attains extreme values. This anticipated the critical-point condition f ′(x) = 0 by several decades.
1684
Leibniz Publishes His Calculus
Gottfried Wilhelm Leibniz published the first formal rules of differentiation, introducing the dy/dx notation. His framework allowed systematic computation of derivatives and set the stage for a general test of increasing and decreasing behavior.
1691
Rolle's Theorem
Michel Rolle proved that between two roots of a polynomial there exists a point where the derivative vanishes. This theorem is a precursor to the Mean Value Theorem and formalizes the intuition that a function must "turn around" between equal values.
1740s
Euler's Systematic Optimization
Leonhard Euler applied the derivative sign-change criterion routinely in his work on curves, mechanics, and variational problems. His systematic use of f ′ changing sign at a critical point is essentially the First Derivative Test in modern form.
1823
Cauchy's Rigorous Foundations
Augustin-Louis Cauchy placed the derivative on rigorous epsilon-delta footing and formally stated the First Derivative Test as a theorem, distinguishing it from the Second Derivative Test and establishing the logical hierarchy still taught today.

The central question the First Derivative Test addresses is deceptively simple: given a function f that is continuous on an interval and has a critical point at x = c (where f ′(c) = 0 or f ′(c) does not exist), how can we determine whether that critical point corresponds to a local maximum, a local minimum, or neither? Unlike the Second Derivative Test, which requires f ″(c) to exist and be nonzero, the First Derivative Test works in every situation—even where the second derivative fails to exist or equals zero—making it the most universally applicable tool for classifying extrema in single-variable calculus.

Core Principles & Definitions

Before applying the First Derivative Test, you must command a precise understanding of the underlying definitions. A critical number of a function f is a value c in the domain of f at which f ′(c) = 0 or f ′(c) does not exist. Critical numbers are the only candidates for local extrema on the interior of an interval—a consequence of Fermat's Theorem, which states that if f has a local extremum at an interior point c and f ′(c) exists, then f ′(c) = 0. The First Derivative Test refines this by examining the sign of f ′ on each side of a critical number to determine whether the function actually attains a local extremum there.

1

Critical Number

A value c in the domain of f where f ′(c) = 0 or f ′(c) does not exist. Every local extremum on an open interval occurs at a critical number, but not every critical number yields an extremum.
2

Sign Change (+ to −)

If f ′ changes from positive to negative at c, the function transitions from increasing to decreasing, producing a local maximum at (c, f(c)).
3

Sign Change (− to +)

If f ′ changes from negative to positive at c, the function transitions from decreasing to increasing, producing a local minimum at (c, f(c)).
4

No Sign Change

If f ′ does not change sign at c (remains positive on both sides or negative on both sides), then f has neither a local maximum nor a local minimum at c, even though c is a critical number.
KEY TAKEAWAY
Think of the derivative's sign as the slope of a hiking trail. A local maximum is a hilltop: the trail goes up (f ′ > 0) on your approach and then descends (f ′ < 0) on the far side. A local minimum is a valley floor: the trail descends toward it and then climbs away. If the trail keeps going uphill on both sides of a flat spot—like a brief level stretch on an otherwise steady ascent—there is no extremum, even though the slope momentarily equals zero.

Visual Explanation

The violet curve represents a continuous function with several critical points. At the leftmost critical point, f ′ changes from positive (increasing) to negative (decreasing), producing a local maximum. At the valley, f ′ changes from negative to positive, producing a local minimum. Observe how the sign of the derivative on each side of a critical point completely determines the classification.

The diagram above captures the essential logic of the First Derivative Test in a single visual. Notice that the classification depends entirely on the transition in sign of f ′ as you cross the critical number from left to right—not on the value of f at the critical point, nor on the magnitude of f ′ elsewhere. A critical number where f ′ changes from positive to negative marks a hilltop on the graph (local maximum), while a change from negative to positive marks a valley (local minimum). If f ′ has the same sign on both sides, the critical number corresponds to a horizontal tangent or cusp where the function merely pauses in its monotonic trend, yielding no extremum.

Mathematical Framework

The First Derivative Test can be stated precisely as a theorem. Suppose f is continuous on an open interval containing c and that c is a critical number of f (meaning f ′(c) = 0 or f ′(c) does not exist). The theorem provides three mutually exclusive conclusions based on the sign behavior of f ′ in a punctured neighborhood of c.

CONDITION FOR LOCAL MAXIMUM
If f ′(x) > 0 for x in (a, c) and f ′(x) < 0 for x in (c, b), then f(c) is a local maximum.
Here (a, b) is an open interval containing c. The derivative transitions from positive (function increasing) to negative (function decreasing).
CONDITION FOR LOCAL MINIMUM
If f ′(x) < 0 for x in (a, c) and f ′(x) > 0 for x in (c, b), then f(c) is a local minimum.
The derivative transitions from negative (function decreasing) to positive (function increasing).
NO EXTREMUM CONDITION
If f ′(x) has the same sign on both sides of c, then f(c) is not a local extremum.
This case arises, for example, at x = 0 for f(x) = x³ where f ′(x) = 3x² ≥ 0 on both sides.

Step-by-Step Procedure

  1. Step 1: Compute f ′(x).
  2. Step 2: Find all critical numbers by solving f ′(x) = 0 and identifying values where f ′(x) does not exist (but f(x) is defined).
  3. Step 3: Partition the domain into intervals using the critical numbers.
  4. Step 4: Choose a test value in each interval and evaluate the sign of f ′ at that test value.
  5. Step 5: Apply the First Derivative Test: classify each critical number as a local max, local min, or neither based on the sign changes.
⚠️ Important Subtlety
The First Derivative Test requires f to be continuous at c. If f has a discontinuity at a critical number, the test does not directly apply. Also, remember that the test classifies relative (local) extrema, not absolute extrema. A local maximum could have a function value smaller than a local minimum elsewhere on a different interval.

Sign Charts & Interval Analysis

A sign chart (also called a sign diagram or number-line analysis) is the primary organizational tool for applying the First Derivative Test efficiently. It compresses all the information about the derivative's sign into a compact visual format that makes the classification of each critical number immediate. While the AP Calculus exam does not award credit for the sign chart alone—you must always justify your conclusion with a sentence referencing the sign change—the chart is an indispensable scratch-work device that prevents algebraic errors and keeps your analysis organized.

A complete sign chart for f(x) = x³ − 6x² + 9x + 2. The critical numbers x = 1 and x = 3 partition the real line into three intervals. Test values confirm the sign of f ′ on each interval, and the sign changes directly determine the classification: local maximum at x = 1 (+ to −) and local minimum at x = 3 (− to +).

When constructing a sign chart, a useful efficiency technique is to factor f ′(x) completely and then track the sign of each factor across intervals. For the derivative f ′(x) = 3(x − 1)(x − 3) shown above, the constant factor 3 is always positive, the factor (x − 1) is negative for x < 1 and positive for x > 1, and the factor (x − 3) is negative for x < 3 and positive for x > 3. Multiplying the signs of each factor gives the sign of the product on each interval without ever substituting test values—a strategy that is particularly powerful when the derivative has many factors or when the critical numbers are irrational.

📝 AP Exam Tip
On AP free-response questions, always write a justification sentence such as: "Because f ′ changes from positive to negative at x = c, f has a local maximum at x = c by the First Derivative Test." Simply drawing a sign chart without a verbal conclusion will not earn the justification point.

Worked Example

Let us apply the full procedure to find and classify all local extrema of the function f(x) = 2x⁴ − 4x² + 1. This polynomial has a derivative that factors cleanly, making it an excellent demonstration of the factoring-based sign chart approach.

Find all local extrema of f(x) = 2x⁴ − 4x² + 1
1
Step 1 — DifferentiateApply the power rule to each term: f ′(x) = 8x³ − 8x.
f ′(x) = 8x³ − 8x
2
Step 2 — Factor and Find Critical NumbersFactor completely: f ′(x) = 8x(x² − 1) = 8x(x − 1)(x + 1). Setting each factor equal to zero gives the critical numbers x = −1, x = 0, and x = 1. Since f is a polynomial, f ′ exists everywhere, so there are no additional critical numbers from undefined derivatives.
Critical numbers: x = −1, 0, 1
3
Step 3 — Build a Sign ChartThe critical numbers partition ℝ into four intervals: (−∞, −1), (−1, 0), (0, 1), and (1, ∞). Use test values to determine the sign of f ′ on each interval. For x = −2: f ′(−2) = 8(−2)(−3)(−1) = −48 < 0. For x = −0.5: f ′(−0.5) = 8(−0.5)(−1.5)(0.5) = 3 > 0. For x = 0.5: f ′(0.5) = 8(0.5)(−0.5)(1.5) = −3 < 0. For x = 2: f ′(2) = 8(2)(1)(3) = 48 > 0.
Signs: (−, +, −, +)
4
Step 4 — Apply the First Derivative TestAt x = −1: f ′ changes from negative to positive, so f has a local minimum. f(−1) = 2(1) − 4(1) + 1 = −1. At x = 0: f ′ changes from positive to negative, so f has a local maximum. f(0) = 1. At x = 1: f ′ changes from negative to positive, so f has a local minimum. f(1) = 2(1) − 4(1) + 1 = −1.
Local maximum at (0, 1); local minima at (−1, −1) and (1, −1)
5
Step 5 — Verify and InterpretThe function is an even-degree polynomial with positive leading coefficient, so it rises toward +∞ in both directions. The symmetry f(x) = f(−x) confirms that the two local minima share the same y-value. Note that this function has two distinct local minima and one local maximum—a reminder that a single function can possess multiple extrema of each type.

First Derivative Test vs. Second Derivative Test

Calculus offers two principal methods for classifying critical points: the First Derivative Test and the Second Derivative Test. While both accomplish the same goal, they differ in their hypotheses, computational requirements, and failure modes. Understanding when each test is preferable—and when one fails—is essential for efficient problem-solving on the AP exam.

Comparison of the two derivative tests for classifying critical points
CriterionFirst Derivative TestSecond Derivative Test
What you computeSign of f ′(x) on intervals around each critical numberValue of f ″(c) at each critical number where f ′(c) = 0
Hypothesesf continuous at c; f ′ defined near (but not necessarily at) cf ′(c) = 0 and f ″(c) exists and is nonzero
Handles f ′(c) DNE?Yes — works at cusps and cornersNo — requires f ′(c) = 0 as a starting hypothesis
Inconclusive caseNever inconclusive (always gives a definitive answer if the sign chart is complete)Inconclusive when f ″(c) = 0; must fall back on the First Derivative Test or higher-order tests
Computational costModerate — requires sign analysis on multiple intervalsLow — one evaluation of f ″ per critical number
Best used whenf ″ is hard to compute, f ′(c) DNE, or f ″(c) = 0f ″ is easy to compute and clearly nonzero at the critical number
KEY TAKEAWAY
Think of the First Derivative Test as a universal diagnostic tool—like a comprehensive blood panel—that always produces a definitive result but requires more data (signs on multiple intervals). The Second Derivative Test is like a quick spot-check that works most of the time but occasionally returns "inconclusive" and forces you back to the full workup. On the AP exam, default to the First Derivative Test whenever the problem says "justify" because it is never inconclusive.

Connections to Advanced Theory

The First Derivative Test is a gateway to several deeper ideas in AP Calculus BC and beyond. In the context of the AP curriculum, the most immediate extension is to absolute (global) extrema on closed intervals via the Candidates Test (Closed Interval Method), where you evaluate f at each critical number and at the endpoints, then compare. The First Derivative Test is also the theoretical backbone of optimization problems (related-rates max/min applications), where the justification that a critical point is actually a maximum or minimum relies on the sign change criterion.

From single-variable extrema to advanced optimization
This Lesson's ConceptAdvanced Extension
First Derivative Test (single-variable)Gradient test in multivariable calculus: classify critical points of f(x, y) using the discriminant D = f_xx f_yy − (f_xy)²
Sign chart on intervalsPhase-line analysis for autonomous differential equations dy/dt = g(y), where sign changes of g determine equilibrium stability
Local extrema on open intervalsGlobal extrema via the Extreme Value Theorem on closed intervals [a, b]; also, the Calculus of Variations (Euler–Lagrange equation) for functional extrema
f ′(c) = 0 as a necessary conditionKarush–Kuhn–Tucker (KKT) conditions in constrained optimization, generalizing Lagrange multipliers

Within the BC curriculum specifically, the First Derivative Test appears in parametric and polar contexts as well. When analyzing a curve given parametrically by x(t) and y(t), you can find local extrema of y as a function of x by examining sign changes of dy/dx = (dy/dt)/(dx/dt). Similarly, the test underpins the justification step in many AP free-response optimization problems—without it, you cannot confirm that a critical value of a constrained quantity is actually a maximum or minimum.

Practice Problems

1
Suppose f is continuous on (−∞, ∞) and f ′(c) = 0. The sign chart of f ′ shows that f ′(x) > 0 for x in (c − δ, c) and f ′(x) > 0 for x in (c, c + δ) for some δ > 0. Which of the following is true about f at x = c?
2
Let f(x) = x³ − 3x + 2. At which x-value does f have a local maximum?
3
Let g(x) = x²ᐟ³(x − 5). Find all local extrema of g using the First Derivative Test.
PROBLEM 4APPLIED
A particle moves along the x-axis so that its position at time t ≥ 0 is given by x(t) = t³ − 6t² + 9t + 1. (a) Find all values of t at which x(t) has a critical number. (1 point) (b) Construct a sign chart for x ′(t) and determine the intervals on which the particle moves to the right and the intervals on which it moves to the left. (2 points) (c) Using the First Derivative Test, classify each critical number as a local maximum or local minimum of the position function. Justify your answers. (2 points)
PROBLEM 5CRITICAL THINKING
Let f be a differentiable function on (−∞, ∞) with f ′(x) = (x² − 4)eˣ. (a) Find all critical numbers of f. (1 point) (b) Determine whether f has a local maximum, local minimum, or neither at each critical number. Justify your answer using the First Derivative Test. (2 points)

Lesson Summary

The First Derivative Test classifies each critical number of a continuous function f by examining the sign of f ′ on either side. A sign change from positive to negative produces a local maximum; a sign change from negative to positive produces a local minimum; and no sign change means no extremum at that critical number. The procedure involves computing f ′, finding all critical numbers, building a sign chart using test values, and writing a justification sentence for each classification.

Unlike the Second Derivative Test, which is inconclusive when f ″(c) = 0, the First Derivative Test always yields a definitive conclusion—making it the preferred tool on AP free-response questions that require justification. It applies even when f ′(c) does not exist (cusps, corners), extending its reach beyond smooth functions. Mastery of this test is foundational for optimization problems, the Candidates Test on closed intervals, and the analysis of particle motion along a line—all core topics in AP Calculus BC.

Varsity Tutors • AP Calculus BC • Using the First Derivative Test to Determine Relative (Local) Extrema