Mathwords logoMathwords

Curve Sketching

Curve Sketching

The process of using the first derivative and second derivative to graph a function or relation. As a result the coordinates of all discontinuities, extrema, and inflection points can be accurately plotted.

 

 

See also

First derivative test, second derivative test, curve

Key Formula

f(x)=0(critical points)f(x)=0(possible inflection points)f'(x) = 0 \quad \text{(critical points)} \qquad f''(x) = 0 \quad \text{(possible inflection points)}
Where:
  • f(x)f(x) = The original function you want to sketch
  • f(x)f'(x) = The first derivative — reveals where f is increasing, decreasing, and has local extrema
  • f(x)f''(x) = The second derivative — reveals concavity and inflection points

Worked Example

Problem: Sketch the curve of f(x) = x³ − 3x + 2 by finding all key features.
Step 1: Find intercepts and domain: The domain is all real numbers. The y-intercept is f(0) = 2. For x-intercepts, factor: x³ − 3x + 2 = (x − 1)²(x + 2), so x = 1 and x = −2.
f(0)=2,f(x)=0x=1,  x=2f(0) = 2, \quad f(x) = 0 \Rightarrow x = 1,\; x = -2
Step 2: First derivative — critical points and increasing/decreasing intervals: Compute f'(x) and set it equal to zero to find critical points. Then test the sign of f'(x) in each interval.
f(x)=3x23=3(x1)(x+1)=0x=1,  x=1f'(x) = 3x^2 - 3 = 3(x-1)(x+1) = 0 \Rightarrow x = -1,\; x = 1
Step 3: Classify the critical points: For x < −1, f'(x) > 0 (increasing). For −1 < x < 1, f'(x) < 0 (decreasing). For x > 1, f'(x) > 0 (increasing). So x = −1 gives a local maximum at f(−1) = 4, and x = 1 gives a local minimum at f(1) = 0.
f(1)=(1)33(1)+2=4(local max),f(1)=13+2=0(local min)f(-1) = (-1)^3 - 3(-1) + 2 = 4 \quad \text{(local max)}, \quad f(1) = 1 - 3 + 2 = 0 \quad \text{(local min)}
Step 4: Second derivative — concavity and inflection points: Set f''(x) = 0 to find candidate inflection points. Check that concavity actually changes sign around that point.
f(x)=6x=0x=0,f(0)=2(inflection point at (0,2))f''(x) = 6x = 0 \Rightarrow x = 0, \quad f(0) = 2 \quad \text{(inflection point at }(0, 2)\text{)}
Step 5: Assemble the sketch: For x < 0, f''(x) < 0 so the curve is concave down. For x > 0, f''(x) > 0 so the curve is concave up. Plot the local max (−1, 4), local min (1, 0), inflection point (0, 2), x-intercepts at x = −2 and x = 1, and the y-intercept at (0, 2). Connect with a smooth curve rising from the left, peaking at (−1, 4), dipping to (1, 0), and rising again.
Concave down on (,0);Concave up on (0,)\text{Concave down on } (-\infty, 0); \quad \text{Concave up on } (0, \infty)
Answer: The graph of f(x) = x³ − 3x + 2 has a local maximum at (−1, 4), a local minimum at (1, 0), an inflection point at (0, 2), x-intercepts at x = −2 and x = 1, and a y-intercept at (0, 2). It is concave down on (−∞, 0) and concave up on (0, ∞).

Another Example

This example differs from the first by involving a rational function with vertical and horizontal asymptotes, discontinuities, and no extrema — showing that curve sketching applies beyond simple polynomials.

