# Video: Differentiating Polynomial Functions in the Factored Form

Differentiate 𝑔(𝑥) = 7𝑥²(−3𝑥 + 9).

03:02

### Video Transcript

Differentiate 𝑔 of 𝑥 is equal to seven 𝑥 squared times negative three 𝑥 plus nine.

We need to differentiate the function 𝑔 of 𝑥. However, we can immediately see a problem. 𝑔 of 𝑥 is the product of two functions. It’s seven 𝑥 squared multiplied by negative three 𝑥 plus nine. And we don’t know how to differentiate the product of two functions. So it seems like we can’t answer this question.

However, we do know how to manipulate this expression. We could distribute seven 𝑥 squared over our parentheses. This would then give us a polynomial. And we do know how to differentiate polynomials. So we’ll start by distributing seven 𝑥 squared over our parentheses. This gives us 𝑔 of 𝑥 is equal to seven 𝑥 squared times negative three 𝑥 plus seven 𝑥 squared multiplied by nine. And we can then simplify this expression. Our first term seven 𝑥 squared multiplied by negative three 𝑥 is equal to negative 21𝑥 cubed.

Remember, this is because when we multiply 𝑥 squared by 𝑥, we can just add their exponents together. And we can rewrite 𝑥 as 𝑥 to the first power. And we can simplify our second term. Nine times seven is equal to 63. So our second term simplifies to give us 63𝑥 squared.

Now, we’ve written our function 𝑔 of 𝑥 as a polynomial. So we can differentiate this term by term by using the power rule for differentiation. We have the derivative of 𝑔 with respect to 𝑥 will be equal to the derivative of negative 21𝑥 cubed with respect to 𝑥 plus the derivative of 63𝑥 squared with respect to 𝑥. And to differentiate these, we need to recall the power rule for differentiation, which tells us for any real constants 𝑎 and 𝑛, the derivative of 𝑎𝑥 to the 𝑛th power with respect to 𝑥 is equal to 𝑛𝑎 times 𝑥 to the power of 𝑛 minus one. We multiply by our exponent of 𝑥 and then reduce this exponent by one.

In the derivative of our first term, our value of 𝑛 is equal to three and our value of 𝑎 is equal to negative 21. So when we differentiate this term, we want to multiply by our exponent of three and then reduce this exponent by one. This gives us three times negative 21𝑥 to the power of three minus one. And we can do the same in the derivative of our second term. Our value of 𝑛 is equal to two, and our value of 𝑎 is equal to 63.

So once again, when we differentiate this term, we want to multiply by our exponent of two and then reduce this exponent by one. This gives us two times 63 multiplied by 𝑥 to the power of two minus one. And now we can simplify. Three times negative 21 is equal to negative 63. And three minus one is equal to two. So our first term simplifies to give us negative 63𝑥 squared. And in our second term, two times 63 is equal to 126. And two minus one is equal to one. So our second term simplifies to give us 126𝑥 to the first power. And 𝑥 to the first power is just equal to 𝑥.

Therefore, by distributing seven 𝑥 squared over our parentheses to rewrite our function 𝑔 of 𝑥 as a polynomial, we were able to differentiate 𝑔 of 𝑥 is equal to seven 𝑥 squared times negative three 𝑥 plus nine. We got that 𝑔 prime of 𝑥 is equal to negative 63𝑥 squared plus 126𝑥.