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 dydx\frac{dy}{dx} again and substitute.

Key terms

  • second derivative
  • higher-order derivative
  • f″(x)
  • d2ydx2\frac{d^2y}{dx^2}
  • 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 dnydxn\frac{d^ny}{dx^n}.

DerivativePrime notationLeibniz notation
Firstf′(x), y′dydx\frac{dy}{dx}
Secondf″(x), y″d2ydx2\frac{d^2y}{dx^2}
Thirdf‴(x), y‴d3ydx3\frac{d^3y}{dx^3}
nthf⁽ⁿ⁾(x), y⁽ⁿ⁾dnydxn\frac{d^ny}{dx^n}

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−cf''(a) \approx \dfrac{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, d2ydx2\frac{d^2y}{dx^2} comes from differentiating dydx\frac{dy}{dx} with respect to x. The result will contain dydx\frac{dy}{dx}, because y is still a function of x. Replace dydx\frac{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 dydx\frac{dy}{dx} at the point first, then substitute x, y and dydx\frac{dy}{dx} into the d2ydx2\frac{d^2y}{dx^2} 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 d2ydx2\frac{d^2y}{dx^2} in terms of y only.

    Show the solution
    1. Step 1: From 3.2, dydx=−xy\frac{dy}{dx} = -\frac{x}{y}.
    2. Step 2: Quotient rule: d2ydx2=−1⋅y−x⋅dydxy2\dfrac{d^2y}{dx^2} = -\dfrac{1 \cdot y - x \cdot \frac{dy}{dx}}{y^2}.
    3. Step 3: Substitute dydx=−xy\frac{dy}{dx} = -\frac{x}{y}: −y−x(−xy)y2=−y+x2yy2-\dfrac{y - x\left(-\frac{x}{y}\right)}{y^2} = -\dfrac{y + \frac{x^2}{y}}{y^2}.
    4. Step 4: Multiply the top and bottom by y: −y2+x2y3-\dfrac{y^2 + x^2}{y^3}.
    5. Step 5: Use the original equation, x² + y² = 25: d2ydx2=−25y3\dfrac{d^2y}{dx^2} = -\dfrac{25}{y^3}.

    Answer: d2ydx2=−25y3\dfrac{d^2y}{dx^2} = -\dfrac{25}{y^3}

  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⋅1x=ln⁡x+1f'(x) = 1 \cdot \ln x + x \cdot \frac{1}{x} = \ln x + 1.
    2. Step 2: Differentiate again: f′′(x)=1x+0f''(x) = \frac{1}{x} + 0.

    Answer: f′′(x)=1xf''(x) = \frac{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 dydx\frac{dy}{dx} inside an implicit second derivative when the question wants it in terms of x and y. Substitute your expression for dydx\frac{dy}{dx}.
  • Squaring the first derivative instead of differentiating it. f″ means differentiate f′, not (f′)².
  • Confusing d2ydx2\frac{d^2y}{dx^2} with (dydx)2\left(\frac{dy}{dx}\right)^2.

On the exam

  • Free-response questions about implicit curves often ask for d2ydx2\frac{d^2y}{dx^2} 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: 3.6 Calculating Higher-Order Derivatives

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)=x2+5f'(x) = \sqrt{x^2 + 5}, what is the value of f″(2)?

Question 2 of 4

If y = cos(2x), then d6ydx6=\dfrac{d^6y}{dx^6} =

Question 3 of 4Calculator allowed

The derivative of a function f is given by f′(x)=ecos⁡(2x)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 d3ydx3=\dfrac{d^3y}{dx^3} =

0 of 4 answered

Something wrong or out of date here?

Something wrong with this page?

What's wrong?

Please don't include personal details.