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$ notation | Leibniz 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
Find all the derivatives of $y = x^5 - 3x^4 + 2x$.
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.
Find $y''$ and $y'''$ for (a) $y = \dfrac{2}{x}$ (b) $y = \sqrt{x}$.
Notice the signs alternate for negative powers. Each step multiplies by a negative index.
Composite functions
Find $f''(x)$ for $f(x) = (3x - 1)^4$, and evaluate $f''(1)$.
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}$.
For $f(x) = x^4$, find $f''(2)$.
$f'(x) = 4x^3$ and $f''(x) = 12x^2$, so $f''(2) = 48$.
For $y = x^3$, the value of $\dfrac{d^2y}{dx^2}$ at $x = 1$ is:
$y' = 3x^2$ and $y'' = 6x$, which is $6$ at $x = 1$. The answer $9$ squares the first derivative instead.
For $y = x^5 - 3x^4 + 2x$, find $y''$ at $x = 1$.
$y'' = 20x^3 - 36x^2$, so at $x = 1$ it is $20 - 36 = -16$.
For $y = \dfrac{2}{x}$, $\dfrac{d^2y}{dx^2} =$
$y = 2x^{-1}$, $y' = -2x^{-2}$, $y'' = 4x^{-3}$.
For $f(x) = (3x - 1)^4$, find $f''(1)$.
$f'(x) = 12(3x - 1)^3$ and $f''(x) = 108(3x - 1)^2$, so $f''(1) = 108 \times 4 = 432$.
How many times must you differentiate $x^7$ to reach $0$?
After $7$ differentiations you get the constant $7! = 5040$. One more gives $0$, so $8$.
For $f(x) = \sqrt{x}$, find $f''(4)$ as a decimal.
$f''(x) = -\tfrac14 x^{-3/2}$. Since $4^{3/2} = 8$, $f''(4) = -\dfrac{1}{32} = -0.03125$.
Exam style: $y = ax^3 + bx^2$ has $y'(1) = 3$ and $y''(1) = 0$. Find $b$.
$y' = 3ax^2 + 2bx$ and $y'' = 6ax + 2b$. So $3a + 2b = 3$ and $6a + 2b = 0$. Subtracting, $3a = -3$, so $a = -1$ and $b = 3$.
Exam style: $y = x^{-2}$ satisfies $xy'' + ky' = 0$ for all $x \ne 0$. Find $k$.
$y' = -2x^{-3}$ and $y'' = 6x^{-4}$. Then $xy'' + ky' = 6x^{-3} - 2kx^{-3} = (6 - 2k)x^{-3}$, which is $0$ when $k = 3$.
Coaching Centre