Skip to content
🎯⭐ INTERACTIVE LESSON

The Second Derivative Test

Learn step-by-step with interactive practice!

The Second Derivative Test - Complete Interactive Lesson

Part 1: Understanding Concavity

∫ Concavity & Inflection Points

Part 1 of 7 — Understanding Concavity

🔑 Key Concept: The second derivative tells us about the shape of a curve — whether it bends upward (concave up) or downward (concave down).

📖 What Is Concavity?

f′′(x)>0  ⟹  concave up (cup shape, ∪)f''(x) > 0 \implies \text{concave up (cup shape, } \cup \text{)} f′′(x)<0  ⟹  concave down (cap shape, ∩)f''(x) < 0 \implies \text{concave down (cap shape, } \cap \text{)}

Interpretations

Concavityf′′f''f′f'Rate of Change
Up (∪\cup)>0> 0IncreasingSlopes increase
Down (∩\cap)<0< 0DecreasingSlopes decrease

Visual Test

  • Concave up: Tangent lines lie BELOW the curve
  • Concave down: Tangent lines lie ABOVE the curve
  • If you drive along the curve, you'd turn your steering wheel left (concave up) or right (concave down)

Example: f(x)=x3f(x) = x^3

f′′(x)=6xf''(x) = 6x

  • x<0x < 0: f′′<0f'' < 0 → concave down
  • x>0x > 0: f′′>0f'' > 0 → concave up
  • x=0x = 0: inflection point (concavity changes!)

Finding Intervals of Concavity

Step-by-Step Process

  1. Find f′′(x)f''(x)
  2. Set f′′(x)=0f''(x) = 0 and find where f′′f'' is undefined → candidate inflection points
  3. Test intervals: create a sign chart for f′′f''
  4. f′′>0f'' > 0 → concave up; f′′<0f'' < 0 → concave down

Example: f(x)=x4−6x2+1f(x) = x^4 - 6x^2 + 1

f′(x)=4x3−12xf'(x) = 4x^3 - 12x f′′(x)=12x2−12=12(x2−1)=12(x−1)(x+1)f''(x) = 12x^2 - 12 = 12(x^2 - 1) = 12(x-1)(x+1)

f′′(x)=0f''(x) = 0: x=−1,1x = -1, 1

Sign chart for f′′f'':

Intervalf′′f''Concavity
(−∞,−1)(-\infty, -1)++Up
(−1,1)(-1, 1)−-Down
(1,∞)(1, \infty)++Up

Concavity Basics 🎯

📌 Inflection Points

An inflection point is where concavity changes.

Requirements

  1. f′′(c)=0f''(c) = 0 or f′′(c)f''(c) is undefined
  2. f′′f'' changes sign at cc
  3. f(c)f(c) exists (point must be on the curve)

⚠️ f′′(c)=0f''(c) = 0 Does NOT Guarantee an Inflection Point!

f(x)=x4f(x) = x^4: f′′(x)=12x2f''(x) = 12x^2, f′′(0)=0f''(0) = 0

But f′′f'' does NOT change sign at 00 (it's positive on both sides).

So x=0x = 0 is NOT an inflection point.

Shortcut: If f′′f'' changes sign → inflection point. If f′′f'' doesn't change sign → not an inflection point.

AP Tip: When asked to "justify" an inflection point, you MUST show the sign change in f′′f''. Simply stating f′′(c)=0f''(c) = 0 is insufficient.

Find Inflection Points 🧮

1) f(x)=x3−3xf(x) = x^3 - 3x. Inflection point x-coordinate: (integer)

2) f(x)=x4−4x3f(x) = x^4 - 4x^3. Number of inflection points: (integer)

Concavity Concepts 🔽

Exit Quiz ✅

Part 2: The Second Derivative Test for Extrema

∫ Concavity & Inflection Points — Part 2

Part 2 of 7 — The Second Derivative Test for Extrema

📖 Second Derivative Test

At a critical point cc where f′(c)=0f'(c) = 0:

f′′(c)>0  ⟹  local minimum at c\boxed{f''(c) > 0 \implies \text{local minimum at } c} f′′(c)<0  ⟹  local maximum at c\boxed{f''(c) < 0 \implies \text{local maximum at } c} f′′(c)=0  ⟹  test is inconclusivef''(c) = 0 \implies \text{test is inconclusive}

