impera Open Impera

AP Calculus AB · Analytical applications of differentiation

Curve sketching

1Putting it all together

Calculus lets you sketch an accurate graph without plotting many points. Gather the information in this order:

  1. Domain and any symmetry (even: $f(-x) = f(x)$; odd: $f(-x) = -f(x)$).
  2. Intercepts: set $x = 0$ for the $y$-intercept; solve $f(x) = 0$ for $x$-intercepts.
  3. Asymptotes: vertical (denominator zero) and horizontal (limits at $\pm\infty$).
  4. First derivative: critical points, increasing/decreasing intervals, relative extrema.
  5. Second derivative: concavity and inflection points.
  6. Plot the key points and join them with the right shape.
Check yourself

Which derivative tells you where a graph is concave up?

  • The first derivative

  • The third derivative

  • The original function

  • The second derivative

Show the answer

The second derivative

f″ > 0 means concave up.

2A polynomial example

Worked example

sketch $f(x) = x^3 - 3x$.

  1. Domain: all reals. Odd function, so symmetric about the origin.
  2. Intercepts: $f(0) = 0$; $x(x^2 - 3) = 0$ gives $x = 0, \pm\sqrt{3}$.
  3. No asymptotes (polynomial). As $x \to \infty$, $f \to \infty$; as $x \to -\infty$, $f \to -\infty$.
  4. $f'(x) = 3x^2 - 3 = 3(x - 1)(x + 1)$. Increasing on $(-\infty, -1)$ and $(1, \infty)$, decreasing on $(-1, 1)$. Relative max $(-1, 2)$, relative min $(1, -2)$.
  5. $f''(x) = 6x$. Concave down for $x < 0$, concave up for $x > 0$. Inflection at $(0, 0)$.

The graph of f(x) = x³ − 3x with its key features labelled

Check yourself

For f(x) = x³ − 3x, the relative maximum is at:

  • (0, 0)

  • (√3, 0)

  • (1, −2)

  • (−1, 2)

Show the answer

(−1, 2)

f′ changes from positive to negative at x = −1.

3The four shapes

Combining direction and concavity gives four basic shapes for a piece of a curve:

  • Increasing and concave up: rising more and more steeply.
  • Increasing and concave down: rising but levelling off.
  • Decreasing and concave up: falling but levelling off.
  • Decreasing and concave down: falling more and more steeply.

A good method: make a combined sign chart with rows for $f'$ and $f''$, splitting the number line at all critical points and inflection candidates. Then each interval gets one of the four shapes.

Check yourself

A curve that is increasing and concave down is:

  • Rising but levelling off

  • Falling more and more steeply

  • Falling but levelling off

  • Rising more and more steeply

Show the answer

Rising but levelling off

The slopes are positive but shrinking.

4A rational function example

Worked example

sketch $f(x) = \frac{x}{x^2 + 1}$.

  1. Domain: all reals (the denominator is never 0). Odd function.
  2. Intercept: $(0, 0)$ only.
  3. Horizontal asymptote: $y = 0$ (degree of top less than bottom). No vertical asymptotes.
  4. $f'(x) = \frac{(x^2 + 1) - x(2x)}{(x^2 + 1)^2} = \frac{1 - x^2}{(x^2 + 1)^2}$. Critical points $\pm 1$. Decreasing on $(-\infty, -1)$, increasing on $(-1, 1)$, decreasing on $(1, \infty)$. Relative min $\left(-1, -\frac{1}{2}\right)$, relative max $\left(1, \frac{1}{2}\right)$.
  5. $f''(x) = \frac{2x(x^2 - 3)}{(x^2 + 1)^3}$, which changes sign at $x = 0$ and $x = \pm\sqrt{3}$: three inflection points.

The graph rises from near $0$ on the left (below the axis), dips to $-\frac{1}{2}$, climbs through the origin to $\frac{1}{2}$, then falls back toward $0$.

Check yourself

What is the horizontal asymptote of x/(x² + 1)?

  • y = 0

  • y = 1

  • None

  • x = 0

Show the answer

y = 0

The denominator has higher degree.

5Sketching f from information about f′

On the AP exam you might be given only the graph or a table of $f'$, and asked to describe or sketch $f$.

Worked example

$f'$ is negative on $(-\infty, 2)$ and positive on $(2, \infty)$, and $f'$ is increasing everywhere, with $f(2) = -1$.

  1. $f$ decreases then increases, so it has a minimum at $(2, -1)$.
  2. $f'$ increasing means $f'' > 0$: concave up everywhere.
  3. So $f$ looks like a U-shaped curve with its lowest point at $(2, -1)$.

You cannot find the height of $f$ from $f'$ alone; you need at least one value such as $f(2)$.

Check yourself

From the graph of f′ alone, which can you NOT determine?

  • Where f is increasing

  • Where f has relative extrema

  • Where f is concave up

  • The exact value of f(0)

