On this concept: Formula

Not sure which lesson to do first? Find your level and get a plan →

Math · Introduction to Calculus · Grade 9-12

Curve Sketching

Curve sketching uses f′ to find where a function increases/decreases and its local max/min, and f′′ to find concavity and inflection points, then assembles these into an accurate graph.

f′(x)>0: increasing. f′(x)<0: decreasing. f′′(x)>0: concave up. f′′(x)<0: concave down. Inflection where f′′ changes sign.

Quick Answer

Curve sketching uses f′ to find where a function increases/decreases and its local max/min, and f′′ to find concavity and inflection points, then assembles these into an accurate graph. Use it when you need a graph's shape from its formula: where it climbs or falls, where it turns, and which way it bends. Find where f′=0 or is undefined, make a sign chart for f′, do the same for f′′, then plot the key points and join them with the right curvature.

Why This Matters

A formula like f(x)=x4−4x3 hides its shape; two sign charts reveal every turning point and bend without plotting hundreds of points or trusting a calculator's window. The same analysis answers practical questions: when a drug level peaks, when a company's growth starts to slow (an inflection point), or whether a flat spot on a graph is a peak, a valley or neither.

Intuitive Explanation

Imagine driving along the graph from left to right. The first derivative is the slope of the road: positive means climbing, negative means descending. Where the road switches from climbing to descending you pass over a peak, a local maximum; from descending to climbing, a valley, a local minimum. Such switches can only happen where f′=0 or f′ is undefined, so those critical points are where you look.

The second derivative says which way the road is curving. If f′′>0 the slope is increasing and the road bends upward like a cup (concave up); if f′′<0 it bends downward like a dome (concave down). An inflection point is where the bending flips. For f(x)=2x3−3x2, f′(x)=6x(x−1) is positive, then negative, then positive, so the graph rises to a peak at (0,0), falls to a valley at (1,−1) and rises again. f′′(x)=12x−6 changes sign at x=12, so the bend flips at (12,−12), halfway between the two turns.

Direction and bending are separate questions. A curve can rise while bending down, like x, which climbs ever more slowly. And a zero derivative is not automatically a turn: f(x)=x3 has f′(0)=0, but f′(x)=3x2 is positive on both sides, so the graph flattens for an instant and keeps rising. Only a sign change of f′ makes a peak or a valley, and only a sign change of f′′ makes an inflection point.

Think of it like this. Ride a roller coaster with your eyes closed. You feel whether you are climbing or dropping (the sign of f′), and whether you are pressed into your seat at the bottom of a dip or lifted out of it over a crest (concave up or down, the sign of f′′). Peaks and valleys are where climbing turns to dropping; inflection points are where the press turns into a lift.

Core idea. The first derivative gives direction (up/down), the second gives concavity (bending up/down); together they shape the graph.


When to Use

Use it when asked to sketch a graph, find where a function is increasing or decreasing, locate and classify local extrema, or describe concavity and inflection points. The tools are sign charts for f′ and f′′, built from their zeros and undefined points. If you need only the single best value in a word problem, go straight to optimization. If you need where the graph crosses the x-axis, solve f(x)=0 instead.

Tip. Ask: Am I using the signs of f′ and f′′ to describe where the graph rises, turns, and bends?

How to Recognize It

Before building sign charts, decide how much of the graph the question wants and which features it asks about: turning, bending, crossings or far-off behaviour.

  1. Does the question want the whole shape, rather than one best value?

    The whole shape means sign charts for both f′ and f′′ across the domain. A word problem that wants only the largest area or the lowest cost is optimization: check the critical points and endpoints, nothing more.

  2. Is the feature you need about turning or bending, rather than crossing the axis?

    Turning points come from f′ and bending from f′′. Where the graph crosses the x-axis comes from solving f(x)=0, which no derivative tells you.

  3. Are there x-values missing from the domain, such as zeros of a denominator?

    Then mark them on every sign chart, because f′ and f′′ can change sign across a vertical asymptote with no turning point or inflection there. 1x switches from concave down to concave up at 0, yet has no inflection point.

  4. Does the question also ask what happens far out or close to a break?

    Then add limits: lim⁡x→±∞f(x) gives horizontal asymptotes, and one-sided limits at a zero denominator show whether the graph shoots up or down. Derivatives describe shape, not where the graph heads at its edges.

