– day streak

Maths Advanced: Calculus: differentiation

Pick an answer, then read the worked solution.

AdvancedCalculus: differentiationStandard
Differentiate y=x2e3xy = x^2 e^{3x} with respect to xx.
Stuck? Show the worked solution

Worked solution

This is a product of two functions, so use the product rule: ddx(uv)=u′v+uv′\dfrac{d}{dx}(uv) = u'v + uv'.
  • Let u=x2u = x^2, so u′=2xu' = 2x.
  • Let v=e3xv = e^{3x}, so v′=3e3xv' = 3e^{3x} (chain rule).
dydx=2x⋅e3x+x2⋅3e3x=xe3x(2+3x)\frac{dy}{dx} = 2x \cdot e^{3x} + x^2 \cdot 3e^{3x} = x e^{3x}(2 + 3x)
Factorising at the end is not required, but it makes the answer easier to use (for example, to find stationary points).
Common mistake
Forgetting the chain rule on e3xe^{3x} (writing its derivative as e3xe^{3x} instead of 3e3x3e^{3x}), or differentiating each factor separately and multiplying, which gives 6xe3x6xe^{3x}.

More Maths Advanced questions

Try today's Advanced question →