TExcelTAD
Home › School Calculus: Limits, Derivatives & Integrals › Intervals of Monotonicity: The First Derivative Test

Intervals of Monotonicity: The First Derivative Test

One of the central applications of calculus is mapping where a function is rising (increasing), falling (decreasing), or reaching peaks and valleys.

Before calculus, graphing required plotting dozens of disconnected points by hand. With the First Derivative Test, you can determine the exact intervals where a curve goes up or down and identify every local peak and trough using a neat paper variation table.


1. Monotonicity Definitions and Theorems

Let f(x)f(x) be a function continuous on an interval [a,b][a, b] and differentiable on (a,b)(a, b).

Strictly Increasing: x1<x2  ⟹  f(x1)<f(x2)Strictly Decreasing: x1<x2  ⟹  f(x1)>f(x2)\begin{aligned} \text{\bf Strictly Increasing: } & \quad x_1 < x_2 \implies f(x_1) < f(x_2) \\ \text{\bf Strictly Decreasing: } & \quad x_1 < x_2 \implies f(x_1) > f(x_2) \end{aligned}

The Monotonicity Theorem

By the Mean Value Theorem, the sign of the derivative determines the direction of the curve:

f′(x)>0 for all x∈(a,b)  ⟹  f(x) is strictly increasing (↗) on [a,b]f′(x)<0 for all x∈(a,b)  ⟹  f(x) is strictly decreasing (↘) on [a,b]f′(x)=0 for all x∈(a,b)  ⟹  f(x) is constant on [a,b]\begin{aligned} f'(x) > 0 \text{ for all } x \in (a, b) & \implies f(x) \text{ is strictly increasing } (\nearrow) \text{ on } [a, b] \\ f'(x) < 0 \text{ for all } x \in (a, b) & \implies f(x) \text{ is strictly decreasing } (\searrow) \text{ on } [a, b] \\ f'(x) = 0 \text{ for all } x \in (a, b) & \implies f(x) \text{ is constant on } [a, b] \end{aligned}

2. The First Derivative Test for Local Extrema

A critical point of ff occurs at x=cx = c in the domain where f′(c)=0f'(c) = 0 or f′(c)f'(c) fails to exist.

1. Local Maximum: f′(x) changes from positive to negative (+→−) across c.(Curve climbs up, then turns down: ↗∩↘)2. Local Minimum: f′(x) changes from negative to positive (−→+) across c.(Curve drops down, then turns up: ↘∪↗)3. No Local Extremum: f′(x) does not change sign (+→+ or −→−).(Curve flattens momentarily, but keeps moving in the same direction)\begin{aligned} \text{\bf 1. Local Maximum: } & \quad f'(x) \text{ changes from \bf positive to negative } (+ \to -) \text{ across } c. \\ & \quad (\text{Curve climbs up, then turns down: } \nearrow \cap \searrow) \\ \text{\bf 2. Local Minimum: } & \quad f'(x) \text{ changes from \bf negative to positive } (- \to +) \text{ across } c. \\ & \quad (\text{Curve drops down, then turns up: } \searrow \cup \nearrow) \\ \text{\bf 3. No Local Extremum: } & \quad f'(x) \text{ does \bf not change sign } (+ \to + \text{ or } - \to -). \\ & \quad (\text{Curve flattens momentarily, but keeps moving in the same direction}) \end{aligned}
mermaid
flowchart LR
    subgraph LocalMax["Local Maximum"]
    direction LR
    A1["f' > 0 (Rising ↗)"] --> B1["c (f' = 0)"] --> C1["f' < 0 (Falling ↘)"]
    end
    subgraph LocalMin["Local Minimum"]
    direction LR
    A2["f' < 0 (Falling ↘)"] --> B2["c (f' = 0)"] --> C2["f' > 0 (Rising ↗)"]
    end
    subgraph Stationary["Stationary Point (No Extremum)"]
    direction LR
    A3["f' > 0 (Rising ↗)"] --> B3["c (f' = 0)"] --> C3["f' > 0 (Rising ↗)"]
    end

3. Step-by-Step Paper Notebook Method

To build a professional calculus variation table on paper:

  1. Step 1: State the Domain (DfD_f). Check for denominators equal to zero or negative values under even roots.
  2. Step 2: Differentiate and factor completely. Compute f′(x)f'(x) and factor out greatest common factors, linear brackets (x−r)(x - r), and irreducible quadratics.
  3. Step 3: Identify Partition Numbers. List all points where:
    • f′(x)=0f'(x) = 0 (stationary points)
    • f′(x)f'(x) is undefined or f(x)f(x) is discontinuous (vertical asymptotes, sharp corners).
  4. Step 4: Draw the Variation Sign Table.
    • Top row: xx-values in ascending order, dividing the number line into intervals.
    • Middle row: Sign of f′(x)f'(x) (++ or −-), evaluated using test values.
    • Bottom row: Behavior of f(x)f(x) represented by diagonal trend arrows (↗\nearrow or ↘\searrow), and the specific peak/trough values f(c)f(c).
  5. Step 5: Write the conclusion in standard interval notation.

