AP Calculus AB and BC · Unit 3 · Topic 3.6

    3.6 Calculating Higher-Order Derivatives

    Reviewed by P V Satish, Senior Faculty of Science and Academic Consultant · PG Life Sciences, PGD Biotechnology · 20+ years teaching NEET and AP · Special interest in biotechnology, biochemistry and the basics of physics
    Updated

    In short

    The derivative of a derivative is the second derivative, written f′′(x)f''(x), y′′y'' or d2ydx2\frac{d^2y}{dx^2}. It measures how the slope itself is changing. Higher derivatives continue the pattern: f′′′f''', f(4)f^{(4)} and so on. In motion, if s(t)s(t) is position, then s′s' is velocity and s′′s'' is acceleration. Implicit curves have second derivatives too, found by differentiating dydx\frac{dy}{dx} again.

    What you need to know

    • Calculate second and higher derivatives using all the derivative rules.
    • Use notation for higher-order derivatives correctly.
    • Recognise patterns in repeated derivatives of sine, cosine and exponentials.
    • Find second derivatives of implicitly defined curves.

    Derivatives of derivatives

    For f(x)=x4−3x2f(x) = x^4 - 3x^2: f′(x)=4x3−6xf'(x) = 4x^3 - 6x, f′′(x)=12x2−6f''(x) = 12x^2 - 6, f′′′(x)=24xf'''(x) = 24x and f(4)(x)=24f^{(4)}(x) = 24; every derivative after that is 0. In general, a polynomial of degree nn has an nnth derivative that is constant.

    f′′(x)=ddx[f′(x)]=d2ydx2f''(x) = \frac{d}{dx}\big[f'(x)\big] = \frac{d^2y}{dx^2}

    The second derivative describes how the slope changes. Where f′′>0f'' > 0, slopes are increasing and the graph bends upward (concave up); where f′′<0f'' < 0, it bends downward. Unit 5 builds curve analysis on exactly this idea.

    Patterns and motion

    Repeated derivatives of sine cycle with period 4: sin⁡x→cos⁡x→−sin⁡x→−cos⁡x→sin⁡x\sin x \to \cos x \to -\sin x \to -\cos x \to \sin x. So the fourth derivative of sin⁡x\sin x is sin⁡x\sin x again, and the 10th derivative is the second, −sin⁡x-\sin x. Exponentials are simpler: each derivative of e2xe^{2x} multiplies by 2, so the nnth derivative is 2ne2x2^n e^{2x}.

    In motion along a line, position s(t)s(t), velocity v(t)=s′(t)v(t) = s'(t) and acceleration a(t)=s′′(t)a(t) = s''(t). For s(t)=t3−6t2+9ts(t) = t^3 - 6t^2 + 9t: v(t)=3t2−12t+9v(t) = 3t^2 - 12t + 9 and a(t)=6t−12a(t) = 6t - 12. At t=1t = 1 the particle is momentarily at rest (v=0v = 0) with acceleration −6-6; at t=2t = 2 the acceleration is 0. Unit 4 develops this fully.

    Higher derivatives at a glance
    Functionf′f″Pattern
    x4x^44x34x^312x212x^2Zero after the 4th derivative
    sin⁡x\sin xcos⁡x\cos x−sin⁡x-\sin xRepeats every 4
    e2xe^{2x}2e2x2e^{2x}4e2x4e^{2x}nnth derivative 2ne2x2^ne^{2x}

    Implicit second derivatives

    For the circle x2+y2=25x^2 + y^2 = 25, topic 3.2 gave y′=−xyy' = -\frac{x}{y}. Differentiate again with the quotient rule, remembering that yy is a function of xx:

    y′′=−y−xy′y2=−y+x2yy2=−x2+y2y3=−25y3\begin{aligned} y'' &= -\frac{y - x y'}{y^2} = -\frac{y + \frac{x^2}{y}}{y^2} \\ &= -\frac{x^2 + y^2}{y^3} = -\frac{25}{y^3} \end{aligned}

    The last step substitutes y′=−xyy' = -\frac{x}{y} and then uses the original equation x2+y2=25x^2 + y^2 = 25. At (3,4)(3, 4), y′′=−2564y'' = -\frac{25}{64}: the upper half of the circle is concave down, as expected. Substituting both y′y' and the original equation is the standard way to simplify implicit second derivatives.

    Second derivatives can also be estimated from data. Since f′′f'' is the derivative of f′f', a table of velocity values gives acceleration estimates: if v(2)=5v(2) = 5 m/s and v(4)=9v(4) = 9 m/s, then a(3)≈9−54−2=2a(3) \approx \frac{9 - 5}{4 - 2} = 2 m/s². Likewise, on a graph of f′f', the value of f′′f'' at a point is the slope of the f′f' graph there.

    Key terms

    Second derivative
    f′′(x)f''(x), the derivative of f′(x)f'(x); the rate of change of the slope.
    nth derivative
    f(n)(x)f^{(n)}(x), obtained by differentiating nn times.
    Acceleration
    The second derivative of position, a(t)=s′′(t)a(t) = s''(t).
    Concavity
    The direction a graph bends, determined by the sign of f″.

    Common mistakes

    • Writing d2ydx2=(dydx)2\frac{d^2y}{dx^2} = \left(\frac{dy}{dx}\right)^2.

      The second derivative is the derivative of the derivative, not its square.

    • Forgetting that y′y' appears when differentiating an implicit y′y'.

      Differentiate y as a function of x again, then substitute y′.

    • Losing signs in the sine–cosine cycle.

      Write the cycle sin, cos, −sin, −cos and count along it.

    How this topic is tested

    • Simplify f′ before differentiating again; it makes f″ much easier.
    • For implicit second derivatives, substitute y′ and use the original equation.
    • In motion questions, label s, v and a clearly with units.

    Practice questions

    Original AP-style multiple-choice questions. Pick an answer to see the explanation.

    1. Question 1 · MP 1 · Implementing Mathematical Processes

      For f(x)=x4−3x2f(x) = x^4 - 3x^2, what is f′′(1)f''(1)?

    2. Question 2 · MP 1 · Implementing Mathematical Processes

      What is d4dx4sin⁡x\frac{d^4}{dx^4}\sin x?

    3. Question 3 · MP 3 · Justification

      What is the nnth derivative of e2xe^{2x}?

    4. Question 4 · MP 1 · Implementing Mathematical Processes

      For x2+y2=25x^2 + y^2 = 25, what is d2ydx2\frac{d^2y}{dx^2} at (3,4)(3, 4)?

    5. Question 5 · MP 2 · Connecting Representations

      A particle's position is s(t)=t3−6t2+9ts(t) = t^3 - 6t^2 + 9t. What is its acceleration at t=2t = 2?

    Free-response practice

    Write your answer first, then mark it against the scoring guide.

    Free response (no calculator) · 4 points

    Consider the curve y2=x3+1y^2 = x^3 + 1 for y>0y > 0.

    1. (a) Show that dydx=3x22y\frac{dy}{dx} = \frac{3x^2}{2y}.
    2. (b) Find d2ydx2\frac{d^2y}{dx^2} at the point (2,3)(2, 3).

    Connected topics

    Frequently asked questions

    How many derivatives does the exam use?

    Mostly first and second derivatives. Higher ones appear in BC Taylor series and occasionally in pattern questions.

    What does the third derivative mean?

    It measures how the second derivative changes; in motion it is the rate of change of acceleration, sometimes called jerk.

    Can f″ exist where f′ does not?

    No. To differentiate twice, the first derivative must exist and itself be differentiable.

    How this shows up on the exam42 multiple-choice and 6 free-response questions, with and without a calculator. See how the exam is laid out.

    Free Unit 3 cheat sheet

    Every topic in Unit 3: Differentiation: Composite, Implicit, and Inverse Functions on a few printable pages: the core idea, key terms, the two traps students fall into and what the exam asks.

    We'll use your email to tell you when new AP Calculus AB practice material is ready. No spam, and we'll delete it if you ask.

    Full-length AP Calculus AB practice examsUnit 3 is one of 8 units on the exam. Two timed exams in the 2027 format (42 MCQ + 6 FRQ, with calculator and no-calculator parts), worked explanations, scoring guides and an estimated 1–5 score. $14.99 · try 5 questions free.

    All topics in Unit 3: Differentiation: Composite, Implicit, and Inverse Functions

    1. 3.1 The Chain Rule
    2. 3.2 Implicit Differentiation
    3. 3.3 Differentiating Inverse Functions
    4. 3.4 Differentiating Inverse Trigonometric Functions
    5. 3.5 Selecting Procedures for Calculating Derivatives
    6. 3.6 Calculating Higher-Order Derivatives

    Other units in AP Calculus AB

    AP® is a trademark registered by College Board, which is not affiliated with, and does not endorse, this website.