AP · Calculus AB · Inverse Functions and Higher Derivatives

Second and Higher-Order Derivatives

19 min readUpdated November 30, 2026FreeAP Calculus AB, Chain Rule, Implicit and Inverse Derivatives

The second derivative is the derivative of the derivative: you differentiate ff to get f′f', then differentiate f′f' to get f′′f''. Keep going and you get the third derivative f′′′f''', the fourth derivative f(4)f^{(4)} and so on. On an implicit curve you find d2ydx2\frac{d^2y}{dx^2} by differentiating dydx\frac{dy}{dx} again, then substituting your expression for dydx\frac{dy}{dx} back in.

Quick check

  1. Differentiate (3x2+1)4(3x^2 + 1)^4.Show answerHide answer

    24x(3x2+1)324x(3x^2 + 1)^3. The chain rule gives 4(3x2+1)34(3x^2 + 1)^3 times the derivative of the inside, 6x6x.

  2. Find dydx\frac{dy}{dx} for the circle x2+y2=25x^2 + y^2 = 25.Show answerHide answer

    dydx=−xy\frac{dy}{dx} = -\frac{x}{y}. Implicit differentiation gives 2x+2ydydx=02x + 2y\frac{dy}{dx} = 0, so dydx=−2x2y\frac{dy}{dx} = -\frac{2x}{2y}.

  3. If f′(x)=6x2−4xf'(x) = 6x^2 - 4x, what is f′′(x)f''(x)?Show answerHide answer

    f′′(x)=12x−4f''(x) = 12x - 4. You differentiate the derivative once more.

Know these already? Jump to the practice questions

What you'll be able to do

  • Write second and higher derivatives in prime notation and in Leibniz notation, and read each form correctly.
  • Calculate second, third and higher derivatives of polynomial, exponential, logarithmic and trigonometric functions.
  • Evaluate a higher derivative at a given input.
  • Use the repeating pattern in the derivatives of sin⁡x\sin x, cos⁡x\cos x and ekxe^{kx} to find a high-order derivative quickly.
  • Find d2ydx2\frac{d^2y}{dx^2} on an implicitly defined curve in terms of xx and yy, and evaluate it at a point on the curve.

Key terms

Second derivative

The derivative of the first derivative, written f′′(x)f''(x), y′′y'' or d2ydx2\frac{d^2y}{dx^2}.

In plain English
How fast the slope of the graph is changing.
Don't write
(dydx)2\left(\frac{dy}{dx}\right)^2; squaring the first derivative is a different quantity.

nnth derivative

The result of differentiating a function nn times in a row, written f(n)(x)f^{(n)}(x) or dnydxn\frac{d^ny}{dx^n}.

In plain English
The derivative you reach after nn rounds of differentiating.
Don't write
fn(x)f^n(x) for the nnth derivative; without brackets that reads as a power.

What do the notations for higher derivatives mean?

The second derivative f′′(x)f''(x) is the derivative of f′(x)f'(x), so it measures how fast the slope of ff is changing. When yy is the output, you can also write y′′y'' or d2ydx2\frac{d^2y}{dx^2}.

Learn this (AP® Calculus AB has no formula sheet):

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

Read d2ydx2\frac{d^2y}{dx^2} as "d two y, d x squared". The 2 on top sits on the dd because you apply "differentiate" twice; the 2 underneath goes on xx because both differentiations are with respect to xx. Neither 2 is a power of yy.

Higher derivatives follow the same pattern:

OrderPrime notationLeibniz notation
Thirdf′′′(x)f'''(x) or y′′′y'''d3ydx3\dfrac{d^3y}{dx^3}
Fourthf(4)(x)f^{(4)}(x) or y(4)y^{(4)}d4ydx4\dfrac{d^4y}{dx^4}
nnthf(n)(x)f^{(n)}(x) or y(n)y^{(n)}dnydxn\dfrac{d^ny}{dx^n}

From the fourth derivative on, the order goes in brackets, because f(4)f^{(4)} means "differentiate four times" while f4f^4 means the fourth power of ff. In motion problems, if x(t)x(t) is position, then x′′(t)x''(t) is acceleration; the note on motion along a line uses this.

Key idea

Each higher derivative is the derivative of the one before it, so you reach f(n)f^{(n)} by differentiating ff exactly nn times.

Check yourself

What does f(5)(x)f^{(5)}(x) mean, and how is it different from f5(x)f^5(x)?
Show answerHide answer

f(5)(x)f^{(5)}(x) is the fifth derivative: you differentiate ff five times. f5(x)f^5(x) is (f(x))5\left(f(x)\right)^5, the fifth power of the output.

How do you find higher derivatives of a formula?

Differentiate, simplify, then differentiate again. Simplifying between steps keeps the next derivative short. Rewriting before you start helps too: write 2x\frac{2}{x} as 2x−12x^{-1} and x\sqrt{x} as x1/2x^{1/2} so the power rule applies.

For f(x)=x4−3x2+7xf(x) = x^4 - 3x^2 + 7x:

  • f′(x)=4x3−6x+7f'(x) = 4x^3 - 6x + 7
  • f′′(x)=12x2−6f''(x) = 12x^2 - 6
  • f′′′(x)=24xf'''(x) = 24x
  • f(4)(x)=24f^{(4)}(x) = 24, and every derivative after that is 00.

