What the derivative test actually proves
The rule quoted in every textbook reads: a positive derivative on an interval makes the function increasing on that interval. What makes the method trustworthy is the converse direction, which is the one you use in reverse â if the derivative keeps one sign across an entire interval, that sign decides the behaviour of the whole interval, and you never need to compare two function values by hand. Strictness needs care in the statement. A derivative that is strictly positive everywhere on an interval makes the function strictly increasing, while a derivative that is merely non-negative may only guarantee a non-decreasing function, because the graph is allowed to pause at isolated points. The safest form for a board answer is the one the marking scheme expects: quote the open interval, quote the sign of the derivative inside it, and then name the behaviour. Statements on a closed interval are acceptable only when the function is continuous at the boundary, which is automatic for every polynomial in this chapter.
Steps to Find Increasing/Decreasing Intervals
- Find
- Find critical points where or is undefined
- Divide the number line into intervals using critical points
- Test the sign of in each interval
- Determine where is increasing or decreasing
Step 2 deserves more attention than it usually gets. Critical points are not only the zeros of the derivative; they also include the places where the derivative fails to exist, such as a sharp corner or a vertical tangent. Forgetting to include those points leaves a gap in your partition of the number line, and a gap is exactly where a hidden extremum hides.
Example: Find Intervals
Find the intervals where is increasing or decreasing.
Critical points that never change sign
A critical point is a place where the derivative is zero or fails to exist, and neither condition alone produces an extremum. The cubic f(x) = x cubed has derivative three x squared, which vanishes at the origin, yet the function climbs on both sides of that point: at x equal to minus one the value is minus one, at the origin it is zero, and at x equal to one the value is one. The derivative stays positive on both sides, so the function is increasing across the entire real line and the critical point is a flat inflection rather than a peak or a valley. The test that settles the question is the change of sign, not the vanishing itself: a switch from positive to negative gives a local maximum, a switch from negative to positive gives a local minimum, and the absence of a switch gives neither.
Local Maxima and Minima Test
Example: Find Local Extrema
Find local maxima and minima of .
The second derivative shortcut
When evaluating the derivative on both sides of a critical point feels wasteful, the second derivative test replaces that work with a single evaluation. Compute f double dash at the critical point: a positive value means the graph is concave upward there, so the point is a local minimum, while a negative value means concave downward and a local maximum. For the function in the worked example above, the second derivative is six x minus six, which gives minus six at the origin and plus six at x equal to two. Those two signs confirm the maximum and the minimum without drawing a sign chart. The test has a documented blind spot: when the second derivative also vanishes at the critical point it returns no information at all, exactly as it does for f(x) = x to the fourth at the origin. In that situation go back to the first derivative test and compare the signs on either side.
Open intervals, closed intervals and endpoints
Board answers quote open intervals, and the convention has a reason behind it. Differentiability is required at every interior point of the interval you name, while the endpoints of a closed interval would need one-sided reasoning that this chapter has not introduced. So write "increasing on the open interval from minus one to one" rather than a closed version, unless the question explicitly asks about continuity at the boundary. When a question asks for the interval on which f(x) = x squared is decreasing, the correct answer is the open interval from minus infinity to zero. Claiming that the interval includes zero adds nothing to the statement, because a single point carries no length, and it risks a deduction for imprecise interval notation.
Verifying the sign analysis with Python
Two short scripts cover the two ways this analysis goes wrong. The first factors the derivative and reports its sign at one test point inside each interval, replacing the hand-built sign chart. The second applies the second derivative test and exhibits a case where that test deliberately refuses to answer.
import sympy as sp
x = sp.Symbol('x')
f = x**3 - 3*x + 2
fp = sp.diff(f, x)
print(sp.factor(fp)) # 3*(x - 1)*(x + 1)
print(sp.solve(fp, x)) # [-1, 1]
for point in [-2, 0, 2]:
print(point, sp.sign(fp.subs(x, point))) # -2 1, 0 -1, 2 1
import sympy as sp
x = sp.Symbol('x')
g = x**3 - 3*x**2 + 3
gp, gpp = sp.diff(g, x), sp.diff(g, x, 2)
print(sp.solve(gp, x)) # [0, 2]
print(gpp.subs(x, 0), gpp.subs(x, 2)) # -6 6: maximum then minimum
h = x**4
print(sp.solve(sp.diff(h, x), x)) # [0]
print(sp.diff(h, x, 2).subs(x, 0)) # 0: silent, so fall back to the first derivative test
The sign function in the first script returns one, minus one or zero, so reading down the three printed lines reproduces the sign chart from the worked example in a single glance. The second script makes the blind spot explicit rather than leaving it as a warning in a textbook.
Common Mistakes
Declaring a local extremum at every point where the derivative vanishes.
Fix: Check for a change of sign across the point; a zero derivative with the same sign on both sides is a flat inflection, not a peak or a valley.
Quoting closed intervals when naming where a function increases or decreases.
Fix: Use open intervals, and only mention the endpoints when the question asks about continuity there.
Stopping the partition of the number line at the zeros of the derivative.
Fix: Include every point where the derivative fails to exist, such as corners or vertical tangents, because those are critical points too.
Key Takeaways
- A constant sign of the derivative across an interval decides whether the function increases or decreases on that whole interval.
- Critical points come from zeros of the derivative and from points where it does not exist, and both kinds must enter the partition.
- A vanishing derivative is necessary for a smooth local extremum but not sufficient; the sign must actually change there.
- The second derivative test is a shortcut that fails silently when the second derivative also vanishes, so keep the first derivative test ready.