4. Worked Examples

Example 1: Complete Monotonicity Analysis of a Cubic Polynomial

Problem: For f(x)=2x3−3x2−12x+5f(x) = 2x^3 - 3x^2 - 12x + 5, determine:

  1. Intervals of increase and decrease.
  2. The coordinates (x,y)(x, y) of all local maxima and minima.

Step 1: Domain Since ff is a polynomial, Df=R=(−∞,∞)D_f = \mathbb{R} = (-\infty, \infty).

Step 2: Differentiate and factor f′(x)f'(x)

f′(x)=6x2−6x−12=6(x2−x−2)=6(x−2)(x+1)\begin{aligned} f'(x) &= 6x^2 - 6x - 12 \\ &= 6(x^2 - x - 2) \\ &= 6(x - 2)(x + 1) \end{aligned}

Step 3: Find critical numbers Set f′(x)=0f'(x) = 0:

6(x−2)(x+1)=0  ⟹  x=−1orx=26(x - 2)(x + 1) = 0 \implies x = -1 \quad \text{or} \quad x = 2

Step 4: Construct the variation table Partition intervals: (−∞,−1)(-\infty, -1), (−1,2)(-1, 2), (2,∞)(2, \infty).

  • Test x=−2x = -2: f′(−2)=6(−4)(−1)=+24>0f'(-2) = 6(-4)(-1) = +24 > 0 (++)
  • Test x=0x = 0: f′(0)=6(−2)(+1)=−12<0f'(0) = 6(-2)(+1) = -12 < 0 (−-)
  • Test x=3x = 3: f′(3)=6(+1)(+4)=+24>0f'(3) = 6(+1)(+4) = +24 > 0 (++)
x−∞−12∞f′(x)+0−0+f(x)↗Local Max: 12↘Local Min: −15↗\begin{array}{|c|c|c|c|c|c|} \hline x & -\infty & -1 & & 2 & \infty \\ \hline f'(x) & & + & 0 & - & 0 & + \\ \hline f(x) & & \nearrow & \text{Local Max: } 12 & \searrow & \text{Local Min: } -15 & \nearrow \\ \hline \end{array}

Compute function values at critical points:

f(−1)=2(−1)3−3(−1)2−12(−1)+5=−2−3+12+5=12f(2)=2(2)3−3(2)2−12(2)+5=16−12−24+5=−15\begin{aligned} f(-1) &= 2(-1)^3 - 3(-1)^2 - 12(-1) + 5 = -2 - 3 + 12 + 5 = 12 \\ f(2) &= 2(2)^3 - 3(2)^2 - 12(2) + 5 = 16 - 12 - 24 + 5 = -15 \end{aligned}

Step 5: State the conclusions

  • Increasing on: (−∞,−1](-\infty, -1] and [2,∞)[2, \infty)
  • Decreasing on: [−1,2][-1, 2]
  • Local maximum at (−1,12)(-1, 12)
  • Local minimum at (2,−15)(2, -15)

Final Answer:

Increasing: (−∞,−1]∪[2,∞);Decreasing: [−1,2];Local Max: (−1,12);Local Min: (2,−15)\text{Increasing: } (-\infty, -1] \cup [2, \infty); \quad \text{Decreasing: } [-1, 2]; \quad \text{Local Max: } (-1, 12); \quad \text{Local Min: } (2, -15)

Example 2: Rational Function with a Discontinuity

Problem: Find the intervals of monotonicity and local extrema for:

g(x)=x+4xg(x) = x + \frac{4}{x}

Step 1: Domain The denominator cannot be zero: Dg=R∖{0}=(−∞,0)∪(0,∞)D_g = \mathbb{R} \setminus \{0\} = (-\infty, 0) \cup (0, \infty).

Step 2: Differentiate

g′(x)=1−4x2=x2−4x2=(x−2)(x+2)x2g'(x) = 1 - \frac{4}{x^2} = \frac{x^2 - 4}{x^2} = \frac{(x - 2)(x + 2)}{x^2}

Step 3: Identify critical and domain partition numbers

  • g′(x)=0  ⟹  (x−2)(x+2)=0  ⟹  x=−2g'(x) = 0 \implies (x - 2)(x + 2) = 0 \implies x = -2 or x=2x = 2.
  • g′(x)g'(x) undefined and g(x)g(x) undefined at x=0x = 0 (vertical asymptote).