A polynomial of degree nn has a constant nnth derivative, so its (n+1)(n + 1)th derivative is 00.

If the first derivative needed the product, quotient or chain rule, the second usually needs one of them again. For y=sin⁡(x2)y = \sin(x^2), the chain rule gives y′=2xcos⁡(x2)y' = 2x\cos(x^2). That is a product, so y′′=2cos⁡(x2)+2x(−2xsin⁡(x2))=2cos⁡(x2)−4x2sin⁡(x2)y'' = 2\cos(x^2) + 2x\left(-2x\sin(x^2)\right) = 2\cos(x^2) - 4x^2\sin(x^2).

To evaluate f′′(a)f''(a), find the general f′′(x)f''(x) first and substitute x=ax = a last. If you substitute into f′f' first, it becomes a constant, and the derivative of a constant is 00.

Examiner's eye

Marks are lost when the second derivative is built on a wrong first derivative. Simplify f′(x)f'(x) and check it before you differentiate again.

Check yourself

Find f′′(x)f''(x) for f(x)=5x3+4xf(x) = 5x^3 + \frac{4}{x}.
Show answerHide answer

f′′(x)=30x+8x3f''(x) = 30x + \frac{8}{x^3}. Rewrite 4x\frac{4}{x} as 4x−14x^{-1}; then f′(x)=15x2−4x−2f'(x) = 15x^2 - 4x^{-2} and f′′(x)=30x+8x−3f''(x) = 30x + 8x^{-3}.

What patterns show up when you keep differentiating?

Some functions cycle or scale as you differentiate, so you can jump straight to a high-order derivative.

f(x)f(x)f′(x)f'(x)f′′(x)f''(x)f′′′(x)f'''(x)f(4)(x)f^{(4)}(x)
sin⁡x\sin xcos⁡x\cos x−sin⁡x-\sin x−cos⁡x-\cos xsin⁡x\sin x
cos⁡x\cos x−sin⁡x-\sin x−cos⁡x-\cos xsin⁡x\sin xcos⁡x\cos x
ekxe^{kx}kekxke^{kx}k2ekxk^2e^{kx}k3ekxk^3e^{kx}k4ekxk^4e^{kx}

The derivatives of sin⁡x\sin x and cos⁡x\cos x repeat every four steps. So to find f(n)f^{(n)}, divide nn by 44 and use the remainder: remainder 00 gives back the original function, remainder 11 gives the first derivative, and so on. For example, 50=4×12+250 = 4 \times 12 + 2, so the 50th derivative of sin⁡x\sin x is −sin⁡x-\sin x.

