Rules of Differentiation
What You'll Learn
- 1Derive the power rule from the limit definition using the binomial expansion
- 2Justify the product and quotient rules instead of memorising them as isolated formulas
- 3Differentiate polynomials, products and quotients of trigonometric functions without error
- 4Verify a symbolic derivative numerically with a small step size in Python
Recomputing every derivative from the definition is correct but slow, and a single board question can contain four separate terms. The rules of differentiation compress that limit into reusable machinery: a rule for powers, a rule for sums, and two rules for combining functions that do not fit any of the earlier patterns. Each rule is a theorem, not a convention, so this lesson derives them once and then applies them four times in full.
Deriving the Power Rule From the Limit Definition
Start with a positive integer and apply the definition:
Expand the numerator with the binomial theorem, so . The terms cancel, and every remaining term carries at least one factor of :
Every term after the first vanishes as tends to zero, leaving the power rule. The same formula survives when is negative or a fraction, provided is not zero: write as one over and apply the quotient rule, or accept the result as the general statement of the power rule.
The sum rule and the constant multiple rule are inherited directly from the limit laws, since a limit of a sum is the sum of the limits and a constant factor passes through unchanged. Together they let you differentiate a polynomial term by term. For the four derivatives are , , and , and the answer is simply their sum.
Why the Product Rule Is Not the Product of Derivatives
Let and be two differentiable functions. Add and subtract the same quantity inside the difference quotient:
Divide by and let tend to zero. The first bracket becomes multiplied by , which tends to , and the second becomes multiplied by . The product rule drops out:
The add-and-subtract trick is the whole proof, and it explains the shape of the answer: there are two terms because either factor may change while the other is held still.
The Quotient Rule and Its Sign Trap
Write the quotient as a product, , and apply the product rule together with the chain rule for the reciprocal:
So the denominator is squared, the numerator keeps the same order as the quotient, and the minus sign sits between the two products. Reversing the order of the numerator is the single most common source of lost marks in this topic.
| Rule | Formula | Applies to |
|---|---|---|
| Constant | Any fixed number | |
| Power | Monomials and integer or fractional powers | |
| Constant multiple | Scalars pulled outside the derivative | |
| Sum and difference | Term by term differentiation | |
| Product | Two functions multiplied together | |
| Quotient | Any division with a non-vanishing denominator |
Derivatives of the Six Trigonometric Functions
These six results come out of the limit definition together with the standard trigonometric limits, and once established they combine freely with the rules above.
A pattern worth noticing: the derivative of a cosine-type function carries a minus sign, while the derivative of a sine-type function does not. The same pattern reappears in the integral formulas of Class 12, so fixing the sign habit now pays interest later.
Four Worked Numericals
Where CBSE Candidates Lose Marks
Paper setters in this chapter test structure as much as computation. A typical four-mark question combines two rules, such as differentiating divided by , which forces a quotient rule whose numerator already needs a product rule. Marks are also lost by dropping the negative sign in , by squaring the numerator instead of the denominator in the quotient rule, and by differentiating a constant term to a non-zero value. Another recurring pattern asks for the slope of the tangent at a point, which means you must differentiate first and substitute second; substituting before differentiating produces a constant function whose derivative is zero. Finally, expect one question where the derivative of has to be reproduced rather than quoted, since the examiner is checking the quotient rule itself.
Checking Derivatives Numerically in Python
def poly_derivative(coeffs):
"""Derivative of coeffs[0] + coeffs[1]x + coeffs[2]x^2 + ..."""
return [c * i for i, c in enumerate(coeffs)][1:]
def poly_eval(coeffs, x):
return sum(c * x ** i for i, c in enumerate(coeffs))
f = [ -7, 5, -2, 0, 3 ] # 3x^4 - 2x^2 + 5x - 7
d = poly_derivative(f)
print("f'(x) coefficients:", d) # [5, -4, 0, 12] -> 5 - 4x + 12x^3
print("f'(1) =", poly_eval(d, 1))
assert poly_eval(d, 1) == 13
from math import sin, cos, pi
def central_difference(f, x, h=1e-6):
return (f(x + h) - f(x - h)) / (2 * h)
def product_rule(x):
return 2 * x * sin(x) + x * x * cos(x)
def quotient_rule(x):
return (x * cos(x) - sin(x)) / x ** 2
def quotient_rule_alt(x): # deliberately wrong order for comparison
return (sin(x) * 1 - cos(x) * x) / x ** 2
x = pi / 2
print("product analytic:", round(product_rule(x), 6),
" numeric:", round(central_difference(lambda t: t * t * sin(t), x), 6))
x = pi / 4
print("quotient analytic:", round(quotient_rule(x), 6),
" numeric:", round(central_difference(lambda t: sin(t) / t, x), 6))
print("reversed numerator gives:", round(quotient_rule_alt(x), 6))
Practice Set
- Find the derivative of and evaluate it at .
- Differentiate using the product rule.
- Differentiate and hence find .
- Prove that using the quotient rule applied to .
- Find the derivative of and determine where the slope equals zero.
Common Mistakes
Differentiating a product as the product of the derivatives
Fix: Use <MathBlock tex={`u'v + uv'`} />; the cross terms are exactly what the add-and-subtract proof produces.
Reversing the numerator of the quotient rule
Fix: Keep the order <MathBlock tex={`u'v - uv'`} /> to match the quotient <MathBlock tex={`u`} /> over <MathBlock tex={`v`} />, and square only the denominator.
Substituting the point before differentiating
Fix: Differentiate symbolically first, then substitute; substituting early collapses the function to a constant.
Key Takeaways
- The power rule follows from the binomial expansion: all terms except <MathBlock tex={`nx^{n-1}`} /> carry a factor of <MathBlock tex={`h`} /> that vanishes
- The product rule has two terms because either factor may change while the other is held fixed
- The quotient rule is the product rule applied to <MathBlock tex={`u`} /> times <MathBlock tex={`v^{-1}`} />, which is why the denominator ends up squared
- Cosine-type derivatives carry a minus sign while sine-type derivatives do not; keep that habit for Class 12 integrals