First-Principles Differentiation

01First-Principles Differentiation

Gradient as a Limit

This section covers the limiting gradient formula and why the increment approaches, rather than equals, zero.

The limit definition

Differentiation from first principles establishes a derivative using its limit definition, rather than a differentiation rule:

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

xyOf(x)f(x+h)xx+hy=f(x)tangent atPlinePQhf(x+h)¡f(x)PQ

Keep P=(x,f(x))P=(x,f(x)) fixed and take a nearby point Q=(x+h,f(x+h))Q=(x+h,f(x+h)), where h≠0h\ne0.

The change in xx is hh and the change in yy is f(x+h)−f(x)f(x+h)-f(x). Dividing these changes gives the gradient of the line PQPQ.

As h→0h\to0, QQ approaches PP. When the limit exists, it gives the gradient of the tangent at PP.

The sketch shows a positive value of hh.

Approaching zero is not substituting zero

The notation lim⁡h→0\lim_{h\to0} asks for the value approached as hh tends to zero. Directly substituting h=0h=0 into the original quotient would give

f(x)−f(x)0=00,\frac{f(x)-f(x)}{0}=\frac00,

which is undefined. Instead, simplify the quotient while h≠0h\ne0, then evaluate its limit. The variable xx stays fixed while hh approaches zero.

Create a free account to continue

Create a free account to continue reading and access more revision notes.