For ekxe^{kx}, each differentiation multiplies by kk because of the chain rule, so the nnth derivative is knekxk^n e^{kx}. For sin⁡(kx)\sin(kx) and cos⁡(kx)\cos(kx) the cycle is the same, and each step also brings a factor of kk: the second derivative of sin⁡(3x)\sin(3x) is −9sin⁡(3x)-9\sin(3x).

Check yourself

What is the 27th derivative of sin⁡x\sin x?
Show answerHide answer

−cos⁡x-\cos x. 27=4×6+327 = 4 \times 6 + 3, and the third derivative of sin⁡x\sin x is −cos⁡x-\cos x.

How do you find the second derivative on an implicit curve?

On an implicit curve, dydx\frac{dy}{dx} usually contains both xx and yy. To get d2ydx2\frac{d^2y}{dx^2} you differentiate that expression with respect to xx, remembering that yy is a function of xx. So each time you differentiate a yy, a factor of dydx\frac{dy}{dx} appears, just as in implicit differentiation.

  1. Find dydx\frac{dy}{dx} by implicit differentiation.
  2. Differentiate dydx\frac{dy}{dx} with respect to xx, often with the quotient rule. The result contains dydx\frac{dy}{dx}.
  3. Substitute your expression for dydx\frac{dy}{dx} and simplify. If the left side of the curve's equation appears, replace it by its constant.

Take y2=4xy^2 = 4x. Differentiating gives 2ydydx=42y\frac{dy}{dx} = 4, so dydx=2y−1\frac{dy}{dx} = 2y^{-1}. Differentiating again gives d2ydx2=−2y−2dydx\frac{d^2y}{dx^2} = -2y^{-2}\frac{dy}{dx}. Substituting dydx=2y\frac{dy}{dx} = \frac{2}{y} gives d2ydx2=−4y3\frac{d^2y}{dx^2} = -\frac{4}{y^3}. At (1,2)(1, 2), which is on the curve, d2ydx2=−48=−12\frac{d^2y}{dx^2} = -\frac{4}{8} = -\frac{1}{2}.

Key idea

When you differentiate dydx\frac{dy}{dx} again, yy is still a function of xx, so the chain rule brings back a dydx\frac{dy}{dx} that you then replace.

Check yourself

For y3=xy^3 = x, dydx=13y2\frac{dy}{dx} = \frac{1}{3y^2}. Find d2ydx2\frac{d^2y}{dx^2} in terms of yy.
Show answerHide answer

d2ydx2=−29y5\frac{d^2y}{dx^2} = -\frac{2}{9y^5}. Write dydx=13y−2\frac{dy}{dx} = \frac{1}{3}y^{-2}; differentiating gives −23y−3dydx=−23y−3⋅13y2-\frac{2}{3}y^{-3}\frac{dy}{dx} = -\frac{2}{3}y^{-3} \cdot \frac{1}{3y^2}.

Which method for a higher derivative?

What the question gives youWhat to do
y=f(x)y = f(x) as a formulaRewrite as powers, differentiate, simplify, differentiate again
An equation in xx and yyFind dydx\dfrac{dy}{dx}, differentiate it, substitute dydx\dfrac{dy}{dx} back in
A large order such as f(40)(x)f^{(40)}(x)Find the pattern in the first four derivatives
A value such as f′′(2)f''(2)Find f′′(x)f''(x) in general, then substitute

Worked example 1: A second derivative from a formula

Question: Let f(x)=4x3−5x2+2xf(x) = 4x^3 - 5x^2 + \frac{2}{x}. Find f′′(x)f''(x) and f′′(1)f''(1).

What tells you the method

