Calculus · Grade 12 and undergraduate

Increasing, Decreasing and the First Derivative Test

Quick answer

A function is increasing where f′ > 0 and decreasing where f′ < 0. The sign can change only at critical points, where f′ = 0 or f′ does not exist, so a sign chart built on the critical points shows the whole pattern. The first derivative test classifies each critical point: a change from + to − is a local maximum, from − to + a local minimum, and no change is neither. A zero derivative alone proves nothing: x³ has f′(0) = 0 and no extremum.

What you'll learn

  • Find critical points, including points where f′ does not exist
  • Build a sign chart for f′ and read off where f increases and decreases
  • Classify critical points with the first derivative test

The sign of f′ gives the direction

On an interval, the Mean Value Theorem gives:

  • if f′(x)>0f'(x) > 0 throughout, ff is increasing there;
  • if f′(x)<0f'(x) < 0 throughout, ff is decreasing there.

So the question “where does ff rise?” becomes “where is f′f' positive?”

Critical points

A critical point of ff is a number cc in the domain of ff where

f′(c)=0orf′(c) does not existf'(c) = 0 \quad\text{or}\quad f'(c) \text{ does not exist}

A derivative that comes from a formula can change sign only where it is 00 or undefined. So the critical points cut the number line into intervals on which f′f' keeps one sign. Test one value in each interval, and you have the sign of f′f' everywhere.

Rising, falling and rising again The graph of y = x cubed minus 3 x squared minus 9x plus 5. It rises to a local maximum at (−1, 10), falls to a local minimum at (3, −22), and rises again. -2246-20-1010xy local max (−1, 10) local min (3, −22)
  • f(x) = x³ − 3x² − 9x + 5
Rising, falling and rising again

The first derivative test

At a critical point cc:

Sign of f′f' around ccConclusion
++ then −-local maximum at cc
−- then ++local minimum at cc
no changeno local extremum at cc

Why the sign has to change

At a local maximum the function climbs up to the peak and descends after it, so f′f' must be positive right before it and negative right after. A zero derivative is only a momentary pause.

f(x)=x3f(x) = x^3 shows the difference: f′(x)=3x2f'(x) = 3x^2 is 00 at x=0x = 0, yet f′≥0f' \ge 0 on both sides, so the function keeps rising straight through. A critical point is only a candidate; the change of sign is what makes it a maximum or minimum.

Worked examples

Common mistakes

Practice problems

  1. Find the critical points of f(x)=x3−12xf(x) = x^3 - 12x.

    Answer

    x=−2x = -2 and x=2x = 2

    Full solution

    f′(x)=3x2−12=3(x−2)(x+2)f'(x) = 3x^2 - 12 = 3(x - 2)(x + 2), which is 00 at ±2\pm 2.

  2. For f(x)=x3−12xf(x) = x^3 - 12x, find where ff increases and decreases, and classify the critical points.

    Answer

    Increasing on (−∞,−2)(-\infty, -2) and (2,∞)(2, \infty); decreasing on (−2,2)(-2, 2). Local max at −2-2, local min at 22.

    Full solution

    Test values −3-3, 00, 33 give f′f' signs ++, −-, ++. Local max f(−2)=16f(-2) = 16; local min f(2)=−16f(2) = -16.

  3. Classify the critical point of f(x)=(x−1)4f(x) = (x - 1)^4.

    Answer

    A local minimum at x=1x = 1

    Full solution

    f′(x)=4(x−1)3f'(x) = 4(x - 1)^3 is negative for x<1x < 1 and positive for x>1x > 1.

  4. Does f(x)=x5f(x) = x^5 have a local extremum at 00?

    Answer

    No

    Full solution

    f′(x)=5x4≥0f'(x) = 5x^4 \ge 0 on both sides of 00, so there is no sign change.

  5. Find the local extrema of f(x)=x4−2x2f(x) = x^4 - 2x^2.

    Answer

    Local max at x=0x = 0 (f=0f = 0); local minima at x=±1x = \pm 1 (f=−1f = -1)

    Full solution

    f′(x)=4x3−4x=4x(x−1)(x+1)f'(x) = 4x^3 - 4x = 4x(x - 1)(x + 1). Signs on (−∞,−1)(-\infty, -1), (−1,0)(-1, 0), (0,1)(0, 1), (1,∞)(1, \infty): −-, ++, −-, ++.

  6. Find the critical points of f(x)=∣x−3∣f(x) = |x - 3| and classify them.

    Answer

    x=3x = 3, a local minimum

    Full solution

    f′f' is −1-1 for x<3x < 3 and 11 for x>3x > 3, and does not exist at 33. The sign changes from −- to ++.

  7. Where is f(x)=ln⁡(x2+1)f(x) = \ln(x^2 + 1) increasing?

    Answer

    On (0,∞)(0, \infty)

    Full solution

    f′(x)=2xx2+1f'(x) = \tfrac{2x}{x^2 + 1}, which has the sign of xx. So ff decreases on (−∞,0)(-\infty, 0) and increases on (0,∞)(0, \infty).

  8. Find the local extrema of f(x)=x+4xf(x) = x + \tfrac{4}{x}.

    Answer

    Local max at x=−2x = -2 (f=−4f = -4); local min at x=2x = 2 (f=4f = 4)

    Full solution

    f′(x)=1−4x2=x2−4x2f'(x) = 1 - \tfrac{4}{x^2} = \tfrac{x^2 - 4}{x^2}, zero at ±2\pm 2. (x=0x = 0 is not in the domain, so it is not a critical point.) Signs: ++ before −2-2, −- between −2-2 and 00 and between 00 and 22, ++ after 22.

  9. The graph of f′f' is positive on (−∞,1)(-\infty, 1), negative on (1,4)(1, 4) and positive on (4,∞)(4, \infty). Where does ff have local extrema?

    Answer

    A local max at x=1x = 1 and a local min at x=4x = 4

    Full solution

    f′f' changes from ++ to −- at 11 and from −- to ++ at 44.

  10. A student says f(x)=x3+3xf(x) = x^3 + 3x has no critical points, so it has no local extrema, and also says g(x)=x3g(x) = x^3 has an extremum at 00 because g′(0)=0g'(0) = 0. Which claim is wrong, and why?

    Hint

    Check the sign of g′g' on both sides of 00.

    Answer

    The second: g′g' does not change sign at 00, so there is no extremum.

    Full solution

    The first claim is right: f′(x)=3x2+3>0f'(x) = 3x^2 + 3 > 0 everywhere, so ff always increases and has no local extrema.

    The second is wrong: g′(x)=3x2≥0g'(x) = 3x^2 \ge 0 on both sides of 00, so gg keeps increasing. A zero derivative without a sign change is not an extremum.

Frequently asked questions

What is a critical point?

A number c in the domain of f where f′(c) = 0 or f′(c) does not exist. Local extrema can occur only at critical points.

How do I find where a function is increasing?

Find the critical points, then test the sign of f′ in each interval between them. Where f′ > 0 the function increases; where f′ < 0 it decreases.

What is the first derivative test?

At a critical point, if f′ changes from positive to negative, f has a local maximum; from negative to positive, a local minimum; if the sign does not change, neither.

Does f′(c) = 0 mean there is a maximum or minimum at c?

No. f(x) = x³ has f′(0) = 0 but keeps increasing through 0. The sign of f′ must change.

Why do points where f′ is undefined matter?

A corner or cusp can be a maximum or minimum, as |x| has a minimum at 0 where f′ does not exist.

What to learn next