Skip to main content

Unit 3 · Topic 3.6

3.6 Calculating Higher-Order Derivatives

The second derivative is the derivative of the derivative. It tells you how the slope is changing, which becomes concavity in Unit 5 and acceleration in motion problems. For implicit curves, you differentiate dy/dx again and substitute.

Key terms

  • second derivative
  • higher-order derivative
  • f″(x)
  • d²y/dx²
  • third derivative

Definition and notation

If f′ is differentiable, its derivative is the second derivative, f″. Differentiating again gives the third derivative, and so on.

Higher derivatives use more primes until that gets messy, then a number in parentheses: f⁽⁴⁾(x) is the fourth derivative. In Leibniz notation, the nth derivative of y is dⁿy/dxⁿ.

DerivativePrime notationLeibniz notation
Firstf′(x), y′dy/dx
Secondf″(x), y″d²y/dx²
Thirdf‴(x), y‴d³y/dx³
nthf⁽ⁿ⁾(x), y⁽ⁿ⁾dⁿy/dxⁿ

What the second derivative means

f′ is the rate of change of f, and f″ is the rate of change of f′. So f″ tells you whether the slopes are getting bigger or smaller.

In motion, if x(t) is position, then x′(t) is velocity and x″(t) is acceleration, the rate of change of velocity. On a graph, f″ > 0 means the slopes are increasing, so the graph bends upward (concave up), and f″ < 0 means it bends downward. Unit 5 builds on this.

You can estimate a second derivative from data too. If a table gives values of f′, then f″(a) ≈ (f′(b) − f′(c))/(b − c) using nearby inputs, exactly like estimating f′ from values of f in 2.3. With a velocity table, that's an estimate of acceleration.

Explicit functions: just differentiate twice

For f(x) = x⁴ − 3x² + eˣ: f′(x) = 4x³ − 6x + eˣ, f″(x) = 12x² − 6 + eˣ and f‴(x) = 24x + eˣ. Simplify f′ before differentiating again; it makes the second step easier.

Some functions have patterns. The derivatives of sin x cycle every four steps: cos x, −sin x, −cos x, sin x. Each derivative of a polynomial lowers its degree by one, so a degree-5 polynomial's sixth derivative is 0.

Implicit second derivatives

For an implicit curve, d²y/dx² comes from differentiating dy/dx with respect to x. The result will contain dy/dx, because y is still a function of x. Replace dy/dx with the expression you already found, then simplify. Sometimes the original equation simplifies the answer further.

To evaluate at a point, you can also plug in numbers early: find dy/dx at the point first, then substitute x, y and dy/dx into the d²y/dx² expression. That avoids messy algebra.

Worked examples

Try each one yourself first, then open the solution.

  1. Example 1

    Second derivative of an implicit curve

    For x² + y² = 25, find d²y/dx² in terms of y only.

    Show the solution
    1. Step 1: From 3.2, dy/dx = −x/y.
    2. Step 2: Quotient rule: d²y/dx² = −[1·y − x·(dy/dx)]/y².
    3. Step 3: Substitute dy/dx = −x/y: −[y − x(−x/y)]/y² = −[y + x²/y]/y².
    4. Step 4: Multiply the top and bottom by y: −(y² + x²)/y³.
    5. Step 5: Use the original equation, x² + y² = 25: d²y/dx² = −25/y³.

    Answer: d²y/dx² = −25/y³

  2. Example 2

    Second derivative with the product rule

    Find f″(x) for f(x) = x ln x, x > 0.

    Show the solution
    1. Step 1: Product rule: f′(x) = 1·ln x + x·(1/x) = ln x + 1.
    2. Step 2: Differentiate again: f″(x) = 1/x + 0.

    Answer: f″(x) = 1/x

  3. Example 3

    Trap: dropping the chain rule on later derivatives

    Find the fourth derivative of y = sin(2x).

    Show the solution
    1. Step 1: y′ = 2 cos(2x).
    2. Step 2: y″ = −4 sin(2x). Each step brings out another factor of 2 from the chain rule.
    3. Step 3: y‴ = −8 cos(2x).
    4. Step 4: y⁽⁴⁾ = 16 sin(2x). Forgetting the chain rule after the first step would give 2 sin(2x).

    Answer: y⁽⁴⁾ = 16 sin(2x)

Common mistakes

  • Leaving dy/dx inside an implicit second derivative when the question wants it in terms of x and y. Substitute your expression for dy/dx.
  • Squaring the first derivative instead of differentiating it. f″ means differentiate f′, not (f′)².
  • Confusing d²y/dx² with (dy/dx)².

On the exam

  • Free-response questions about implicit curves often ask for d²y/dx² at a point, then ask what it means (concavity, or whether a critical point is a max or min).
  • Acceleration questions are second-derivative questions. If you're given position, differentiate twice.

Connected topics

Videos

  • Calculus AB/BC – 3.6 Calculating Higher-Order Derivatives

    The AlgebrosWatch on YouTube (opens in a new tab)

  • Second derivatives | Advanced derivatives | AP Calculus AB | Khan Academy

    Khan AcademyWatch on YouTube (opens in a new tab)

  • Higher order derivatives | Chapter 10, Essence of calculus

    3Blue1BrownWatch on YouTube (opens in a new tab)

  • AP Calculus AB TOPIC 3.6 Calculating Higher -Order Derivatives

    Math Teacher GOATWatch on YouTube (opens in a new tab)

  • Higher Order Derivatives

    The Organic Chemistry TutorWatch on YouTube (opens in a new tab)

  • Higher Derivatives and Their Applications

    Professor Dave ExplainsWatch on YouTube (opens in a new tab)

Check yourself

4 questions on 3.6 Calculating Higher-Order Derivatives. Pick an answer to see if you got it, and why.

Question 1 of 4

If f′(x) = √(x² + 5), what is the value of f″(2)?

Question 2 of 4

If y = cos(2x), then d⁶y/dx⁶ =

Question 3 of 4Calculator allowed

The derivative of a function f is given by f′(x) = e^(cos(2x)). What is the value of f″(1)?

Question 4 of 4

If y = x ln x for x > 0, then d³y/dx³ =

0 of 4 answered