# How do you differentiate #y=xe^x#?

##### 1 Answer

Jan 23, 2017

Use the product rule.

#### Explanation:

The product rule:

If

and

then

where the apostrophe denotes the derivative with respect to

In the above question, we can see that

Thus

#frac{"d"}{"d"x}(xe^x) = frac{"d"}{"d"x}(x) e^x + x frac{"d"}{"d"x}(e^x)#

#= (1) e^x + x (e^x)#

#= (1 + x) e^x#