2F

Systematic curve sketching with the derivative

A step-by-step routine for sketching curves: domain, symmetry, intercepts, asymptotes, stationary points and inflections, and using the sketch to solve polynomial inequations.

You now have all the tools: intercepts, asymptotes, the first derivative and the second derivative. This section puts them in a fixed order, so that faced with any new function you know exactly what to do next.

The routine

Not every question needs every step. Polynomials have no asymptotes, and the second derivative is often only asked for when the question says so. But going through the list stops you missing a feature.

A polynomial

Example 1●●

Sketch $y = x(x - 3)^2$, showing intercepts, stationary points and the point of inflection.

Domain: all real $x$.
A polynomial is defined everywhere. It is neither even nor odd.
Intercepts: $(0, 0)$ and $(3, 0)$. The curve crosses at $x = 0$ and touches at $x = 3$.
Read the zeroes straight from the factors. The squared factor is a double zero, where the curve touches the axis without crossing.
$y' = 3x^2 - 12x + 9 = 3(x - 1)(x - 3)$. $\;y'' = 6x - 12$.
Expand to x³ − 6x² + 9x, then differentiate and factor.
$y''(1) = -6 \lt 0$: maximum at $(1, 4)$. $\;y''(3) = 6 \gt 0$: minimum at $(3, 0)$.
Second-derivative test at each stationary point.
Point of inflection at $x = 2$: $(2, 2)$.
y″ is a line, so it changes sign at its zero.
As $x \to \infty$, $y \to \infty$; as $x \to -\infty$, $y \to -\infty$.
The leading term is x³.

With the sketch drawn, inequations can be read off it. The curve is above the axis for $x \gt 0$, except at $x = 3$ where it touches. So $x(x - 3)^2 \gt 0$ for $x \gt 0$, $x \ne 3$.

A curve with asymptotes

Example 2●●●

Sketch $y = \dfrac{1}{x^2 - 4}$.

Domain: $x \ne 2$, $x \ne -2$.
The denominator x² − 4 = (x − 2)(x + 2) is zero at ±2.
$f(-x) = f(x)$, so the curve is even: symmetric in the $y$-axis.
Replacing x by −x leaves x² unchanged.
$y$-intercept $-\tfrac14$. No $x$-intercepts.
The top is 1, never 0, so there are no zeroes.
$y \gt 0$ for $x \lt -2$ or $x \gt 2$, and $y \lt 0$ for $-2 \lt x \lt 2$.
Signs can only change at the breaks ±2. Test x = −3, 0 and 3.
Vertical asymptotes $x = 2$ and $x = -2$. As $x \to \pm\infty$, $y \to 0^+$, so $y = 0$ is a horizontal asymptote.
Near x = 2 the bottom is tiny, so y is huge. The table of signs gives which way. For large x the bottom is huge, so y is tiny and positive.
$y' = \dfrac{-2x}{(x^2 - 4)^2}$: positive for $x \lt 0$ and negative for $x \gt 0$ (dodging $\pm 2$). So $\left(0, -\tfrac14\right)$ is a maximum turning point.
Chain rule on (x² − 4)⁻¹. The bottom is a square, so the sign of y′ is the sign of −2x.

The middle branch is an upside-down cup between the two asymptotes, peaking at $\left(0, -\tfrac14\right)$. The outer branches sit above the axis, rising towards the asymptotes and flattening towards $y = 0$ far out.

Your turn

Solve $(x + 2)(x - 1)^2(x - 5) \lt 0$.

Show the working

The zeroes are $-2$, $1$ and $5$, but the double zero at $1$ gives no sign change. The quartic has positive leading term, so it is positive for $x \lt -2$, negative from $-2$ to $5$ (touching $0$ at $x = 1$), and positive for $x \gt 5$. The solution is $-2 \lt x \lt 5$, $x \ne 1$.

Practice
  1. $y = x^4 - x^2$ is:

  2. For $y = x(x - 3)^2$, find the $y$-coordinate of the maximum turning point.

  3. For $y = x(x - 3)^2$, find the $x$-value of the point of inflection.

  4. The solution of $x(x - 3)^2 \gt 0$ is:

  5. Find the $y$-intercept of $y = \dfrac{1}{x^2 - 4}$.

  6. The asymptotes of $y = \dfrac{1}{x^2 - 4}$ are:

  7. As $x \to \infty$, $y = \dfrac{2x^2 + 1}{x^2 + 3}$ approaches:

  8. How many integers satisfy $(x + 2)(x - 1)^2(x - 5) \lt 0$?

  9. Exam style: $y = x^3 - 3x^2 + 4 = (x + 1)(x - 2)^2$. Find the $y$-coordinate of its point of inflection.

  10. Exam style: using a sketch of $y = x^3 - 3x^2 + 4$, for which $k$ does $x^3 - 3x^2 + 4 = k$ have three solutions?

Formula sheet