### Video Transcript

In this video, weβll learn what it
means for a function to be either increasing or decreasing on a given interval. And weβll see how to determine
whether a function is increasing or decreasing on a particular interval using
derivatives. You should be familiar with how to
differentiate polynomial, trigonometric, exponential, and logarithmic functions, and
also how to differentiate combinations of these using the product, quotient, and
chain rules.

Firstly then, letβs look at what
these terms, increasing and decreasing, mean in relation to functions. The formal definition for a
function to be decreasing on an interval is as follows. A function is decreasing on an
interval πΌ if π of π₯ one is greater than π of π₯ two whenever π₯ one is less
than π₯ two for any two points π₯ one and π₯ two in the interval πΌ. If we consider the left-hand
portion of the quadratic graph Iβve drawn, we can consider two points π₯ one and π₯
two where π₯ one is less than π₯ two. We see that π of π₯ one is greater
than π of π₯ two. And therefore, our function would
be considered to be decreasing on this interval.

In practical terms though, what
this means is that the slope of the graph of our function is negative, which makes
sense. If the value of the function is
decreasing, getting smaller, then the function must be sloping downwards. If we recall that the slope of a
function is given by its first derivative, then we can form an alternative
definition. A function is decreasing on an
interval πΌ if its first derivative π prime of π₯ is less than zero, that is
negative, for all π₯-values in the interval πΌ.

Here, we see the link to
derivatives. If we can find the first derivative
of a function π prime of π₯, we can then consider where this derivative is negative
in order to determine the intervals over which the function is decreasing. We can consider the definition of
an increasing function in the same way. Formally, first of all, a function
is increasing on an interval πΌ if π of π₯ one is less than π of π₯ two whenever
π₯ one is less than π₯ two for any values π₯ one and π₯ two in the interval πΌ. This time, we see that larger
values of π₯ are associated with larger values of the function itself. So, our function is increasing as
the π₯-values increase.

In practical terms, this means that
the slope of the graph of our function will be positive. The graph will be sloping
upwards. Again, recalling that the first
derivative of a function gives its slope, we see that a function will be increasing
on an interval πΌ if the first derivative π prime of π₯ is greater than zero for
all π₯-values in that interval πΌ. Letβs now see how we can apply our
definition of increasing and decreasing functions in terms of their first
derivatives to some problems.

Given that π of π₯ equals five π₯
squared minus three π₯ minus the natural log of π₯, find the intervals on which π
is increasing or decreasing.

First, we recall that a function is
increasing when its first derivative π prime of π₯ is greater than zero, and a
function is decreasing when its first derivative π prime of π₯ is less than
zero. Weβre therefore going to need an
expression for the first derivative of this function. We can differentiate
term-by-term. The derivative of five π₯ squared
is five multiplied by two π₯; thatβs 10π₯. The derivative of negative three π₯
is negative three. And the derivative of negative the
natural log of π₯ is negative one over π₯. So, we have our first
derivative. π prime of π₯ equals 10π₯ minus
three minus one over π₯.

By our definition of an increasing
function, first of all, π will be increasing when its first derivative 10π₯ minus
three minus one over π₯ is greater than zero. And therefore, we have an
inequality in π₯ that we need to solve. Now, we know that there is an π₯ in
the denominator of this fraction here, so the step weβd like to take first of all is
to multiply by π₯ in order to eliminate this fraction. But we need to be a little bit
careful because we have an inequality and no guarantee that π₯ is positive. If we multiply by a negative
π₯-value, then we would need to reverse the direction of our inequality.

However, if we look back at our
original function, we see that it includes this term the natural log of π₯. And the natural logarithm of π₯ is
undefined for π₯-values less than or equal to zero. This means that the domain of our
function π of π₯ is π₯ greater than zero. Weβre only working with positive
values of π₯. And therefore, we can multiply our
inequality by π₯ without worrying about needing to change the direction of the
inequality sign.

Multiplying by π₯ gives 10π₯
squared minus three π₯ minus one is greater than zero. And we see that we have a quadratic
inequality which we need to solve. There are a number of different
methods that we can use, but almost certainly we need to factorise to begin
with. By following the formal method of
factoring by grouping, all with a bit of trial and error, we see that this quadratic
factors as five π₯ plus one multiplied by two π₯ minus one.

We then need to find the critical
values for this quadratic, which we do by setting each of our two brackets equal to
zero, not greater than zero. We then solve each linear equation
to give π₯ equals negative one-fifth and π₯ equals one-half. So, these are the two critical
values for this quadratic. Now, there are two ways that we can
proceed from here. One is to use a table of values to
check the sign of our quadratic either side and in-between our critical values. The other is to sketch a graph. And thatβs the one that Iβm going
to choose to demonstrate.

