Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

How to Sketch a Curve Using Derivatives

Curve sketching puts the earlier methods together: domain and intercepts, asymptotes, where the function rises and falls, where it bends, and the key points. Each item is one line of work; the sketch is the summary of the table.

Recognize the task

"Sketch the graph of ff", "analyze the function", "use the first and second derivatives to graph", or a question that lists several items at once: intervals of increase, extrema, concavity, inflection points, asymptotes.
The full procedure is described in Curve Sketching of the graph analysis lesson.

Steps

StepOn f(x)=x2x2−1f(x) = \frac{x^2}{x^2 - 1}
1Domain, symmetry, intercepts. Where is ff undefined? Is it even or odd? Where does it cross the axes?x≠±1x \neq \pm 1; even; passes through (0,0)(0, 0)
2Asymptotes. Vertical where the denominator is 00 (and the numerator is not); horizontal or oblique from the behaviour as x→±∞x \to \pm\infty.vertical x=±1x = \pm 1; horizontal y=1y = 1
3First derivative: critical points, rise and fall, extrema. Follow the method for increasing and decreasing intervals and classify with the first derivative test.f′(x)=−2x(x2−1)2f'(x) = \frac{-2x}{(x^2 - 1)^2}: up on (−∞,−1)∪(−1,0)(-\infty, -1) \cup (-1, 0), down on (0,1)∪(1,∞)(0, 1) \cup (1, \infty); local max (0,0)(0, 0)
4Second derivative: concavity and inflection points. Follow the method for concavity and inflection points. A sign change of f′′f'' outside the domain is not an inflection point.f′′(x)=6x2+2(x2−1)3f''(x) = \frac{6x^2 + 2}{(x^2 - 1)^3}: up for ∣x∣>1|x| > 1, down for ∣x∣<1|x| < 1; no inflection points
5Plot the skeleton, then draw each piece. Draw the asymptotes and the key points first. Then draw one piece per interval of the domain, rising or falling and bending as the table says, approaching the asymptotes at the ends.three pieces: left branch down to y=1y = 1 from above, a cap through (0,0)(0, 0) below the axis, right branch mirroring the left
6Check the sketch against every row of the table. A maximum must sit where f′f' changes from ++ to −- and the curve there must be concave down; a branch must never cross a vertical asymptote.all rows agree

Worked examples

Example 1 · rational function with three pieces

full analysis
f(x)=x2x2−1f(x) = \frac{x^2}{x^2 - 1}
domain x≠±1x \neq \pm 1, even, through (0,0)(0, 0)
x=±1x = \pm 1 vertical, y=1y = 1 horizontal
asymptotes
f′(x)=−2x(x2−1)2f'(x) = \frac{-2x}{(x^2 - 1)^2}
sign of −2x-2x: up for x<0x < 0, down for x>0x > 0; max (0,0)(0, 0)
f′′(x)=6x2+2(x2−1)3f''(x) = \frac{6x^2 + 2}{(x^2 - 1)^3}
sign of (x2−1)3(x^2 - 1)^3: up outside, down between
middle piece: a cap from −∞-\infty up to (0,0)(0, 0) and back down; outer pieces: above y=1y = 1, falling toward it on the right
the sketch

Example 2 · cubic polynomial

no asymptotes
f(x)=x3−3xf(x) = x^3 - 3x
odd; zeros at 0,±30, \pm\sqrt{3}
f′(x)=3(x−1)(x+1)f'(x) = 3(x - 1)(x + 1)
local max (−1,2)(-1, 2), local min (1,−2)(1, -2)
f′′(x)=6xf''(x) = 6x
inflection point (0,0)(0, 0); down on the left, up on the right
an S-shape through the three zeros, turning at (−1,2)(-1, 2) and (1,−2)(1, -2)
the sketch

See it happen

A sketch is a table turned into a picture. Each row (domain, asymptotes, sign of f′f', sign of f′′f'') fixes one feature. Draw the asymptotes first, place the extrema and inflection points, then join them with pieces that rise or fall and bend the way the table says.

Common mistakes

Crossing a vertical asymptote

✗ one continuous curve through x=1x = 1
✓ each side of a vertical asymptote is a separate piece

Marking an inflection point outside the domain

✗ x2x2−1\frac{x^2}{x^2 - 1} has inflection points at x=±1x = \pm 1
✓ ff is not defined there; the concavity changes across the asymptote, not at a point of the graph

Assuming the graph never meets a horizontal asymptote

✗ y=1y = 1 is never reached, so stay clear of it everywhere
✓ a graph may cross a horizontal asymptote at finite xx; it only has to approach it as x→±∞x \to \pm\infty

Drawing a maximum that bends the wrong way

✗ a hump that is concave up
✓ at a local maximum f′f' changes from ++ to −- and the curve is concave down