Differentiation/The Derivative

Lesson 5.11,257 words

The Derivative

The derivative is the limit of the difference quotient, the slope the secant lines approach as the second point slides into the first. Differentiability forces continuity; linearity and the product, quotient, and chain rules follow from the definition; and a continuous function can fail to be differentiable, as the absolute value does at the origin.

╌╌╌╌

Near a point where it is well-behaved, the graph of a function looks like a straight line, and that line has a slope recording the rate at which the function's value changes. Analysis makes this precise without appealing to the picture: the slope is a limit of a function, and every rule of differential calculus becomes a theorem about that limit rather than a fact read off a drawing.

The difference quotient and its limit

Fix an interval , a function , and a point . The difference quotient of based at is

It is the slope of the secant line through the two graph points and . As moves toward the second point slides along the graph toward the first, and the secant pivots. If those secant slopes approach a single number, that number is the slope of the tangent line, and it is the derivative.

Two conventions are worth stating once. First, is allowed to be an endpoint of ; the limit is then automatically one-sided, and every theorem below still holds, which saves the trouble of excising endpoints. Second, the derivative is sometimes written or ; the notations name the same object.

As x slides toward c the secant lines through (c,f(c)) and (x,f(x)) pivot toward the tangent, whose slope is the derivative at c.

Worked derivatives from the definition

Every basic derivative is a limit computation: simplify the difference quotient algebraically until the in the denominator cancels, then let .

For an affine function the quotient is , so at every . Every differentiable function behaves infinitesimally like an affine function, so working a formula out for first is a reliable way to guess the general rule.

The square root has an ever-steepening secant as c approaches the origin; its slope 1/(2 root c) grows without bound, leaving a vertical tangent at 0.

The increment form and one-sided derivatives

Substituting recenters the difference quotient on the increment :

The two forms are identical, but the increment form makes the two-sidedness explicit. The limit exists only if the right-hand derivative (letting ) and the left-hand derivative () both exist and agree. When is an endpoint of only one side is available, which is why endpoints need no special treatment. When both sides exist but differ, has a corner and is not differentiable, the situation of at the origin below.

Differentiability forces continuity

A function cannot have a jump or a hole where it is differentiable: the finite limit defining cannot exist across a break.

The converse fails: continuity is a much weaker property than differentiability.

Continuous functions with no derivative

The absolute value is the first counterexample.

The absolute value has a corner at the origin: right secants have slope one, left secants the opposite sign, so no single tangent exists.

The absolute value fails at a single point. Weierstrass exhibited a function that is continuous on all of yet differentiable at no point at all: a graph with a corner everywhere and a tangent nowhere. Its construction rests on uniformly convergent series. Continuity places no bound on how badly a function can fail to be smooth.

The algebra of derivatives

Differentiation is linear, and it interacts with products, quotients, and compositions through fixed rules. Each rule is proved by manipulating difference quotients and passing to the limit, so each rests on the limit laws already established for functions.

Linearity

The product rule

The derivative of a product is not the product of the derivatives. The correct statement is the product rule, and its shape is visible in a picture: an increment in is an -strip plus a -strip on a rectangle of sides and .

The proof rests on the algebraic identity

which decomposes the shaded region below. Dividing by , taking , and using continuity of at (so ) gives the stated formula.3

The product rule as areas. The full rectangle f(x)g(x) exceeds the white f(c)g(c) by strip A of area f times the change in g and strip B of area the change in f times g.

Strip has area and strip has area ; roughly, , and dividing by and shrinking it recovers the rule.

The quotient rule

The quickest derivation differentiates from the definition, then combines the reciprocal with the chain and product rules; the direct difference-quotient computation also works.

The chain rule

Composition is how complicated functions are built, and the chain rule differentiates a composition. Its content is that local linear approximations compose by multiplying their slopes: if scales small increments near by and scales small increments near by , then scales by the product.

The chain rule composes local linearizations: g multiplies a small input change near c, then f multiplies the result near g(c), so the composite multiplies by the product of the two slopes.

The device of patching the difference quotient into a continuous function is what avoids the false step of dividing by , which can be zero even when .

Powers and polynomials

The rules together compute the derivative of every power of by induction, which in turn differentiates every polynomial.

A polynomial is a finite linear combination of powers, so linearity and the power rule give at every . Rational functions follow from the quotient rule on their domains. Between the four algebraic rules and the power rule, every function built by finite arithmetic from is differentiable and its derivative is mechanical.

Reading the rules as one table

The four rules turn any expression built from known derivatives into a mechanical computation. Each is an identity about the derivative at a point where the ingredients are differentiable.

RuleHypothesis at Derivative at
Linearity differentiable
Product differentiable
Quotient diff.,
Chain diff. at , diff. at

Applied repeatedly, these give the derivative of every polynomial ( from the product rule and induction), every rational function on its domain, and every algebraic combination of functions whose derivatives are already known.

Footnotes

  1. Lebl, Basic Analysis I, §4.1, Definition 4.1.1 — the derivative as the limit of the difference quotient, with permitted to be an endpoint.
  2. Lebl, Basic Analysis I, §4.1, Proposition 4.1.6 — differentiability at a point implies continuity there. See also Rosenlicht, Ch. 5.
  3. Lebl, Basic Analysis I, §4.1, Proposition 4.1.8 and Figure 4.2 — the product rule and its area interpretation.
  4. Lebl, Basic Analysis I, §4.1, Proposition 4.1.10 — the chain rule via continuous auxiliary difference quotients.

╌╌ END ╌╌