The Second Derivative Test

Using the second derivative to classify critical points

📐 The Second Derivative Test

What is the Second Derivative Test?

The Second Derivative Test is a quick way to classify critical points using the second derivative f(x)f''(x) instead of checking sign changes in f(x)f'(x).

💡 Key Idea: If the graph is curving upward at a critical point, it's a minimum. If curving downward, it's a maximum!


The Test (Formal Statement)

Let cc be a critical point where f(c)=0f'(c) = 0.

Evaluate the second derivative at cc:

Case 1: Local Minimum

If f(c)>0f''(c) > 0 (concave up):

  • Then f(c)f(c) is a local minimum

Case 2: Local Maximum

If f(c)<0f''(c) < 0 (concave down):

  • Then f(c)f(c) is a local maximum

Case 3: Inconclusive

If f(c)=0f''(c) = 0:

  • The test fails - use the First Derivative Test instead
  • Could be a max, min, or neither

Why It Works

Think about concavity:

Concave Up (f>0f'' > 0): Graph curves like ∪

  • If you also have f(c)=0f'(c) = 0 (horizontal tangent)
  • The point must be at the bottom → minimum

Concave Down (f<0f'' < 0): Graph curves like ∩

  • If you also have f(c)=0f'(c) = 0 (horizontal tangent)
  • The point must be at the top → maximum

💡 Memory Trick: "Concave up = cup = holds minimum" and "Concave down = frown = maximum"


Step-by-Step Process

Step 1: Find f(x)f'(x)

Step 2: Find critical points by solving f(x)=0f'(x) = 0

Step 3: Find f(x)f''(x)

Step 4: Evaluate f(c)f''(c) at each critical point cc

Step 5: Apply the test:

  • f(c)>0f''(c) > 0 → local min
  • f(c)<0f''(c) < 0 → local max
  • f(c)=0f''(c) = 0 → use First Derivative Test

Step 6: Calculate f(c)f(c) to get the actual min/max value


Example 1: Basic Application

Classify the critical points of f(x)=x36x2+9x+1f(x) = x^3 - 6x^2 + 9x + 1

Step 1: Find first derivative

f(x)=3x212x+9=3(x24x+3)=3(x1)(x3)f'(x) = 3x^2 - 12x + 9 = 3(x^2 - 4x + 3) = 3(x-1)(x-3)

Step 2: Find critical points

3(x1)(x3)=03(x-1)(x-3) = 0

Critical points: x=1x = 1 and x=3x = 3

Step 3: Find second derivative

f(x)=6x12=6(x2)f''(x) = 6x - 12 = 6(x - 2)

Step 4: Evaluate at critical points

At x=1x = 1: f(1)=6(12)=6<0f''(1) = 6(1-2) = -6 < 0LOCAL MAX

At x=3x = 3: f(3)=6(32)=6>0f''(3) = 6(3-2) = 6 > 0LOCAL MIN

Step 5: Find the values

f(1)=16+9+1=5f(1) = 1 - 6 + 9 + 1 = 5

f(3)=2754+27+1=1f(3) = 27 - 54 + 27 + 1 = 1

Answer: Local maximum of 5 at x=1x = 1, local minimum of 1 at x=3x = 3


When the Test Fails

If f(c)=0f''(c) = 0, the Second Derivative Test gives no information.

Example: f(x)=x4f(x) = x^4

f(x)=4x3f'(x) = 4x^3, so critical point at x=0x = 0

f(x)=12x2f''(x) = 12x^2, so f(0)=0f''(0) = 0

The test is inconclusive!

But using the First Derivative Test:

  • f(x)<0f'(x) < 0 for x<0x < 0
  • f(x)>0f'(x) > 0 for x>0x > 0
  • Changes from − to + → local minimum at x=0x = 0

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

f(x)=3x2f'(x) = 3x^2, so critical point at x=0x = 0

f(x)=6xf''(x) = 6x, so f(0)=0f''(0) = 0

The test fails again!

Using First Derivative Test:

  • f(x)>0f'(x) > 0 for all x0x \neq 0
  • No sign change → neither max nor min (inflection point) ✓

Comparing the Two Tests

First Derivative Test

