Skip to main content
Mathovia

Calculus / Calculus 1 · Applications of Derivatives

Curve Sketching

Curve sketching means drawing an accurate graph from a formula. The first derivative tells you where the graph rises and falls, the second derivative tells you how it bends, and limits give you the asymptotes. Put together, they pin down the shape.

Practice Problems
Written by
MPhil in Mathematics, Founder of Mathovia
Published

Mathematics verification: Mathematical formulas, calculations, worked examples and solutions are reviewed for accuracy before publication. How we check our work

Curve sketching is the process of drawing an accurate graph of a function from its formula, using calculus to find every feature that matters. Each tool from this chapter answers one question:

  • answers where the graph rises and falls, and where its peaks and valleys are.
  • answers which way the graph bends, and where the bending switches.
  • Limits answer what happens at the edges: asymptotes and end behavior.

A graphing calculator gives you a picture. Curve sketching tells you why the picture looks the way it does, and guarantees you haven’t missed a feature off-screen.

f prime greater than 0 means increasing, f prime less than 0 means decreasing, f double prime greater than 0 means concave up, f double prime less than 0 means concave down
What the signs of f′ and f″ tell you

What f′ and f″ Tell You About a Graph

The sign of gives the direction, from the first derivative test. The sign of gives the bending, from concavity. Combining the two, every smooth piece of a graph has one of four shapes:

Four curve pieces. f prime positive and f double prime positive: increasing and concave up, curving upward more and more steeply. f prime positive and f double prime negative: increasing and concave down, leveling off. f prime negative and f double prime positive: decreasing and concave up, leveling off at the bottom. f prime negative and f double prime negative: decreasing and concave down, falling more and more steeply
The four shapes, from the signs of f′ and f″

Curve sketching finds where those signs change, so you know which shape to draw on each interval.

Curve Sketching Steps

  1. Domain. Where is defined? Note any excluded points.
  2. Intercepts. The y-intercept is . The x-intercepts solve (skip them if they’re hard to find).
  3. Symmetry. If , the graph is symmetric about the y-axis (even). If , it’s symmetric about the origin (odd).
  4. Asymptotes and end behavior. Find vertical asymptotes with infinite limits and horizontal asymptotes with limits at infinity.
  5. First derivative. Find the critical points, make a sign chart for , and list the intervals of increase and decrease and the local maxima and minima.
  6. Second derivative. Make a sign chart for , and list the intervals of concavity and the inflection points.
  7. Sketch. Plot the intercepts, extrema and inflection points, draw the asymptotes, and connect the points with the shapes the sign charts call for.

Example 1: A Cubic

Sketch .

Domain and intercepts. All real numbers. , and gives x-intercepts and .

Symmetry and asymptotes. Neither even nor odd. A polynomial has no asymptotes; as , , and as , .

First derivative. , so the critical points are and .

Interval
Sign of +−+
isincreasingdecreasingincreasing

So has a local maximum at and a local minimum at .

Second derivative. , which is negative for and positive for . So is concave down on , concave up on , and has an inflection point at .

Sketch. Rise to the peak at , fall through the inflection point to the valley at , then rise through .

The graph of y equals x cubed minus 3 x squared with a local maximum at (0, 0), an inflection point at (1, negative 2), a local minimum at (2, negative 4) and an x-intercept at (3, 0). Below the graph, a sign chart for f prime shows plus, minus, plus with breaks at 0 and 2, and a sign chart for f double prime shows minus then plus with a break at 1
The sign charts line up with the graph: f′ decides rising or falling, f″ decides the bend

Example 2: A Quartic With a Flat Inflection Point

Sketch .

Intercepts. , and gives x-intercepts and . As , .

First derivative. . Critical points: and . Because , the sign of is the sign of : negative on and , positive on . So decreases until and increases after. The only local extremum is a minimum at . At the tangent is horizontal, but doesn’t change sign, so there’s no extremum there.

Second derivative. : positive on , negative on , positive on . Inflection points at and .

