📘 CodingMarble Learn

Curve Sketching Using Derivatives

To sketch y = f(x): find the domain and intercepts, solve f'(x) = 0 for stationary points, use the sign of f'(x) to see where the curve rises or falls, use f''(x) for concavity and points of inflection, check asymptotes and end behaviour, then join everything smoothly. Example: y = x³ − 3x has a maximum at (−1, 2), a minimum at (1, −2) and an inflection at (0, 0).

🎬 Step-by-step story

  1. Start with the easy points: where does y = x³ − 3x cut the axes? At x = 0 and x = ±1.73.
  2. Find where the slope is zero: f'(x) = 3x² − 3 = 0 gives x = ±1. These are the stationary points (−1, 2) and (1, −2).
  3. Check the sign of f'(x) in each part: + then − then +. The curve rises, falls, then rises.
  4. Use f''(x) = 6x to see the bending: a cap (∩) on the left, a cup (∪) on the right, with an inflection at (0, 0).
  5. Join all the key points and add the ends: up on the right, down on the left. That is the sketch.
  6. Your turn: change a in y = x³ − ax and watch the turning points appear or vanish.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Why do we start with intercepts instead of derivatives?

They are quick to find and fix the curve to the axes, so the later shape has something to hang on.

Why is the slope zero at the top of a hill?

Just before the top the curve goes up, just after it goes down. Exactly at the top it is flat for an instant, so f'(x) = 0.

How do I know which stationary point is the max?

Look at the sign of f' around it: + then − is a max. Or use f'': negative means max.

Is the point of inflection always where the curve crosses the x-axis?

No. It is where the bending changes. For x³ − 3x it happens to be (0, 0), but for x³ − 6x² + 9x it is (2, 2).

How do I know what the curve does far away?

Look at the highest power: for large x, x³ is far bigger than 3x, so y behaves like x³.

Does every cubic have a max and a min?

No. If f'(x) = 0 has no real roots, there are none. Move a below 0 to see it.

The curve sketching checklist

A sketch is not an exact plot. It shows the right shape and the important points. Work through this list:

  1. Domain: which x-values are allowed? (No division by 0, no square root of a negative.)
  2. Intercepts: put x = 0 to get the y-intercept; solve f(x) = 0 for x-intercepts.
  3. Symmetry: if f(−x) = f(x) the graph is symmetric about the y-axis (even); if f(−x) = −f(x) it is symmetric about the origin (odd).
  4. Stationary points: solve f'(x) = 0.
  5. Sign table (variation table): where f'(x) > 0 the curve rises; where f'(x) < 0 it falls.
  6. Concavity: f''(x) > 0 means cup-shaped (∪); f''(x) < 0 means cap-shaped (∩).
  7. Asymptotes and ends: what happens as x → ±∞ and near points not in the domain?
  8. Join the points with a smooth curve that obeys all of the above.

Stationary points: maximum, minimum, or neither

A stationary point is where the tangent is flat: f'(x) = 0. Decide its type in one of two ways.

First-derivative test: look at the sign of f' just before and after. + then − gives a local maximum; − then + gives a local minimum; no change of sign gives a stationary point of inflection (e.g. y = x³ at 0).

Second-derivative test: f''(x) < 0 → maximum; f''(x) > 0 → minimum; f''(x) = 0 → test fails, use the sign table.

The global (absolute) maximum on an interval [a, b] is the biggest value among the local maxima and the end values f(a), f(b).

Concavity and points of inflection

The second derivative tells how the slope changes. If f''(x) > 0 the slope keeps increasing and the curve holds water like a cup (concave up). If f''(x) < 0 it spills water like a cap (concave down).

A point of inflection is where the concavity changes. Find where f''(x) = 0 and check that f'' really changes sign there. For y = x⁴, f''(0) = 0 but f'' does not change sign, so (0, 0) is a minimum, not an inflection.

Asymptotes and rational functions

An asymptote is a line the curve gets closer and closer to.

On a sketch draw asymptotes as dashed lines first, then fit the curve around them.