We know that we have a quadratic
with a positive leading coefficient. So, its graph will be a
parabola. And we know the critical values,
which are the values at which the graph crosses the π₯-axis, are negative one-fifth
and one-half. So, the graph looks like this. Remember, this is the graph of our
first derivative, 10π₯ minus three minus one over π₯. We said that our function π will
be increasing when its first derivative π prime of π₯ is greater than zero. That is when the graph of its
derivative π prime of π₯ is above the π₯-axis.

This will correspond to two
sections of our graph, the section where π₯-values are less than negative one-fifth
and the part where π₯-values are greater than one-half. But remember, we said that the
domain of our function π of π₯ was just π₯ greater than zero. And therefore, we can actually
ignore one-half of our graph completely. We can say then that our function
π is increasing on the open interval one-half, infinity. Thatβs all π₯-values greater than
one-half.

To see where our function is
decreasing, weβre looking at where the first derivative π prime of π₯ is less than
zero, which means weβre looking at where its graph is below the π₯-axis. Now, on our original graph, this
wouldβve been everywhere between the two critical values. But as weβve reduced the graph to
be only π₯-values greater than zero, this is for all π₯-values greater than zero but
less than one-half. We therefore say that π is
decreasing on the open interval zero, one-half.

So, weβve completed the
problem. We had to differentiate the
function π of π₯ to find its first derivative π prime of π₯, and then use our
knowledge of quadratic inequalities to find where π prime of π₯ was greater than
zero and where π prime of π₯ was less than zero.

Now, we may also need to apply key
rules of differentiation such as the chain rule, product rule, or quotient rule in
order to answer questions involving more complex functions. Letβs see an example of this.

Determine the intervals on which
the function π of π₯ equals seven π₯ over π₯ squared plus nine is increasing and
where it is decreasing.

We recall, first of all, that
whether a function is increasing or decreasing can be determined by considering its
derivative. A function will be increasing when
its first derivative is positive, and it will be decreasing when its first
derivative is negative. We therefore need to find an
expression for π prime of π₯. We note, first of all, that π is a
quotient. So, in order to find this
derivative, weβre going to need to apply the quotient rule.

The quotient rule tells us that for
two differentiable functions π’ and π£, the derivative with respect to π₯ of their
quotient, π’ over π£, is equal to π£ times dπ’ by dπ₯ minus π’ times dπ£ by dπ₯ all
over π£ squared. We therefore let π’ equal the
numerator of our quotient, thatβs seven π₯, and π£ equal the denominator, thatβs π₯
squared plus nine. dπ’ by dπ₯ and dπ£ by dπ₯ can each be found using the power rule
of differentiation. dπ’ by dπ₯ is seven, and dπ£ by dπ₯ is two π₯.

Substituting into the formula for
the quotient rule, we have then that π prime of π₯ is equal to π₯ squared plus nine
multiplied by seven minus seven π₯ multiplied by two π₯ all over π₯ squared plus
nine all squared. Distributing the parentheses in the
numerator gives seven π₯ squared plus 63 minus 14π₯ squared all over π₯ squared plus
nine all squared. Which then simplifies to 63 minus
seven π₯ squared over π₯ squared plus nine all squared. And so, we have our expression for
the first derivative.

Our function π will be increasing
when its first derivative is greater than zero. So, we have an inequality in π₯
that we need to solve. Now, we can actually simplify this
somewhat. Note that the denominator of this
fraction is something squared, π₯ squared plus nine all squared. And therefore, the denominator
itself will always be greater than zero. In order for the whole fraction to
be greater than zero then, we only need to ensure that its numerator is greater than
zero because a positive divided by a positive will give something which is
positive.

The inequality, therefore,
simplifies to 63 minus seven π₯ squared is greater than zero. We can divide through by seven and
then add π₯ squared to each side to give nine is greater than π₯ squared. Or written the other way around, π₯
squared is less than nine. So, we have a relatively
straightforward quadratic inequality to solve. If π₯ squared must be less than
nine, thatβs strictly less than nine, then we can have any π₯-value between negative
three and three, although not including these values themselves. The solution to this quadratic
inequality then is negative three is less than π₯ is less than three, or the open
interval negative three to three.