ff is a formula in xx, so you differentiate twice directly; the 2x\frac{2}{x} tells you to rewrite it as a power first.

  1. Step 1: Rewrite with powers.

    f(x)=4x3−5x2+2x−1f(x) = 4x^3 - 5x^2 + 2x^{-1}.

    Why

    In this form every term uses the power rule.

  2. Step 2: Differentiate once.

    f′(x)=12x2−10x−2x−2f'(x) = 12x^2 - 10x - 2x^{-2}.

    Why

    The power rule brings each exponent down and lowers it by 1, so 2x−12x^{-1} becomes −2x−2-2x^{-2}.

  3. Step 3: Differentiate again.

    f′′(x)=24x−10+4x−3=24x−10+4x3f''(x) = 24x - 10 + 4x^{-3} = 24x - 10 + \frac{4}{x^3}.

    Why

    −2x−2-2x^{-2} gives (−2)(−2)x−3=4x−3(-2)(-2)x^{-3} = 4x^{-3}, because the two negatives make a positive.

  4. Step 4: Substitute x=1x = 1.

    f′′(1)=24−10+4=18f''(1) = 24 - 10 + 4 = 18.

    Why

    You find the general second derivative first and only then put in the number.

Check it

f′(1.01)≈0.1806f'(1.01) \approx 0.1806 and f′(0.99)≈−0.1794f'(0.99) \approx -0.1794, so the slope of f′f' near x=1x = 1 is about 0.360.02=18\frac{0.36}{0.02} = 18, which matches f′′(1)f''(1).

Answer

f′′(x)=24x−10+4x3f''(x) = 24x - 10 + \frac{4}{x^3} and f′′(1)=18f''(1) = 18.

Worked example 2: Product and chain rules twice

Question: Let g(x)=xe2xg(x) = xe^{2x}. Find g′′(x)g''(x) in factored form and evaluate g′′(0)g''(0).

What tells you the method

gg is a product of xx and e2xe^{2x}, so you need the product rule, with the chain rule for e2xe^{2x}, at both steps.

  1. Step 1: Differentiate once.

    g′(x)=1⋅e2x+x⋅2e2x=(1+2x)e2xg'(x) = 1 \cdot e^{2x} + x \cdot 2e^{2x} = (1 + 2x)e^{2x}.

    Why

    The product rule adds (derivative of the first)(second) and (first)(derivative of the second), and the chain rule gives the derivative of e2xe^{2x} as 2e2x2e^{2x}.

  2. Step 2: Differentiate again.

    g′′(x)=2e2x+(1+2x)⋅2e2xg''(x) = 2e^{2x} + (1 + 2x) \cdot 2e^{2x}.

    Why

    g′(x)g'(x) is again a product, now of (1+2x)(1 + 2x) and e2xe^{2x}.

  3. Step 3: Factor.

    g′′(x)=e2x(2+2+4x)=4(1+x)e2xg''(x) = e^{2x}(2 + 2 + 4x) = 4(1 + x)e^{2x}.

    Why

    Taking out the common factor e2xe^{2x} gives the simplest form.

  4. Step 4: Substitute x=0x = 0.

    g′′(0)=4(1+0)e0=4g''(0) = 4(1 + 0)e^{0} = 4.

    Why

    e0=1e^{0} = 1.

Check it

Differentiating the expanded form g′(x)=e2x+2xe2xg'(x) = e^{2x} + 2xe^{2x} term by term gives 2e2x+2e2x+4xe2x2e^{2x} + 2e^{2x} + 4xe^{2x}, the same as 4(1+x)e2x4(1 + x)e^{2x}.

Answer

g′′(x)=4(1+x)e2xg''(x) = 4(1 + x)e^{2x} and g′′(0)=4g''(0) = 4.

Worked example 3: The second derivative on an implicit curve

Question: A curve is defined by x3+y3=9x^3 + y^3 = 9. (a) Show that dydx=−x2y2\frac{dy}{dx} = -\frac{x^2}{y^2}. (b) Find d2ydx2\frac{d^2y}{dx^2} in terms of xx and yy, in its simplest form. (c) Evaluate d2ydx2\frac{d^2y}{dx^2} at the point (1,2)(1, 2).

What tells you the method

