Skip to content

Mathematics · Ch 5 — Continuity and Differentiability

Differentiability

5.3

Differentiability

Differentiability

The idea of differentiability builds directly on the derivative. Before we explore when a function fails to be differentiable, recall exactly what it means for a derivative to exist.

The Derivative: A Quick Refresher

Suppose ff is a real-valued function and cc is a point in its domain. The derivative of ff at cc is defined by the limit

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

provided this limit exists. It is also denoted ddxf(x)∣x=c\left. \frac{d}{dx} f(x) \right|_{x=c}. Considered as a function itself,

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

wherever the limit exists, is called the derivative of ff. Other common notations are ddxf(x)\frac{d}{dx} f(x), or, if y=f(x)y = f(x), dydx\frac{dy}{dx} or y′y'. The process of finding it is called differentiation.

Algebra of Derivatives

The following rules for combining derivatives form the foundation for all differentiation work:

  1. Sum/Difference Rule: (u±v)′=u′±v′(u \pm v)' = u' \pm v'
  2. Product Rule (Leibnitz Rule): (uv)′=u′v+uv′(uv)' = u'v + uv'
  3. Quotient Rule: (uv)′=u′v−uv′v2\left( \frac{u}{v} \right)' = \frac{u'v - uv'}{v^2}, wherever v≠0v \neq 0

Derivatives of Standard Functions

These are the building blocks for more complex differentiation:

f(x)f(x)f′(x)f'(x)
xnx^nnxn−1n x^{n-1}
sin⁡x\sin xcos⁡x\cos x
cos⁡x\cos x−sin⁡x-\sin x
tan⁡x\tan xsec⁡2x\sec^2 x

When the Derivative Does Not Exist

Every definition above carried the condition "provided the limit exists." If the limit lim⁡h→0f(c+h)−f(c)h\lim_{h \to 0} \frac{f(c+h) - f(c)}{h} does not exist, we say the function ff is not differentiable at cc. For the limit to exist, the left-hand and right-hand limits must be equal, which leads to a practical criterion.

Important

A function ff is differentiable at a point cc in its domain if and only if both the left-hand derivative and the right-hand derivative exist, are finite, and are equal.

The left-hand derivative at cc is given by:

lim⁡h→0−f(c+h)−f(c)h\lim_{h \to 0^-} \frac{f(c+h) - f(c)}{h}

and the right-hand derivative at cc is given by:

lim⁡h→0+f(c+h)−f(c)h\lim_{h \to 0^+} \frac{f(c+h) - f(c)}{h}

Differentiability on an Interval

A function is differentiable in an open interval (a,b)(a, b) if it is differentiable at every point within it. For a closed interval [a,b][a, b], it must be differentiable at every point of (a,b)(a, b), and at the endpoints we use the appropriate one-sided derivatives: the right-hand derivative at x=ax = a, and the left-hand derivative at x=bx = b.

Theorem 3: Differentiability Implies Continuity

This is a fundamental result linking the two concepts.

Theorem 3: If a function ff is differentiable at a point cc, then it is also continuous at that point.

Proof:

Since ff is differentiable at cc, the following limit exists and equals f′(c)f'(c):

lim⁡x→cf(x)−f(c)x−c=f′(c)\lim_{x \to c} \frac{f(x) - f(c)}{x - c} = f'(c)

For x≠cx \neq c, write the difference as

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

Using the product rule for limits (both limits exist),

lim⁡x→c[f(x)−f(c)]=[lim⁡x→cf(x)−f(c)x−c]⋅[lim⁡x→c(x−c)]=f′(c)⋅0=0\lim_{x \to c} [f(x) - f(c)] = \left[ \lim_{x \to c} \frac{f(x) - f(c)}{x - c} \right] \cdot \left[ \lim_{x \to c} (x - c) \right] = f'(c) \cdot 0 = 0

Hence lim⁡x→cf(x)=f(c)\lim_{x \to c} f(x) = f(c), which is precisely the definition of continuity at x=cx = c.

Note

So every differentiable function is continuous. This is a one-way implication: the converse is not true — a continuous function is not necessarily differentiable.

The Converse is False: A Counterexample …

Theorem 3

Theorem 3 (Differentiability implies Continuity)

If a function ff is differentiable at a point cc, then ff is also continuous at cc.

Hypotheses:

  • ff is a real-valued function defined on an interval containing cc.
  • The derivative f′(c)=lim⁡x→cf(x)−f(c)x−cf'(c) = \lim_{x \to c} \frac{f(x) - f(c)}{x - c} exists (as a finite limit).

Conclusion: lim⁡x→cf(x)=f(c)\lim_{x \to c} f(x) = f(c), i.e., ff is continuous at cc.

›Proof

Since ff is differentiable at cc, we know

lim⁡x→cf(x)−f(c)x−c=f′(c).\lim_{x \to c} \frac{f(x) - f(c)}{x - c} = f'(c).

For x≠cx \neq c, we can write the difference f(x)−f(c)f(x) - f(c) as a product:

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

Now take the limit as x→cx \to c on both sides:

lim⁡x→c[f(x)−f(c)]=lim⁡x→c[f(x)−f(c)x−c⋅(x−c)].\lim_{x \to c} \bigl[ f(x) - f(c) \bigr] = \lim_{x \to c} \left[ \frac{f(x) - f(c)}{x - c} \cdot (x - c) \right].

By the limit product rule (the limit of a product equals the product of the limits, provided each limit exists), we have

lim⁡x→c[f(x)−f(c)]=(lim⁡x→cf(x)−f(c)x−c)⋅(lim⁡x→c(x−c)).\lim_{x \to c} \bigl[ f(x) - f(c) \bigr] = \left( \lim_{x \to c} \frac{f(x) - f(c)}{x - c} \right) \cdot \left( \lim_{x \to c} (x - c) \right).

The first factor is f′(c)f'(c) (by differentiability), and the second factor is 00 (since x−c→0x - c \to 0). Hence

lim⁡x→c[f(x)−f(c)]=f′(c)⋅0=0.\lim_{x \to c} \bigl[ f(x) - f(c) \bigr] = f'(c) \cdot 0 = 0.

This means

lim⁡x→cf(x)−f(c)=0⟹lim⁡x→cf(x)=f(c).\lim_{x \to c} f(x) - f(c) = 0 \quad \Longrightarrow \quad \lim_{x \to c} f(x) = f(c).

Therefore ff is continuous at cc.

Important

The converse is false: continuity does not guarantee differentiability. For example, f(x)=∣x∣f(x) = |x| is continuous at 00 but not differentiable there (left and right derivatives differ).

When is this used? …

Corollary 1

Every differentiable function is necessarily continuous. However, a continuous function need not be differentiable — for example, f(x)=∣x∣f(x) = |x| is continuous at x=0x = 0 but not differentiable there. This corollary is used to quickly check that if a function has a derivative at a point, it must be continuous at that point, …