Home

Tutoring

Subjects

Live Classes

Study Coach

Essay Review

On-Demand Courses

Colleges

Games

Opening subject page...

Loading your content

  1. AP Calculus AB
  2. Connecting a Function, Its First Derivative, and Its Second Derivative

AP CALCULUS AB • ANALYTICAL APPLICATIONS OF DIFFERENTIATION

Connecting a Function, Its First Derivative, and Its Second Derivative

Understanding how f, f′, and f″ work together reveals the complete geometric story of any differentiable function.

SECTION 1

Historical Context & Motivation

The idea that a function's behavior can be dissected through successive rates of change is one of the most powerful insights in all of mathematics. Long before formal calculus existed, natural philosophers recognized that understanding motion required more than just knowing position—they needed to understand velocity (the rate of change of position) and acceleration (the rate of change of velocity). This physical intuition ultimately motivated the formal framework connecting a function to its first and second derivatives, a framework that remains central to optimization, curve sketching, and applied modeling across every scientific discipline.

1665–1666
Newton's Fluxions
Isaac Newton develops his method of fluxions during the plague years, defining first and second "fluxions" to describe velocity and acceleration of moving bodies, implicitly connecting f, f′, and f″.
1684
Leibniz Publishes Calculus Notation
Gottfried Wilhelm Leibniz publishes his differential calculus, introducing the dy/dx notation. His framework naturally extends to d²y/dx², making the hierarchy of derivatives notationally explicit.
1742
Maclaurin's Treatise on Fluxions
Colin Maclaurin rigorously connects the sign of the second derivative to the concavity of a curve, formalizing the geometric relationship between f″ and the shape of a graph.
1797
Lagrange's Théorie des Fonctions Analytiques
Joseph-Louis Lagrange introduces the prime notation f′(x), f″(x) and systematically connects the algebraic properties of successive derivatives to the geometric features of curves.
1823
Cauchy Formalizes the Mean Value Theorem
Augustin-Louis Cauchy provides rigorous proofs linking the sign of the first derivative to monotonicity and the second derivative to concavity, completing the analytical framework used in modern calculus courses.

The central question this topic addresses is deceptively simple: if you know information about one member of the trio—f, f′, or f″—what can you deduce about the other two? Mastering this interconnection is essential for the AP Calculus AB exam, where questions frequently present one graph or analytic expression and require you to reason about the others.

SECTION 2

Core Principles & Definitions

The relationship between a function and its derivatives rests on a few foundational principles. Each derivative layer reveals a different geometric property of the original function's graph. The first derivative encodes slope information—whether the function is rising or falling—while the second derivative encodes curvature information—whether the graph bends upward or downward. Together, these two derivative layers give a remarkably complete picture of the function's shape without requiring a graphing calculator.

1

Increasing / Decreasing Behavior

If f′(x) > 0 on an interval, then f is increasing there. If f′(x) < 0, f is decreasing. The sign of f′ directly determines the monotonic behavior of f.
2

Concavity

If f″(x) > 0, the graph of f is concave up (opens like a cup). If f″(x) < 0, the graph is concave down (opens like a cap). Concavity describes how the slope itself is changing.
3

Critical Points

A critical point occurs where f′(x) = 0 or f′(x) is undefined (and f is defined). These are candidate locations for local extrema—the graph's peaks and valleys.
4

Inflection Points

An inflection point occurs where f changes concavity—f″ changes sign. This corresponds to a local extremum of f′, meaning the slope of f reaches its steepest or shallowest rate at that point.
5

The Derivative Hierarchy

f″ is the derivative of f′, so f″ measures the rate of change of f′. A zero of f″ corresponds to a critical point of f′. A zero of f′ corresponds to a horizontal tangent on f. This chain of relationships is the backbone of the entire topic.
✦ KEY TAKEAWAY
Think of a car on a winding road. The function f(t) gives your position; f′(t) gives your velocity (how fast your position changes); and f″(t) gives your acceleration (how fast your velocity changes). When acceleration is positive, the car speeds up; when it's negative, the car decelerates. In exactly the same way, when f″ > 0 the slope of f is increasing, even if f itself might be decreasing. Keeping this physical analogy in mind prevents the most common sign-analysis errors on the AP exam.
SECTION 3

Visual Explanation: f, f′, and f″ Aligned

The most effective way to internalize the connections between a function and its derivatives is to examine all three graphs stacked vertically, sharing the same x-axis. In the diagram below, the top panel shows f(x), the middle panel shows f′(x), and the bottom panel shows f″(x). Vertical dashed lines mark the critical relationships: where f′ crosses zero, f has a local extremum; where f″ crosses zero, f has an inflection point.

