Differentiation: rules, tangents and the second derivative
IB Math AA · Calculus
The three rules
$$\text{chain: }\frac{dy}{dx}=\frac{dy}{du}\cdot\frac{du}{dx},\qquad \text{product: }(uv)'=u'v+uv',\qquad \text{quotient: }\left(\frac{u}{v}\right)'=\frac{u'v-uv'}{v^{2}}$$The order in the quotient numerator is content, not decoration: reversing it negates the whole answer, and the answer still looks plausible.
Standard derivatives
$$\frac{d}{dx}x^{n}=nx^{n-1},\quad \frac{d}{dx}e^{kx}=ke^{kx},\quad \frac{d}{dx}\ln x=\frac{1}{x},\quad \frac{d}{dx}\sin x=\cos x,\quad \frac{d}{dx}\tan x=\sec^{2}x$$Tangents, normals and stationary points
The gradient of the tangent at $x=a$ is $f'(a)$; the normal has gradient $-\dfrac{1}{f'(a)}$.
Stationary points solve $f'(x)=0$. Classify with $f''$: positive means minimum, negative means maximum. If $f''=0$ the test is inconclusive — check the sign of $f'$ on either side instead.
Concavity and inflexion
$f''>0$ is concave up, $f''<0$ concave down. A point of inflexion needs $f''=0$ and a change of sign in $f''$ — the second condition is the one candidates omit.
Worked example: tangent and normal at a point
Given the curve $y=x^{3}-2x$. Find the equation of the tangent and the normal at the point with x-coordinate $x=2$.
Solution
Step 1 — coordinates of the point. Many answers lose marks at exactly this step because the question gives only the x-coordinate.
$$y(2)=8-4=4\;\Longrightarrow\;\text{point }(2,\,4)$$Step 2 — gradient of the tangent.
$$\frac{dy}{dx}=3x^{2}-2\;\Longrightarrow\;\left.\frac{dy}{dx}\right|_{x=2}=12-2=10$$Step 3 — equation of the tangent. Use point–gradient form:
$$y-4=10(x-2)\;\Longrightarrow\;y=10x-16$$Step 4 — the normal. The normal is perpendicular to the tangent so its gradient is the negative reciprocal:
$$m_{\text{normal}}=-\frac{1}{10}\;\Longrightarrow\;y-4=-\frac{1}{10}(x-2)\;\Longrightarrow\;y=-\frac{x}{10}+\frac{21}{5}$$Quick check: both lines must pass through $(2,4)$. Substituting into the tangent gives $20-16=4$; substituting into the normal gives $-0.2+4.2=4$. Both match.
The most common error of this type is using the function value as the gradient, i.e. writing $y-4=4(x-2)$. Keep it clear: $f(a)$ gives the height, $f'(a)$ gives the slope.
Worked example: classifying stationary points when the second-derivative test fails
Given $f(x)=x^{4}-4x^{3}$. Find all stationary points and classify them.
Solution
Step 1 — find the stationary points.
$$f'(x)=4x^{3}-12x^{2}=4x^{2}(x-3)=0\;\Longrightarrow\;x=0\ \text{or}\ x=3$$Step 2 — test with the second derivative.
$$f''(x)=12x^{2}-24x=12x(x-2)$$At $x=3$: $f''(3)=12(3)(1)=36>0$, so it is a minimum.
At $x=0$: $f''(0)=0$ — the test is inconclusive. This is what the problem is really asking.
Step 3 — turn to the sign of $f'$ on either side of $x=0$. Since $f'(x)=4x^{2}(x-3)$ and $4x^{2}\ge 0$ always, the sign of $f'$ is decided only by $(x-3)$. For all $x$ near $0$, we have $x-3<0$, so $f'<0$ on both sides.
The function decreases before and decreases after, with no change of direction, so $x=0$ is not an extremum — it is a stationary point of inflection (a horizontal stationary point on a monotonic stretch).
The lesson: $f''=0$ says nothing at all. It neither confirms a point of inflection nor rules out an extremum — you must examine the sign of $f'$ to answer.