Example
Differentiate both factors and assemble u prime v plus u v prime.
highlighted = computed this step
Step 1 — Set up
Start with a product of two functions.
f(x)=x2sinx
Step 2 — Name the factors
Name the first factor u and second factor v.
u=x2v=sinx
Step 3 — Differentiate factors
Differentiate u and v separately.
u′=2xv′=cosx
Step 4 — Product rule
Apply the product rule.
(uv)′=u′v+uv′
Step 5 — Assemble result
Assemble u prime v plus u v prime.
f′(x)=2xsinx+x2cosx
product-rule
If f(x) = u(x)·v(x), then f'(x) = u'v + uv'. Differentiate the first factor times the second, plus the first times the derivative of the second.