Increasing and decreasing functions

Look at the graph of any smooth curve and you can tell, just by eye, where it is climbing and where it is falling. Calculus turns that visual judgement into an exact test: the sign of the first derivative. Where f′(x)f'(x) is positive the curve rises left to right; where it is negative the curve falls; and the handful of points where f′(x)=0f'(x)=0 are the hinges where the behaviour can switch. This idea — decide the sign of f′f', then read off the shape of ff — is one of the most-used tools in the Applications of Derivatives unit. It is the direct stepping stone to the first-derivative test for maxima and minima, so getting comfortable with sign charts here pays off immediately in the next topic.

The core insight

A differentiable function is increasing on an interval where f′(x)>0f'(x)>0 throughout and decreasing where f′(x)<0f'(x)<0 throughout, so locating the sign of f′(x)f'(x) on each subinterval between its zeros tells you the complete shape of the graph.

The core idea

Formal definitions. A function ff is increasing on an interval II if for any two points x1<x2x_1<x_2 in II, f(x1)≤f(x2)f(x_1)\le f(x_2) — strictly increasing if the inequality is strict, f(x1)<f(x2)f(x_1)<f(x_2). It is decreasing if f(x1)≥f(x2)f(x_1)\ge f(x_2) for x1<x2x_1<x_2, strictly decreasing if f(x1)>f(x2)f(x_1)>f(x_2). These definitions talk only about the values of ff itself, with no mention of a derivative — the derivative is the tool used to check them quickly.

The derivative test. For a differentiable function ff on an interval II:

f′(x)>0 for all x∈I  ⟹  f is (strictly) increasing on If'(x) > 0 \text{ for all } x \in I \implies f \text{ is (strictly) increasing on } I
f′(x)<0 for all x∈I  ⟹  f is (strictly) decreasing on If'(x) < 0 \text{ for all } x \in I \implies f \text{ is (strictly) decreasing on } I
f′(x)=0 for all x∈I  ⟹  f is constant on If'(x) = 0 \text{ for all } x \in I \implies f \text{ is constant on } I

where: f′(x)f'(x) is the instantaneous rate of change of ff at xx — geometrically, the slope of the tangent line at that point. A positive slope means the tangent points "uphill," so the curve is climbing; a negative slope means the tangent points "downhill."

The working method. First, differentiate ff to get f′(x)f'(x). Next, solve f′(x)=0f'(x)=0 to locate the critical points, which split the domain into subintervals. Then pick one convenient test value inside each subinterval and evaluate the sign of f′(x)f'(x) there — the sign is guaranteed to stay constant across the whole subinterval, because a continuous derivative cannot change sign without passing through zero somewhere in between. Finally, read off the conclusion: subintervals where f′(x)>0f'(x)>0 are increasing, and where f′(x)<0f'(x)<0 are decreasing. Exactly the same sign-chart habit reappears when concavity is studied using the second derivative, so it is worth building cleanly here.

Bounding a derivative without factorising. Not every function has a derivative that factors into neat linear pieces. When f′(x)f'(x) involves a bounded expression such as sin⁡x\sin x or cos⁡x\cos x, the sign can often be pinned down directly from the known range of that expression, without solving f′(x)=0f'(x)=0 at all. For instance, cos⁡x\cos x always lies between −1-1 and 11, so an expression like 1−cos⁡x1-\cos x can never dip below zero — it is squeezed to be non-negative for every real xx, and equals zero only where cos⁡x\cos x touches its maximum value of 11. This bounding technique is a common alternative to the critical-point method whenever trigonometric or other bounded terms appear in f′(x)f'(x), and it proves monotonicity over the whole real line in one line of reasoning rather than a sign chart with infinitely many pieces.

Figure
Number line sign chart of the derivative for a cubic with critical points at two and three, showing plus, minus, plus and the resulting rising, falling, rising shape of the curve
Sign of f prime and the shape of f x = 2 x = 3 + - + f rising f falling f rising The curve climbs, turns down at x = 2, then climbs again after x = 3
Derivation AWhy a positive derivative forces the graph to climb

The goal is to justify, in a way that goes beyond "the slope is positive so it climbs," why f′(x)>0f'(x)>0 throughout an interval II guarantees f(x1)<f(x2)f(x_1)<f(x_2) for every pair of points x1<x2x_1<x_2 in II — the formal definition of strictly increasing — using the Mean Value Theorem, which connects an average rate of change over an interval to the derivative at some single point inside it.

Step 1. Pick any two points x1<x2x_1<x_2 in II. Since ff is differentiable on II, it is also continuous on the closed interval [x1,x2][x_1,x_2] and differentiable on the open interval (x1,x2)(x_1,x_2), so the Mean Value Theorem applies to this pair.

Step 2. The Mean Value Theorem guarantees a point cc strictly between x1x_1 and x2x_2 such that

f′(c)=f(x2)−f(x1)x2−x1f'(c) = \frac{f(x_2)-f(x_1)}{x_2-x_1}

This equation says the derivative at the in-between point cc equals the average slope of the chord joining (x1,f(x1))(x_1,f(x_1)) and (x2,f(x2))(x_2,f(x_2)).

Step 3. Since cc lies inside II and we assumed f′(x)>0f'(x)>0 for every xx in II, it follows that f′(c)>0f'(c)>0. Substituting into the equation from Step 2, the right-hand side must also be positive:

f(x2)−f(x1)x2−x1>0\frac{f(x_2)-f(x_1)}{x_2-x_1} > 0