Always works (when derivative exists nearby) ✅ Gives increasing/decreasing information ✅ Can handle points where ff' is undefined ❌ Requires checking intervals on both sides ❌ More work (sign chart needed)

Second Derivative Test

Faster - only evaluate at one point ✅ Simpler - just check one sign ❌ Fails when f(c)=0f''(c) = 0 ❌ Doesn't give increasing/decreasing info ❌ Requires finding second derivative

💡 Strategy: Try Second Derivative Test first (it's faster). If it fails (f=0f'' = 0), use First Derivative Test.


Using Both Derivatives Together

The most complete analysis uses both:

Complete Analysis Template

For critical point cc:

  1. Location: x=cx = c
  2. First derivative: f(c)=0f'(c) = 0 (confirms it's critical)
  3. Second derivative:
    • f(c)>0f''(c) > 0 → local min
    • f(c)<0f''(c) < 0 → local max
    • f(c)=0f''(c) = 0 → inconclusive
  4. Value: f(c)=?f(c) = ?

Relationship to Concavity

The Second Derivative Test is really a concavity test:

Remember:

  • f(x)>0f''(x) > 0 → graph is concave up ∪
  • f(x)<0f''(x) < 0 → graph is concave down ∩

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

  • Concave up + flat tangent = bottom of curve = minimum
  • Concave down + flat tangent = top of curve = maximum

⚠️ Common Mistakes

Mistake 1: Using Wrong Derivative

❌ Evaluating f(c)f'(c) instead of f(c)f''(c) ✅ Second Derivative Test uses f(c)f''(c)

Mistake 2: Forgetting f'(c) = 0

The test only works at critical points where f(c)=0f'(c) = 0, NOT where ff' is undefined!

Mistake 3: Thinking 0 Means Maximum or Minimum

If f(c)=0f''(c) = 0, the test is inconclusive, not "neither"!

Mistake 4: Wrong Sign Interpretation

  • f(c)>0f''(c) > 0 is POSITIVE → minimum (concave up ∪)
  • f(c)<0f''(c) < 0 is NEGATIVE → maximum (concave down ∩)

Don't mix these up!


Special Cases

Case 1: Multiple Critical Points

Test each one separately.

Example: Critical points at x=1,3,5x = 1, 3, 5

  • Check f(1)f''(1), f(3)f''(3), f(5)f''(5) individually

Case 2: Second Derivative is Constant

Example: f(x)=x2f(x) = x^2f(x)=2>0f''(x) = 2 > 0 everywhere

The second derivative is always positive, so any critical point is a minimum.

Case 3: Optimization Problems

The Second Derivative Test is especially useful in optimization to verify that a critical point is indeed a max or min!


Quick Reference

| f(c)f''(c) | Shape | Result | |----------|-------|--------| | >0> 0 | ∪ (concave up) | Local MIN | | <0< 0 | ∩ (concave down) | Local MAX | | =0= 0 | ? | INCONCLUSIVE |


📝 Practice Tips

  1. Find both derivatives first: f(x)f'(x) and f(x)f''(x)
  2. Critical points come from f(x)=0f'(x) = 0
  3. Evaluate ff'' at each critical point (just plug in!)
  4. Check the sign: positive = min, negative = max, zero = use other test
  5. Calculate f(c)f(c) to get the actual extremum value
  6. Remember: This test ONLY works where f(c)=0f'(c) = 0, not where ff' is undefined

📚 Practice Problems

1Problem 1easy

Question:

Use the Second Derivative Test to classify the critical points of f(x)=2x39x2+12x3f(x) = 2x^3 - 9x^2 + 12x - 3.

💡 Show Solution

Step 1: Find the first derivative

f(x)=6x218x+12f'(x) = 6x^2 - 18x + 12


Step 2: Find critical points

6x218x+12=06x^2 - 18x + 12 = 0

6(x23x+2)=06(x^2 - 3x + 2) = 0

6(x1)(x2)=06(x-1)(x-2) = 0

Critical points: x=1x = 1 and x=2x = 2


Step 3: Find the second derivative

f(x)=12x18f''(x) = 12x - 18


Step 4: Apply Second Derivative Test

At x=1x = 1: f(1)=12(1)18=6<0f''(1) = 12(1) - 18 = -6 < 0