Step 4: Variation Table The denominator x2>0x^2 > 0 for all x≠0x \ne 0, so the sign of g′(x)g'(x) is governed entirely by (x−2)(x+2)(x - 2)(x + 2):

  • Interval (−∞,−2)(-\infty, -2): Test x=−3  ⟹  (−5)(−1)>0x = -3 \implies (-5)(-1) > 0 (++)
  • Interval (−2,0)(-2, 0): Test x=−1  ⟹  (−3)(+1)<0x = -1 \implies (-3)(+1) < 0 (−-)
  • Interval (0,2)(0, 2): Test x=1  ⟹  (−1)(+3)<0x = 1 \implies (-1)(+3) < 0 (−-)
  • Interval (2,∞)(2, \infty): Test x=3  ⟹  (+1)(+5)>0x = 3 \implies (+1)(+5) > 0 (++)
x−∞−202∞g′(x)+0−undef−0+g(x)↗−4↘DNE↘4↗\begin{array}{|c|c|c|c|c||c|c|c|c|} \hline x & -\infty & -2 & & 0 & & 2 & \infty \\ \hline g'(x) & & + & 0 & - & \text{undef} & - & 0 & + \\ \hline g(x) & & \nearrow & -4 & \searrow & \text{DNE} & \searrow & 4 & \nearrow \\ \hline \end{array}

Compute extrema values:

g(−2)=−2+4−2=−4,g(2)=2+42=4g(-2) = -2 + \frac{4}{-2} = -4, \quad g(2) = 2 + \frac{4}{2} = 4

[!NOTE] Notice that the local maximum value (−4-4) is smaller than the local minimum value (+4+4). This occurs because the vertical asymptote at x=0x = 0 breaks the curve into two disconnected hyperbolic branches!

Final Answer:

Increasing on: (−∞,−2] and [2,∞);Decreasing on: [−2,0) and (0,2];\text{Increasing on: } (-\infty, -2] \text{ and } [2, \infty); \quad \text{Decreasing on: } [-2, 0) \text{ and } (0, 2];
Local Max at (−2,−4);Local Min at (2,4)\text{Local Max at } (-2, -4); \quad \text{Local Min at } (2, 4)

Example 3: Critical Point with No Local Extremum

Problem: Analyze h(x)=x4−4x3+10h(x) = x^4 - 4x^3 + 10 on paper.

Step 1: Compute and factor h′(x)h'(x)

h′(x)=4x3−12x2=4x2(x−3)h'(x) = 4x^3 - 12x^2 = 4x^2(x - 3)

Step 2: Find critical numbers

4x2(x−3)=0  ⟹  x=0orx=34x^2(x - 3) = 0 \implies x = 0 \quad \text{or} \quad x = 3

Step 3: Analyze sign changes across each critical point

  • Note the squared factor 4x24x^2: since x2≥0x^2 \ge 0, it does not change sign across x=0x = 0!
  • For x<0x < 0: 4(−1)2(−1−3)=4(1)(−4)<04(-1)^2(-1 - 3) = 4(1)(-4) < 0 (−-)
  • For 0<x<30 < x < 3: 4(1)2(1−3)=4(1)(−2)<04(1)^2(1 - 3) = 4(1)(-2) < 0 (−-)
  • For x>3x > 3: 4(4)2(4−3)=4(16)(1)>04(4)^2(4 - 3) = 4(16)(1) > 0 (++)

At x=0x = 0, h′(x)h'(x) goes from negative to negative (−→−- \to -): no local extremum exists at x=0x = 0 (it is a horizontal inflection point). At x=3x = 3, h′(x)h'(x) goes from negative to positive (−→+- \to +): a local minimum exists at x=3x = 3.

Calculate yy-value at x=3x = 3:

h(3)=34−4(3)3+10=81−108+10=−17h(3) = 3^4 - 4(3)^3 + 10 = 81 - 108 + 10 = -17

Final Answer:

Decreasing on: (−∞,3];Increasing on: [3,∞);Local Minimum at (3,−17)\text{Decreasing on: } (-\infty, 3]; \quad \text{Increasing on: } [3, \infty); \quad \text{Local Minimum at } (3, -17)

5. Common Paper Traps & Exam Pitfalls

Common Mistake Why It Fails Correct Paper Method
Writing Decreasing on (−∞,0)∪(0,∞)\text{Decreasing on } (-\infty, 0) \cup (0, \infty) for 1x\frac{1}{x} The function is decreasing on each branch, but not across x=0x = 0 (f(−1)=−1<f(1)=1f(-1) = -1 < f(1) = 1). Write separate intervals: (−∞,0)(-\infty, 0) and (0,∞)(0, \infty).
Concluding that f′(c)=0f'(c) = 0 guarantees a local peak or valley If f′f' has an even-multiplicity root (e.g. (x−c)2(x-c)^2), it does not change sign! Always test signs on both sides of cc using the First Derivative Test.
Forgetting to test points inside the domain only Testing outside the domain yields meaningless numbers. Mark vertical asymptotes and boundary cuts clearly with double vertical lines ∣|.