Graphs in economics and the length of a curve

Economics: cost C(q), revenue R(q) and profit P(q) = R(q) − C(q) are functions of quantity q. Profit is greatest where P'(q) = 0 and P''(q) < 0, which is where marginal revenue equals marginal cost (R'(q) = C'(q)). Average cost C(q)/q is often U-shaped.

Arc length: the length of a smooth curve y = f(x) from x = a to x = b is

L = ∫ab √(1 + (f'(x))²) dx.

It adds up tiny slanted pieces, each of length √(dx² + dy²). For motion, the distance travelled from t = a to t = b is ∫ |v(t)| dt.

Key formulas and definitions

Worked examples

1. Find the stationary points of y = x² − 4x + 1 and their type.

y' = 2x − 4 = 0 → x = 2, y = 4 − 8 + 1 = −3. y'' = 2 > 0, so (2, −3) is a minimum. The parabola opens upward.

2. Sketch y = x³ − 3x.

Intercepts: (0, 0), (±√3, 0). y' = 3x² − 3 = 0 → x = ±1: (−1, 2) and (1, −2). Signs of y': + − +, so max at (−1, 2), min at (1, −2). y'' = 6x: inflection at (0, 0). Ends: up on the right, down on the left. Odd function, symmetric about the origin.

3. Sketch y = x³ − 6x² + 9x.

y = x(x − 3)², so intercepts (0, 0) and (3, 0), touching at x = 3. y' = 3x² − 12x + 9 = 3(x − 1)(x − 3) = 0 → x = 1, 3. y(1) = 4, y(3) = 0. y'' = 6x − 12: y''(1) = −6 → max (1, 4); y''(3) = 6 → min (3, 0). Inflection where 6x − 12 = 0: x = 2, y = 2.

4. Find the asymptotes of y = (2x + 1)/(x − 1) and the intercepts.

Vertical: x = 1. Horizontal: y → 2 as x → ±∞. y-intercept: x = 0 → y = −1. x-intercept: 2x + 1 = 0 → x = −0.5. y' = −3/(x − 1)² < 0, so the curve falls on each side of x = 1.

5. Profit P(q) = −2q² + 40q − 50 (thousand ₹ or €). Find the best quantity and the largest profit.

P'(q) = −4q + 40 = 0 → q = 10. P''(q) = −4 < 0, so it is a maximum. P(10) = −200 + 400 − 50 = 150 thousand.

6. Find the arc length of y = (2/3)x^(3/2) from x = 0 to x = 3.

y' = x^(1/2), so 1 + (y')² = 1 + x. L = ∫₀³ √(1 + x) dx = (2/3)(1 + x)^(3/2) from 0 to 3 = (2/3)(8 − 1) = 14/3 ≈ 4.67 units.

Common mistakes

Practice quiz

1. Stationary points are found by solving:
2. If f''(x) > 0 at a stationary point, the point is a:
3. For y = x³ − 3x, the local maximum is at:
4. The vertical asymptote of y = 1/(x − 4) is:
5. If f'(x) < 0 on an interval, the curve there is:

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What are the steps of curve sketching?

Domain, intercepts, symmetry, stationary points (f' = 0), sign table of f', concavity and inflection (f''), asymptotes and end behaviour, then join smoothly.

How do you tell a maximum from a minimum?

If f' changes from + to −, or f'' < 0, it is a maximum. If f' changes from − to +, or f'' > 0, it is a minimum.

What is a point of inflection?

A point where the curve changes from bending one way (∩) to the other (∪), so f'' changes sign there.

Where this is taught

Spain2º BachilleratoAlgebraic Sense
Spain2º BachilleratoAlgebraic Sense
USA (Common Core, NGSS, AP)Grade 12Applications of Integration
South Korea고등학교 2학년Differentiation
South Korea고등학교 2학년Differentiation and the economy
South Korea고등학교 3학년Differentiation and economy
South Korea고등학교 3학년Differentiation
FrancePremièreAnalysis

Learn first

Learn next

Related lessons

All Maths lessons