Aligned Graphs of f, f′, and f″f(x)xlocal maxlocal mininflectioninflectionf′(x)xf′=0f′=0local min of f′local max of f′f″(x)xf″=0f″=0f″ < 0 → concave downf″ < 0f″ > 0 → concave up
The three panels share the same x-axis. Purple dashed lines mark where f′ = 0 (local extrema of f). Gold dashed lines mark where f″ = 0 (inflection points of f, which correspond to local extrema of f′).

Notice the cascade of information: everywhere f′ is positive (the cyan curve is above the x-axis), f is increasing (the purple curve rises). Where f′ passes through zero from positive to negative, f achieves a local maximum. Meanwhile, where f″ is negative (the pink curve is below the x-axis), f is concave down, and f′ is decreasing. The inflection points of f—marked in gold—occur precisely where f″ changes sign, which corresponds to extrema on the f′ graph. Training yourself to read vertically down these aligned panels is one of the most efficient strategies for the AP exam's graph-matching questions.

SECTION 4

Mathematical Framework

The analytical connections between f, f′, and f″ can be stated as precise theorems. These are the formal tools you'll use on both the multiple-choice and free-response sections of the AP exam. Each theorem translates a derivative sign condition into a geometric property of the original function.

INCREASING / DECREASING TEST
f′(x) > 0 on (a, b) ⟹ f is increasing on [a, b] | f′(x) < 0 on (a, b) ⟹ f is decreasing on [a, b]
The test requires f to be continuous on [a, b] and differentiable on (a, b). Increasing means for any x₁ < x₂ in the interval, f(x₁) < f(x₂).
FIRST DERIVATIVE TEST FOR LOCAL EXTREMA
f′ changes from + to − at c ⟹ f has a local maximum at c | f′ changes from − to + at c ⟹ f has a local minimum at c
Here c is a critical number of f. If f′ does not change sign at c, then c yields neither a local max nor a local min.
CONCAVITY TEST
f″(x) > 0 on (a, b) ⟹ f is concave up on (a, b) | f″(x) < 0 on (a, b) ⟹ f is concave down on (a, b)
Concave up means every tangent line lies below the curve; concave down means every tangent line lies above the curve. Equivalently, f′ is increasing when f″ > 0 and decreasing when f″ < 0.
SECOND DERIVATIVE TEST FOR LOCAL EXTREMA
f′(c) = 0 and f″(c) > 0 ⟹ local minimum at c | f′(c) = 0 and f″(c) < 0 ⟹ local maximum at c
If f″(c) = 0, the test is inconclusive—you must fall back on the First Derivative Test. This shortcut is especially efficient when computing f″(c) is faster than building a full sign chart.
📝 AP Exam Tip
When a free-response question asks you to justify that a function has a local maximum, simply stating "f′ changes sign" is insufficient. You must specify the direction: "f′ changes from positive to negative at x = c, so by the First Derivative Test, f has a local maximum at c." Citing the theorem by name and stating the sign change direction earns full credit.
SECTION 5

Sign Chart Methodology & Classification

The primary analytical tool for connecting f, f′, and f″ is the sign chart (also called a sign analysis or number-line test). A sign chart for f′ identifies the intervals on which f is increasing or decreasing and locates local extrema. A sign chart for f″ identifies concavity intervals and inflection points. When both sign charts are combined, every key feature of the original function's graph is determined. The following diagram illustrates the complete sign-analysis workflow for a single polynomial.

Sign Chart Analysis for f(x) = x³ − 3xf′(x) = 3x² − 3 = 3(x − 1)(x + 1) f″(x) = 6xf′ sign chartx = −1x = 1+−+f increasingf decreasingf increasinglocal maxlocal minf″ sign chartx = 0−+concave downconcave upinflection pointCombined SummaryIntervalf behaviorShape(−∞, −1)↑ increasingconcave down ∩(−1, 0)↓ decreasingconcave down ∩(0, 1)↓ decreasingconcave up ∪(1, ∞)↑ increasingconcave up ∪
Complete sign analysis for f(x) = x³ − 3x. The f′ chart reveals a local max at x = −1 and a local min at x = 1. The f″ chart identifies an inflection point at x = 0. The summary table combines both to describe the graph's shape on each sub-interval.

The summary table at the bottom of the diagram is the ultimate output of the analysis. By combining the signs of f′ and f″ on each sub-interval, you can determine not only whether f is rising or falling, but also the shape of the curve—whether it bends like a cup (concave up, ∪) or a cap (concave down, ∩). On the AP exam, this combined information is precisely what justification-based free-response questions demand.