Negative → LOCAL MAXIMUM

At x=2x = 2: f(2)=12(2)18=6>0f''(2) = 12(2) - 18 = 6 > 0

Positive → LOCAL MINIMUM


Step 5: Find the values

f(1)=2(1)39(1)2+12(1)3=29+123=2f(1) = 2(1)^3 - 9(1)^2 + 12(1) - 3 = 2 - 9 + 12 - 3 = 2

f(2)=2(2)39(2)2+12(2)3=1636+243=1f(2) = 2(2)^3 - 9(2)^2 + 12(2) - 3 = 16 - 36 + 24 - 3 = 1

Answer:

  • Local maximum of 22 at x=1x = 1
  • Local minimum of 11 at x=2x = 2

2Problem 2medium

Question:

Find and classify all critical points of g(x)=x44x3+4x2g(x) = x^4 - 4x^3 + 4x^2.

💡 Show Solution

Step 1: Find first derivative

g(x)=4x312x2+8x=4x(x23x+2)=4x(x1)(x2)g'(x) = 4x^3 - 12x^2 + 8x = 4x(x^2 - 3x + 2) = 4x(x-1)(x-2)


Step 2: Find critical points

4x(x1)(x2)=04x(x-1)(x-2) = 0

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


Step 3: Find second derivative

g(x)=12x224x+8g''(x) = 12x^2 - 24x + 8


Step 4: Test at x=0x = 0

g(0)=12(0)224(0)+8=8>0g''(0) = 12(0)^2 - 24(0) + 8 = 8 > 0

Positive → LOCAL MINIMUM


Step 5: Test at x=1x = 1

g(1)=12(1)224(1)+8=1224+8=4<0g''(1) = 12(1)^2 - 24(1) + 8 = 12 - 24 + 8 = -4 < 0

Negative → LOCAL MAXIMUM


Step 6: Test at x=2x = 2

g(2)=12(2)224(2)+8=4848+8=8>0g''(2) = 12(2)^2 - 24(2) + 8 = 48 - 48 + 8 = 8 > 0

Positive → LOCAL MINIMUM


Step 7: Calculate values

g(0)=0g(0) = 0

g(1)=14+4=1g(1) = 1 - 4 + 4 = 1

g(2)=1632+16=0g(2) = 16 - 32 + 16 = 0

Answer:

  • Local minimum of 00 at x=0x = 0
  • Local maximum of 11 at x=1x = 1
  • Local minimum of 00 at x=2x = 2

3Problem 3medium

Question:

Use the Second Derivative Test on h(x)=x55xh(x) = x^5 - 5x. If the test fails at any point, use the First Derivative Test instead.

💡 Show Solution

Step 1: Find first derivative

h(x)=5x45=5(x41)=5(x21)(x2+1)=5(x1)(x+1)(x2+1)h'(x) = 5x^4 - 5 = 5(x^4 - 1) = 5(x^2-1)(x^2+1) = 5(x-1)(x+1)(x^2+1)


Step 2: Find critical points

5(x1)(x+1)(x2+1)=05(x-1)(x+1)(x^2+1) = 0

Since x2+1>0x^2 + 1 > 0 for all real xx:

Critical points: x=1x = -1 and x=1x = 1


Step 3: Find second derivative

h(x)=20x3h''(x) = 20x^3


Step 4: Test at x=1x = -1

h(1)=20(1)3=20<0h''(-1) = 20(-1)^3 = -20 < 0

Negative → LOCAL MAXIMUM


Step 5: Test at x=1x = 1

h(1)=20(1)3=20>0h''(1) = 20(1)^3 = 20 > 0

Positive → LOCAL MINIMUM


Step 6: Calculate values

h(1)=(1)55(1)=1+5=4h(-1) = (-1)^5 - 5(-1) = -1 + 5 = 4

h(1)=155(1)=15=4h(1) = 1^5 - 5(1) = 1 - 5 = -4


Note: The Second Derivative Test worked at both points! If we had gotten h(c)=0h''(c) = 0 anywhere, we would have needed the First Derivative Test.

Answer:

  • Local maximum of 44 at x=1x = -1
  • Local minimum of 4-4 at x=1x = 1