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 x∈Ix \in I, the rule x↦f′(x)x \mapsto f'(x) defines a new function, the derivative function of ff, also written f′f', dfdx\dfrac{df}{dx}, or DfDf.

Definition. ff is differentiable on II if f′(x)f'(x) exists for every x∈Ix \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 f′f' 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(n−1)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 C∞C^\infty or smooth.

Continuous but not differentiable

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

Example 1 — corner: f(x)=∣x∣f(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=h−1/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 x≠0x \neq 0 and f(0)=0f(0) = 0 is differentiable everywhere (at 00 by the squeeze theorem), but f′f' is discontinuous at 00.

Summary

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