### Video Transcript

Find the equation of the tangent to the curve π¦ equals negative two π₯ cubed plus eight π₯ squared minus 19 at π₯ equals two.

Weβre looking for the equation of the tangent to this cubic curve. And we know that the slope of the tangent to the curve π¦ equals π of π₯ at π₯ equals π is the derivative π prime evaluated at π. So the slope of the tangent whose equation we want to find is the value of ππ¦ by ππ₯ at π₯ equals two.

Hopefully, having found the slope of the tangent, weβll be well on our way to finding the equation of the tangent. This suggests that we should find ππ¦ by ππ₯, which is the derivative with respect to π₯ of negative two π₯ cubed plus eight π₯ squared minus 19. We can use the fact that the derivative of a sum or difference of functions is the sum or difference as appropriate of the derivatives of the functions to split this derivative into three. And we can evaluate these derivatives one by one starting with the derivative with respect to π₯ of negative two π₯ cubed.

To find this derivative, we use the fact that the derivative with respect to π₯ of a power of π₯, π₯ to the π, is π times π₯ to the π minus one. And as the derivative of a number times a function is that number times the derivative of the function, the derivative with respect to π₯ of π times π₯ to the π is π times ππ₯ to the π minus one. So the derivative of negative two times π₯ to the three is negative two times three times π₯ to the three minus one, which is negative six π₯ squared.

We can use the same rule to find the derivative of eight π₯ squared or eight π₯ to the two. This is 16π₯. And the derivative of the constant function 19 with respect to π₯ is just zero. This constant term doesnβt contribute to our derivative. And so ππ¦ by ππ₯ is negative six π₯ squared plus 16π₯.

The slope of our tangent is ππ¦ by ππ₯ evaluated at π₯ equals two. So substituting two for π₯, we get negative six times two squared plus 16 times two, which is eight.

Now that we found the slope of the tangent, letβs clear some room and find the equation of the tangent. We want to find the equation of the tangent line. And we know that the slope of this line is eight. But weβre going to need some other information to work out what the equation is.

The tangentβs line touches or intersects the curve π¦ equals negative two π₯ cubed plus eight π₯ squared minus 19 when π₯ is two. So when π₯ is two, its π¦-coordinates must be the same as that of the curve. Hereβs a quick sketch to show why this fact is true in general.

Applying this general fact to our example, we see that our tangent passes through the point two, negative two times two cubed plus eight times two squared minus 19. Here weβve just substituted two for π₯. Evaluating this, we find that the tangent passes through the point two, negative three.

And now with these two pieces of information, we have enough information to find the equation of the tangent. We can use the point slope form of the equation of a line and substitute in. The slope π is eight. And π₯ naught and π¦ naught are two and negative three, respectively, because the tangent passes through the point two, negative three.

All we have to do now is simplify. On the left-hand side, minus negative three becomes plus three. And on the right-hand side, we expand to get eight π₯ minus 16. Rearranging the equation so that all the terms fall on the left-hand side, we find that the equation of the tangent to the curve π¦ equals negative two π₯ cubed plus eight π₯ squared minus 19 at π₯ equals two in standard form is π¦ minus eight π₯ plus 19 equals zero.