### Video Transcript

Let π of π₯ equal ππ₯ squared plus π with constants π, π. Determine the constants for which the slope of the tangent to the curve π¦ equals π of π₯ at negative two, 29 is negative 24.

We need to determine the values of two unknown constants π and π, which are used in the definition of this function π of π₯. To do this, weβll need to use the information given in the question to form and then solve some equations. First, if there is a tangent to the curve π¦ equals π of π₯ at the point with coordinates negative two, 29, then the point with these coordinates lies on the curve. In other words, when π₯ is equal to negative two, π of π₯ is equal to 29. And so we can use this to find our first equation connecting π and π.

Substituting π₯ equals negative two and π of π₯ equals 29 into the definition of π of π₯ gives 29 equals π multiplied by negative two squared plus π. This simplifies to 29 equals four π plus π. We canβt solve this equation as it is a single equation with two unknowns. So letβs consider the other information we were given in the question, which is that the slope of this tangent is negative 24.

Now, a tangent to a curve at any given point has the same slope as the curve itself at that point. The slope of a curve at any given point, which is also its instantaneous rate of change at that point, can be found by evaluating its first derivative at that point. The first derivative of π of π₯ is denoted as π prime of π₯. So we need to find an expression for π prime of negative two, because the π₯-value at this point is negative two.

To find the derivative of π of π₯, which is a polynomial, we can recall the power rule of differentiation. This tells us that the derivative with respect to π₯ of π multiplied by π₯ to the power of π, where π and π are real constants, is ππ multiplied by π₯ to the power of π minus one. We multiply by the exponent, and then we reduce the exponent by one. To find the derivative of the first term in π of π₯, which is ππ₯ squared, we multiply by the exponent of two and we reduce the exponent by one, giving two ππ₯ to the first power. But of course π₯ to the first power is simply π₯.

The derivative of a constant with respect to π₯ is simply zero, which we can see if we think of the constant π as π multiplied by π₯ to the power of zero. When we apply the power rule of differentiation, we get zero multiplied by π multiplied by π₯ to the power of negative one. But of course zero multiplied by anything is simply zero. So we find that π prime of π₯ is equal to two ππ₯.

We know that when π₯ is equal to negative two, the slope of the tangent β and hence the first derivative of the function β is equal to negative 24. So we have the equation negative 24 is equal to two multiplied by negative two multiplied by π. Thatβs negative 24 is equal to negative four π. And to solve for π, we can divide each side of this equation by negative four, giving π is equal to six.

So we found the value of π. And all that remains is to find the value of π. We can do this by substituting π equals six back into the first equation we found relating π and π. This gives four multiplied by six plus π is equal to 29. Four multiplied by six is 24. So we have 24 plus π equals 29. And then subtracting 24 from each side, we find that π is equal to five. The equation of the curve then π of π₯ is π of π₯ equals six π₯ squared plus five. But weβre asked just to give the values of the constants π and π. Our answer is that π is equal to six and π is equal to five.