# How do you differentiate y=(e^x(x^2-7))?

Oct 5, 2016

$f ' \left(x\right) = {e}^{x} \left({x}^{2} + 2 x - 7\right)$

#### Explanation:

You have to use the Product Rule

$f ' \left(x\right) = u v ' + u ' v$

$u = {e}^{x}$
$u ' = {e}^{x}$

$v = {x}^{2} - 7$
$v ' = 2 x$

$f ' \left(x\right) = {e}^{x} 2 x + {e}^{x} \left({x}^{2} - 7\right)$

Factor out ${e}^{x}$

$f ' \left(x\right) = {e}^{x} \left({x}^{2} + 2 x - 7\right)$