# How do you find the derivative of f(x)=5x-2e^x?

Oct 30, 2016

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

#### Explanation:

$f ' \left(x\right) = \frac{d \left(5 x\right)}{\mathrm{dx}} - \frac{d \left(2 {e}^{x}\right)}{\mathrm{dx}} \to$since there is only a subtraction operation, the separate parts of the function are able to be derived individually.

$\frac{d \left(5 x\right)}{\mathrm{dx}} = 5 \to$power rule

$\frac{d \left(2 {e}^{x}\right)}{\mathrm{dx}} = 2 {e}^{x} \to \frac{d}{\mathrm{dx}} {e}^{x} = {e}^{x}$

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