Skip to content

Mathematics · Ch 7 — Limits and Derivatives

Algebra of Derivatives

9

Algebra of Derivatives

Exactly as the algebra of limits (Section 2) allows the limit of a

combination of functions to be built from the limits of the simpler functions inside it, the

algebra of derivatives allows the derivative of a sum, difference, product or quotient of

two functions to be built from the derivatives of those two functions -- derived here directly from the first-principles definition of Section 8, not merely stated.

Throughout, let u(x)u(x) and v(x)v(x) be two functions, both differentiable at xx, with derivatives

u′(x)u'(x) and v′(x)v'(x).

Constant multiple rule. For any constant kk,

ddx[k u(x)]=lim⁡h→0k u(x+h)−k u(x)h=klim⁡h→0u(x+h)−u(x)h=k u′(x).\frac{d}{dx}\big[k\,u(x)\big] = \lim_{h\to0}\frac{k\,u(x+h)-k\,u(x)}{h} = k\lim_{h\to0}\frac{u(x+h)-u(x)}{h} = k\,u'(x).

Theorem (sum and difference rule).

ddx[u(x)+v(x)]=u′(x)+v′(x),ddx[u(x)−v(x)]=u′(x)−v′(x).\frac{d}{dx}\big[u(x)+v(x)\big] = u'(x)+v'(x), \qquad \frac{d}{dx}\big[u(x)-v(x)\big] = u'(x)-v'(x).

Proof (sum case). By the first-principles definition,

ddx[u(x)+v(x)]=lim⁡h→0[u(x+h)+v(x+h)]−[u(x)+v(x)]h=lim⁡h→0[u(x+h)−u(x)]+[v(x+h)−v(x)]h.\frac{d}{dx}\big[u(x)+v(x)\big] = \lim_{h\to0}\frac{\big[u(x+h)+v(x+h)\big]-\big[u(x)+v(x)\big]}{h} = \lim_{h\to0}\frac{\big[u(x+h)-u(x)\big]+\big[v(x+h)-v(x)\big]}{h}.

By the sum rule for limits (Section 2), this splits into two separate limits:

=lim⁡h→0u(x+h)−u(x)h+lim⁡h→0v(x+h)−v(x)h=u′(x)+v′(x).= \lim_{h\to0}\frac{u(x+h)-u(x)}{h} + \lim_{h\to0}\frac{v(x+h)-v(x)}{h} = u'(x)+v'(x).

The difference case is identical, using the limit difference rule in place of the sum rule.

■\blacksquare

Theorem (product rule).

ddx[u(x)v(x)]=u′(x)v(x)+u(x)v′(x).\frac{d}{dx}\big[u(x)v(x)\big] = u'(x)v(x) + u(x)v'(x).

Proof. By definition,

ddx[u(x)v(x)]=lim⁡h→0u(x+h)v(x+h)−u(x)v(x)h.\frac{d}{dx}\big[u(x)v(x)\big] = \lim_{h\to0}\frac{u(x+h)v(x+h)-u(x)v(x)}{h}.

The key step is to subtract and add the term u(x+h)v(x)u(x+h)v(x) in the numerator -- a quantity

that changes nothing, since it is added right back:

u(x+h)v(x+h)−u(x)v(x)=u(x+h)[v(x+h)−v(x)]+v(x)[u(x+h)−u(x)].u(x+h)v(x+h)-u(x)v(x) = u(x+h)\big[v(x+h)-v(x)\big] + v(x)\big[u(x+h)-u(x)\big].

So

ddx[uv]=lim⁡h→0[u(x+h)⋅v(x+h)−v(x)h+v(x)⋅u(x+h)−u(x)h].\frac{d}{dx}\big[uv\big] = \lim_{h\to0}\left[u(x+h)\cdot\frac{v(x+h)-v(x)}{h} + v(x)\cdot\frac{u(x+h)-u(x)}{h}\right].

As h→0h\to0: u(x+h)→u(x)u(x+h)\to u(x) (a differentiable function is necessarily continuous, so its own

value cannot jump as h→0h\to0); v(x+h)−v(x)h→v′(x)\dfrac{v(x+h)-v(x)}{h}\to v'(x); and

u(x+h)−u(x)h→u′(x)\dfrac{u(x+h)-u(x)}{h}\to u'(x), by definition. Hence, by the product and sum rules for

limits,

ddx[uv]=u(x) v′(x)+v(x) u′(x).■\frac{d}{dx}\big[uv\big] = u(x)\,v'(x) + v(x)\,u'(x). \qquad\blacksquare

Theorem (quotient rule). Provided v(x)≠0v(x)\neq0,

ddx[u(x)v(x)]=u′(x)v(x)−u(x)v′(x)[v(x)]2.\frac{d}{dx}\left[\frac{u(x)}{v(x)}\right] = \frac{u'(x)v(x)-u(x)v'(x)}{\big[v(x)\big]^2}.

Proof. By definition,

ddx[uv]=lim⁡h→01h[u(x+h)v(x+h)−u(x)v(x)]=lim⁡h→0u(x+h)v(x)−u(x)v(x+h)h v(x+h)v(x),\frac{d}{dx}\left[\frac{u}{v}\right] = \lim_{h\to0}\frac{1}{h}\left[\frac{u(x+h)}{v(x+h)}-\frac{u(x)}{v(x)}\right] = \lim_{h\to0}\frac{u(x+h)v(x)-u(x)v(x+h)}{h\,v(x+h)v(x)},

combining the two fractions over the common denominator v(x+h)v(x)v(x+h)v(x) first. Now apply the same

subtract-and-add trick to the numerator, this time inserting u(x)v(x)u(x)v(x):

u(x+h)v(x)−u(x)v(x+h)=v(x)[u(x+h)−u(x)]−u(x)[v(x+h)−v(x)].u(x+h)v(x)-u(x)v(x+h) = v(x)\big[u(x+h)-u(x)\big] - u(x)\big[v(x+h)-v(x)\big].

So …