Why It Works

  • f′(c)=0f'(c) = 0 and f′′(c)>0f''(c) > 0: curve is concave up at cc → ∪\cup shape → minimum
  • f′(c)=0f'(c) = 0 and f′′(c)<0f''(c) < 0: curve is concave down at cc → ∩\cap shape → maximum

Example: f(x)=x3−12x+1f(x) = x^3 - 12x + 1

f′(x)=3x2−12=3(x2−4)=0f'(x) = 3x^2 - 12 = 3(x^2 - 4) = 0 → x=±2x = \pm 2

f′′(x)=6xf''(x) = 6x

  • f′′(2)=12>0f''(2) = 12 > 0 → local min at x=2x = 2; f(2)=8−24+1=−15f(2) = 8 - 24 + 1 = -15
  • f′′(−2)=−12<0f''(-2) = -12 < 0 → local max at x=−2x = -2; f(−2)=−8+24+1=17f(-2) = -8 + 24 + 1 = 17

Second Derivative Test vs. First Derivative Test

FeatureFirst DTSecond DT
RequiresSign chart of f′f'Computing f′′f''
Always works?YesNo (inconclusive if f′′=0f''= 0)
SpeedSlower (test intervals)Faster (one computation)
InformationAlso finds increasing/decreasingOnly classifies critical points

When Second DT Fails

f(x)=x4f(x) = x^4: f′(0)=0f'(0) = 0, f′′(0)=0f''(0) = 0 → inconclusive!

Use First Derivative Test: f′=4x3f' = 4x^3 changes from −- to ++ → minimum.

AP Tip: If the second derivative test is inconclusive, explicitly state so and switch to the first derivative test.

Second Derivative Test 🎯

📌 Comprehensive Example

f(x)=3x4−4x3−12x2+5f(x) = 3x^4 - 4x^3 - 12x^2 + 5

f′(x)=12x3−12x2−24x=12x(x2−x−2)=12x(x−2)(x+1)f'(x) = 12x^3 - 12x^2 - 24x = 12x(x^2 - x - 2) = 12x(x-2)(x+1)

Critical points: x=−1,0,2x = -1, 0, 2

f′′(x)=36x2−24x−24f''(x) = 36x^2 - 24x - 24

ccf′′(c)f''(c)Typef(c)f(c)
−1-136+24−24=3636 + 24 - 24 = 36Min3+4−12+5=03 + 4 - 12 + 5 = 0
00−24-24Max55
22144−48−24=72144 - 48 - 24 = 72Min48−32−48+5=−2748 - 32 - 48 + 5 = -27

Local max: (0,5)(0, 5). Local mins: (−1,0)(-1, 0) and (2,−27)(2, -27).

Second DT Practice 🧮

1) f(x)=x3−3xf(x) = x^3 - 3x. f′′(−1)=f''(-1) = (integer, determines max/min)

2) f(x)=x3−3xf(x) = x^3 - 3x. f′′(1)=f''(1) = (integer)

Test Selection 🔽

Exit Quiz ✅

Part 3: Complete Curve Sketching Framework

∫ Concavity & Inflection Points — Part 3

Part 3 of 7 — Complete Curve Sketching Framework

📖 The Complete Curve Sketching Checklist

  1. Domain and key features (xx-intercepts, yy-intercept)
  2. Symmetry (even, odd, periodic)
  3. First derivative → critical points, increasing/decreasing
  4. Second derivative → inflection points, concavity
  5. End behavior → limits as x→±∞x \to \pm\infty
  6. Asymptotes (vertical, horizontal)
  7. Plot key points and connect

Example: f(x)=x3−3x2+4f(x) = x^3 - 3x^2 + 4

f′(x)=3x2−6x=3x(x−2)f'(x) = 3x^2 - 6x = 3x(x - 2)

Critical points: x=0x = 0 (max, f=4f = 4), x=2x = 2 (min, f=0f = 0)

f′′(x)=6x−6=6(x−1)f''(x) = 6x - 6 = 6(x - 1)

Inflection point: x=1x = 1 (f=2f = 2)