The curve is an equation in xx and yy, not y=f(x)y = f(x), so you differentiate implicitly and then differentiate dydx\frac{dy}{dx} again.

  1. Step 1: Differentiate implicitly.

    3x2+3y2dydx=03x^2 + 3y^2\frac{dy}{dx} = 0, so dydx=−3x23y2=−x2y2\frac{dy}{dx} = -\frac{3x^2}{3y^2} = -\frac{x^2}{y^2}, as required.

    Why

    yy depends on xx, so the chain rule turns the derivative of y3y^3 into 3y2dydx3y^2\frac{dy}{dx}.

  2. Step 2: Differentiate dydx\frac{dy}{dx} with the quotient rule.

    d2ydx2=−2x⋅y2−x2⋅2ydydxy4\frac{d^2y}{dx^2} = -\frac{2x \cdot y^2 - x^2 \cdot 2y\frac{dy}{dx}}{y^4}
    Why

    The top, x2x^2, has derivative 2x2x; the bottom, y2y^2, has derivative 2ydydx2y\frac{dy}{dx} because yy is a function of xx.

  3. Step 3: Substitute dydx=−x2y2\frac{dy}{dx} = -\frac{x^2}{y^2} and clear the fraction.

    The numerator becomes 2xy2+2x4y2xy^2 + \frac{2x^4}{y}. Multiplying the top and bottom by yy:

    d2ydx2=−2xy3+2x4y5=−2x(x3+y3)y5\frac{d^2y}{dx^2} = -\frac{2xy^3 + 2x^4}{y^5} = -\frac{2x(x^3 + y^3)}{y^5}
    Why

    Clearing the small fraction makes the curve's own expression x3+y3x^3 + y^3 appear.

  4. Step 4: Use the curve's equation.

    Since x3+y3=9x^3 + y^3 = 9, d2ydx2=−18xy5\frac{d^2y}{dx^2} = -\frac{18x}{y^5}.

    Why

    Every point where you evaluate lies on the curve, so x3+y3x^3 + y^3 is 99 there.

  5. Step 5: Evaluate at (1,2)(1, 2).

    d2ydx2=−18(1)25=−1832=−916\frac{d^2y}{dx^2} = -\frac{18(1)}{2^5} = -\frac{18}{32} = -\frac{9}{16}.

    Why

    Both coordinates appear, and (1,2)(1, 2) is on the curve because 1+8=91 + 8 = 9.

Check it

Near (1,2)(1, 2) the curve is y=(9−x3)1/3y = (9 - x^3)^{1/3}; differentiating that form twice and putting in x=1x = 1 also gives −0.5625-0.5625, which is −916-\frac{9}{16}.

Answer

(a) dydx=−x2y2\frac{dy}{dx} = -\frac{x^2}{y^2}, shown in Step 1. (b) d2ydx2=−18xy5\frac{d^2y}{dx^2} = -\frac{18x}{y^5}. (c) At (1,2)(1, 2), d2ydx2=−916\frac{d^2y}{dx^2} = -\frac{9}{16}.

Your turn

Question: For the circle x2+y2=25x^2 + y^2 = 25, find d2ydx2\frac{d^2y}{dx^2} in terms of yy, and evaluate it at (3,4)(3, 4).

  1. Step 1:

    Implicit differentiation gives 2x+2ydydx=02x + 2y\frac{dy}{dx} = 0, so dydx=−xy\frac{dy}{dx} = -\frac{x}{y}.

  2. Step 2:

    The quotient rule gives d2ydx2=−y−xdydxy2\frac{d^2y}{dx^2} = -\frac{y - x\frac{dy}{dx}}{y^2}.

  3. Step 3: Your go: substitute and simplify.

    Replace dydx\frac{dy}{dx} by −xy-\frac{x}{y}, clear the fraction, use x2+y2=25x^2 + y^2 = 25, then put in y=4y = 4.

Show the full solutionHide the solution

Substituting gives d2ydx2=−y+x2yy2\frac{d^2y}{dx^2} = -\frac{y + \frac{x^2}{y}}{y^2}. Multiplying the top and bottom by yy gives −y2+x2y3-\frac{y^2 + x^2}{y^3}. Since x2+y2=25x^2 + y^2 = 25, this is −25y3-\frac{25}{y^3}. At (3,4)(3, 4) it equals −2564-\frac{25}{64}.

