# How do you differentiate f(x)=(x^2+sinx)(e^x-2x) using the product rule?

Jan 5, 2016

The product rule states that $\left(a b\right) ' = a ' b + a b '$

#### Explanation:

$\frac{\mathrm{dy}}{\mathrm{dx}} = \left(2 x + \cos x\right) \left({e}^{x} - 2 x\right) + \left({x}^{2} + \sin x\right) \left({e}^{x} - 2\right)$

This answer might be developed, but it appears to already be at the simplest form possible.