Problem: Sketch the curve of f(x) = x / (x² − 1), identifying asymptotes, extrema, and symmetry.
Step 1: Domain and asymptotes: The denominator is zero when x² − 1 = 0, i.e., x = 1 and x = −1. These are vertical asymptotes. Since the degree of the numerator is less than the degree of the denominator, the horizontal asymptote is y = 0.
Vertical: x=1,  x=1Horizontal: y=0\text{Vertical: } x = -1,\; x = 1 \qquad \text{Horizontal: } y = 0
Step 2: Symmetry and intercepts: Check f(−x) = −x / (x² − 1) = −f(x), so the function is odd (symmetric about the origin). The only intercept is the origin (0, 0).
f(x)=f(x)odd function;f(0)=0f(-x) = -f(x) \quad \Rightarrow \text{odd function}; \quad f(0) = 0
Step 3: First derivative: Use the quotient rule. The numerator of f'(x) is always negative on the domain, so f is strictly decreasing on each interval of its domain.
f(x)=(x21)x(2x)(x21)2=x21(x21)2=(x2+1)(x21)2f'(x) = \frac{(x^2-1) - x(2x)}{(x^2-1)^2} = \frac{-x^2 - 1}{(x^2-1)^2} = \frac{-(x^2+1)}{(x^2-1)^2}
Step 4: Second derivative and inflection points: Using the quotient rule again (or simplifying), f''(x) = 0 when x = 0. Testing signs: f''(x) > 0 for x in (−1, 0) ∪ (1, ∞) suggests concave up there, and f''(x) < 0 for x in (−∞, −1) ∪ (0, 1) suggests concave down. The inflection point is at (0, 0).
f(x)=2x(x2+3)(x21)3=0x=0f''(x) = \frac{2x(x^2+3)}{(x^2-1)^3} = 0 \Rightarrow x = 0
Step 5: Assemble the sketch: The curve has three separate branches: one on (−∞, −1), one on (−1, 1), and one on (1, ∞). Each branch is strictly decreasing. The curve passes through the origin with an inflection point there, approaches the vertical asymptotes, and flattens toward y = 0 as x → ±∞.
No local extrema; inflection point at (0,0)\text{No local extrema; inflection point at } (0,0)
Answer: The graph of f(x) = x/(x² − 1) is an odd function with vertical asymptotes at x = −1 and x = 1, a horizontal asymptote at y = 0, no local extrema, and an inflection point at the origin. It is strictly decreasing on each interval of its domain.

Frequently Asked Questions

What are the steps for curve sketching in calculus?
A standard procedure includes: (1) find the domain, (2) identify intercepts, (3) check for symmetry, (4) find asymptotes, (5) compute f'(x) to determine intervals of increase/decrease and local extrema, (6) compute f''(x) to determine concavity and inflection points, and (7) plot all key points and connect them with a smooth curve. Not every function requires all steps — for instance, polynomials have no asymptotes.
What is the difference between the first derivative test and the second derivative test for curve sketching?
The first derivative test classifies a critical point by checking whether f'(x) changes sign around it — a change from positive to negative indicates a local maximum, and negative to positive indicates a local minimum. The second derivative test instead evaluates f''(c) at the critical point c: if f''(c) > 0 it is a local minimum, if f''(c) < 0 it is a local maximum, and if f''(c) = 0 the test is inconclusive. The first derivative test always works; the second derivative test is faster but can fail.
How do you find inflection points when sketching a curve?
Set the second derivative f''(x) equal to zero (and check where it is undefined) to find candidate x-values. Then verify that f''(x) actually changes sign at each candidate. If the concavity switches from up to down or down to up, the point is a genuine inflection point. Simply having f''(x) = 0 is not sufficient — for example, f(x) = x⁴ has f''(0) = 0 but no inflection point at x = 0.

Curve Sketching (Calculus) vs. Plotting Points (Algebra)

Curve Sketching (Calculus)Plotting Points (Algebra)
MethodUses derivatives to find key features analyticallySubstitutes many x-values to compute corresponding y-values
AccuracyPrecisely locates extrema, inflection points, and asymptotesMay miss critical features between plotted points
EfficiencyReveals global behavior with a few calculationsRequires many points for a reliable picture
PrerequisitesRequires knowledge of differentiationRequires only basic arithmetic and substitution

Why It Matters

Curve sketching is a core topic in AP Calculus (AB and BC) and most first-year university calculus courses. It ties together nearly every derivative concept — critical points, increasing/decreasing behavior, concavity, and limits — into a single comprehensive skill. Beyond exams, the ability to visualize a function's behavior from its equation is essential in physics, engineering, and economics whenever you need to understand how a quantity changes.

Common Mistakes

Mistake: Assuming every point where f'(x) = 0 is automatically an extremum.
Correction: A critical point is only an extremum if f'(x) changes sign there (first derivative test) or if the second derivative test confirms it. For example, f(x) = x³ has f'(0) = 0 but x = 0 is an inflection point, not an extremum.
Mistake: Declaring an inflection point wherever f''(x) = 0 without checking for a sign change.
Correction: f''(x) = 0 is a necessary condition but not sufficient. You must verify that f''(x) changes sign at that point. For f(x) = x⁴, f''(0) = 0 but the concavity does not change — it remains concave up on both sides.

Related Terms