Answer: d2ydx2=−25y3\frac{d^2y}{dx^2} = -\frac{25}{y^3}, which equals −2564-\frac{25}{64} at (3,4)(3, 4).

Traps

Trap

Thinking d2ydx2\frac{d^2y}{dx^2} means the first derivative squared.

It seems right because the notation carries a 2 that looks like a square. But the 2 counts how many times you differentiate. For y=x3y = x^3, dydx=3x2\frac{dy}{dx} = 3x^2 and d2ydx2=6x\frac{d^2y}{dx^2} = 6x, while the square of the first derivative is 9x49x^4.

Check yourself

For y=x2+5xy = x^2 + 5x, which equals d2ydx2\frac{d^2y}{dx^2}: 22 or (2x+5)2(2x + 5)^2?
Show answerHide answer

22. Differentiating 2x+52x + 5 again gives 22; (2x+5)2(2x + 5)^2 is the square of the first derivative.

Trap

Treating yy as a constant when you differentiate dydx\frac{dy}{dx} again, so that −xy-\frac{x}{y} differentiates to −1y-\frac{1}{y}.

It seems right because yy looks like a separate letter. But on an implicit curve yy changes with xx, so the quotient rule gives −y−xdydxy2-\frac{y - x\frac{dy}{dx}}{y^2}, and the dydx\frac{dy}{dx} must then be replaced.

Check yourself

For xy=1xy = 1, dydx=−yx\frac{dy}{dx} = -\frac{y}{x}. Is d2ydx2\frac{d^2y}{dx^2} equal to yx2\frac{y}{x^2} or 2yx2\frac{2y}{x^2}?
Show answerHide answer

2yx2\frac{2y}{x^2}. The quotient rule gives −xdydx−yx2=−−y−yx2=2yx2-\frac{x\frac{dy}{dx} - y}{x^2} = -\frac{-y - y}{x^2} = \frac{2y}{x^2}; the value yx2\frac{y}{x^2} comes from treating yy as a constant.

Trap

Putting the point's coordinates into dydx\frac{dy}{dx} and then differentiating the number you get.

It seems right because you only want the value at one point. But once you substitute, dydx\frac{dy}{dx} is a constant, and its derivative is 00. Find d2ydx2\frac{d^2y}{dx^2} in general first, then substitute.

Check yourself

On x3+y3=9x^3 + y^3 = 9, dydx=−14\frac{dy}{dx} = -\frac{1}{4} at (1,2)(1, 2). Is d2ydx2=0\frac{d^2y}{dx^2} = 0 there?
Show answerHide answer

No. Differentiating the constant −14-\frac{1}{4} gives 00, but the general result −18xy5-\frac{18x}{y^5} gives −916-\frac{9}{16} at (1,2)(1, 2).

What's examined

Higher derivatives belong to Unit 3 (Chain Rule, Implicit and Inverse Derivatives) of the AP® Calculus AB exam, and they can be tested in both the multiple-choice and the free-response sections. Multiple-choice items ask you to compute a second or higher derivative, or to pick the correct d2ydx2\frac{d^2y}{dx^2} for an implicit curve. A free-response part on an implicit curve can ask you to "Show that" dydx\frac{dy}{dx} has a given form, then "Find" or "Evaluate" d2ydx2\frac{d^2y}{dx^2} at a point. In a "Show that" part the result is given, so the credit is for the steps: write each substitution. All of this is done by hand, without a graphing calculator.

Not on your syllabus: second derivatives of parametric equations, which belong to AP® Calculus BC.

Practice questions

  1. Recall If f(x)=x5−3x2f(x) = x^5 - 3x^2, which of these is f′′′(x)f'''(x)?
  • A) 20x3−620x^3 - 6
  • B) 60x2−660x^2 - 6
  • C) 60x260x^2
  • D) 5x4−6x5x^4 - 6x
Show answer

Answer: C, f′′′(x)=60x2f'''(x) = 60x^2.