Step 4. Because x1<x2x_1<x_2, the denominator x2−x1x_2-x_1 is positive, so multiplying both sides by it preserves the inequality: f(x2)−f(x1)>0f(x_2)-f(x_1)>0, that is, f(x1)<f(x2)f(x_1)<f(x_2). Since x1x_1 and x2x_2 were any two points of II with x1<x2x_1<x_2, this is exactly the definition of ff being strictly increasing on II. The same argument with the inequality reversed at every step shows f′(x)<0f'(x)<0 throughout II forces ff to be strictly decreasing.

Worked example

Find the intervals in which f(x)=2x3−15x2+36x+1f(x) = 2x^3-15x^2+36x+1 is increasing and decreasing, and confirm the classification at x=2.5x=2.5 using the function values themselves.

Step 1. Differentiate: f′(x)=6x2−30x+36=6(x2−5x+6)f'(x) = 6x^2-30x+36 = 6(x^2-5x+6).

Step 2. Factorise and locate the critical points: f′(x)=6(x−2)(x−3)f'(x) = 6(x-2)(x-3), so f′(x)=0f'(x)=0 at x=2x=2 and x=3x=3. These split the real line into three test intervals: (−∞,2)(-\infty,2), (2,3)(2,3), (3,∞)(3,\infty).

Step 3. Test the sign of f′(x)f'(x) in each interval using a convenient value. On (−∞,2)(-\infty,2), try x=0x=0: f′(0)=6(−2)(−3)=36>0f'(0)=6(-2)(-3)=36>0. On (2,3)(2,3), try x=2.5x=2.5: f′(2.5)=6(0.5)(−0.5)=−1.5<0f'(2.5)=6(0.5)(-0.5)=-1.5<0. On (3,∞)(3,\infty), try x=4x=4: f′(4)=6(2)(1)=12>0f'(4)=6(2)(1)=12>0.

Step 4. Conclude and sanity-check with actual values. ff is increasing on (−∞,2)∪(3,∞)(-\infty,2)\cup(3,\infty) and decreasing on (2,3)(2,3). To confirm the decreasing middle interval, compute f(2)=2(8)−15(4)+36(2)+1=16−60+72+1=29f(2)=2(8)-15(4)+36(2)+1=16-60+72+1=29 and f(3)=2(27)−15(9)+36(3)+1=54−135+108+1=28f(3)=2(27)-15(9)+36(3)+1=54-135+108+1=28. Since f(3)=28<29=f(2)f(3)=28<29=f(2), the function value genuinely dropped across (2,3)(2,3), matching the sign test.

f is increasing on (−∞,2)∪(3,∞)(-\infty,2)\cup(3,\infty) and decreasing on (2,3)(2,3), confirmed by f(2)=29>f(3)=28f(2)=29 > f(3)=28.

Competitive stretch

Show that g(x)=x−sin⁡xg(x)=x-\sin x is increasing for every real xx, without solving g′(x)=0g'(x)=0 by factorising.

Step 1. Differentiate: g′(x)=1−cos⁡xg'(x)=1-\cos x.

Step 2. Bound the sign using the range of cosine, exactly as described above. Since −1≤cos⁡x≤1-1\le\cos x\le1 for every real xx, we get 1−cos⁡x≥1−1=01-\cos x\ge 1-1=0 for all xx, with equality only at the isolated points where cos⁡x=1\cos x=1, that is, x=2nπx=2n\pi for integer nn.

Step 3. Interpret the isolated zeros. Because g′(x)≥0g'(x)\ge0 everywhere and equals zero only at scattered points rather than across any interval, the function never has a genuine flat stretch, so gg is strictly increasing on all of R\mathbb{R}.

Common traps

  • Forgetting to test the sign of f′(x)f'(x) separately in each subinterval, instead assuming the signs simply alternate — unreliable with repeated or higher-order factors.
  • Treating f′(x)=0f'(x)=0 as automatically "neither increasing nor decreasing" without checking whether the zero is isolated (the function can still be strictly increasing overall) or marks a genuine flat or turning region.
  • Sign errors while factorising a quadratic derivative, which swap the increasing and decreasing intervals in the final answer.
  • Choosing a test value that accidentally lands on another critical point or an undefined point of the function, giving a misleading sign reading for that whole subinterval.

Ask the tutor: Not sure why an isolated zero of f′(x)f'(x) doesn't break strict monotonicity, or want a walkthrough of picking safe test values with a graph alongside — ask the AI tutor.

Why does f prime of x equal to zero at a single point not break strict monotonicity

An isolated zero is a single instant where the tangent is momentarily flat, not a stretch where the function stops climbing. As long as f′(x)≥0f'(x)\ge0 everywhere on the interval and equals zero only at scattered points rather than on a whole sub-interval, the function values still strictly increase between any two points you pick, because the flat instants have zero width and cannot undo the net climb built up around them. A classic example is f(x)=x−sin⁡xf(x)=x-\sin x, whose derivative 1−cos⁡x1-\cos x touches zero only where cos⁡x=1\cos x=1 yet the function is strictly increasing everywhere.

How do I pick a safe test value inside a subinterval

Choose any number strictly inside the subinterval that makes the arithmetic easy and avoids coinciding with a critical point, an undefined point, or the interval's own endpoints. Simple integers or half-integers close to the middle of the interval usually work best. If the derivative is a product of factors like 6(x−2)(x−3)6(x-2)(x-3), you only need the sign of each factor at the test value, not its exact numeric value, so picking a value that keeps the factor signs obvious saves time.

Is checking the sign in one subinterval enough for the whole subinterval

Yes, provided f′f' is continuous on that subinterval and has no zero or point of discontinuity inside it besides the boundary critical points you already found. A continuous function can only change sign by crossing zero, so if the only zeros of f′f' are the critical points marking the boundaries of the subintervals, the sign found at one test point must hold throughout the entire subinterval. This is exactly why the method works with just one test value per piece rather than checking many points.

Before this

Where this leads