6. Pencil & Paper Practice

Work through these three problems completely in your notebook before expanding the solutions.

  1. Practice 1: Find the intervals of monotonicity for f(x)=x3−3x2−24x+10f(x) = x^3 - 3x^2 - 24x + 10.
  2. Practice 2: Determine the local extrema of g(x)=3x4−4x3g(x) = 3x^4 - 4x^3.
  3. Practice 3: Find the intervals where h(x)=xe−2xh(x) = x e^{-2x} is increasing and decreasing.
Click to view step-by-step solutions

Solution to Practice 1

Differentiate and factor:

f′(x)=3x2−6x−24=3(x2−2x−8)=3(x−4)(x+2)f'(x) = 3x^2 - 6x - 24 = 3(x^2 - 2x - 8) = 3(x - 4)(x + 2)

Critical numbers: x=−2x = -2 and x=4x = 4. Sign table:

  • (−∞,−2)(-\infty, -2): f′>0  ⟹  ↗f' > 0 \implies \nearrow
  • (−2,4)(-2, 4): f′<0  ⟹  ↘f' < 0 \implies \searrow
  • (4,∞)(4, \infty): f′>0  ⟹  ↗f' > 0 \implies \nearrow
  • Final Answer: Increasing on (−∞,−2]∪[4,∞)(-\infty, -2] \cup [4, \infty); Decreasing on [−2,4][-2, 4]. Local max at x=−2x = -2, local min at x=4x = 4.

Solution to Practice 2

Differentiate and factor:

g′(x)=12x3−12x2=12x2(x−1)g'(x) = 12x^3 - 12x^2 = 12x^2(x - 1)

Critical numbers: x=0x = 0 (multiplicity 2) and x=1x = 1.

  • x<0x < 0: g′<0g' < 0
  • 0<x<10 < x < 1: g′<0g' < 0
  • x>1x > 1: g′>0g' > 0 At x=0x = 0, sign stays negative   ⟹  \implies no extremum. At x=1x = 1, sign changes from negative to positive   ⟹  \implies local minimum. g(1)=3(1)4−4(1)3=−1g(1) = 3(1)^4 - 4(1)^3 = -1.
  • Final Answer: Local minimum at (1,−1)(1, -1). No local maximum.

Solution to Practice 3

Use Product Rule:

h′(x)=(1)e−2x+x(−2e−2x)=e−2x(1−2x)\begin{aligned} h'(x) &= (1)e^{-2x} + x(-2e^{-2x}) \\ &= e^{-2x}(1 - 2x) \end{aligned}

Since e−2x>0e^{-2x} > 0 for all xx, the sign is determined solely by 1−2x1 - 2x:

1−2x=0  ⟹  x=121 - 2x = 0 \implies x = \frac{1}{2}
  • For x<12x < \frac{1}{2}: 1−2x>0  ⟹  h′(x)>01 - 2x > 0 \implies h'(x) > 0 (Increasing).
  • For x>12x > \frac{1}{2}: 1−2x<0  ⟹  h′(x)<01 - 2x < 0 \implies h'(x) < 0 (Decreasing).
  • Final Answer: Increasing on (−∞,12]\left(-\infty, \frac{1}{2}\right]; Decreasing on [12,∞)\left[\frac{1}{2}, \infty\right). Local max at x=12x = \frac{1}{2}.

Test yourself

If f′(x)=(x−3)(x+5)f'(x) = (x - 3)(x + 5), on which interval is the function f(x)f(x) decreasing?

  1. (−∞,−5)(-\infty, -5)
  2. (−5,3)(-5, 3)
  3. (3,∞)(3, \infty)
  4. (−∞,3)(-\infty, 3)

At x=2x = 2, f′(2)=0f'(2) = 0. For x<2x < 2, f′(x)>0f'(x) > 0, and for x>2x > 2, f′(x)<0f'(x) < 0. What does the First Derivative Test conclude about x=2x = 2?

  1. f(2)f(2) is a local minimum
  2. f(2)f(2) is a local maximum
  3. f(2)f(2) is an inflection point with no extremum
  4. The test is inconclusive

Why does f(x)=x3+7f(x) = x^3 + 7 have no local extrema anywhere on R\mathbb{R}?

  1. Because f′(x)f'(x) is undefined everywhere
  2. Because f′(x)=3x2≥0f'(x) = 3x^2 \ge 0 for all xx, so it never changes sign
  3. Because f(x)f(x) has no roots
  4. Because f′(0)≠0f'(0) \ne 0