Marking points:

  • f′(x)=5x4−6xf'(x) = 5x^4 - 6x, f′′(x)=20x3−6f''(x) = 20x^3 - 6, f′′′(x)=60x2f'''(x) = 60x^2.
  • A is f′′(x)f''(x), one differentiation short.
  • B keeps the constant −6-6, whose derivative is 00.
  • D is f′(x)f'(x).
  1. Recall What is d2ydx2\frac{d^2y}{dx^2} for y=sin⁡(2x)y = \sin(2x)?
  • A) −4sin⁡(2x)-4\sin(2x)
  • B) −2sin⁡(2x)-2\sin(2x)
  • C) 4sin⁡(2x)4\sin(2x)
  • D) 2cos⁡(2x)2\cos(2x)
Show answer

Answer: A, d2ydx2=−4sin⁡(2x)\frac{d^2y}{dx^2} = -4\sin(2x).

Marking points:

  • dydx=2cos⁡(2x)\frac{dy}{dx} = 2\cos(2x), then d2ydx2=2⋅(−2sin⁡(2x))=−4sin⁡(2x)\frac{d^2y}{dx^2} = 2 \cdot (-2\sin(2x)) = -4\sin(2x).
  • B uses the chain-rule factor 22 only once.
  • C takes the derivative of cos⁡\cos as +sin⁡+\sin.
  • D stops at the first derivative.
  1. Apply Let f(x)=ln⁡(x2+1)f(x) = \ln(x^2 + 1). Find f′′(x)f''(x) and the value of f′′(2)f''(2).
Show answer

Answer: f′′(x)=2−2x2(x2+1)2f''(x) = \frac{2 - 2x^2}{(x^2 + 1)^2}, so f′′(2)=−625f''(2) = -\frac{6}{25}.

Marking points:

  • Chain rule: f′(x)=2xx2+1f'(x) = \frac{2x}{x^2 + 1}.
  • Quotient rule: f′′(x)=2(x2+1)−2x⋅2x(x2+1)2=2−2x2(x2+1)2f''(x) = \frac{2(x^2 + 1) - 2x \cdot 2x}{(x^2 + 1)^2} = \frac{2 - 2x^2}{(x^2 + 1)^2}.
  • At x=2x = 2: 2−825=−625\frac{2 - 8}{25} = -\frac{6}{25}.
  1. Apply What is the 23rd derivative of cos⁡x\cos x?
  • A) −cos⁡x-\cos x
  • B) −sin⁡x-\sin x
  • C) cos⁡x\cos x
  • D) sin⁡x\sin x
Show answer

Answer: D, the 23rd derivative is sin⁡x\sin x.

Marking points:

  • 23=4×5+323 = 4 \times 5 + 3, so it matches the third derivative of cos⁡x\cos x, which is sin⁡x\sin x.
  • A is the 23rd derivative of sin⁡x\sin x, not cos⁡x\cos x.
  • B is the 21st derivative (remainder 1).
  • C is the 24th derivative (remainder 0).
  1. Apply If x2−y2=1x^2 - y^2 = 1, which expression equals d2ydx2\frac{d^2y}{dx^2}?
  • A) 1y\frac{1}{y}
  • B) −1y3-\frac{1}{y^3}
  • C) 1y3\frac{1}{y^3}
  • D) x2y2\frac{x^2}{y^2}
Show answer

Answer: B, d2ydx2=−1y3\frac{d^2y}{dx^2} = -\frac{1}{y^3}.

Marking points:

  • 2x−2ydydx=02x - 2y\frac{dy}{dx} = 0, so dydx=xy\frac{dy}{dx} = \frac{x}{y}.
  • d2ydx2=y−xdydxy2=y−x2yy2=y2−x2y3=−1y3\frac{d^2y}{dx^2} = \frac{y - x\frac{dy}{dx}}{y^2} = \frac{y - \frac{x^2}{y}}{y^2} = \frac{y^2 - x^2}{y^3} = -\frac{1}{y^3}, using x2−y2=1x^2 - y^2 = 1.
  • A treats yy as a constant; C reverses the order of the quotient-rule numerator; D squares the first derivative.
  1. Exam-style A curve is defined by xy+y2=6xy + y^2 = 6. (a) Show that dydx=−yx+2y\frac{dy}{dx} = -\frac{y}{x + 2y}. (b) Find the value of d2ydx2\frac{d^2y}{dx^2} at the point (1,2)(1, 2).
