4.1.13Calculus I — Limits & Derivatives

Sum, difference, constant multiple rules

1,606 words7 min readdifficulty · medium

What we are claiming


Deriving them from scratch (the limit definition)

WHAT we start from. The only thing we are allowed to assume is the definition of the derivative: h(x)=limΔx0h(x+Δx)h(x)Δxh'(x)=\lim_{\Delta x\to 0}\frac{h(x+\Delta x)-h(x)}{\Delta x} and two limit laws: the limit of a sum is the sum of limits, and constants pull out of limits.

Sum rule

Let h(x)=f(x)+g(x)h(x)=f(x)+g(x). Then:

h(x)=limΔx0[f(x+Δx)+g(x+Δx)][f(x)+g(x)]Δxh'(x)=\lim_{\Delta x\to 0}\frac{\big[f(x+\Delta x)+g(x+\Delta x)\big]-\big[f(x)+g(x)\big]}{\Delta x}

Why this step? I just substituted h=f+gh=f+g into the definition — pure bookkeeping.

Now regroup the numerator by pairing ff terms with ff terms:

=limΔx0[f(x+Δx)f(x)Δx+g(x+Δx)g(x)Δx]=\lim_{\Delta x\to 0}\left[\frac{f(x+\Delta x)-f(x)}{\Delta x}+\frac{g(x+\Delta x)-g(x)}{\Delta x}\right]

Why this step? Addition is commutative, so I can shuffle the four terms into two difference quotients. This is the whole trick.

Apply the sum law for limits (allowed because both limits exist by assumption):

=limΔx0f(x+Δx)f(x)Δxf(x)+limΔx0g(x+Δx)g(x)Δxg(x)=f(x)+g(x)    =\underbrace{\lim_{\Delta x\to 0}\frac{f(x+\Delta x)-f(x)}{\Delta x}}_{f'(x)}+\underbrace{\lim_{\Delta x\to 0}\frac{g(x+\Delta x)-g(x)}{\Delta x}}_{g'(x)}=f'(x)+g'(x)\;\;\blacksquare

Constant multiple rule

Let h(x)=cf(x)h(x)=c\,f(x):

h(x)=limΔx0cf(x+Δx)cf(x)Δx=limΔx0cf(x+Δx)f(x)Δxh'(x)=\lim_{\Delta x\to 0}\frac{c\,f(x+\Delta x)-c\,f(x)}{\Delta x}=\lim_{\Delta x\to 0}c\cdot\frac{f(x+\Delta x)-f(x)}{\Delta x}

Why this step? Factor out cc from the numerator.

=climΔx0f(x+Δx)f(x)Δx=cf(x)    =c\lim_{\Delta x\to 0}\frac{f(x+\Delta x)-f(x)}{\Delta x}=c\,f'(x)\;\;\blacksquare

Why this step? A constant factor passes through a limit — it doesn't depend on Δx\Delta x, so it just rides along.

Difference rule (no new work!)

Write fg=f+(1)gf-g = f + (-1)\cdot g. Apply the sum rule, then the constant multiple rule with c=1c=-1: ddx[fg]=f+(1)g=fg    \frac{d}{dx}[f-g]=f'+(-1)g'=f'-g'\;\;\blacksquare

Figure — Sum, difference, constant multiple rules

Worked examples


Common mistakes (steel-manned)


Forecast-then-verify drill


Flashcards

Sum rule for derivatives
ddx[f+g]=f+g\frac{d}{dx}[f+g]=f'+g'
Difference rule
ddx[fg]=fg\frac{d}{dx}[f-g]=f'-g'
Constant multiple rule
ddx[cf]=cf\frac{d}{dx}[cf]=c\,f'
Which limit law makes the sum rule work?
The limit of a sum equals the sum of the limits (when both exist).
Why is the difference rule not proved separately?
Because fg=f+(1)gf-g=f+(-1)g, so sum + constant-multiple rules give it for free.
Derivative of a constant cc?
00 (a constant has zero slope).
Does linearity apply to products?
No — products need the product rule (fg)=fg+fg(fg)'=f'g+fg'.
One-line "linearity" statement
ddx[af+bg]=af+bg\frac{d}{dx}[af+bg]=af'+bg'
ddx(3x45x2+7)\frac{d}{dx}(3x^4-5x^2+7)
12x310x12x^3-10x

Recall Feynman: explain to a 12-year-old

Imagine you're tracking two runners' speeds. If you add their positions together to make a "combined" position, the speed of that combined thing is just the two speeds added up. And if a runner ran on a treadmill set to triple speed, his recorded speed is just three times normal. That's all these rules say: adding stays added, scaling stays scaled. But you can't do this for "runner A's distance times runner B's distance" — multiplying mixes them, and that needs a different rule.


Connections

  • Limit laws (sum, scalar, product of limits) — the engine behind these proofs.
  • Definition of the derivative (limit of difference quotient) — where we started.
  • Power rule — combined with linearity to differentiate any polynomial.
  • Product rule — the non-linear sibling; contrast carefully.
  • Linearity of integration — the integral version of the exact same idea.
  • Linear operators — the abstract structure: ddx\frac{d}{dx} is a linear operator.

Concept Map

substitute h=f+g

sum law applied

factor out c

constant pulls out

combined with

use c = -1

together give

together give

special case of

enables

Derivative limit definition

Limit laws: sum splits, constants pull out

Sum rule f'+g'

Constant multiple rule c f'

Difference rule f'-g'

Linearity of differentiation

Modular calculus of built-up functions

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, yeh teen rules ka matlab sirf ek hai: differentiation ek linear kaam hai. Iska seedha matlab — agar function ko aap tukdo me jodte ho (f+gf+g), to derivative bhi waise hi tukdo me jud jata hai (f+gf'+g'). Aur agar kisi function ko kisi constant cc se multiply karte ho, to cc bahar khada rehta hai, derivative ke andar ghuste hi nahi: (cf)=cf(cf)' = c f'. Subtraction alag se yaad karne ki zaroorat nahi, kyunki fgf-g ka matlab hai f+(1)gf + (-1)g — sum aur constant rule mil ke automatically de dete hain.

Yeh kaam kyun karta hai? Kyunki limit ki property hi aisi hai: do cheezon ke sum ki limit, unki limits ka sum hoti hai, aur constant limit ke bahar nikal aata hai. Hum derivative ki definition (difference quotient ki limit) me f+gf+g daalte hain, numerator ko regroup karte hain ff-wala part aur gg-wala part me, aur bas — do alag derivatives ban jate hain.

Practical fayda? Har polynomial, har sin+ex+ln\sin + e^x + \ln type mixture — sabko aap term-by-term todke aaram se solve kar sakte ho. 3x45x2+73x^4 - 5x^2 + 7 dekho: 12x310x12x^3 - 10x, bas constant 77 ka derivative 00 ho jata hai (flat line ka slope zero).

Sabse bada trap: product me yeh trick mat lagao! (fg)fg(fg)' \ne f'g'. Sirf ++, -, aur constant-multiply pe linearity chalti hai. Product ke liye alag product rule hai. Yeh galti bahut common hai kyunki sum itni saaf split hoti hai ki dimaag sochta hai product bhi waise split hogi — par nahi.

Go deeper — visual, from zero

Test yourself — Calculus I — Limits & Derivatives

Connections