The derivative of a product is not the product of the derivatives. The product rule is (fg)′ = f′g + fg′: each factor takes its turn changing while the other holds still, like the two strips added when both sides of a rectangle grow. The quotient rule is (f/g)′ = (f′g − fg′)/g². Applied to sin x / cos x and its relatives, the quotient rule gives the derivatives of tan, cot, sec and csc.
In words: the derivative of the first times the second, plus the first times
the derivative of the second.
Check it on x2⋅x3=x5: the rule gives
2x⋅x3+x2⋅3x2=2x4+3x4=5x4, which matches the power rule.
Multiplying the derivatives instead gives 2x⋅3x2=6x3, which does not.
Picture f(x)g(x) as the area of a rectangle with sides f and g. Now let
x grow a little, so each side grows: f by Δf and g by Δg.
The new area is (f+Δf)(g+Δg). The rectangle gains three pieces:
a strip along one side, fΔg;
a strip along the other side, gΔf;
a tiny corner, ΔfΔg.
Divide by Δx and let Δx→0. The strips give fg′ and gf′.
The corner gives Δf⋅ΔxΔg→0⋅g′=0.
Each factor contributes its own change while the other holds still, and the
change of both at once is too small to count.
The numerator looks like the product rule with a minus sign, so its order
matters: derivative of the top first. A common way to remember it is “low
d-high minus high d-low, over low squared.”
It follows from the product rule: write q=gf, so f=qg and
f′=q′g+qg′. Solving for q′ gives q′=gf′−qg′=g2f′g−fg′.
y′=(x2+1)22(x2+1)−2x⋅2x=(x2+1)22−2x2. At 0 the slope is 2 and the point is (0,0).
If f(2)=3, f′(2)=−1, g(2)=4 and g′(2)=5, find (fg)′(2) and (gf)′(2).
Answer
11 and −1619
Full solution
(fg)′(2)=(−1)(4)+(3)(5)=11.
(gf)′(2)=42(−1)(4)−(3)(5)=−1619.
A student writes dxdsinxx2=cosx2x. What went wrong, and what is the right derivative?
Hint
A quotient is not differentiated top and bottom separately.
Answer
The student differentiated top and bottom separately. The derivative is sin2x2xsinx−x2cosx.
Full solution
The quotient rule gives sin2x2x⋅sinx−x2⋅cosx.
Dividing the derivatives, cosx2x, has no justification, in the same way that (fg)′=f′g′.
Frequently asked questions
What is the product rule?
(fg)′ = f′g + fg′: the derivative of the first times the second, plus the first times the derivative of the second.
What is the quotient rule?
(f/g)′ = (f′g − fg′)/g². The order in the numerator matters, because of the minus sign.
Why is the derivative of a product not the product of the derivatives?
When both factors change, the product changes by f times the change in g plus g times the change in f. Multiplying the two changes together captures neither.
What is the derivative of tan x?
sec² x. It follows from the quotient rule applied to sin x / cos x.
Do I always need the quotient rule for a fraction?
No. If the denominator is a single power of x, dividing first and using the power rule is faster.