Intervalf′f'f′′f''Shape
(−∞,0)(-\infty, 0)++−-↗ ∩\cap
(0,1)(0, 1)−-−-↘ ∩\cap
(1,2)(1, 2)−-++↘ ∪\cup
(2,∞)(2, \infty)++++↗ ∪\cup

The Four Shape Combinations

f′f'f′′f''ShapeDescription
++++↗ ∪\cupIncreasing, concave up
++−-↗ ∩\capIncreasing, concave down
−-++↘ ∪\cupDecreasing, concave up
−-−-↘ ∩\capDecreasing, concave down

Transitions

  • f′=0f' = 0: changes from increasing ↔ decreasing (potential extremum)
  • f′′=0f'' = 0 with sign change: changes concavity (inflection point)
  • Both change: the four shapes cycle through combinations

Shape Analysis 🎯

📌 AP-Style Complete Analysis

f(x)=xx2+1f(x) = \frac{x}{x^2 + 1}

Domain: All real numbers

Symmetry: Odd (f(−x)=−f(x)f(-x) = -f(x))

f′(x)f'(x): Using quotient rule: f′(x)=(x2+1)(1)−x(2x)(x2+1)2=1−x2(x2+1)2f'(x) = \frac{(x^2+1)(1) - x(2x)}{(x^2+1)^2} = \frac{1-x^2}{(x^2+1)^2}

Critical: x=±1x = \pm 1. f(−1)=−1/2f(-1) = -1/2 (min), f(1)=1/2f(1) = 1/2 (max)

f′′(x)f''(x): =2x(x2−3)(x2+1)3= \frac{2x(x^2-3)}{(x^2+1)^3}

Inflection: x=0,±3x = 0, \pm\sqrt{3}

End behavior: lim⁡x→±∞f(x)=0\lim_{x \to \pm\infty} f(x) = 0 (HA: y=0y = 0)

This is a classic AP exam function.

Curve Analysis 🧮

1) f(x)=x4−4x3f(x) = x^4 - 4x^3. Number of inflection points: (integer)

2) f(x)=x3−12xf(x) = x^3 - 12x. Local min value: (integer)

Curve Sketching Steps 🔽

Exit Quiz ✅

Part 4: Reading Derivative Graphs

∫ Concavity & Inflection Points — Part 4

Part 4 of 7 — Reading Derivative Graphs

📖 From f′f' Graph to ff Information

The graph of f′f' tells us the shape of ff (but not its values, which need an initial condition such as f(0)f(0)):

Feature of f′f' graphInformation about ff
f′(x)>0f'(x) > 0ff is increasing
f′(x)<0f'(x) < 0ff is decreasing
f′(x)=0f'(x) = 0ff has critical point
f′f' changes + to -ff has local maximum
f′f' changes - to +ff has local minimum
f′f' is increasingff is concave up
f′f' is decreasingff is concave down
f′f' has a max/minff has inflection point

Critical Insight: The concavity of ff comes from the slope of f′f', not its sign!

From f′′f'' Graph to ff Information

Feature of f′′f'' graphInformation about ff
f′′(x)>0f''(x) > 0ff concave up
f′′(x)<0f''(x) < 0ff concave down
f′′f'' crosses x-axisff has inflection point
f′′f'' touches but doesn't crossNot an inflection point

Example Reading

If f′′f'' graph is a line crossing zero at x=3x = 3:

  • ff has an inflection point at x=3x = 3
  • Concavity changes at x=3x = 3

If f′′f'' graph is a parabola touching zero at x=2x = 2:

  • NOT an inflection point at x=2x = 2 (no sign change)

Derivative Graph Reading 🎯

📌 Reconstructing ff from f′f' or f′′f''

Key AP Skill

Given a graph of f′f', sketch ff:

  1. Find zeros of f′f' → critical points of ff
  2. Where f′>0f' > 0: ff goes up; where f′<0f' < 0: ff goes down
  3. Where f′f' increases: ff is concave up
  4. Where f′f' decreases: ff is concave down
  5. Use f′f' values for steepness info

Common AP Setup

Given the graph of f′f' and f(0)=2f(0) = 2, find f(3)f(3).

