Differentiation
can be used to identify increasing and decreasing functions. The intervals where a function is either increasing or decreasing can then be used to sketch the curve of a derivative.

## Increasing & Decreasing Functions

Recall that upward sloping straight lines have a positive gradient whereas downward sloping straight lines have a negative gradient. The same applies to curves. Gradients on a curve are always changing but an upward sloping curve has a positive gradient and a downward sloping curve has a negative gradient. Recall the graph of $y=x^2$. You will notice that for positive x, the graph has a positive gradient; for negative x the graph has a negative gradient; and for x=0 the gradient is  0.

This can be seen from the gradient function $\frac{dy}{dx}=2x$. Find out more about differentiating. 2x is positive when x is positive, negative when x is negative and 0 when x is 0. Now consider a slightly more complicated example of the cubic $y=x(x-3)^2$. Click here to see how to sketch cubics. Firstly, it can be seen from the graph that for x<1 the graph is increasing. At x=1, there is a stationary point where the gradient is 0. Next, for x between 1 and 3, the graph is decreasing. There is another stationary point at x=3. Then the curve increases again. We can say that the cubic is a strictly increasing function on x<1 or x>3 and a strictly decreasing function on x>3. Note that the inequalities are strict.

• The function f(x) is increasing on the interval [a,b] if $f$ for all x on [a,b]. Additionally, f(x) is strictly increasing if the inequality is strict.
• The function f(x) is decreasing on the interval [a,b] if $f$ for all x on [a,b]. Additionally, f(x) is strictly decreasing if the inequality is strict.

### Example 1

Find the range of values of x for which the graph of $y=x+\frac{7}{x}$ is a decreasing function.

Differentiating y gives $\frac{dy}{dx}=1-\frac{7}{x^2}$.

This is negative when $1-\frac{7}{x^2}\leq 0$,

or when $x^2\leq 7$.

It follows that y is decreasing when $-\sqrt{7}\leq x\leq \sqrt{7}$.

### Example 2

Explain why $f(x)=x^3-4x^2+16x-7$ is a strictly increasing function for all x.

Firstly, the derivative is given by $f$ and we must show that this is always strictly positive. For a simple example see Example 2 in Proof by Deduction. In this example, completing the square gives $f$ $=3\left(x-\frac{4}{3}\right)^2+\frac{32}{3}$. A square number multiplied by 3 plus a positive number will always be strictly positive. This is true for any x put in and so $f$ and f(x) is strictly increasing for all x.

## Sketching Derivatives Consider again the graph of $y=x^2$ and its derivative $\frac{dy}{dx}=2x$. The gradient is twice the x-coordinate and, as we saw before, this is positive/negative/zero when x is positive/negative/zero. Now consider again the graph of the cubic $y=x(x-3)^2$ above. We can attempt to sketch the graph of the derivative by first recognising that it should be quadratic. Then, recall that the stationary points are at x=1 and x=3 and so the derivative must cross the x-axis at these points. Finally, the derivative is negative for 1<x<3, i.e. below the x-axis, and positive otherwise. It follows that the curve of the derivative is as seen here. This has been achieved without finding an expression for the derivative.

Note that if the original curve is speed against time, for example, the derivative will show acceleration against time. See more on this or click here for a velocity curve.

### Example The diagram shows the graph of $y=\frac{e^x}{x}$. The curve is increasing for x>1 and decreasing for x<1 except at x=0 where there is an asymptote. Additionally, the curve has a stationary point at $(1,e)$ Using this information, sketch the graph of $\frac{dy}{dx}$. We can see from the left on the original curve that the gradient starts at around zero and becomes very negative very quickly. Similarly, just after x=0, the gradient is again very negative and starts to become flatter. It follows that the derivative has an asymptote at x=0 and its curve lies below the x-axis. The stationary point at x=1 suggests the derivative should cross the x-axis here. The derivative is then positive with increasing steepness.

Click here to find Questions by Topic and scroll down to all past DIFFERENTIATION questions to practice some more. Are you ready to test your Pure Maths knowledge? If so, visit our Practice Papers page and take StudyWell’s own Pure Maths tests.