Product Rule
The rule
To differentiate a product of two functions, differentiate each one in turn while holding the other fixed, then add the results:
dxd[u(x)v(x)]=u′(x)v(x)+u(x)v′(x)Worked example
Find the derivative of f(x)=(x2+1)(x3−3x).
Solution: With u=x2+1 (so u′=2x) and v=x3−3x (so v′=3x2−3):
f′(x)=2x(x3−3x)+(x2+1)(3x2−3)=(2x4−6x2)+(3x4−3)=5x4−6x2−3Three functions multiplied together
The rule extends to any number of factors: differentiate one factor at a time, keep the others unchanged, and add up the results:
dxd[uvw]=u′vw+uv′w+uvw′Differentiate y=x2exsinx.
Solution: With u=x2, v=ex and w=sinx, the derivatives are u′=2x, v′=ex and w′=cosx:
y′=2xexsinx+x2exsinx+x2excosx=xex(2sinx+xsinx+xcosx)Logarithmic differentiation, a product-rule cousin
When a variable appears in both the base and the exponent, taking a logarithm first turns the problem into one the product rule can handle.
If y=xsinx for x>0, find dxdy.
Solution: Take the natural log of both sides: lny=sinxlnx. Differentiate both sides: the right side is now a product:
yy′=cosxlnx+sinx⋅x1Multiplying back through by y=xsinx:
y′=xsinx[xsinx+lnxcosx]Common mistakes
- Multiplying the derivatives. (uv)′=u′v′. Try u=v=x: the product is x2, whose derivative is 2x, but u′v′=1.
- Dropping one of the terms. There is one term per factor: two for uv, three for uvw. Each term has exactly one factor differentiated.
- Reaching for it when one factor is a constant. 5x3 is a constant times a power, so its derivative is just 15x2. The product rule gives the same answer, only more slowly.
- Worrying about the order. Addition doesn't care about order, so u′v+uv′ and uv′+u′v are the same. That is not true of the quotient rule, where order matters.
Continue learning
The quotient rule is the product rule's counterpart for dividing two functions instead of multiplying them.