The four possible combinations of f′ and f″ signs and their geometric meaning
Sign of f′Sign of f″Behavior of fShape Description
f′ > 0f″ > 0IncreasingRising, concave up — like the right side of a valley
f′ > 0f″ < 0IncreasingRising, concave down — like approaching a hilltop
f′ < 0f″ > 0DecreasingFalling, concave up — like approaching a valley floor
f′ < 0f″ < 0DecreasingFalling, concave down — like descending from a hilltop
SECTION 6

Worked Example

Let us perform a complete analysis of the function f(x) = x⁴ − 4x³ + 4x², identifying all critical points, local extrema, intervals of increase and decrease, concavity, and inflection points.

Complete Analysis of f(x) = x⁴ − 4x³ + 4x²

Step 1 — Find f′(x)

Differentiate f(x) = x⁴ − 4x³ + 4x² using the power rule: f′(x) = 4x³ − 12x² + 8x. Factor completely: f′(x) = 4x(x² − 3x + 2) = 4x(x − 1)(x − 2).
f′(x) = 4x(x − 1)(x − 2)

Step 2 — Identify Critical Points

Set f′(x) = 0: 4x(x − 1)(x − 2) = 0 gives x = 0, x = 1, and x = 2. Since f′ is a polynomial, it is defined everywhere, so these are the only critical numbers.
Critical points at x = 0, 1, 2

Step 3 — First Derivative Sign Chart

Test values in each interval. For x = −1: f′(−1) = 4(−1)(−2)(−3) = −24 < 0. For x = 0.5: f′(0.5) = 4(0.5)(−0.5)(−1.5) = 1.5 > 0. For x = 1.5: f′(1.5) = 4(1.5)(0.5)(−0.5) = −1.5 < 0. For x = 3: f′(3) = 4(3)(2)(1) = 24 > 0. So the sign pattern is: (−, +, −, +) on (−∞, 0), (0, 1), (1, 2), (2, ∞).
f′: − + − + → local min at x = 0, local max at x = 1, local min at x = 2

Step 4 — Find f″(x)

Differentiate f′(x) = 4x³ − 12x² + 8x: f″(x) = 12x² − 24x + 8. Factor: f″(x) = 4(3x² − 6x + 2). Apply the quadratic formula to 3x² − 6x + 2 = 0: x = (6 ± √(36 − 24)) / 6 = (6 ± √12) / 6 = 1 ± (√3)/3 ≈ 0.423 and 1.577.
f″(x) = 0 at x = 1 − √3/3 ≈ 0.423 and x = 1 + √3/3 ≈ 1.577

Step 5 — Second Derivative Sign Chart and Concavity

Test f″ on each sub-interval. f″(0) = 8 > 0, so f is concave up on (−∞, 1 − √3/3). f″(1) = 12 − 24 + 8 = −4 < 0, so f is concave down on (1 − √3/3, 1 + √3/3). f″(2) = 48 − 48 + 8 = 8 > 0, so f is concave up on (1 + √3/3, ∞). Since f″ changes sign at both values, both are inflection points.
Concave up on (−∞, 0.423) ∪ (1.577, ∞); concave down on (0.423, 1.577); inflection points at x ≈ 0.423 and x ≈ 1.577

Step 6 — Verify with the Second Derivative Test

As a check: f″(0) = 8 > 0, confirming x = 0 is a local minimum. f″(1) = −4 < 0, confirming x = 1 is a local maximum. f″(2) = 8 > 0, confirming x = 2 is a local minimum. These results agree with the First Derivative Test from Step 3.
All extrema confirmed: local min at (0, 0) and (2, 0); local max at (1, 1)
SECTION 7

Comparing the First and Second Derivative Tests

Students often wonder when to use the First Derivative Test versus the Second Derivative Test for classifying extrema. Both tests are valid, but each has situations where it is more efficient or more reliable. Understanding their relative strengths helps you choose the right tool during a timed exam and avoids errors in justification-based responses.

First Derivative Test vs. Second Derivative Test: when to use each
FeatureFirst Derivative TestSecond Derivative Test
What you checkSign change of f′ around cValue of f″(c)
Requirementf continuous at c, f′ exists near cf′(c) = 0 and f″ exists near c
Inconclusive caseNever inconclusive if f′ is analyzed properlyInconclusive when f″(c) = 0
Best used whenf″ is messy to compute, or when f′ is not differentiable at cf″(c) is easy to evaluate and is clearly nonzero
Provides concavity info?No — only determines increasing/decreasing changeYes — concavity at c is a byproduct
AP exam preferenceRequired whenever the question says "justify using the first derivative"Required whenever the question says "justify using the second derivative"
✦ KEY TAKEAWAY
Think of the two tests as two different instruments measuring the same weather. The First Derivative Test is like a barometer that tracks pressure trends over time—it always gives a definitive reading because it watches the sign change happen. The Second Derivative Test is like a snapshot of the pressure's rate of change at a single instant—faster to read but occasionally the reading is zero, and then you learn nothing. On the AP exam, default to the First Derivative Test unless the problem explicitly requests the second, or unless computing f″(c) is trivially easy.
SECTION 8

