SECTION 1
Historical Context & Motivation
Finding the highest and lowest points on a curve is one of the oldest problems in mathematics. Ancient Greek mathematicians like Euclid studied maximum and minimum distances, but they lacked a systematic tool for locating peaks and valleys of arbitrary functions. The development of calculus in the 17th century finally gave mathematicians the language they needed. The First Derivative Test grew directly out of the realization that the slope of a curve tells you whether the function is climbing uphill or sliding downhill — and a change in that direction signals a peak or a valley.
1637 • Fermat's Method of Adequality
1684 • Leibniz Publishes Calculus
1740s • Euler Systematizes Optimization
1797 • Lagrange's Théorie des Fonctions
The central question that motivated all of this work remains the same question you'll tackle in this lesson: given a smooth function, how can you determine exactly where its relative maximum and relative minimum values occur, without having to graph every single point?
SECTION 2
Core Principles & Definitions
Before diving into the test itself, you need a few key definitions. A critical number of a function f is any value c in the domain of f where f ʹ(c) = 0 or f ʹ(c) does not exist. Critical numbers are the only candidates where relative extrema can occur. A relative (local) maximum occurs at x = c when f(c) is greater than all nearby function values, and a relative (local) minimum occurs when f(c) is less than all nearby function values.
Critical Numbers
Sign of f ʹ(x)
Relative Maximum
Relative Minimum
No Extremum
KEY TAKEAWAY
SECTION 3
Visual Explanation
The diagram below shows a function with two critical numbers. At the first critical number, the derivative changes from positive (increasing) to negative (decreasing), producing a relative maximum. At the second, the derivative changes from negative to positive, producing a relative minimum. Notice how the tangent lines (shown in color) rotate from positive slope to zero to negative slope around the hilltop, and from negative slope to zero to positive slope around the valley.
SECTION 4
Mathematical Framework
The First Derivative Test is stated formally as follows. Suppose c is a critical number of a continuous function f. Then we examine the sign of f ʹ(x) on each side of c to classify the critical point.
FINDING CRITICAL NUMBERS
Solve the equation f ʹ(x) = 0 for x. Also check where f ʹ(x) does not exist (such as cusps or corners). Each solution that lies in the domain of f is a critical number.
RELATIVE MAXIMUM CONDITION
If f ʹ(x) > 0 for x just to the left of c and f ʹ(x) < 0 for x just to the right of c, the function switches from increasing to decreasing. The point (c, f(c)) is a hilltop.
RELATIVE MINIMUM CONDITION
If f ʹ(x) < 0 for x just to the left of c and f ʹ(x) > 0 for x just to the right of c, the function switches from decreasing to increasing. The point (c, f(c)) is a valley.
NO EXTREMUM CONDITION
If f ʹ(x) keeps the same sign on both sides of c, the function is still increasing (or still decreasing) through c. For example, f(x) = x³ has f ʹ(0) = 0 but no extremum at x = 0.
Common Pitfall
SECTION 5
Building a Sign Chart
A sign chart (sometimes called a sign diagram) is the practical tool you'll use every time you apply the First Derivative Test. The idea is simple: once you find the critical numbers, you place them on a number line and then test a sample point in each interval to determine whether f ʹ is positive or negative there. The transitions from "+" to "−" and vice versa tell you exactly what type of extremum, if any, occurs at each critical number.
- Step 1: Find f ʹ(x) and set it equal to zero (or locate where it is undefined) to get the critical numbers.
- Step 2: Place the critical numbers on a number line, dividing it into intervals.
- Step 3: Pick one test value in each interval and evaluate f ʹ at that value to determine the sign (+ or −).
- Step 4: Read the sign changes: + → − means relative max; − → + means relative min; no sign change means no extremum.
- Step 5: Evaluate f(c) at each critical number to find the actual y-coordinate of the extremum.
SECTION 6
Worked Example
Let's apply the First Derivative Test to find all relative extrema of f(x) = 2x³ + 3x² − 12x + 1.
Finding Relative Extrema of f(x) = 2x³ + 3x² − 12x + 1
- 1
Step 1 — Compute the First Derivative
Differentiate f(x) = 2x³ + 3x² − 12x + 1 using the power rule. Each term is differentiated independently: d/dx(2x³) = 6x², d/dx(3x²) = 6x, d/dx(−12x) = −12, and d/dx(1) = 0.f ʹ(x) = 6x² + 6x − 12 - 2
Step 2 — Find the Critical Numbers
Set f ʹ(x) = 0 and solve: 6x² + 6x − 12 = 0. Factor out 6 to get 6(x² + x − 2) = 0, then factor the quadratic: 6(x + 2)(x − 1) = 0. The solutions are x = −2 and x = 1. Since f ʹ is a polynomial, it exists everywhere, so these are the only critical numbers.Critical numbers: x = −2 and x = 1 - 3
Step 3 — Build the Sign Chart
The critical numbers divide the number line into three intervals: (−∞, −2), (−2, 1), and (1, ∞). Choose test points x = −3, x = 0, and x = 2. Evaluate: f ʹ(−3) = 6(9) + 6(−3) − 12 = 54 − 18 − 12 = 24 > 0. f ʹ(0) = 0 + 0 − 12 = −12 < 0. f ʹ(2) = 6(4) + 6(2) − 12 = 24 + 12 − 12 = 24 > 0.Signs: +, −, + across the three intervals - 4
Step 4 — Apply the First Derivative Test
At x = −2, f ʹ changes from positive to negative (+ → −), so f has a relative maximum at x = −2. At x = 1, f ʹ changes from negative to positive (− → +), so f has a relative minimum at x = 1.Relative max at x = −2; relative min at x = 1 - 5
Step 5 — Find the y-values
Substitute back into the original function. f(−2) = 2(−8) + 3(4) − 12(−2) + 1 = −16 + 12 + 24 + 1 = 21. f(1) = 2(1) + 3(1) − 12(1) + 1 = 2 + 3 − 12 + 1 = −6.Relative maximum value: f(−2) = 21. Relative minimum value: f(1) = −6.
SECTION 7
Strengths & Limitations
The First Derivative Test is powerful, but like any tool it has specific strengths and limitations. Understanding these will help you choose the best strategy for any given problem.
| Feature | Strengths | Limitations |
|---|---|---|
| Applicability | Works even when f ʹ(c) does not exist (cusps, corners), as long as f is continuous at c. | Requires continuity at the critical number. If f has a discontinuity at c, the test doesn't apply directly. |
| Information Provided | Tells you whether f is increasing or decreasing on each interval — gives a full picture of the function's behavior. | Only identifies relative (local) extrema, not absolute (global) extrema. You need the Closed Interval Method for absolute extrema on [a, b]. |
| Ease of Use | Only requires the first derivative — no need to compute f ʹʹ(x), which can be complicated for some functions. | Requires testing a point in every interval, which can be tedious if there are many critical numbers. |
| Conclusiveness | Always gives a definitive answer at each critical number — max, min, or neither. | Doesn't provide concavity information. For that, you need the Second Derivative Test or additional analysis. |
Comparing the strengths and limitations of the First Derivative Test
WHEN TO USE WHICH TEST
SECTION 8
Connection to Advanced Topics
The First Derivative Test is your entry point into a family of optimization techniques that grow more sophisticated as you advance in mathematics. Here's how it connects to what comes next.
| First Derivative Test | Advanced Extension |
|---|---|
| Uses sign changes in f ʹ to classify local extrema. | The Second Derivative Test uses the sign of f ʹʹ(c) to classify critical points without testing intervals, though it can be inconclusive. |
| Applies to single-variable functions f(x). | In multivariable calculus, the gradient ∇f = 0 locates critical points, and the Hessian matrix (second-order partial derivatives) classifies them. |
| Identifies relative extrema on open intervals. | The Extreme Value Theorem and the Closed Interval Method extend the analysis to find absolute extrema on closed intervals [a, b]. |
| Answers: where does f have local highs and lows? | Optimization word problems combine the First Derivative Test with modeling to answer real-world questions like "What dimensions maximize area?" |
How the First Derivative Test connects to more advanced calculus topics
Mastering the First Derivative Test now gives you a rock-solid foundation for all of these topics. Every optimization problem you'll encounter in AP Calculus begins with the same core steps you've learned here: find the derivative, locate critical numbers, and analyze sign changes.
SECTION 9
Practice Problems
Question 1: CONCEPTUAL
Show answer
Question 2: BASIC CALCULATION
Show answer
Question 3: INTERMEDIATE
Show answer
Question 4: APPLIED
Show answer
Question 5: CRITICAL THINKING
Show answer
SUMMARY
Lesson Summary
Summary
The First Derivative Test is a systematic method for classifying critical numbers as relative maxima, relative minima, or neither. The process starts by computing f ʹ(x) and solving f ʹ(x) = 0 (or finding where f ʹ is undefined) to locate all critical numbers. You then build a sign chart by testing a sample point in each interval between critical numbers to determine whether f ʹ is positive (increasing) or negative (decreasing).
A sign change from positive to negative at a critical number means f has a relative maximum there, while a change from negative to positive signals a relative minimum. If there is no sign change, the critical number is not an extremum. This test works even at points where the derivative does not exist, making it more versatile than the Second Derivative Test in many situations.