Solveeit Logo

Question

Question: How do you find the derivative of \[y=x{{e}^{x}}\] ?...

How do you find the derivative of y=xexy=x{{e}^{x}} ?

Explanation

Solution

In mathematics, the derivative of a function of a real variable measures the sensitivity to change of the function value with respect to a change in its argument, or we can say it is the rate of change of a function. Derivation of two functions multiplied with each other can be executed by simplifying them into a single function using Product rule.

Complete step by step answer:
Here we have the function as y=xexy=x{{e}^{x}}
As we can see the function is a multiplication of two function , that is xx and ex{{e}^{x}}
The Product rule of derivative is given as,
d(uv)dx=ud(v)dx+vd(u)dx\Rightarrow \dfrac{d(uv)}{dx}=u\dfrac{d(v)}{dx}+v\dfrac{d(u)}{dx}
Where uu and vv are two functions/variables and ddx\dfrac{d}{dx} is derivative with respect to xx.
In the above question the two functions can be xx and ex{{e}^{x}} can be taken as uu and vv.
We will apply the product rule to find the derivative of the above equation.
That is, y=(x)(ex)y=(u)(v)y=(x)({{e}^{x}})\Leftrightarrow y=(u)(v)
Applying product rule we get,
dydx=d(xex)dx\Rightarrow \dfrac{dy}{dx}=\dfrac{d(x{{e}^{x}})}{dx}
d(xex)dx=xd(ex)dx+exd(x)dx\Rightarrow \dfrac{d(x{{e}^{x}})}{dx}=x\dfrac{d({{e}^{x}})}{dx}+{{e}^{x}}\dfrac{d(x)}{dx}
Since we know that d(x)dx=1\dfrac{d(x)}{dx}=1 and d(ex)dx=ex\dfrac{d({{e}^{x}})}{dx}={{e}^{x}} , derivative of xx with respect to xx is 1.
And we also know that the exponential function has the special property that its derivative is the function itself.
Substituting the values of derivatives in the above equation we get,
d(xex)dx=x(ex)+ex(1)\Rightarrow \dfrac{d(x{{e}^{x}})}{dx}=x({{e}^{x}})+{{e}^{x}}(1)
d(xex)dx=xex+ex\Rightarrow \dfrac{d(x{{e}^{x}})}{dx}=x{{e}^{x}}+{{e}^{x}}
Taking ex{{e}^{x}} as common
d(xex)dx=ex(x+1)\Rightarrow \dfrac{d(x{{e}^{x}})}{dx}={{e}^{x}}(x+1)

Hence the derivative of the function y=xexy=x{{e}^{x}} is ex(x+1){{e}^{x}}(x+1).

Note: In product rule the order of function does not matter, that is the values of uu and vv can be interchanged and we will still get the same answer. For example, in the above question, we took uu and vv as xx and ex{{e}^{x}} respectively, now interchanging the values , u=ex,v=xu={{e}^{x}},v=x we get
d(exx)dx\Rightarrow \dfrac{d({{e}^{x}}x)}{dx}
d(exx)dx=exd(x)dx+xd(ex)dx\Rightarrow \dfrac{d({{e}^{x}}x)}{dx}={{e}^{x}}\dfrac{d(x)}{dx}+x\dfrac{d({{e}^{x}})}{dx}
d(exx)dx=ex(1)+x(ex)\Rightarrow \dfrac{d({{e}^{x}}x)}{dx}={{e}^{x}}(1)+x({{e}^{x}})
Taking ex{{e}^{x}} as common
d(exx)dx=ex(1+x)\Rightarrow \dfrac{d({{e}^{x}}x)}{dx}={{e}^{x}}(1+x) , which is the same answer as obtained above.