So, we found the only interval on
which the function π of π₯ is increasing. To determine where the function is
decreasing, we require its first derivative to be less than zero, which in turn
leads to 63 minus seven π₯ squared is less than zero. We therefore reverse the direction
of all the inequality signs in our previous working out leading to π₯ squared is
greater than nine. This is only the case for π₯-values
strictly less than negative three and π₯-values strictly greater than positive
three. So, we find that there were two
intervals on which our function is decreasing. The open intervals negative
infinity to negative three and three, infinity.

So, by applying the quotient rule
to find the first derivative of our function π of π₯, and then solving a relatively
straightforward quadratic inequality. We find that the function π of π₯
is increasing on the open interval negative three to three and decreasing on the
open intervals negative infinity to negative three and three, infinity.

In our next example, weβll consider
a problem involving trigonometric functions.

For zero is less than π₯ which is
less than two π by five, find the intervals on which π of π₯ equals cos squared
five π₯ plus three cos five π₯ is increasing or decreasing.

We recall, first of all, that a
function is increasing whenever its first derivative π prime of π₯ is greater than
zero. And that same function is
decreasing whenever its first derivative π prime of π₯ is less than zero. We therefore need to find an
expression for the first derivative π prime of π₯ of this trigonometric
function. And we recall, first of all, a
standard result for differentiating cos of ππ₯, which is that its derivative with
respect to π₯ is equal to negative π sin ππ₯. This allows us to differentiate the
second term. The derivative of three cos five π₯
is three multiplied by negative five sin five π₯. But what about the first term?

Well, we can think of it as cos of
five π₯ all squared and then recall the general power rule. This tells us that if we have some
function to a power, then its derivative is equal to that power, so thatβs two,
multiplied by the derivative of the function itself, so that will be negative five
sin five π₯, multiplied by that function to one less power. So, we reduce the power from two to
one.

We therefore have π prime of π₯ is
equal to two multiplied by negative five sin five π₯ cos five π₯ plus three
multiplied by negative five sin five π₯. We can factor by negative five sin
five π₯ to give π prime of π₯ is equal to negative five sin five π₯ multiplied by
two cos five π₯ plus three. Our Function π will, therefore, be
increasing when this first derivative is greater than zero. Now, letβs think about how we can
solve this inequality. And weβll think about that second
bracket first of all.

The graph of cos five π₯, first of
all, is just a horizontal stretch of the graph of cos π₯. And so, it still has negative one
as its minimum value and one as its maximum value. The graph of two cos five π₯ is a
vertical stretch of this graph by a scale factor of two. And so, this will have negative two
as its minimum and two as its maximum. Adding three is a vertical
translation of this graph, which means that the minimum value for two cos five π₯
plus three will be one, and the maximum value will be five.

What this tells us is that two cos
five π₯ plus three itself is always greater than zero, as its minimum value is
one. And therefore, one of the factors
in our product is always positive. In order for the product of two
factors to be positive, they must have the same sign. And therefore, it must also be the
case that π is increasing when the first factor, negative five sin five π₯, is
itself positive. So, our problem has reduced
somewhat. Weβre now just looking for the
region over which negative five sin five π₯ is greater than zero.

We can simplify by dividing both
sides by negative five. And as weβre dividing by a
negative, we must reverse the inequality, to give sin five π₯ is less than zero. Now, remember the domain we were
given for this function was zero is less than π₯ is less than two π by five. If we let π’ equal five π₯, then if
π₯ is between zero and two π by five, π’ will be between zero and two π. So, now, weβre just looking for
where sin π’ is less than zero for values of π’ between zero and two π.

We can answer this by sketching a
graph of π’ against sin π’ for values of π’ between zero and two π. And we see that sin π’ is less than
zero for values of π’ between π and two π. Remember though that π’ is equal to
five π₯, so to convert this back to an inequality in π₯, we need to divide by five,
giving π over five is less than π₯ is less than two π over five. This is the interval on which the
function π is increasing.

By applying the same logic, we see
that π will be decreasing when its first derivative is less than zero, which in
turn leads to sin π’ being greater than zero. Thatβs when π’ is between zero and
π, which leads to π₯ being between zero and π by five. So, weβve completed the
problem. The function π of π₯ is increasing
on the open interval π by five, two π by five and decreasing on the open interval
zero, π by five.

In summary then, weβve seen that a
function π is increasing whenever its first derivative π prime of π₯ is greater
than zero. And the function π is decreasing
whenever its first derivative π prime of π₯ is less than zero. We can use differentiation and the
rules of differentiation such as the quotient rule, product rule, and chain rule in
order to find the first derivatives of functions. And then, solve the resulting
inequalities to determine the intervals on which those functions are increasing or
decreasing.