Skip to content

Mathematics · Ch 5 — Continuity and Differentiability

Differentiability

2

Differentiability

Definition (differentiability at a point). A function ff is said to be differentiable

at x=ax=a if the limit

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

exists (finite). This is precisely the first-principles definition of the derivative carried over

from the previous chapter on limits and derivatives; here the focus shifts to the relationship

between differentiability and continuity, and to the standard rules -- chain rule, implicit

differentiation, logarithmic differentiation, parametric differentiation -- built on top of it.

Left-hand and right-hand derivatives. Exactly as with limits, a function may have a

left-hand derivative Lf′(a)=lim⁡h→0−[f(a+h)−f(a)]/hLf'(a)=\lim_{h\to0^-}[f(a+h)-f(a)]/h and a right-hand derivative

Rf′(a)=lim⁡h→0+[f(a+h)−f(a)]/hRf'(a)=\lim_{h\to0^+}[f(a+h)-f(a)]/h; ff is differentiable at aa exactly when both exist and

are equal, in which case f′(a)f'(a) is their common value.

Theorem: differentiability implies continuity. If ff is differentiable at x=ax=a, then ff is

continuous at aa.

Proof. For x≠ax\neq a, write

f(x)−f(a)=f(x)−f(a)x−a⋅(x−a).f(x)-f(a) = \frac{f(x)-f(a)}{x-a}\cdot(x-a).

Taking the limit as x→ax\to a, and using that ff is differentiable at aa (so the first factor

tends to f′(a)f'(a), a finite number) together with lim⁡x→a(x−a)=0\lim_{x\to a}(x-a)=0,

lim⁡x→a[f(x)−f(a)]=f′(a)⋅0=0,\lim_{x\to a}\big[f(x)-f(a)\big] = f'(a)\cdot0 = 0,

by the product rule for limits. Hence lim⁡x→af(x)=f(a)\lim_{x\to a}f(x)=f(a), which is exactly the definition

of continuity at aa. ■\blacksquare

The converse is FALSE. Continuity does not imply differentiability -- this is one of the

most important cautionary facts in this chapter. The standard counterexample is f(x)=∣x∣f(x)=|x| at

x=0x=0: it is continuous there (Section 1), but

Lf′(0)=lim⁡h→0−∣h∣−0h=lim⁡h→0−−hh=−1,Rf′(0)=lim⁡h→0+∣h∣−0h=lim⁡h→0+hh=1.Lf'(0) = \lim_{h\to0^-}\frac{|h|-0}{h} = \lim_{h\to0^-}\frac{-h}{h} = -1, \qquad Rf'(0) = \lim_{h\to0^+}\frac{|h|-0}{h} = \lim_{h\to0^+}\frac{h}{h} = 1.

Since Lf′(0)=−1≠1=Rf′(0)Lf'(0)=-1\neq1=Rf'(0), the two one-sided derivatives disagree, so ff is not

differentiable at x=0x=0 -- geometrically, the graph of ∣x∣|x| has a sharp corner at the origin,

and a corner has no single well-defined tangent line, even though the curve itself has no break

there.

Why this matters. Continuity is therefore a necessary but not sufficient condition for

differentiability: every differentiable function is automatically continuous, but a continuous

function can still fail to be differentiable, typically at a corner, a cusp, or a vertical

tangent. Every rule developed in the rest of this chapter -- the chain rule, implicit and

logarithmic differentiation, parametric derivatives -- implicitly assumes the functions involved …