f(3)=f(0)+∫03f′(x)dx=2+(area under f’)f(3) = f(0) + \int_0^3 f'(x) dx = 2 + \text{(area under f')}

This connects derivatives to integrals via the FTC!

Graph Reading 🧮

1) If f′f' has 3 local extrema, ff has ___ inflection points: (integer)

2) If f′(x)=0f'(x) = 0 at x=1,4x = 1, 4 and f′>0f' > 0 on (1,4)(1,4), ff is ___ on (1,4)(1,4): (enter "increasing" or "decreasing")

Graph Feature Mapping 🔽

Exit Quiz ✅

Part 5: Position, Velocity, Acceleration & Concavity

∫ Concavity & Inflection Points — Part 5

Part 5 of 7 — Position, Velocity, Acceleration & Concavity

📖 Concavity in Motion

For position s(t)s(t):

  • s′(t)=v(t)s'(t) = v(t) = velocity
  • s′′(t)=a(t)s''(t) = a(t) = acceleration

Concavity ↔ Acceleration

s′′(t)s''(t)a(t)a(t)ConcavityMotion
>0> 0PositiveConcave upSpeeding up (if v>0v > 0)
<0< 0NegativeConcave downSlowing down (if v>0v > 0)

⚠️ Speeding Up vs. Slowing Down

An object speeds up when vv and aa have the same sign:

  • v>0,a>0v > 0, a > 0 → speeding up forward
  • v<0,a<0v < 0, a < 0 → speeding up backward

An object slows down when vv and aa have opposite signs.

Inflection Point of s(t)s(t)

s′′(t0)=0s''(t_0) = 0 with sign change → acceleration changes direction.

This is when velocity reaches a local maximum or minimum. Speed ∣v∣|v| may have a local extreme there too, but check the sign of vv and the endpoints before calling it the greatest speed.

Example: Complete Motion Analysis

s(t)=t3−6t2+9t+1s(t) = t^3 - 6t^2 + 9t + 1 for t≥0t \geq 0

v(t)=3t2−12t+9=3(t−1)(t−3)v(t) = 3t^2 - 12t + 9 = 3(t-1)(t-3) a(t)=6t−12=6(t−2)a(t) = 6t - 12 = 6(t-2)

Time intervalvvaaMotion
(0,1)(0, 1)++−-Moving right, slowing down
(1,2)(1, 2)−-−-Moving left, speeding up
(2,3)(2, 3)−-++Moving left, slowing down
(3,∞)(3, \infty)++++Moving right, speeding up

At t=2t = 2: inflection point of s(t)s(t), maximum leftward velocity.

AP Pattern: The particle changes direction at t=1t = 1 and t=3t = 3 (where vv changes sign). On (1,3)(1, 3) it moves left, and its speed is greatest on that interval at t=2t = 2, where a=0a = 0 (speed ∣v(2)∣=3|v(2)| = 3). That is not the greatest speed for all t≥0t \geq 0: ∣v(0)∣=9|v(0)| = 9, and the speed grows without bound as t→∞t \to \infty.

Motion Analysis 🎯

📌 Free Fall & Projectile Motion

s(t)=−12gt2+v0t+s0s(t) = -\frac{1}{2}gt^2 + v_0 t + s_0 (with g=32g = 32 ft/s2ft/s^{2} or 9.89.8 m/s2m/s^{2})

v(t)=−gt+v0v(t) = -gt + v_0 a(t)=−ga(t) = -g (constant, always concave down)

Since a<0a < 0 always:

  • While going up (v>0v > 0): slowing down
  • At the top (v=0v = 0): instantaneously stopped
  • While falling (v<0v < 0): speeding up (downward)

Maximum Height

v(t)=0v(t) = 0: t=v0/gt = v_0/g

smax=s0+v022gs_{max} = s_0 + \frac{v_0^2}{2g}

Motion Practice 🧮

1) s(t)=t3−3ts(t) = t^3 - 3t. When does a=0a = 0? t=t = (integer)

2) At that time, v=v = (integer)

Motion Concepts 🔽

Exit Quiz ✅

Part 6: Connecting Concavity to Optimization

∫ Concavity & Inflection Points — Part 6

