DerivativesEasy

Derivative — product rule

Calculate the derivative of f(x) = x² · eˣ using the product rule.
Given data
f(x) = x² · eˣ
Review the theory: Derivate
Steps
0 / 4
  1. Identify the two factors: f(x) = u·v with u = x², v = eˣ.
  2. Calculate u' = (x²)' and v' = (eˣ)'.
  3. Apply the product rule: f' = u'·v + u·v'.
  4. Factor out eˣ. What is the final result?
Full worked solution
  1. Identify the two factors: f(x) = u·v with u = x², v = eˣ.
    u=x2,v=exu = x^2,\quad v = e^x
    f(x)=x2⋅exf(x) = x^2 \cdot e^x. Choose u=x2u = x^2 and v=exv = e^x. The product rule states (uv)′=u′v+uv′(uv)' = u'v + uv'.
  2. Calculate u' = (x²)' and v' = (eˣ)'.
    u′=2x,v′=exu' = 2x,\quad v' = e^x
    u′=(x2)′′=2xu' = (x^2)'' = 2x (power rule), v′=(ex)′′=exv' = (e^x)'' = e^x (the exponential is its own derivative).
  3. Apply the product rule: f' = u'·v + u·v'.
    f′(x)=2x⋅ex+x2⋅exf'(x) = 2x \cdot e^x + x^2 \cdot e^x
    f′(x)=u′v+uv′=2x⋅ex+x2⋅exf'(x) = u'v + uv' = 2x\cdot e^x + x^2\cdot e^x. Applying the product rule with u′=2xu' = 2x and v′=exv' = e^x.
  4. Factor out eˣ. What is the final result?
    f′(x)=ex(x2+2x)=xex(x+2)f'(x) = e^x (x^2 + 2x) = x e^x (x + 2)
    f′(x)=ex(2x+x2)=ex(x2+2x)=x ex(x+2)f'(x) = e^x(2x + x^2) = e^x(x^2 + 2x) = \mathbf{x\,e^x(x + 2)}. Factoring out the common factor exe^x and then xx gives the simplified result.
Result:f'(x) = eˣ(x² + 2x) = x·eˣ(x + 2).