Work out x2e3x for x=1: you find x2=1 and e3⋅1=e3 separately, then multiply them. The last operation is a multiplication, so the function is a product, and the product rule comes first.
2
Write the product rule
The derivative of a product is the first factor’s derivative times the second factor, plus the first factor times the second factor’s derivative. Here the first factor is x2 and the second is e3x.
(fg)′=f′g+fg′
3
Differentiate the first factor
x2 needs only the power rule.
dxdx2=2x
4
Differentiate the second factor with the chain rule
e3x is a composition: the inside is 3x and the outside is eu. The outside gives e3x, copied unchanged, and the inside gives 3.
dxde3x=e3x⋅3=3e3x
5
Put the product rule together
Substitute both derivatives into the product rule.
dxdy=2x⋅e3x+x2⋅3e3x
6
Factor the answer
Both terms contain x and e3x, so factor them out. The factored form shows where the slope is zero: e3x is never 0, so dy/dx=0 only at x=0 and at x=−2/3.
dxdy=xe3x(2+3x)
Result
dy/dx=2xe3x+3x2e3x=xe3x(2+3x).
dxdy=xe3x(2+3x)
Your turn
1. One like the example
Differentiate y=x(2x+1)4.
Show the answer and explanation
dy/dx=(2x+1)3(10x+1).
The top level is the product of x and (2x+1)4. The product rule gives 1⋅(2x+1)4+x⋅[(2x+1)4]′, and the chain rule gives [(2x+1)4]′=4(2x+1)3⋅2=8(2x+1)3. That makes dy/dx=(2x+1)4+8x(2x+1)3. Factoring out (2x+1)3 leaves (2x+1)+8x=10x+1.
Differentiate y=e2x/x. Here the top-level structure is a quotient.
Show the answer and explanation
dy/dx=e2x(2x−1)/x2, for x=0.
The quotient rule takes the top’s derivative times the bottom, minus the top times the bottom’s derivative, all over the bottom squared. The top e2x needs the chain rule and gives 2e2x. The bottom xgives 1. The result is (2e2x⋅x−e2x)/x2=e2x(2x−1)/x2.
y=xe2xdxdy=x22e2x⋅x−e2xdxdy=x2e2x(2x−1)
3. Somewhere new
Differentiate y=sin(xex). Which rule comes first this time?
Show the answer and explanation
dy/dx=(1+x)excos(xex).
The sine is applied last, so the chain rule comes first, with the inside xex. The outside gives cos(xex). The inside is a product, and the product rule gives ex+xex. Multiply to get (1+x)excos(xex).