Lesson 6 of 8 · 20 min

Sketching graphs with derivatives

Combine intercepts, stationary points, points of inflection, concavity and end behaviour to sketch polynomial, exponential and logarithmic graphs with every key feature labelled.

What you will be able to do

  • Use the first and second derivatives to locate and classify stationary points and points of inflection.
  • Sketch a graph with intercepts, stationary points, points of inflection and asymptotes labelled, and the correct concavity between them.
  • Read features of ff from the graphs of f′f' and f′′f''.

A graphics calculator draws a graph in a second, but it cannot tell you where the important points are exactly, or why the graph has the shape it does. Calculus can. With f′f' and f′′f'' you can find every turning point and every change of bend, then join them up with confidence.

Sketching y = f(x) with calculus

  1. Domain and intercepts

    State the domain. Find the yy-intercept, f(0)f(0), and the xx-intercepts if they can be found.

  2. Stationary points

    Solve f′(x)=0f'(x) = 0, find the yy-coordinates, and classify each one with the second derivative test (or a sign table if the test fails).

  3. Points of inflection

    Solve f′′(x)=0f''(x) = 0 and check that f′′f'' changes sign.

  4. End behaviour and asymptotes

    What happens as x→∞x \to \infty and x→−∞x \to -\infty, and near any value excluded from the domain?

  5. Plot and join

    Plot the labelled points, then draw a smooth curve that has the right concavity on each interval.

Worked example

Sketch y=x3−3x2−9x+27y = x^3 - 3x^2 - 9x + 27

  • Complex familiar
  • Technology free

Sketch the graph of f(x)=x3−3x2−9x+27f(x) = x^3 - 3x^2 - 9x + 27, labelling the axis intercepts, stationary points and point of inflection. (Hint: f(3)=0f(3) = 0.)

The sketch, with every key feature labelled.

6 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Intercepts, then stationary points with the second derivative test.

  2. Points of inflection from f′′(x)=0f''(x) = 0 with a sign change.

  3. End behaviour from the leading term.

  4. Join with the right concavity on each side of the point of inflection.

Watch out for

  • Drawing the graph crossing the xx-axis at x=3x = 3. A repeated factor (x−3)2(x - 3)^2 means it touches and turns.

  • Leaving the point of inflection unlabelled. It is a key feature.

Interactive

Check the features

With b=27b = 27 this is the cubic from the example. Changing bb slides the graph up and down: the xx-coordinates of the turning points (−1-1 and 33) and the point of inflection (11) never change, because bb disappears when you differentiate.

The graph of y=f(x)y = f(x) is shown. At which labelled point are both f′(x)>0f'(x) > 0 and f′′(x)<0f''(x) < 0?

Choose one answer

The same process works for exponential and logarithmic functions. They bring two extra features to watch for: asymptotes, and restricted domains such as x>0x > 0 for ln⁡(x)\ln(x).

Worked example

Sketch y=xe−xy = xe^{-x}

  • Complex familiar
  • Technology free

Sketch the graph of f(x)=xe−xf(x) = xe^{-x}, labelling the intercepts, the stationary point, the point of inflection and any asymptote. Give coordinates exactly.

y=xe−xy = xe^{-x} has a maximum at (1,e−1)(1, e^{-1}) and a point of inflection at (2,2e−2)(2, 2e^{-2}), and approaches y=0y = 0 as x→∞x \to \infty.

6 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Factor out e−xe^{-x} after each product rule: its sign is always positive.

  2. The sign of f′f' or f′′f'' is then the sign of the remaining factor.

  3. Use "exponentials beat powers" for end behaviour.

Watch out for

  • Sign errors with ddxe−x=−e−x\frac{d}{dx}e^{-x} = -e^{-x}.

  • Drawing the curve crossing the asymptote y=0y = 0 for large xx. Here y>0y > 0 for all x>0x > 0.

Tip

Exponentials win

As x→∞x \to \infty, e−xe^{-x} shrinks to zero faster than any power of xx grows, so xe−x→0x e^{-x} \to 0 and x2e−x→0x^2e^{-x} \to 0. As x→∞x \to \infty, ln⁡(x)\ln(x) grows more slowly than any positive power of xx, so ln⁡(x)x→0\frac{\ln(x)}{x} \to 0. Use these facts for end behaviour.

Reading the derivative graphs. You can also work backwards. Since f′′f'' is the derivative of f′f', the points of inflection of ff are where f′f' has its turning points. And the stationary points of ff are where the graph of f′f' crosses the xx-axis.

The graph of y=f′(x)=x2−2x−3y = f'(x) = x^2 - 2x - 3. ff has stationary points where this graph crosses the xx-axis, and a point of inflection at x=1x = 1, where this graph turns.

Use the graph of y=f′(x)y = f'(x) above. What is the nature of the stationary point of ff at x=−1x = -1?

Choose one answer

Exam tip

What a sketch must show

Label every intercept, stationary point and point of inflection with exact coordinates (or decimals if the question allows), draw asymptotes as dashed lines with their equations, and make the concavity match your analysis. A sketch is not a plot: it does not need to be to scale, but the features must be in the right order and the right places relative to each other.

Summary

  • Process: domain and intercepts, stationary points and their nature, points of inflection, end behaviour, then join with the right concavity.

  • A cubic has one point of inflection, halfway between its turning points (when it has two).

  • Constants added to ff move the graph up or down but do not change the xx-coordinates of stationary points or points of inflection.

  • Exponential decay beats any power: xne−x→0x^ne^{-x} \to 0 as x→∞x \to \infty.

  • Stationary points of ff: where f′f' crosses the axis. Points of inflection of ff: where f′f' turns.

Finished the lesson?

Try the 2 quick checks above and the lesson completes itself, or mark it complete now.

Lesson 6 of 80% read

Save your progress with a free account