Ⅶ Logic, Analysis & Beyond · Stage 36 — Limits & Derivatives · 36.5 Shape of a GraphAll lessons →
Stage 36 · Limits & Derivatives

The Derivative as a Spotlight: How Functions Behave

The sign of f′ tells you where a curve climbs, where it dives, and exactly where it turns around.

Ages 15–19 · Reasoning, one step at a time
The cubic f(x) = x³ − 3x (blue) with its peak at (−1, 2) and valley at (1, −2). Beneath, the sign chart of f′: green where f′ > 0 (rising), red where f′ < 0 (falling), amber dots where f′ = 0.

A derivative is more than a slope at one point — it is a spotlight on the whole shape of a curve. Wherever the derivative f′ is positive, the function is climbing; wherever it is negative, the function is sliding downhill; and right where it crosses zero, the curve pauses to turn around. Read the sign of f′ along the number line and you have already mapped every hill and valley — no plotting of dozens of points required. In this lesson we turn that single idea into a toolkit: find the intervals of increase and decrease, locate the peaks and valleys, decide which is which with the first-derivative test, hunt down the largest and smallest values on a closed interval (where the endpoints matter as much as the critical points), and finally sketch a curve from its derivative alone.

36.5.1 The sign of f′ — rising and falling

You already know that f′(x₀) is the slope of the tangent at x₀ — the instant rate of change. Now ask a simpler, blunter question of that slope: is it positive or negative? That single bit of information decides the direction of the curve.

So we never need the actual value of f′, only its sign. A clean way to display that sign across the whole domain is a sign chart: a number line that marks each place f′ = 0 and labels the sign of f′ in every interval between. Green plus signs (↑ increasing) and red minus signs (↓ decreasing) make the shape jump out.

Key idea

The direction of a curve is governed by the sign of its derivative: f′ > 0 ⇒ rising, f′ < 0 ⇒ falling, f′ = 0 ⇒ a flat (critical) moment. This is a statement about f′, not about f itself — a function can be positive while falling, or negative while rising.

Try it Move the test point and read the slope's sign
Drag the amber point x along f(x) = x³ − 3x. The tangent is drawn, and the readout reports the computed slope f′(x) and whether the curve is rising or falling there.
test point x

36.5.2 Intervals of increase and decrease

To find where a curve rises or falls, follow three steps. (1) Compute the derivative. (2) Solve f′(x) = 0 — the solutions are the critical points; they cut the number line into intervals. (3) Test the sign of f′ in each interval (just pick one sample point inside). Where f′ > 0 the function increases; where f′ < 0 it decreases.

Worked example · f(x) = x³ − 3x

The derivative is f′(x) = 3x² − 3 = 3(x² − 1). Set it to zero: 3(x² − 1) = 0 ⇒ x² = 1 ⇒ x = −1 or x = 1. These two critical points split the line into three pieces. Test a point in each:

• On (−∞, −1), try x = −2: f′(−2) = 3(4 − 1) = +9 > 0 → increasing.
• On (−1, 1), try x = 0: f′(0) = 3(0 − 1) = −3 < 0 → decreasing.
• On (1, ∞), try x = 2: f′(2) = 3(4 − 1) = +9 > 0 → increasing.

Conclusion: f increases on (−∞, −1), decreases on (−1, 1), increases on (1, ∞).

Try it The sign-chart spotlight
Pick a cubic. The sign chart of f′ is computed by sampling the real derivative; the curve above shades green where it rises and red where it falls. The words in the readout are read straight off the chart, so they can never disagree with the picture.

36.5.3 Extrema: peaks and valleys

Watch the sign chart of x³ − 3x: at x = −1 the curve switches from rising to falling — that is a local maximum, a peak. At x = 1 it switches from falling to rising — a local minimum, a valley. At both, the tangent is flat: f′ = 0.

A point where f′ = 0 (or where f′ does not exist) is called a critical point. Every local peak or valley of a smooth curve occurs at a critical point — so to find the turning points, we only ever look among the critical points. Their heights are the extreme values:

peak height = f(−1) = (−1)³ − 3(−1) = 2   ·   valley height = f(1) = (1)³ − 3(1) = −2.

Watch out · f′ = 0 is not enough

A flat tangent does not guarantee a peak or valley. Take g(x) = x³: its derivative g′(x) = 3x² is zero at x = 0, yet g keeps rising on both sides (g′ stays positive). The sign of g′ never changes, so x = 0 is a critical point but neither a maximum nor a minimum — just a momentary flattening. A turning point needs a genuine sign change, which is exactly the next test.

36.5.4 The first-derivative test

To classify a critical point, look at how f′ changes sign as you cross it, left to right:

The first-derivative test
f′ just leftf′ just rightverdict
+ (rising)− (falling)local maximum (a peak)
− (falling)+ (rising)local minimum (a valley)
++no change → neither
no change → neither

In words: + to − is a max, − to + is a min, and no change is neither. For x³ − 3x, at x = −1 the sign goes + → − (a max); at x = 1 it goes − → + (a min). For x³, at x = 0 it goes + → + (no change — neither), exactly as the watch-out warned.

Try it Classify the critical point
Step through the critical points of f(x) = x³ − 3x together with the trap point x = 0 of g(x) = x³. The readout samples the computed sign of f′ just to the left and just to the right, then applies the test.
critical point x = −1

36.5.5 Extremes on a closed interval

A local peak is the tallest point in its neighborhood. But on a closed interval [a, b] we often want the global (absolute) maximum and minimum — the single highest and lowest values over the whole interval. Here is the catch: those can sit at a critical point or at an endpoint. A curve can keep climbing right up to the edge x = b, so the highest point is the endpoint, not any interior turn.

Key idea · the candidate list

On a closed interval [a, b], the global max and min of a continuous function are found among a short list of candidates: every critical point inside (a, b), plus the two endpoints a and b. Evaluate f at each candidate and simply compare — the biggest value is the global max, the smallest is the global min.

Worked example · f(x) = x³ − 3x on [−2, 1.5]

Critical points (from f′ = 3x² − 3 = 0) are x = −1 and x = 1, both inside the interval. The candidates are the critical points and the endpoints: x = −2, −1, 1, 1.5. Evaluate:

f(−2) = −2 · f(−1) = 2 · f(1) = −2 · f(1.5) = −1.125

Global maximum = 2 at x = −1 (a critical point). Global minimum = −2, reached at both x = −2 (an endpoint) and x = 1 (a critical point). Miss the endpoints and you might miss the true extreme.

Try it Slide the right endpoint
Fix the left endpoint at a = −2 and slide the right endpoint b. The candidates (critical points inside, plus both endpoints) are evaluated and compared; the global max and min are circled green. Watch the max jump from the interior peak to the endpoint as b grows.
right endpoint b

36.5.6 Sketching a curve from its derivative

Now everything comes together. To sketch a curve by hand, you no longer plot a fog of points — you assemble its shape from the sign chart:

  1. Find the critical points by solving f′(x) = 0.
  2. Build the sign chart of f′ to get the intervals of increase () and decrease ().
  3. Apply the first-derivative test to label each turn as a peak or a valley, and compute its height f(x).
  4. Plot the turning points, then draw a smooth curve that rises and falls to match the chart.

For f(x) = x³ − 3x: rise to the peak (−1, 2), fall to the valley (1, −2), then rise again — a smooth S-shaped cubic. The derivative dictated the whole silhouette.

Reading direction, not height

"Increasing" is decided by f′ > 0not by f being above the x-axis. On (1, 2) the cubic x³ − 3x is still negative in value, yet f′ = 3x² − 3 > 0 there, so the curve is climbing. Sign of the derivative sets direction; sign of the function only tells you above/below the axis.

What to carry forward

The derivative as a spotlight on shape
QuestionWhat to doThe rule
Where does f rise / fall?Sign of f′f′ > 0 rise · f′ < 0 fall
Where are the turns?Solve f′(x) = 0critical points
Peak or valley?First-derivative test+→− max · −→+ min · no change neither
Global max/min on [a, b]?Compare candidatescritical points and endpoints a, b
Sketch the curveStitch the sign chartrise · turn · fall · turn · rise