Show the answer

The exact value of f(0)

You need one known value of f.

6Going deeper: assembling a graph from f, f′ and f″, and matching graphs

A checklist

  1. Domain, and any discontinuities.
  2. Intercepts: f(0); solve f(x) = 0 where practical.
  3. Symmetry: even, odd.
  4. Asymptotes: vertical (zeros of the denominator); horizontal (limits at ±∞).
  5. First derivative: critical points; intervals of increase and decrease; local extrema.
  6. Second derivative: concavity; inflection points.
  7. Plot key points and join them consistently with the signs.
Worked example

$f(x) = x^4 - 4x^3$.

  1. Domain: all real numbers. Intercepts: $x^3(x - 4) = 0$: x = 0 and x = 4.
  2. $f'(x) = 4x^3 - 12x^2 = 4x^2(x - 3)$. Critical points: 0 and 3.
  3. Sign of f′: negative for x < 0; negative on (0, 3) (the factor x² does not change sign); positive for x > 3.
  4. So f decreases until x = 3, then increases: local (and absolute) minimum at (3, −27); no extremum at x = 0, only a horizontal tangent.
  5. $f''(x) = 12x^2 - 24x = 12x(x - 2)$: positive for x < 0; negative on (0, 2); positive for x > 2.
  6. Inflection points at (0, 0) and (2, −16).
  7. End behavior: up on both sides.
  8. Sketch: falling and concave up to (0, 0), where it flattens; falling and concave down to (2, −16); falling then rising, concave up, through the minimum (3, −27), crossing the axis at x = 4.

Worked example (rational): $f(x) = \frac{x}{x^2 + 1}$.

  1. Odd function; passes through the origin; horizontal asymptote y = 0.
  2. $f'(x) = \frac{1 - x^2}{(x^2 + 1)^2}$: zero at x = ±1.
  3. Local maximum at $\left(1, \frac{1}{2}\right)$; local minimum at $\left(-1, -\frac{1}{2}\right)$.
  4. The graph rises between −1 and 1 and falls toward 0 outside.

Linking the three graphs

  • Where f has a local extremum: f′ crosses zero.
  • Where f is steepest (an inflection point): f′ has a local extremum and f″ crosses zero.
  • Where f is concave up: f′ is increasing; f″ is positive.

Matching graphs: given three unlabeled graphs, find which is f, f′ and f″.

  1. Look at where one graph has zeros and another has turning points: the one with zeros is the derivative of the one with the turning points.
  2. Check signs: where the candidate derivative is positive, the candidate function must rise.
  3. The graph of a polynomial's derivative has degree one lower (one fewer turning point).
Worked example

graph A is a parabola opening upward with zeros at 1 and 3; graph B is a cubic with a local maximum at x = 1 and a local minimum at x = 3; graph C is a line crossing zero at x = 2.

  1. A's zeros match B's turning points, and A is negative between them where B falls: A = B′.
  2. C's zero (x = 2) matches A's vertex: C = A′ = B″.

Sketching f from the graph of f′: start from a given point (or any height if none is given); rise where f′ > 0; fall where f′ < 0; make turning points where f′ crosses zero; bend according to whether f′ is rising or falling.

Features that derivatives cannot show: the vertical position of f (it depends on an initial value).

Corners and vertical tangents: where f′ is undefined, f may have a corner, cusp or vertical tangent; f may still have an extremum there.

Common mistakes

  • Treating every critical point as a turning point (see x = 0 above).
  • Mislabeling an inflection point where f″ = 0 without a sign change.
  • Sketches that contradict the sign chart.
  • Forgetting asymptotes and end behavior.
  • Mixing up which graph is the derivative of which.
Check yourself

For a polynomial f, the graph of f′ touches the x-axis at x = 2 without crossing it. At x = 2, the graph of f has:

  • A local minimum with a horizontal tangent

  • A horizontal tangent but no local extremum

  • A local maximum with a horizontal tangent

  • A vertical tangent and a sharp cusp

Show the answer

A horizontal tangent but no local extremum

f′ is zero there but does not change sign, so f keeps increasing or decreasing through the point.

7For top marks

  • Organise work in a sign chart with $f'$ and $f''$ rows; it is fast and clear.
  • Label all key points on the sketch: intercepts, extrema, inflection points and asymptotes.
  • Make the shape match the concavity, especially near inflection points.
  • When given $f'$, describe $f$ in words with justifications from $f'$ and $f''$.
Example

"Since $f'(x) > 0$ and $f''(x) < 0$ on $(0, 3)$, $f$ is increasing and concave down there."

Check yourself

A point where f′ = 0 and f″ changes sign at the same x is:

  • A vertical asymptote of the graph

  • A horizontal point of inflection

  • A relative maximum of the function

  • A relative minimum of the function

Show the answer

A horizontal point of inflection

Like x³ at 0.

Now test yourself

This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.

Practise in Impera