Higher-Order Derivatives and Choosing the Right Rule

AP Calculus AB · Unit 3 — Differentiation: Composite, Implicit, and Inverse Functions

Higher-order derivatives

Differentiating $f'$ again gives the second derivative $f''$; repeating gives $f'''$, $f^{(4)}$, … In Leibniz notation $\dfrac{d^2y}{dx^2}$, $\dfrac{d^ny}{dx^n}$. Nothing new is memorised — but every product, quotient or chain structure returns at every step, so simplify and factor before differentiating again.

Worked example: $y=x^2e^{3x}$. Product and chain: $y'=2xe^{3x}+3x^2e^{3x}=e^{3x}(3x^2+2x)$. Product again: $y''=3e^{3x}(3x^2+2x)+e^{3x}(6x+2)=e^{3x}(9x^2+12x+2)$. Factoring $e^{3x}$ out first is what keeps the second step short.

Implicit curves. $\dfrac{d^2y}{dx^2}$ is the derivative of the expression for $\dfrac{dy}{dx}$ (quotient rule, $y$ still a function of $x$), after which the known $\dfrac{dy}{dx}$ must be substituted back so the answer contains only $x$ and $y$.

Choosing the procedure

Rewrite first: $\sqrt{x}=x^{1/2}$, $\dfrac{1}{x^3}=x^{-3}$, $\dfrac{x^2+1}{x}=x+x^{-1}$ — many quotient-rule problems are power-rule problems in disguise. Bases other than $e$: $a^x=e^{x\ln a}$, hence $\dfrac{d}{dx}a^x=a^x\ln a$ and $\dfrac{d}{dx}\log_a x=\dfrac{1}{x\ln a}$.

Cyclic patterns. Derivatives of $\sin x$ cycle $\cos x,\ -\sin x,\ -\cos x,\ \sin x$ with period $4$, so for $f(x)=\sin x$, $f^{(27)}(x)=f^{(3)}(x)=-\cos x$ because $27=4\cdot6+3$.

Worked example: second derivative of an implicit curve

Given the curve $x^2+y^2=25$. (a) Find $\dfrac{dy}{dx}$. (b) Find $\dfrac{d^2y}{dx^2}$ in terms of $x$ and $y$. (c) Evaluate $\dfrac{d^2y}{dx^2}$ at $(3,4)$ and state whether the curve is concave up or down there.

Solution

(a) Differentiate both sides with respect to $x$: $2x+2y\dfrac{dy}{dx}=0\Rightarrow\dfrac{dy}{dx}=-\dfrac{x}{y}$.

(b) Quotient rule for $-\dfrac{x}{y}$, remembering $y$ is a function of $x$:

$$\frac{d^2y}{dx^2}=-\frac{y\cdot1-x\dfrac{dy}{dx}}{y^2}=-\frac{y-x\left(-\dfrac{x}{y}\right)}{y^2}=-\frac{y^2+x^2}{y^3}$$

Use $x^2+y^2=25$: $\dfrac{d^2y}{dx^2}=-\dfrac{25}{y^3}$. Stopping at the line that still contains $\dfrac{dy}{dx}$ earns only half a mark.

(c) At $(3,4)$: $\dfrac{d^2y}{dx^2}=-\dfrac{25}{64}$. Since $\dfrac{d^2y}{dx^2}\lt0$ at $(3,4)$, the curve is concave down there.

Common mistake

Three traps in higher-order derivative problems. One: $\dfrac{d}{dx}2^x$ is not $x\cdot2^{x-1}$ (the power rule applies only when the exponent is constant) but $2^x\ln2$; the distractor $2^x$ (forgetting $\ln2$) is always present. Two: a second derivative of an implicit function whose result still contains $\dfrac{dy}{dx}$ is not finished — the rubric states clearly “in terms of $x$ and $y$”. Three: the notation $f^{(4)}$ is the fourth derivative, while $f^4$ is the fourth power; misreading it in a multiple-choice question loses the question even if the computation is right.

Key takeaway

Higher-order derivative = repeat exactly the same old rules, so simplify after each step. Implicit functions: differentiate the expression $\dfrac{dy}{dx}$ and then substitute it back. Before differentiating, rewrite roots and fractions as powers and convert $a^x$ to $e^{x\ln a}$. The period $4$ of $\sin$ and $\cos$ answers every question about $f^{(n)}$ with large $n$.

← Derivatives of Inverse Functions · All AP Calculus AB lessons · Practice AP Calculus AB questions (free, instant scoring) · Motion Along a Line →