[Math] Differentiate equation with parenthesis

derivatives

I have a problem. I'm studying calculus, but I don't have a good math background, so I have a problem: I don't know well how to differentiate an equation with parenthesis.

The equation is the following:

$f(x) = 25x^3(x-1)^2$

Is it correct to use the Differentiation Product Rule in this way:

$f'(x)=75x^2*(x-1)^2+25x^3*2(x-1)$

or before I have to solve $(x-1)^2$ in this way:

f(x) = $25x^3*(x^2+1-2x)$ and then
= $25x^5+25x^3-50x^4$

?

Thanks in advance

Best Answer

Either way works. If you multiply out the products in your first result, you should discover that the two expressions you get for the derivative always have the same value.

Related Question