Increasing and decreasing intervals
A function \(f\) is increasing on an interval \(I\) if, of any two inputs in \(I\), the larger one gives the larger output:
It is decreasing on \(I\) if the larger input gives the smaller output. This topic finds the intervals on which a function increases and decreases from the sign of its derivative.
The sign of the derivative gives the direction
The upper graph shows a curve f with no numbers. It rises to a smooth top, falls to a corner and rises steeply toward a dashed vertical line, where f is undefined. To the right of the dashed line it rises from far below, has a horizontal tangent for an instant at a flat point, and rises again. The curve is green where it rises and red where it falls. The lower graph shows f′: a falling line that crosses the axis at the top, a jump from below the axis to above it at the corner, values that grow without bound on both sides of the dashed line, and a part that touches the axis at the flat point without crossing it. Under it, a sign chart reads plus, minus, plus, plus, plus, with an arrow up or down in each interval. An orange point with its tangent moves along f, and an orange bar on the lower graph shows f′ at the same input. A button draws a line from the point at a, left of the dashed line, to the point at b, right of it, and the line falls. Two more buttons move the point onto the corner, where the tangent splits into two half-lines, and to the flat point.
In Figure 1, the upper graph shows a function \(f\) and the lower graph its derivative \(f'\). The orange bar reaches from the axis to \(f'(x)\), the slope of the tangent at the orange point on \(f\). Drag the point along the curve. The bar is above the axis where the curve is green and rises, and below the axis where the curve is red and falls.
To see why a positive derivative makes \(f\) increasing, let \(f\) be continuous on an interval \(I\). Suppose that \(f'(x)>0\) at every \(x\) inside \(I\), that is, at every \(x\) in \(I\) other than its ends. Take any two inputs \(a<b\) in \(I\). Then \(f\) is continuous on \([a,b]\), which lies in \(I\), and differentiable on \((a,b)\), which lies inside \(I\). By the Mean Value Theorem (topic 5.1), some \(c\) between \(a\) and \(b\) satisfies
Both factors on the right are positive, because \(c\) is inside \(I\) and \(b>a\). Therefore \(f(b)>f(a)\), and \(f\) is increasing on \(I\). If \(f'<0\) inside \(I\), the same equation gives \(f(b)<f(a)\), so \(f\) is decreasing on \(I\). This result is the Increasing/Decreasing Test, which some books call the Increasing Function Theorem. The test uses \(f'\) only inside \(I\), so at an end of \(I\) it needs continuity but not a derivative.
The test needs an interval, with no gap in it. In Figure 1, \(f\) is undefined at the dashed line, a break in its domain, and \(f'>0\) on both sides next to it. Use the button under Figure 1 to draw a line from the point at \(a\) to the point at \(b\). The line crosses the break and falls, so \(f(b)<f(a)\) although \(a<b\). The function is not continuous on \([a,b]\), so the Mean Value Theorem does not apply. Next to the break, \(f\) is increasing on each side, but not across it.
Where the sign of the derivative can change
To use the test, you need the intervals on which \(f'\) has one sign. The sign of \(f'\) can change only where \(f'\) is 0, where \(f'\) is undefined although \(f\) is defined, or where \(f\) is undefined. These inputs are the cut points. The first two kinds are the critical points of topic 5.2.
In Figure 1, \(f'\) is 0 at the top of the curve and at a flat point right of the break. At the flat point, the tangent is horizontal, but the curve rises on both sides. Between the top and the break, the curve has a corner, where \(f'\) is undefined, and \(f\) is undefined at the break. Move the point onto the corner. The tangent splits into two orange half-lines with different slopes, so the bar disappears. The graph of \(f'\) jumps across the axis, between two open rings.
Between neighboring cut points, \(f'\) exists and is never 0. When \(f\) is given by a formula, \(f'\) is a formula too, continuous at every input inside its domain (topic 1.12). By the Intermediate Value Theorem (topic 1.16), a continuous function that takes both signs on an interval is 0 somewhere in it. Therefore \(f'\) has one sign on each interval between neighboring cut points.
The sign of \(f'\) at one input of such an interval, called a test point, is its sign on the whole interval. Choose the test point between cut points, never at one. If \(f'\) is a product or a quotient, the signs of its factors give its sign. A factor \(x-r\) changes sign only at \(r\), and a factor such as \(e^x\) or \(x^2+1\) is positive for every \(x\). On a graph of \(f'\), the sign is the side of the axis that the graph is on, whether the graph rises or falls.
A sign chart records these signs on a number line, as under the graph of \(f'\) in Figure 1. It has a filled dot at each zero of \(f'\) and an open ring where \(f'\) or \(f\) is undefined. Between them, it shows the sign of \(f'\) and an arrow for the direction of \(f\).
Writing the intervals
By the test, \(f\) increases on each interval where \(f'>0\) and decreases on each interval where \(f'<0\). Write each interval from one cut point to the next, with parentheses. An interval without a cut point at one end runs to the end of the domain, or to \(-\infty\) or \(\infty\). The ends are values of \(x\), not of \(f\). If \(f\) is continuous at an end, the test holds with that end included, so a square bracket there is also correct. At a break, the end stays open, and the intervals on its two sides stay separate.
A cut point does not always change the sign of \(f'\). Move the point in Figure 1 to the flat point, at an input \(r\). The tangent is horizontal, so \(f'(r)=0\), but the graph of \(f'\) touches the axis without crossing it, and \(f'>0\) on both sides. Because \(f\) is continuous at \(r\), the test makes \(f\) increasing on each side with \(r\) included. Inputs on one side already satisfy the definition, and for inputs \(s<r<t\) on opposite sides, \(f(s)<f(r)<f(t)\). The two intervals therefore join into one, and \(f\) does not change direction at \(r\). The same holds where \(f'<0\) on both sides, where \(f'\) is undefined but \(f\) is continuous, and at each of finitely many such points.
In a factored \(f'\), suppose that only the factor \((x-r)^n\) is 0 at \(r\), so that near \(r\) the other factors keep their signs. If \(n\) is even, \((x-r)^n\) is positive on both sides of \(r\), so \(f'\) has the same sign on both sides. If \(n\) is odd, \((x-r)^n\) changes sign at \(r\), and so does \(f'\).
Example 1
Find where the derivative's sign can change
Let \(g(x)=\dfrac{x^{2/3}}{x-1}\). Find every \(x\) at which \(g'(x)=0\), \(g'(x)\) is undefined, or \(g(x)\) is undefined.
Solution
The function is undefined only at \(x=1\), where its denominator is 0. The power rule gives the derivative of \(x^{2/3}\) as \(\tfrac23x^{-1/3}\) for \(x\ne 0\), so for \(x\ne 0\) and \(x\ne 1\) the quotient rule gives
The second line multiplies the numerator and the denominator by \(3\sqrt[3]{x}\). The numerator is 0 only at \(x=-2\), so \(g'(-2)=0\). The denominator is 0 only at \(x=0\) and \(x=1\). At \(x=0\), \(g(0)=0\), but the difference quotient \(\frac{g(h)-g(0)}{h}=\frac{1}{\sqrt[3]{h}\,(h-1)}\) is unbounded as \(h\) approaches 0, so \(g'(0)\) does not exist. At \(x=1\), \(g\) itself is undefined.
The answer is \(x=-2\), \(x=0\) and \(x=1\), the three cut points of \(g\).
Example 2
Determine derivative signs on intervals
The derivative of a function \(k\) is \(k'(x)=(x+2)(3-x)e^{x}\). Find the intervals on which \(k'(x)>0\) and the intervals on which \(k'(x)<0\).
Solution
The derivative is defined for every \(x\), and \(e^x>0\), so \(k'(x)=0\) only where \(x+2=0\) or \(3-x=0\), at \(x=-2\) and \(x=3\). Each factor changes sign only at its own zero, so the signs of the factors in each interval give the sign of \(k'\):
Therefore \(k'(x)>0\) on \((-2,3)\), and \(k'(x)<0\) on \((-\infty,-2)\) and on \((3,\infty)\).
Example 3
State increasing and decreasing intervals
Let \(p(x)=x+\dfrac{4}{x}\). Find the intervals on which \(p\) is increasing and the intervals on which \(p\) is decreasing.
Solution
The function is undefined at \(x=0\), a break in its domain. For \(x\ne 0\),
The cut points are \(x=-2\) and \(x=2\), where \(p'(x)=0\), and the break at 0. Since \(x^2>0\) for \(x\ne 0\), \(p'\) has the sign of \((x-2)(x+2)\). It is positive for \(x<-2\) and for \(x>2\), and negative between \(-2\) and 2, on both sides of 0.
By the test, \(p\) is increasing on \((-\infty,-2)\) and on \((2,\infty)\), and decreasing on \((-2,0)\) and on \((0,2)\). Brackets at \(-2\) and 2, as in \([-2,0)\), are also correct, because \(p\) is continuous there. The end at 0 stays open.
Example 4
Handle zeros without a sign change
Let \(q(x)=3x^5-5x^3\). On which intervals is \(q\) increasing, and on which is it decreasing? Does \(q\) change direction at \(x=0\), where its tangent is horizontal?
Solution
The polynomial \(q\) is continuous and differentiable everywhere, so its only cut points are the zeros of
The zeros are \(x=-1\), \(x=0\) and \(x=1\). For \(x>1\), every factor is positive, so \(q'>0\) there. The factors \(x-1\) and \(x+1\) have odd powers, so \(q'\) changes sign at 1 and at \(-1\). The factor \(x^2\) has an even power, so \(q'\) keeps its sign at 0. Therefore
Because \(q\) is continuous at 0, the two intervals on which \(q'<0\) join. The function \(q\) is increasing on \((-\infty,-1)\) and on \((1,\infty)\), and decreasing on \((-1,1)\), so it does not change direction at \(x=0\).
Each example is one of the four skills of topic 5.3 in Which & Why: AP Calculus.