Connections to Advanced Topics

The f–f′–f″ framework you have mastered in this lesson is a springboard to several advanced topics that appear in AP Calculus BC and university-level analysis. The core logic—using derivative sign information to deduce geometric properties—generalizes naturally to higher-order derivatives, multivariable functions, and integral relationships.

How AB-level derivative analysis extends to BC and beyond
AP Calculus AB ConceptAdvanced Extension
Sign of f′ determines increasing/decreasing behaviorIn multivariable calculus, the gradient ∇f determines the direction of steepest ascent; its "sign" generalizes to directional derivatives
Second Derivative Test at a pointFor functions of two variables, the Hessian matrix (containing all second partial derivatives) and its determinant classify critical points as maxima, minima, or saddle points
Inflection points where f″ changes signHigher-order inflection analysis uses f‴, f⁴, etc. The first nonzero higher derivative of even order at c indicates a local extremum; odd order indicates inflection
f′ sign chart from analytic formulaIn AP Calculus BC, the same analysis applies to parametric curves (dy/dx = (dy/dt)/(dx/dt)) and polar curves
Connecting f and f′ graphicallyThe Fundamental Theorem of Calculus formalizes the reverse connection: f(x) = f(a) + ∫ₐˣ f′(t) dt, linking area under f′ to net change in f

Even within the AB curriculum, the connection between f and f′ is revisited when you study the Fundamental Theorem of Calculus. That theorem tells you that integration and differentiation are inverse processes—so when you accumulate (integrate) f′, you recover f up to a constant. This means every skill you've built analyzing f′ → f will directly transfer to interpreting accumulation functions of the form g(x) = ∫₀ˣ f(t) dt, a favorite free-response topic.

SECTION 9

Practice Problems

PROBLEM 1 — CONCEPTUAL
The graph of f′ (the derivative of a function f) is a continuous curve that is positive on (−3, 1) and negative on (1, 5). At x = 1, f′(1) = 0. Which of the following must be true?
PROBLEM 2 — BASIC CALCULATION
Let f(x) = 2x³ − 9x² + 12x − 4. Determine the intervals on which f is increasing and the intervals on which f is decreasing.
PROBLEM 3 — INTERMEDIATE
Let g be a twice-differentiable function. Suppose g′(3) = 0 and g″(3) = −5. Also, g′(x) > 0 for x < 3 and g′(x) < 0 for x > 3 on a neighborhood of x = 3. Which of the following is true?
PROBLEM 4 — APPLIED
A particle moves along a straight line with position function s(t) = t⁴ − 8t³ + 18t² for t ≥ 0, where s is in meters and t is in seconds. (a) Find all times t at which the particle changes direction. (b) On what interval(s) is the particle's velocity increasing? (c) Identify all inflection points of the position function and interpret them in the context of motion.
PROBLEM 5 — CRITICAL THINKING
Let f be a continuous function on [−2, 4] that is twice differentiable on (−2, 4). The table below gives selected values of f′ and f″. x: −1 0 1 2 3 f′(x): 4 0 −2 0 3 f″(x): −1 −3 0 5 2 (a) Identify all x-values in (−2, 4) at which f has a local extremum. Classify each as a local max or local min and justify your reasoning. (b) Identify all x-values in (−2, 4) at which f has an inflection point. Justify your reasoning.
SUMMARY

Summary & Review

The relationship between a function and its derivatives forms the analytical backbone of curve analysis. The first derivative f′ encodes slope and monotonicity: where f′ > 0, f increases; where f′ < 0, f decreases. Critical points occur where f′ = 0 or f′ is undefined, and the First Derivative Test classifies them as local maxima (f′ changes + to −) or local minima (f′ changes − to +) based on the sign change pattern.

The second derivative f″ reveals concavity: f″ > 0 means concave up, f″ < 0 means concave down. Inflection points occur where f″ changes sign, corresponding to extrema of f′. The Second Derivative Test provides a quick shortcut for classifying critical points—f′(c) = 0 with f″(c) > 0 yields a local min, and f″(c) < 0 yields a local max—but is inconclusive when f″(c) = 0. Mastering the interplay among f, f′, and f″ through sign charts and aligned graph reading is essential for both the multiple-choice and free-response portions of the AP Calculus AB exam.

Varsity Tutors • AP Calculus AB • Connecting a Function, Its First Derivative, and Its Second Derivative