Next, in Derivatives at Work: Optimization, we put this to use — the biggest box, the cheapest can, the most profit all live where f′ = 0 (after we check the endpoints). It rests on the differentiation rules from The Differentiation Toolbox.

Exercises

  1. For f(x) = x³ − 12x, find the critical points and the intervals where f is increasing and decreasing.
    Show answer
    f′(x) = 3x² − 12 = 3(x² − 4) = 0 ⇒ x = −2 and x = 2. Test: f′(−3) = 3(9 − 4) = +15 > 0 (increasing on (−∞, −2)); f′(0) = −12 < 0 (decreasing on (−2, 2)); f′(3) = +15 > 0 (increasing on (2, ∞)).
  2. Using the first-derivative test, classify each critical point of f(x) = x³ − 12x as a local max or min, and give its height.
    Show answer
    At x = −2 the sign of f′ goes + → −, a local maximum: f(−2) = (−8) − 12(−2) = −8 + 24 = 16. At x = 2 the sign goes − → +, a local minimum: f(2) = 8 − 24 = −16.
  3. Show that g(x) = x³ + x has a critical point nowhere, and explain what that says about its shape.
    Show answer
    g′(x) = 3x² + 1. Since 3x² ≥ 0, we have g′(x) ≥ 1 > 0 for every x — the derivative is never zero (and never negative). So there are no critical points and g is increasing everywhere: a strictly rising curve with no peaks or valleys.
  4. Find the global maximum and minimum of f(x) = x³ − 3x on the closed interval [0, 3].
    Show answer
    f′(x) = 3x² − 3 = 0 ⇒ x = ±1; only x = 1 lies in [0, 3]. Candidates: x = 0, 1, 3. f(0) = 0; f(1) = 1 − 3 = −2; f(3) = 27 − 9 = 18. Global max = 18 at x = 3 (an endpoint); global min = −2 at x = 1 (a critical point). The max lives at the endpoint — don't skip it.
  5. A student claims "x = 0 is a maximum of f(x) = x⁴ because f′(0) = 0." True or false, with reasoning.
    Show answer
    It is a minimum, not a maximum. f′(x) = 4x³, which is negative for x < 0 and positive for x > 0 — sign goes − → +, the first-derivative test for a local minimum. f′ = 0 alone never decides; the sign change does. (f(0) = 0 is the lowest point of the U-shaped quartic.)
  6. Sketch the shape of f(x) = −x³ + 3x: list its intervals of increase/decrease and its turning points.
    Show answer
    f′(x) = −3x² + 3 = −3(x² − 1) = 0 ⇒ x = ±1. Test: f′(−2) = −3(4 − 1) = −9 < 0 (decreasing on (−∞, −1)); f′(0) = +3 > 0 (increasing on (−1, 1)); f′(2) = −9 < 0 (decreasing on (1, ∞)). So at x = −1 (− → +) a local minimum, f(−1) = 1 − 3 = −2; at x = 1 (+ → −) a local maximum, f(1) = −1 + 3 = 2. The curve falls, bottoms at (−1, −2), rises to (1, 2), then falls again — the upside-down cubic.

🎯 Quick check

Six questions to lock it in. Tap the answer you think is right.

§ For teachers and parents

This lesson is the heart of curve analysis in AP Calculus AB/BC and aligns with HSF-IF.B.4 and HSF-IF.B.6: students read intervals of increase and decrease, relative maxima and minima, and end behavior directly from the function's rate of change. The recurring traps are worth naming at home: a flat tangent (f′ = 0) does not by itself create a peak or valley — only a sign change of f′ does (x³ is the classic counterexample) — and on a closed interval the absolute extreme is just as likely to sit at an endpoint as at an interior critical point. Every slope, critical point, and extreme value in the figures here is computed by the page's math engine, never estimated from the drawing.

eastmath.com · Stage 36 · 36.5 Shape of a Graph · Reasoning, one step at a time