Part 6 of 7 — Connecting Concavity to Optimization

📖 Second Derivative Test in Optimization

In optimization problems, after finding critical points, the second derivative test confirms max/min:

Example: Maximize Area

A farmer has 400 ft of fencing for a rectangular pen against a barn. Maximize area.

A=x(400−2x)=400x−2x2A = x(400 - 2x) = 400x - 2x^2

A′=400−4x=0  ⟹  x=100A' = 400 - 4x = 0 \implies x = 100

A′′=−4<0A'' = -4 < 0 → maximum confirmed!

Amax=100(200)=20,000A_{max} = 100(200) = 20,000 ft2ft^{2}


When the Domain is Restricted

If f′′<0f''< 0 everywhere on an interval, then:

  • Only ONE critical point → it MUST be the absolute max
  • No need for endpoint checking if domain is all reals

If f′′>0f'' > 0 everywhere:

  • The single critical point is the absolute min

Economic Applications

Marginal Analysis

C(x)C(x) = cost, R(x)R(x) = revenue, P(x)=R(x)−C(x)P(x) = R(x) - C(x) = profit

P′(x)=R′(x)−C′(x)=0  ⟹  R′(x)=C′(x)P'(x) = R'(x) - C'(x) = 0 \implies R'(x) = C'(x)

Profit is maximized when marginal revenue = marginal cost.

P′′(x)=R′′(x)−C′′(x)P''(x) = R''(x) - C''(x)

If R′′(x)<0R''(x) < 0 (diminishing returns) and C′′(x)>0C''(x) > 0 (increasing marginal cost), then P′′<0P'' < 0 → confirmed maximum.

Point of Diminishing Returns

The inflection point of R(x)R(x): where revenue growth starts slowing.

R′′(x)=0R''(x) = 0 with sign change from + to - → this is where each additional unit adds less revenue than the previous one.

Optimization & Concavity 🎯

📌 Global vs. Local Extrema

Closed Interval Method (Absolute Extrema)

On a closed interval [a,b][a, b]:

  1. Find all critical points in (a,b)(a, b)
  2. Evaluate ff at critical points AND endpoints
  3. Largest value = absolute max, smallest = absolute min

When Second Derivative Helps

If there's only one critical point cc on the domain:

  • f′′(c)>0f''(c) > 0 → absolute minimum
  • f′′(c)<0f''(c) < 0 → absolute maximum

Example: Minimize Surface Area

Cylinder with volume 10001000 cm3cm^{3}. Minimize SA=2πr2+2πrhSA = 2\pi r^2 + 2\pi r h.

Constraint: πr2h=1000  ⟹  h=1000/(πr2)\pi r^2 h = 1000 \implies h = 1000/(\pi r^2)

SA=2πr2+2000/rSA = 2\pi r^2 + 2000/r

SA′=4πr−2000/r2=0  ⟹  r3=500/π  ⟹  r=(500/π)1/3SA' = 4\pi r - 2000/r^2 = 0 \implies r^3 = 500/\pi \implies r = (500/\pi)^{1/3}

SA′′=4π+4000/r3>0SA'' = 4\pi + 4000/r^3 > 0 always → confirmed minimum!

Optimization Check 🧮

1) A=200x−x2A = 200x - x^2. A′′=A'' = (integer, confirms max/min?)

2) AA is maximized at x=x = (integer)

Optimization Strategies 🔽

Exit Quiz ✅

Part 7: AP Free Response Justifications

∫ Concavity & Inflection Points — Part 7

Part 7 of 7 — AP Free Response Justifications

📖 AP Justification Standards

The AP exam requires specific language when justifying conclusions about concavity and inflection points.

Justifying Local Extrema

Using First Derivative Test: "Since f′f' changes from positive to negative at x=cx = c, ff has a local maximum at x=cx = c." ✅

Using Second Derivative Test: "Since f′(c)=0f'(c) = 0 and f′′(c)<0f''(c) < 0, ff has a local maximum at x=cx = c." ✅

Justifying Inflection Points

"Since f′′f'' changes sign at x=cx = c (from negative to positive), ff has an inflection point at x=cx = c." ✅

"f′′(c)=0f''(c) = 0, so cc is an inflection point." ❌ (Insufficient! Need sign change!)

