Learn power, product, quotient, and chain rules as reusable rate patterns.
The derivative definition explains what a derivative means, but using the limit definition for every problem would be slow. Derivative rules are reliable shortcuts built from patterns that appear again and again.
The hardest part for many students is not the arithmetic. It is deciding which rule to use first.
Learning objectives
After this lesson you should be able to:
apply constant, sum, difference, and constant-multiple rules;
use the power rule with integer, negative, and fractional powers;
recognize product, quotient, and chain rule situations;
combine several derivative rules in one expression;
diagnose common derivative-rule mistakes;
check derivatives with SymPy and edumath validators.
Rule selection roadmap
Before differentiating, ask these questions in order.
Is the expression a constant? Use the constant rule.
Is it a sum or difference? Differentiate term by term.
Is there a constant multiplier? Keep the constant outside.
Is it a simple power of \(x\)? Use the power rule.
Are two changing factors multiplied? Use the product rule.
Is one changing expression divided by another? Use the quotient rule.
Is there an outside function applied to an inside function? Use the chain rule.
Are several patterns present? Start with the outermost operation.
Rule choice comes before calculation
A good derivative solution begins with a reason: “I use the chain rule because this is an outside function applied to an inside function,” or “I use the product rule because two changing factors are multiplied.”
Linearity rules
Constants
The derivative of a constant is zero:
\[
\frac{d}{dx}[7]=0.
\]
A constant function has no change, so its rate of change is zero.
Constant multiples
Constants multiply the derivative:
\[
\frac{d}{dx}[5f(x)]=5f'(x).
\]
Sums and differences
Differentiate term by term:
\[
\frac{d}{dx}[f(x)+g(x)]=f'(x)+g'(x).
\]
Walkthrough: term-by-term derivative
Differentiate
\[
4x^3-2x+9.
\]
Classify. This is a sum/difference of terms.
Differentiate each term.
\(4x^3\) becomes \(12x^2\).
\(-2x\) becomes \(-2\).
\(9\) becomes \(0\).
Combine.\[
\frac{d}{dx}(4x^3-2x+9)=12x^2-2.
\]
Check. The constant disappeared because constant functions have zero slope.
Power rule
For many powers,
\[
\frac{d}{dx}x^n=nx^{n-1}.
\]
The exponent moves down as a multiplier, then decreases by 1.
('chain rule: differentiate the outside power and multiply by the inside derivative',
'sum/difference rule: differentiate each term',
'constant rule: the expression does not depend on the variable',
'power rule: bring down 2 and subtract 1')
import sympy as spx = sp.symbols("x")sp.simplify(sp.diff((x**2+1) **3, x))