### Video Transcript

Find, if any, the local maxima and minima for the function π of π₯ equals three π₯ squared minus two π₯ minus four times the natural logarithm of π₯.

Local maxima and minima are examples of critical points. And we know that for a function π of π₯, its critical points occur when its first derivative, π prime of π₯, is equal to zero or is undefined. We therefore need to find an expression for the first derivative of this function. To differentiate each of the first two terms, we can recall the power rule of differentiation. The derivative of three π₯ squared is equal to three multiplied by two π₯. And the derivative of negative two π₯ is equal to negative two. We then need to recall how to differentiate a natural logarithm. Well, we should remember that the derivative with respect to π₯ of the natural logarithm of π₯ is equal to one over π₯.

So, the derivative of negative four times the natural logarithm of π₯ is negative four multiplied by one over π₯ or negative four over π₯. We have our expression for the first derivative then; π prime of π₯ is equal to six π₯ minus two minus four over π₯. We then set this expression equal to zero, giving six π₯ minus two minus four over π₯ equals zero. And weβll solve the resulting equation. To eliminate the fraction, we can multiply both sides of the equation by π₯, giving six π₯ squared minus two π₯ minus four equals zero, a quadratic equation in π₯. We can simplify by dividing by two to give three π₯ squared minus π₯ minus two equals zero. And then weβll see if this quadratic can be factored. In fact, it can. And as the coefficient of π₯ squared and the constant term are both prime numbers, we can do this using trial and error.

We find that our quadratic factors are three π₯ plus two multiplied by π₯ minus one. We then take each factor in turn and set it equal to zero and then solve the resulting linear equation. Our first equation, three π₯ plus two equals zero, leads to π₯ equals negative two-thirds. And our second equation, π₯ minus one equals zero, leads to π₯ equals one. So, we find two π₯-values at which this function π of π₯ has critical points. Remember, though, that we said that critical points occur when the first derivative is equal to zero or does not exist. So, we also need to check if there are any values of π₯ for which our first derivative will be undefined. Well, as we have this factor of negative four over π₯ in our definition of π prime of π₯, π prime of π₯ does not exist when π₯ equals zero because division by zero is undefined.

However, if we look back at our original function π of π₯, we see that it includes the term negative four times the natural logarithm of π₯. And logarithms are only defined for positive values of π₯. So, the domain of our original function π of π₯ is π₯ greater than zero. This value, π₯ equals zero, is not included in the domain of our original function. And therefore, we donβt need to be concerned that π prime of π₯ is undefined for this value of π₯. For this same reason, we see that whilst π₯ equals negative two-thirds is a perfectly valid solution to the quadratic equation, it isnβt a valid solution when weβre talking about critical points because this π₯-value isnβt in the domain of our original function. So, in fact, we find that there is only one π₯-value at which our function π of π₯ has a critical point. Itβs when π₯ is equal to one.

Next, we need to evaluate the function itself at this critical point. So, we substitute π₯ equals one into our definition of π of π₯, giving three multiplied by one squared minus two multiplied by one minus four multiplied by the natural logarithm of one. Now, we should recall that the natural logarithm of one is just zero. So, this is equal to three minus two, which is equal to one. We know then that our function π of π₯ has one critical point, at the point with coordinates one, one. But we donβt yet know whether it is a local minimum or local maximum. In order to determine this, we need to consider the shape of the function around this point, which we can do by performing the first derivative test.

We know that the first derivative of our function is equal to zero at the critical point. Thatβs when π₯ is equal to one. We then choose values of π₯ either side of our critical point and consider the sign of the first derivative for each of these. Now usually, we would try to choose the integer values immediately either side of our critical points, so that would be zero and two here. But as our function is only defined for π₯ strictly greater than zero, Iβve chosen π₯ equals a half to be the π₯-value to the left of our critical point. When π₯ equals one-half, the first derivative π prime of π₯ is equal to six multiplied by a half minus two minus four over a half. Thatβs three minus two minus four times two which is eight, which is equal to negative seven. And so, we find that the first derivative will be negative when π₯ is equal to one-half. Thatβs to the left of our critical point.

When π₯ equals two, π prime of π₯ would be equal to six multiplied by two minus two minus four over two. Thatβs 12 minus two minus two, which is equal to eight. And so, we find that the first derivative of our function is positive to the right of our critical point. We then consider the shape of the curve. Travelling from left to right, the first derivative changes from negative to zero to positive. And so, we see that this critical point is a local minimum. We can conclude then that our function π of π₯ has a local minimum which is equal to one, and this occurs when π₯ is also equal to one.