AP Free Response Walkthrough

Given: f′(x)=(x−1)(x−3)2(x−5)f'(x) = (x-1)(x-3)^2(x-5)

(a) Find where ff has local extrema.

f′(x)=0f'(x) = 0 at x=1,3,5x = 1, 3, 5.

Sign analysis of f′f':

  • f′>0f' > 0 on (−∞,1)(-\infty, 1), f′<0f' < 0 on (1,3)(1, 3)
  • f′<0f' < 0 on (3,5)(3, 5) ((x−3)2≥0(x-3)^2 \geq 0, doesn't change sign!)
  • f′>0f' > 0 on (5,∞)(5, \infty)

Local max at x=1x = 1 (+ to -). Local min at x=5x = 5 (- to +). x=3x = 3 is NOT an extremum (no sign change).

(b) Find inflection points.

Inflection points of ff are where f′′f'' changes sign, which is where f′f' switches between increasing and decreasing.

Let u=x−3u = x - 3. Then (x−1)(x−5)=(u+2)(u−2)=u2−4(x-1)(x-5) = (u+2)(u-2) = u^2 - 4, so f′(x)=u2(u2−4)=u4−4u2f'(x) = u^2(u^2 - 4) = u^4 - 4u^2.

f′′(x)=4u3−8u=4u(u2−2)=4(x−3)(x−3−2)(x−3+2)f''(x) = 4u^3 - 8u = 4u(u^2 - 2) = 4(x-3)\left(x - 3 - \sqrt{2}\right)\left(x - 3 + \sqrt{2}\right)

f′′=0f'' = 0 at x=3−2x = 3 - \sqrt{2}, x=3x = 3, and x=3+2x = 3 + \sqrt{2}.

Sign analysis of f′′f'':

  • f′′<0f'' < 0 on (−∞,3−2)(-\infty, 3 - \sqrt{2}), f′′>0f'' > 0 on (3−2,3)(3 - \sqrt{2}, 3)
  • f′′<0f'' < 0 on (3,3+2)(3, 3 + \sqrt{2}), f′′>0f'' > 0 on (3+2,∞)(3 + \sqrt{2}, \infty)

f′′f'' changes sign at all three values, so ff has inflection points at x=3−2x = 3 - \sqrt{2}, x=3x = 3, and x=3+2x = 3 + \sqrt{2}.

Check with f′f': f′≤0f' \le 0 on [1,5][1, 5] with f′(3)=0f'(3) = 0, so f′f' has a local max at x=3x = 3 and a local min in each of (1,3)(1, 3) and (3,5)(3, 5). Those three extrema of f′f' are exactly the three inflection points. Note that x=3x = 3 is an inflection point even though it is not an extremum of ff.

AP Justifications 🎯

📌 Common AP Setups

Type 1: Given f′f' as a formula

Find critical points, use f′′f'' or sign chart.

Type 2: Given f′f' as a graph

Read increasing/decreasing, extrema, concavity from the graph.

Type 3: Given a table of ff, f′f', f′′f'' values

Use values to determine properties at specific points.

xxf(x)f(x)f′(x)f'(x)f′′(x)f''(x)
03−2-24
110−1-1
2230
351−3-3

From this table:

  • At x=1x = 1: f′=0f'= 0 and f′′<0f'' < 0 → local maximum
  • At x=0x = 0: ff is decreasing, concave up
  • At x=2x = 2: f′′(2)=0f''(2) = 0, but f′′(1)=−1f''(1) = -1 and f′′(3)=−3f''(3) = -3 are both negative. The table shows no sign change around x=2x = 2, so it gives no evidence of an inflection point there. A zero of f′′f'' is only a candidate.
  • Between x=0x = 0 and x=1x = 1: f′′f'' goes from 44 to −1-1. If f′′f'' is continuous, it changes sign somewhere in (0,1)(0, 1), so ff has an inflection point in that interval.

AP Practice 🧮

1) f(x)=x4/4−2x2f(x) = x^4/4 - 2x^2. Number of inflection points: (integer)

2) Same ff: xx-value of local maximum: (integer)

Final Concepts 🔽

Final Exit Quiz ✅