# How do you differentiate g(y) =(2x-5 )e^x  using the product rule?

Jun 22, 2018

#### Answer:

$\left(2 x - 5\right) {e}^{x} + 2 {e}^{x}$

#### Explanation:

product rule states that: $\frac{d}{\mathrm{dx}} \left(u \left(x\right) \cdot v \left(x\right)\right) = u ' \left(x\right) \cdot v \left(x\right) + u \left(x\right) v ' \left(x\right)$
in your case $u \left(x\right) = \left(2 x - 5\right)$
and $v \left(x\right) = {e}^{x}$
thereby $u ' \left(x\right) = 2$ and $v ' \left(x\right) = {e}^{x}$