The linearity rules of differentiation state that constants factor out and sums/differences differentiate term-by-term: dxd[c⋅f(x)]=c⋅f′(x) and dxd[f(x)±g(x)]=f′(x)±g′(x). These rules let you break complex expressions into simple pieces without returning to limits.
Linearity Rules of Differentiation
Once you master the derivatives of basic functions, you need efficient rules for combining them. The linearity rules are the foundation: the constant multiple rule and the sum/difference rule.
The Two Core Rules
Rule
Formula
Constant Multiple
dxd[c⋅f(x)]=c⋅f′(x)
Sum/Difference
dxd[f(x)±g(x)]=f′(x)±g′(x)
The constant multiple rule says constants "ride along"—they factor out untouched. The sum/difference rule says you differentiate term by term, preserving addition and subtraction. Together, these properties define linearity in calculus.
Why They Work
Both rules follow directly from the limit definition. For the constant multiple rule:
dxd[cf(x)]=limh→0hcf(x+h)−cf(x)=climh→0hf(x+h)−f(x)=cf′(x).
Since limits are linear, the same logic applies to sums: the limit of a sum is the sum of limits.
Applying the Rules
In practice, differentiate entire polynomial-like expressions in one pass, term by term. For f(x)=3x4−5x2+7:
dxd[3x4]=3(4x3)=12x3
dxd[−5x2]=−5(2x)=−10x
dxd[7]=0
Result: f′(x)=12x3−10x.
Linearity also handles fractional and negative exponents. For g(x)=4x−x23+2x, rewrite as g(x)=4x1/2−3x−2+2x, then differentiate:
g′(x)=2x−1/2+6x−3+2=x2+x36+2.
Common Pitfalls
Don't multiply derivatives for sums: dxd[f(x)+g(x)]=f′(x)⋅g′(x). Sums stay as sums.
Preserve the sign: dxd[f(x)−g(x)]=f′(x)−g′(x), not f′(x)+g′(x).
Handle negatives carefully: dxd[−7x3]=−21x2.
Mastering linearity is essential—every advanced rule (product, quotient, chain) builds on this foundation.