Curve Sketching compared with Optimization, First-derivative test, and Solving f(x)=0 (roots)

All four rows study the same graph and can share one worked problem. What separates them is the output you need: the whole shape, one best value, the type of a single critical point, or the x-intercepts.

Curve Sketching

Meaning
Use this when you must determine or draw a function's shape: increase/decrease, local extrema, concavity, and inflection points.
Key test
Am I using the signs of f′ and f′′ to describe where the graph rises, turns, and bends?
Formula
f′(x)>0: increasing. f′(x)<0: decreasing. f′′(x)>0: concave up. f′′(x)<0: concave down. Inflection where f′′ changes sign.
Example
For f(x)=x3−3x, find and classify the critical points.

Optimization

Meaning
Finds the single best (max or min) value for a real problem; curve sketching maps ALL the behavior.
Key test
Use when you want one optimal value, not the whole shape.
Formula
f′(x)=0 then verify
Example
largest box volume

First-derivative test

Meaning
One TOOL inside curve sketching: classifies a critical point by f′'s sign change.
Key test
Use to decide if a critical point is a max, min, or neither.
Formula
f′ changes +→− = max
Example
classify f′(c)=0

Solving f(x)=0 (roots)

Meaning
Finds where the graph crosses the x-axis, not where it turns or bends.
Key test
Use for intercepts, a separate feature from extrema/concavity.
Example
x-intercepts of f

Formula & Notation

f′(x)>0: increasing. f′(x)<0: decreasing. f′′(x)>0: concave up. f′′(x)<0: concave down. Inflection where f′′ changes sign.
f is increasing on (a,b) iff f′(x)>0  ∀x∈(a,b). f is concave up on (a,b) iff f′′(x)>0  ∀x∈(a,b). Inflection point at c: f′′ changes sign at c. Second derivative test: f′(c)=0∧f′′(c)>0  ⟹   local min; f′(c)=0∧f′′(c)<0  ⟹   local max.

How to read it: f′ = first derivative (slope/direction), f′′ = second derivative (concavity). Critical point: f′(c)=0 or undefined. Inflection point: f′′ changes sign.

Worked Examples

Example 1 — Classify a critical point

Easy

For f(x)=x3−3x, find and classify the critical points.
Show the steps and the answer
  1. Differentiate and factor: f′(x)=3x2−3=3(x−1)(x+1).

    Critical points are where f′=0, here x=−1 and x=1; f′ is defined everywhere.

  2. Make a sign chart for f′: f′(−2)=9>0, f′(0)=−3<0, f′(2)=9>0.

    The function rises, falls, then rises, so it turns at each critical point.

  3. Classify: at x=−1, f′ goes from + to −, a local max; at x=1, from − to +, a local min.

    The second-derivative test agrees: f′′(x)=6x gives f′′(−1)=−6<0, concave down at a peak, and f′′(1)=6>0, concave up at a valley.

  4. Find the heights: f(−1)=−1+3=2 and f(1)=1−3=−2.

    The local max is (−1,2) and the local min is (1,−2).

Answer: Local min at x=1, local max at x=−1

Takeaway: Find where f′=0, then let the sign change of f′, or the sign of f′′, decide between peak and valley.

Example 2 — A stationary inflection

Standard

Is x=0 a local max or min of f(x)=x3, since f′(0)=0?
Show the steps and the answer
  1. Check the sign of f′(x)=3x2 on each side of 0: f′(−1)=3>0 and f′(1)=3>0.

    The function increases on both sides, so it never turns around.

  2. Compare values: f(−0.1)=−0.001<f(0)=0<f(0.1)=0.001.

    Points just to the left are lower and points just to the right are higher, so 0 is neither a peak nor a valley.

  3. Check concavity: f′′(x)=6x is negative for x<0 and positive for x>0.

    The bending flips at 0, so the origin is an inflection point with a horizontal tangent.

Answer: Neither — x=0 is an inflection point, not an extremum

Takeaway: A critical point is an extremum only if f′ changes sign there; x3 flattens out and keeps rising.

Example 3 — Find the mistake: every zero of f''?

Application

