Question
Question: How do you find the derivative of \[y=2x{{e}^{x}}-2{{e}^{x}}\]?...
How do you find the derivative of y=2xex−2ex?
Solution
To solve the given question, we must know the derivatives of some functions and a rule of derivative. The function whose derivative we should know are x&ex, their derivative with respect to x are 1&ex respectively. We should also know the product rule of the differentiation which states that dxd(f(x)g(x))=dxd(f(x))g(x)+f(x)dxd(g(x)). We will use these to find the derivative of the given expression.
Complete step-by-step answer:
We are given the expression y=2xex−2ex, we need to find its derivative. The given expression has two terms, as we can see both of the terms have 2ex common to them. So, we can take this factor common to both of them, and write the given expression as,
y=2ex(x−1)
The given expression is of the form f(x)g(x), that is a product of two functions. We know the product rule states that dxd(f(x)g(x))=dxd(f(x))g(x)+f(x)dxd(g(x)). Here we have f(x)=2ex&g(x)=x−1
To find the dxdy or dxd(2ex(x−1)), we need to find dxd(2ex), and dxd(x).
We know the derivative of ex with respect to x, is ex itself. So, dxd(2ex)=2ex. Also, the derivative of x with respect to x is 1, dxd(x−1)=1.
dxdy=dxd(2ex(x−1))
Using the product, we get
⇒dxd(2ex)(x−1)+2exdxd(x−1)
Substituting the values of the derivatives, we get
⇒2ex(x−1)+2ex×1=2xex
Hence, the derivative of the given expression is 2xex.
Note: Here we expressed the given expression in the form exf(x). For the expressions of these forms, we can use a trick for differentiation.
dxd(exf(x))=ex(f(x)+dxd(f(x))).
By using this property, we can find the derivative of these types of expression easily.