Sketch. Come down from the upper left, concave up. At the origin the graph flattens out (horizontal tangent) and switches to concave down while still falling. At it switches back to concave up, bottoms out at , and rises through .

Example 3: A Rational Function With Asymptotes

Sketch .

Domain. .

Intercepts and symmetry. The only intercept is . Since , the graph is symmetric about the y-axis.

Asymptotes. The denominator is zero at and the numerator isn’t, so there are vertical asymptotes there. Near : and ; by symmetry, the reverse happens at . The degrees of the numerator and denominator are equal, so , a horizontal asymptote .

First derivative. By the quotient rule,

The denominator is positive, so for and for (away from ). is increasing on and , decreasing on and , with a local maximum at .

Second derivative. Differentiating again and simplifying,

The numerator is always positive, so the sign follows : concave up for , concave down for . The concavity changes only at , which aren’t in the domain, so there are no inflection points.

The graph of y equals x squared over x squared minus 1, with dashed vertical asymptotes at x equals negative 1 and 1 and a dashed horizontal asymptote at y equals 1. The middle branch is an upside-down U with its peak, a local maximum, at the origin. The outer branches come down from the asymptotes and level off toward y equals 1
Three branches, separated by the vertical asymptotes x = ±1

Example 4: An Exponential Function

Sketch .

Domain and intercepts. All real numbers; the only intercept is .

End behavior. As , (by L’Hôpital’s rule), so is a horizontal asymptote on the right. As , .

First derivative. . Since , increases for and decreases for . Local (and absolute) maximum: .

Second derivative. . Concave down for , concave up for , with an inflection point at .

Sketch. Rise steeply from the lower left through the origin, peak at , fall and switch to concave up at , then flatten out toward the x-axis without reaching it.

Graphs of f, f′ and f″

Curve sketching also runs in reverse: given the graph of a function, sketch its derivative graph, or given the graph of , describe . The connections are the same sign facts, read off a picture instead of a formula.

On the graph of On the graph of On the graph of
increasingabove the x-axis
decreasingbelow the x-axis
local max or mincrosses the x-axis
concave upincreasingabove the x-axis
concave downdecreasingbelow the x-axis
inflection pointlocal max or mincrosses the x-axis

Each graph tells you about the one above it in the same way: the sign of a graph is the direction of the graph above it.

Three graphs stacked on the same x-axis with dashed guides at x equals 0, 1 and 2. Top: f of x equals x cubed minus 3 x squared, with a maximum at 0, an inflection point at 1 and a minimum at 2. Middle: f prime of x equals 3 x squared minus 6 x, a parabola that crosses zero at 0 and 2 and has its minimum at 1. Bottom: f double prime of x equals 6 x minus 6, a line that crosses zero at 1
The extrema of f line up with the zeros of f′; the inflection point lines up with the minimum of f′ and the zero of f″

How to sketch the graph of f′ from the graph of f

  1. Find the horizontal tangents (peaks, valleys, flat spots) on . Mark those x-values as zeros of .
  2. Fill in the signs. Where rises, draw above the x-axis. Where it falls, below.
  3. Match the steepness. Where is steepest, is farthest from the axis. Near a peak or valley, is close to zero.
  4. Use the inflection points. Where changes concavity, its slope is at a maximum or minimum, so has a peak or valley there.

You can also estimate individual values: is the slope of the tangent line at , so drawing the tangent and reading rise over run gives the derivative from a graph at that point.

Reading f from the graph of f′

Going the other way, look at where the graph of crosses the x-axis:

  • Crosses from above to below: has a local maximum there.
  • Crosses from below to above: has a local minimum.
  • Touches the axis without crossing: horizontal tangent, but no extremum.
  • Peak or valley of : inflection point of .

The graph of doesn’t tell you how high is, only its shape. You need one known value, such as , to place the graph vertically.

Sketch a Curve With the Following Properties

A common exercise gives you a list of properties instead of a formula.

