# How do you differentiate y=xe^2-e^x?

Sep 26, 2016

$\frac{\mathrm{dy}}{\mathrm{dx}} = {e}^{2} - {e}^{x}$

#### Explanation:

$\textcolor{\mathmr{and} a n \ge}{\text{Reminder }} \textcolor{red}{\overline{\underline{| \textcolor{w h i t e}{\frac{a}{a}} \textcolor{b l a c k}{\frac{d}{\mathrm{dx}} \left({e}^{x}\right) = {e}^{x}} \textcolor{w h i t e}{\frac{a}{a}} |}}}$

Note also that e^2" is a constant.

$\Rightarrow \frac{\mathrm{dy}}{\mathrm{dx}} = {e}^{2} - {e}^{x}$

Sep 26, 2016

Remember that ${e}^{2}$ is a constant. (It is about ${2.7}^{2}$ which is about $7.3$)

#### Explanation:

We'll also need $\frac{d}{\mathrm{dx}} \left({e}^{x}\right) = {e}^{x}$

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