2D

Second and higher derivatives

The second, third and higher derivatives of a function, their notations, and finding successive derivatives of polynomials, negative powers and composite functions.

The derivative of a function is another function, so you can differentiate it again. The result, the second derivative, measures how fast the gradient is changing. It tells you which way a curve bends (2E), and later it gives acceleration from displacement.

Notation

Function notation$y$ notationLeibniz notation
first derivative$f'(x)$$y'$$\dfrac{dy}{dx}$
second derivative$f''(x)$$y''$$\dfrac{d^2y}{dx^2}$
third derivative$f'''(x)$$y'''$$\dfrac{d^3y}{dx^3}$
fourth derivative$f^{(4)}(x)$$y^{(4)}$$\dfrac{d^4y}{dx^4}$

The Leibniz form $\dfrac{d^2y}{dx^2}$ comes from applying "$\dfrac{d}{dx}$" twice: $\dfrac{d}{dx}\left(\dfrac{dy}{dx}\right)$. The $2$s are labels, not powers.

Polynomials

Example 1●

Find all the derivatives of $y = x^5 - 3x^4 + 2x$.

$y' = 5x^4 - 12x^3 + 2$
Differentiate term by term each time.
$y'' = 20x^3 - 36x^2$
The constant 2 differentiates to 0.
$y''' = 60x^2 - 72x$, $\;y^{(4)} = 120x - 72$, $\;y^{(5)} = 120$
$y^{(6)} = 0$, and every later derivative is $0$.
The derivative of a constant is 0, and after that everything is 0.

Each differentiation lowers the degree by one. So a polynomial of degree $n$ becomes a constant after $n$ differentiations, and $0$ after $n + 1$.

Negative and fractional powers

Rewrite the function as a power of $x$ first. Then the power rule works at every step.

Example 2●●

Find $y''$ and $y'''$ for (a) $y = \dfrac{2}{x}$ (b) $y = \sqrt{x}$.

(a) $y = 2x^{-1}$, $\;y' = -2x^{-2}$, $\;y'' = 4x^{-3} = \dfrac{4}{x^3}$, $\;y''' = -12x^{-4} = -\dfrac{12}{x^4}$
Write 2/x as 2x⁻¹. Bring down the power and subtract one each time.
(b) $y' = \tfrac12 x^{-\frac12}$, $\;y'' = -\tfrac14 x^{-\frac32}$, $\;y''' = \tfrac38 x^{-\frac52}$
√x = x^½. The powers go ½, −½, −3/2, −5/2.

Notice the signs alternate for negative powers. Each step multiplies by a negative index.

Composite functions

Example 3: the chain rule twice●●

Find $f''(x)$ for $f(x) = (3x - 1)^4$, and evaluate $f''(1)$.

$f'(x) = 4(3x - 1)^3 \times 3 = 12(3x - 1)^3$
Chain rule: bring down the 4, lower the power, multiply by the derivative of the inside, 3.
$f''(x) = 36(3x - 1)^2 \times 3 = 108(3x - 1)^2$
Do it again: 12 × 3 × 3 = 108.
$f''(1) = 108 \times 2^2 = 432$

Your turn

Find $\dfrac{d^2y}{dx^2}$ for $y = \dfrac{1}{x^3}$.

Show the working

$y = x^{-3}$, so $\dfrac{dy}{dx} = -3x^{-4}$ and $\dfrac{d^2y}{dx^2} = 12x^{-5} = \dfrac{12}{x^5}$.

Flashcards
$dfrac{d^2y}{dx^2}$
The second derivative: differentiate $\dfrac{dy}{dx}$ again.
Degree $n$ polynomial
Its $(n + 1)$th derivative is $0$.
Practice
  1. For $f(x) = x^4$, find $f''(2)$.

  2. For $y = x^3$, the value of $\dfrac{d^2y}{dx^2}$ at $x = 1$ is:

  3. For $y = x^5 - 3x^4 + 2x$, find $y''$ at $x = 1$.

  4. For $y = \dfrac{2}{x}$, $\dfrac{d^2y}{dx^2} =$

  5. For $f(x) = (3x - 1)^4$, find $f''(1)$.

  6. How many times must you differentiate $x^7$ to reach $0$?

  7. For $f(x) = \sqrt{x}$, find $f''(4)$ as a decimal.

  8. Exam style: $y = ax^3 + bx^2$ has $y'(1) = 3$ and $y''(1) = 0$. Find $b$.

  9. Exam style: $y = x^{-2}$ satisfies $xy'' + ky' = 0$ for all $x \ne 0$. Find $k$.

Formula sheet