Example 5. Sketch a curve with the following properties: , , ; on and ; on ; on and on .

  1. Plot the given points , and .
  2. Read . Rising, then falling at : local maximum at . Falling, then rising at : local minimum at .
  3. Read . Concave down to the left of 0 and concave up to the right: inflection point at .
  4. Connect with an increasing-concave-down piece up to , a decreasing-concave-down piece to , a decreasing-concave-up piece to , and an increasing-concave-up piece after.

The function has exactly these properties, but any curve with the same shape is a correct answer.

A smooth S-shaped curve that rises to a local maximum at (negative 2, 4), falls through an inflection point at (0, 2) to a local minimum at (2, 0), and rises again. Captions list the sign intervals: f prime positive on negative infinity to negative 2 and 2 to infinity, negative on negative 2 to 2; f double prime negative on negative infinity to 0, positive on 0 to infinity
One curve that matches every listed property

Common Mistakes

  • Calling every critical point an extremum. Check that changes sign. In Example 2, is a flat inflection point, not a minimum.
  • Calling every zero of an inflection point. The sign of must change, and the point must be in the domain (Example 3 has none).
  • Connecting across a vertical asymptote. Treat each piece of the domain separately.
  • Plotting only critical points. Intercepts and inflection points fix the shape between them.
  • Mixing up the graph of with the graph of . A peak on is a zero on , not a peak.

For more worked sketches, see Section 4.5 of the free textbook OpenStax Calculus Volume 1.

Practice Problems

Try each one before opening the answer. The practice set has 12 more with instant checking.

Problem 1. For , find the intervals where is increasing.

Show answer

, positive outside .

Answer: and

Problem 2. For , find the local maximum and minimum points.

Show answer

changes from + to − at and from − to + at . , .

Answer: local max , local min

Problem 3. For , find the inflection point.

Show answer

changes sign at 0, and .

Answer:

Problem 4. Find all asymptotes of .

Show answer

The denominator is zero at (the numerator is 6 there). The leading coefficients give .

Answer: vertical , horizontal

Problem 5. The graph of crosses the x-axis from below to above at . What happens to at ?

Show answer

goes from negative to positive, so goes from decreasing to increasing.

Answer: has a local minimum at

Problem 6. The graph of has a local maximum at . What does that tell you about ?

Show answer

changes from increasing to decreasing, so changes from positive to negative.

Answer: has an inflection point at (concave up to concave down)

Curve sketching brings together every tool in this chapter. Next, the Integrals chapter starts with antiderivatives: undoing the derivative.

Frequently Asked Questions

What are the steps of curve sketching?+

Find the domain, the intercepts and any symmetry. Find the asymptotes and end behavior with limits. Use to find where is increasing or decreasing and its local maxima and minima. Use to find concavity and inflection points. Then plot the key points and connect them with the right shapes.

How do you sketch the graph of a derivative?+

Mark where the graph of has horizontal tangents: those are the zeros of . Where is rising, draw above the x-axis; where it's falling, below. Steeper parts of give larger values of , and each inflection point of becomes a peak or valley of .

How do you find the derivative from a graph?+

At any point, the value of is the slope of the tangent line to the graph of there. Estimate the slope by drawing the tangent and reading rise over run. To sketch all of , repeat for several points and connect them, starting with the points where the slope is zero.

How are the graphs of f, f′ and f″ related?+

Where is increasing, is positive. A local maximum or minimum of is where crosses the x-axis. Where is concave up, is increasing and is positive. An inflection point of is a peak or valley of and a zero crossing of .

How do you sketch a curve with given properties?+

Plot any given points first. Mark where changes sign (local maxima and minima) and where changes sign (inflection points). Then, on each interval, draw the shape that matches the signs: rising or falling from , cup or cap from .

Do I need asymptotes for every curve sketch?+

Only when the function has them. Polynomials have none. Rational functions can have vertical asymptotes where the denominator is zero and horizontal or slant asymptotes from their end behavior. Exponential and logarithmic functions often have one horizontal or vertical asymptote.

Related lessons