find the derivative of
y= (2x+5)(x^2-x+1)
You can either expand it out first OR you can use the product rule.
Product rule y'=uv'+vu'
Let u=2x+5 | v=x^2-x+1 |
u'=5 | v'=2x-1 |
$$\\y'=(2x+5)(2x-1)+(x^2-x+1)(5)\\\\
y'=(2x+5)(2x-1)+5(x^2-x+1)\\\\$$
You can expand and simplify yourself :)