Question
Question: How do you find the derivative of \(y = x{e^x}\)?...
How do you find the derivative of y=xex?
Solution
To differentiate means to find the derivative of a function or rate of change of a function with respect to some variable. If a function y is to be differentiated with respect to x, then it will be written as dxdy. Since the given expression to be differentiated is the product of two expressions or functions, therefore we will use the product rule for differentiation. The product rule states that if y=f(x)×g(x), thendxdy=f(x)dxdg(x)+g(x)dxdf(x).
Complete step by step solution:
It is given that y=xex.
Here f(x)=x and g(x)=ex. On substituting these values in the product rule of differentiation, we will get
⇒dxdy=f(x)dxdg(x)+g(x)dxdf(x)
⇒dxdy=xdxdex+exdxdx
For the first part of the expression at the right-hand side of the equation, it must be known that the differentiation or derivative of ex with respect to x is ex, i.e. dxdex=ex On substituting these values, we will get
⇒dxdy=(x×ex)+exdxdx
Now for the second part of the expression at the right hand side of the equation, one of the rule of differentiation must be remembered that states dxdxn=nxn−1. In our case n=1, so dxdx1=1×x1−1=x0=1, i.e. dxdx=1 On substituting these values, we will get
⇒dxdy=(x×ex)+(ex×1)
On further simplifying, we will get
⇒dxdy=xex+ex
Hence, when we find the derivative of y=xex, we get xex+ex as the answer.
Note:
If a function y is to be differentiated with respect to x, then it is written as dxdy. But it can also be expressed as Dy as D is sometimes used in place of dxd.