Differentiable Function

Basis
Last updated: Tags: Calculus, Differentiation

Prerequisites

A single derivative at one point is useful, but you usually want to differentiate a function across its entire domain. This checkpoint defines what it means for a function to be differentiable on an interval and introduces the derivative as a function in its own right.

The derivative function

Let ff be defined on an open interval II. If ff is differentiable at every point xIx \in I, the rule xf(x)x \mapsto f'(x) defines a new function, the derivative function of ff, also written ff', dfdx\dfrac{df}{dx}, or DfDf.

Definition. ff is differentiable on II if f(x)f'(x) exists for every xIx \in I.

Differentiability on closed intervals

For a closed interval [a,b][a, b], differentiability at the endpoints uses one-sided limits: ff is differentiable on [a,b][a, b] if it is differentiable on (a,b)(a, b) and both f+(a)f'_+(a) and f(b)f'_-(b) exist.

Higher-order derivatives

If ff' is itself differentiable, its derivative (f)f(f')' \eqqcolon f'' is the second derivative of ff. Inductively, the nn-th derivative f(n)f^{(n)} is defined whenever f(n1)f^{(n-1)} is differentiable. In Leibniz notation: dnfdxn\dfrac{d^n f}{dx^n}.

A function with nn continuous derivatives is called CnC^n. A function with derivatives of all orders is called CC^\infty or smooth.

Continuous but not differentiable

Differentiability implies continuity, so every differentiable function is continuous. The converse fails.

Example 1 — corner: f(x)=xf(x) = |x| is continuous everywhere. At x0=0x_0 = 0 the right derivative is +1+1 and the left is 1-1, so f(0)f'(0) does not exist.

Example 2 — cusp: f(x)=x2/3f(x) = x^{2/3} is continuous at 00, but f(h)f(0)h=h1/3±\dfrac{f(h)-f(0)}{h} = h^{-1/3} \to \pm\infty; the derivative does not exist.

Example 3 — differentiable with discontinuous derivative: f(x)=x2sin(1/x)f(x) = x^2 \sin(1/x) for x0x \neq 0 and f(0)=0f(0) = 0 is differentiable everywhere (at 00 by the squeeze theorem), but ff' is discontinuous at 00.

Summary

  • ff is differentiable on II if f(x)f'(x) exists for every xIx \in I, yielding the derivative function ff'.
  • Closed-interval differentiability uses one-sided limits at the endpoints.
  • The nn-th derivative f(n)f^{(n)} is defined iteratively; CC^\infty functions have all orders.
  • Continuity is necessary but not sufficient for differentiability.