Show answer

Answer: (a) dydx=−yx+2y\frac{dy}{dx} = -\frac{y}{x + 2y}, shown in the first marking point. (b) d2ydx2=12125\frac{d^2y}{dx^2} = \frac{12}{125} at (1,2)(1, 2).

Marking points:

  • Product rule on xyxy: y+xdydx+2ydydx=0y + x\frac{dy}{dx} + 2y\frac{dy}{dx} = 0, so dydx(x+2y)=−y\frac{dy}{dx}(x + 2y) = -y and dydx=−yx+2y\frac{dy}{dx} = -\frac{y}{x + 2y}.
  • At (1,2)(1, 2), which is on the curve since 2+4=62 + 4 = 6: dydx=−25\frac{dy}{dx} = -\frac{2}{5}.
  • Quotient rule: d2ydx2=−dydx(x+2y)−y(1+2dydx)(x+2y)2=y−xdydx(x+2y)2\frac{d^2y}{dx^2} = -\frac{\frac{dy}{dx}(x + 2y) - y\left(1 + 2\frac{dy}{dx}\right)}{(x + 2y)^2} = \frac{y - x\frac{dy}{dx}}{(x + 2y)^2}.
  • At (1,2)(1, 2): 2+2525=12125\frac{2 + \frac{2}{5}}{25} = \frac{12}{125}.
  1. Exam-style Let f(x)=xe−xf(x) = xe^{-x}. (a) Show that f′′(x)=(x−2)e−xf''(x) = (x - 2)e^{-x}. (b) Find the value of xx for which f′′(x)=0f''(x) = 0, and the exact value of f′′′(x)f'''(x) at that xx.
Show answer

Answer: (a) f′′(x)=(x−2)e−xf''(x) = (x - 2)e^{-x}, shown in the marking points. (b) x=2x = 2, and f′′′(2)=e−2≈0.135f'''(2) = e^{-2} \approx 0.135.

Marking points:

  • f′(x)=e−x−xe−x=(1−x)e−xf'(x) = e^{-x} - xe^{-x} = (1 - x)e^{-x}.
  • f′′(x)=−e−x−(1−x)e−x=(x−2)e−xf''(x) = -e^{-x} - (1 - x)e^{-x} = (x - 2)e^{-x}.
  • e−x>0e^{-x} > 0 for every xx, so f′′(x)=0f''(x) = 0 only when x=2x = 2.
  • f′′′(x)=e−x−(x−2)e−x=(3−x)e−xf'''(x) = e^{-x} - (x - 2)e^{-x} = (3 - x)e^{-x}, so f′′′(2)=e−2f'''(2) = e^{-2}.

Key points

Recall, then reveal

Say the main points from memory first, then check them.

Show key pointsHide key points
  • The 2 in d2ydx2\frac{d^2y}{dx^2} counts differentiations; it is not the square of dydx\frac{dy}{dx}.
  • From the fourth derivative on, brackets show the order: f(4)f^{(4)} is a derivative, f4f^4 is a power.
  • Simplify each derivative before differentiating again, and substitute numbers only at the end.
  • Derivatives of sin⁡x\sin x and cos⁡x\cos x cycle every four steps; each derivative of ekxe^{kx} gains a factor of kk.
  • On an implicit curve, differentiate dydx\frac{dy}{dx} with yy as a function of xx, replace dydx\frac{dy}{dx}, then use the curve's equation to simplify.

Keep learning

Explore AP Calculus AB tutoring →

View the full Calculus AB syllabus →

More in this unit

Chain Rule, Implicit and Inverse Derivatives

All Inverse Functions and Higher Derivatives notes

Part of Novark's AP Calculus AB notes