For f(x)=x5−5x4, Kai writes: "f′′(x)=20x3−60x2=0 at x=0 and x=3, so the graph has inflection points at both." Find the mistake and correct it.
Show the steps and the answer
  1. Factor: f′′(x)=20x2(x−3), which is zero at x=0 and x=3.

    These are only candidates; an inflection point needs f′′ to change sign.

  2. Test the signs: f′′(−1)=−80, f′′(1)=−40, f′′(4)=320.

    f′′ is negative on both sides of 0, then positive after 3.

  3. Conclude: at x=0 the graph stays concave down, so there is no inflection; at x=3 it switches from concave down to concave up.

    The squared factor x2 never changes sign, so it cannot flip the concavity.

  4. Locate the inflection point: f(3)=243−405=−162.

    The only inflection point is (3,−162).

Answer: One inflection point, at (3,−162)

Takeaway: Treat f′′=0 as a candidate only; a repeated factor such as x2 gives a zero without a sign change.

Where You'll See It

  • When a drug level peaks

    After a pill, the blood concentration is C(t)=20te−t/2 mg/L. C′(t)=20e−t/2(1−t2) is zero at t=2 hours, positive before and negative after, so the peak is C(2)=40e−1≈14.7 mg/L. Doctors time the next dose from this curve.

  • When sales growth starts to slow

    Sales of a new product often follow an S-shaped curve such as N(t)=10001+e−t. Its inflection point, at t=0 with N=500, is where f′′ turns from positive to negative: sales are growing fastest there, and afterwards they keep growing but more slowly.

Common Mistakes

  1. The slip: Assuming f′(c)=0 means an extremum

    Instead: check for a sign change; f′ can touch 0 without turning (e.g. x3).

  2. The slip: Confusing concavity with increasing

    Instead: f′′ governs bending, f′ governs direction; a curve can increase while concave down.

  3. The slip: Calling every f′′=0 an inflection point

    Instead: it is an inflection only where f′′ actually CHANGES sign.


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. Find the intervals where f(x)=2x3−3x2−12x is increasing and decreasing, and its local extrema.

    Hint: Factor f′(x)=6x2−6x−12 and test its sign in each interval.

  2. Find where f(x)=x3−6x2+4 is concave up and concave down, and its inflection point.

    Hint: Use f′′(x) and check where it changes sign.

  3. For f(x)=x4−4x3, find and classify the critical points, and find the inflection points.

    Hint: f′(x)=4x2(x−3) and f′′(x)=12x(x−2). Check the signs on each side.

  4. A function has f′(x)=(x−1)(x+3)2. Where does f have local extrema?

    Hint: The squared factor is never negative. Which factor controls the sign of f′?

  5. For a sketch, you want the x-intercepts of f(x)=x2−5x+6. Do you need f′(x), or is this a roots problem?

    Hint: Do derivatives tell you where a graph crosses the x-axis?

  6. A student says: "For f(x)=x4, f′′(0)=0, so (0,0) is an inflection point." Correct the student.

    Hint: Check the sign of f′′(x)=12x2 on both sides of 0.

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

Can a function have a maximum where f′ does not exist?

Yes. f(x)=2−∣x∣f(x)=2-|x| has its highest point at x=0x=0, a corner where no tangent slope exists. That is why critical points include places where f′f' is undefined, not only where f′=0f'=0. Cusps work the same way: x2/3x^{2/3} has a minimum at 0, where its graph comes to a point with a vertical tangent.

Is a local maximum always the highest point of the graph?

No. Local means highest compared with nearby points only. The cubic x3−3xx^3-3x has a local maximum of 2 at x=−1x=-1, but the graph climbs past 2 once x>2x>2 and has no highest point at all. On a closed interval, compare every local maximum with the values at the endpoints to find the absolute maximum.

Can a graph cross its own horizontal asymptote?

Yes. A horizontal asymptote only describes the far ends of the graph. f(x)=x2+xx2+1f(x)=\frac{x^2+x}{x^2+1} approaches y=1y=1 as x→±∞x\to\pm\infty, yet f(1)=1f(1)=1, so the curve crosses its asymptote there and then approaches it from above. Vertical asymptotes are different: the graph can never touch one, because the function is undefined there.

Learning Path

Curve Sketching

You are here

Next →

Nothing after this yet
You need Derivative and Differentiation Rules to find f′ and f′′, and Optimization, which already uses critical points to find a best value. Curve sketching combines the sign of f′ (direction) with the sign of f′′ (bending) into a full picture of a graph. With it you can analyse polynomial and rational functions without a calculator, read growth curves in biology and economics, and catch a calculator window that hides a turn.

See Also