Power, product, quotient. Each is a shortcut for a limit you would otherwise compute by hand, and each has a failure mode worth naming.
By the end of this chapter you can
Differentiate powers, including negative and fractional exponents
Apply the product and quotient rules correctly
Recognise when a rule does not apply
Differentiate the standard functions from memory
Chapter 2.1 computed a derivative from the definition. Doing that every time
would be unbearable, so this chapter is the set of shortcuts — each one a
theorem proved once from the limit, then used forever.
The rules are worth knowing cold. The failure modes are worth knowing better,
because that is where the marks go.
The power rule
dxdxn=nxn−1
dxdx5=5x4
dxdx=2x1
dxdx1=−x21
dxdx=1
checked by the build
It holds for every real n, not just positive integers, and the second and
third claims above are the ones students forget. Rewrite before differentiating:
x=x1/2, so its derivative is 21x−1/2.
x1=x−1, so its derivative is −x−2.
dxd2x=2xlog(2)
dxdex=ex
checked by the build
ex is the function that is its own derivative, and that is what makes e
special rather than any aesthetic property.
Linearity
Derivatives pass through sums and constant multiples untouched:
dxd(af(x)+bg(x))=af′(x)+bg′(x)
dxd(3x2+5x−7)=6x+5
dxd(−2ex+4sin(x))=−2ex+4cos(x)
checked by the build
This is the rule that makes polynomials trivial, and it is the reason the next
two rules come as a surprise — multiplication and division do not behave this
way.
The product rule
The tempting guess is that the derivative of a product is the product of the
derivatives. It is not, and one example settles it: if it were, then
dxd(x⋅x) would be 1⋅1=1, when it is plainly 2x.
dxd(fg)=f′g+fg′
dxdxex=xex+ex
dxdx2sin(x)=x2cos(x)+2xsin(x)
dxdx2=2x
checked by the build
The last line is the counterexample, verified: the product rule gives
1⋅x+x⋅1=2x, which agrees with the power rule. Any proposed rule
has to survive that test.
Why two terms. Each factor changes, and each change contributes. Hold g
still and vary f: you get f′g. Hold f still and vary g: you get fg′.
The real change is both at once, and the term where both change is
proportional to h2, which the limit discards.
The quotient rule
dxd(gf)=g2f′g−fg′
dxdxsin(x)=xcos(x)−x2sin(x)
dxdx−1x+1=−(x−1)22
dxdtan(x)=cos2(x)1
checked by the build
Two things go wrong with this one, reliably:
The order matters. The numerator is f′g−fg′, not fg′−f′g. Unlike the
product rule, swapping the terms flips the sign of every answer. A memory hook
that survives pressure: the term starting with the derivative of the top comes
first.
It is often not worth using.xx2+1 is easier rewritten as
x+x−1 and differentiated term by term. Reach for the quotient rule when
the denominator genuinely resists splitting.
xx2+1=x+x1
dxd(x+x1)=1−x21
checked by the build
The standard derivatives
These must be immediate, because everything else is built on them.
dxdsinx=cosxdxdcosx=−sinxdxdtanx=sec2x
dxdex=exdxdlnx=x1
dxdsin(x)=cos(x)
dxdcos(x)=−sin(x)
dxdlog(x)=x1
dxd(sin2(x)+cos2(x))=0
checked by the build
That last claim is a pleasant consistency check: sin2x+cos2x=1 is
constant, so its derivative must be zero — and applying the rules gives
2sinxcosx−2cosxsinx, which is zero. When a derivative you compute
contradicts something you know, one of them is wrong, and this is a cheap way to
find out which.
{
"question": "What is the derivative of x·sin(x)?",
"options": [
{
"text": "sin(x) + x·cos(x)",
"correct": true,
"why": "Product rule: f = x gives f' = 1, g = sin x gives g' = cos x, so f'g + fg' = sin x + x cos x. Both factors vary, so both contribute a term."
},
{
"text": "cos(x)",
"correct": false,
"why": "This treats the derivative of a product as the product of the derivatives — 1 · cos x. The x·x counterexample kills that rule: it would make the derivative of x² equal 1 rather than 2x."
},
{
"text": "x·cos(x)",
"correct": false,
"why": "This differentiates sin x and leaves x alone, as if x were a constant. It is not — it varies, and its variation contributes the sin x term."
},
{
"text": "sin(x) − x·cos(x)",
"correct": false,
"why": "The minus belongs to the quotient rule, not the product rule. Both product-rule terms are added; nothing here is being divided."
}
]
}