Tutorials › Calculus I › Why Differentiability Implies Continuity

The Derivative from First Principles · Tutorial 360 of 1495

Why Differentiability Implies Continuity

Use the difference quotient to prove that a finite derivative guarantees continuity, including at a domain endpoint.

Intermediate 10 min read

What You'll Learn

  • State differentiability and continuity relative to a function's domain.
  • Prove that a finite difference-quotient limit forces the function's change to approach zero.
  • Identify the local boundedness supplied by a finite derivative.
  • Apply the result at interior points and one-sided domain endpoints.
  • Recognize why a defined difference quotient for each increment is not enough.

From a Finite Slope to Continuity

Differentiability and continuity describe different features of a function near a point. Continuity says that nearby function values approach the value at the point. Differentiability says that the change in function value, divided by the change in input, approaches a finite slope.

The difference quotient connects these ideas directly. The change in function value is the input increment multiplied by the difference quotient. If the quotient approaches a finite number, it stays bounded near the point; multiplying that bounded quantity by an increment tending to zero forces the function's change to tend to zero as well.

Definitions at a Point

Let \(f:D\to\mathbb{R}\), where \(D\subseteq\mathbb{R}\), and let \(a\in D\). We consider increments \(h\) for which \(a+h\in D\) and \(h\ne 0\). For the usual two-sided derivative, the allowed inputs must approach \(a\) from both sides. At a domain endpoint, the corresponding one-sided derivative uses increments from the side that lies in the domain.

Definition: The derivative of \(f\) at \(a\), when defined by the difference quotient, is the finite real limit $$ f'(a)=\lim_{h\to 0}\frac{f(a+h)-f(a)}{h}, $$ where the limit is taken over allowed increments. At an endpoint, this may instead be a one-sided limit over allowed increments.

In particular, to speak of a derivative by this definition, \(a\) must be a limit point of the domain on the side or sides under consideration. The value \(f(a)\) must be defined. The word finite matters: the limit must be a real number, not an infinite value.

Definition: The function \(f\) is continuous at \(a\), relative to its domain, if $$ \lim_{\substack{x\to a\\x\in D}} f(x)=f(a). $$ At a domain endpoint, this is a one-sided limit from within the domain.

Equivalently, in terms of allowed increments, continuity at \(a\) means that \(f(a+h)-f(a)\to 0\) as \(h\to 0\). This formulation makes the relationship with the difference quotient especially clear.

The Main Result

Theorem: Suppose \(a\in D\), and the difference quotient for \(f\) at \(a\) has a finite limit \(L\) as allowed nonzero increments \(h\to 0\). Then \(f\) is continuous at \(a\), relative to \(D\).

The theorem applies to an ordinary two-sided derivative at an interior point and to a finite one-sided derivative at an endpoint. Its conclusion uses the same approach to \(a\) as the derivative definition.

Proof from the Difference Quotient

For every allowed \(h\ne 0\), rearrange the difference quotient identity:

$$ f(a+h)-f(a) = h\left(\frac{f(a+h)-f(a)}{h}\right). $$

The first factor, \(h\), tends to zero. The second factor tends to the finite real number \(L\). We can justify the conclusion using boundedness, without assuming in advance that \(f\) is continuous.

1
Name the quotient.
For allowed \(h\ne 0\), set \(Q(h)=\dfrac{f(a+h)-f(a)}{h}\). By hypothesis, \(Q(h)\to L\), where \(L\in\mathbb{R}\).
2
Bound it near zero.
Because \(Q(h)\to L\), there is a positive \(\delta\) such that \(0<|h|<\delta\) implies \(|Q(h)-L|<1\). The triangle inequality then gives \(|Q(h)|\le |L|+1\).
3
Control the function's change.
Using \(f(a+h)-f(a)=hQ(h)\), we obtain \(|f(a+h)-f(a)|\le (|L|+1)|h|\) for those increments.
4
Take the limit.
The constant \(|L|+1\) is finite, and \(|h|\to 0\). Therefore \(|f(a+h)-f(a)|\to 0\), which is precisely continuity at \(a\), relative to the domain.

For completeness, given any \(\varepsilon>0\), choose a positive \(\eta\) smaller than \(\delta\) and small enough that \((|L|+1)\eta<\varepsilon\). Then every allowed \(h\) with \(0<|h|<\eta\) satisfies

$$ |f(a+h)-f(a)| \le (|L|+1)|h| < (|L|+1)\eta <\varepsilon. $$

This is the definition of continuity in increment form. The proof also pinpoints where finiteness enters: convergence to a finite \(L\) makes \(Q(h)\) bounded near zero. Without that bound, the product of a small increment and the quotient need not tend to zero.

Worked Example: A Polynomial at an Interior Point

Worked Example: A Polynomial at an Interior Point

Let \(f(x)=x^2+3x\), and examine the point \(a=1\). First compute the function value:

$$ f(1)=1^2+3(1)=1+3=4. $$

For a nonzero increment \(h\), expand the value at \(1+h\):

$$ \begin{aligned} f(1+h) &=(1+h)^2+3(1+h)\\ &=1+2h+h^2+3+3h\\ &=4+5h+h^2. \end{aligned} $$

Thus the difference quotient is

$$ \begin{aligned} \frac{f(1+h)-f(1)}{h} &=\frac{(4+5h+h^2)-4}{h}\\ &=\frac{5h+h^2}{h}\\ &=5+h. \end{aligned} $$

Taking the limit gives \(f'(1)=\lim_{h\to0}(5+h)=5\), a finite derivative. To check continuity directly, use the same computed values:

$$ f(1+h)-f(1)=5h+h^2=h(5+h)\longrightarrow 0. $$

Therefore \(\lim_{x\to1}f(x)=f(1)=4\). The difference quotient calculation gives the finite derivative, and the change in function value confirms continuity at \(1\).

Worked Example: A Rational Function at an Interior Point

Worked Example: A Rational Function at an Interior Point

Let \(f(x)=\dfrac{1}{x+1}\), with domain \(D=\mathbb{R}\setminus\{-1\}\), and take \(a=1\). Since \(1\in D\),

$$ f(1)=\frac{1}{2}. $$

For sufficiently small \(h\), \(1+h\ne -1\), so the quotient is defined. Compute it exactly:

$$ \begin{aligned} \frac{f(1+h)-f(1)}{h} &=\frac{\frac{1}{2+h}-\frac12}{h}\\ &=\frac{\frac{2-(2+h)}{2(2+h)}}{h}\\ &=\frac{-h}{2(2+h)h}\\ &=-\frac{1}{2(2+h)}. \end{aligned} $$

Consequently,

$$ f'(1)=\lim_{h\to0}-\frac{1}{2(2+h)} =-\frac{1}{2\cdot 2} =-\frac14. $$

This is a finite real number. Substituting the quotient back into the identity for the change gives

$$ f(1+h)-f(1) =h\left(-\frac{1}{2(2+h)}\right) =-\frac{h}{2(2+h)}. $$

As \(h\to0\), the denominator tends to \(4\), so this difference tends to \(0\). Hence \(f(1+h)\to \frac12=f(1)\), verifying continuity at \(1\).

Worked Example: A One-Sided Derivative at a Domain Endpoint

Worked Example: A One-Sided Derivative at a Domain Endpoint

Let \(f(x)=\sqrt{x+1}\), with domain \(D=[0,\infty)\), and consider the endpoint \(a=0\). Only increments \(h>0\) are allowed when approaching \(0\) from within this domain. The function value is

$$ f(0)=\sqrt{1}=1. $$

For \(h>0\), rationalize the numerator of the one-sided difference quotient:

$$ \begin{aligned} \frac{f(0+h)-f(0)}{h} &=\frac{\sqrt{1+h}-1}{h}\\ &=\frac{(\sqrt{1+h}-1)(\sqrt{1+h}+1)} {h(\sqrt{1+h}+1)}\\ &=\frac{(1+h)-1}{h(\sqrt{1+h}+1)}\\ &=\frac{1}{\sqrt{1+h}+1}. \end{aligned} $$

Therefore the right-hand derivative is

$$ \lim_{h\to0^+}\frac{1}{\sqrt{1+h}+1} =\frac{1}{1+1} =\frac12. $$

It is finite. The corresponding change in function value is

$$ f(h)-f(0) =h\left(\frac{1}{\sqrt{1+h}+1}\right) \longrightarrow 0 \qquad (h\to0^+). $$

Thus \(\lim_{x\to0^+}f(x)=1=f(0)\). This checks continuity at the endpoint relative to the domain, using the same one-sided approach as the derivative.

Why the Finite Limit Is Essential

The proof does not rely merely on the quotient being defined for each nearby nonzero increment. It relies on that quotient approaching a finite number, which ensures that its magnitude is bounded near zero. A quotient can be defined at every such increment and still become unbounded.

Common Mistake: “A Small Number Times Anything Is Small”

A tempting but invalid argument starts with \(f(a+h)-f(a)=hQ(h)\) and says: since \(h\to0\), the product must tend to zero. This conclusion does not follow unless there is control over \(Q(h)\). For instance, if \(Q(h)=1/h\), then

$$ hQ(h)=h\left(\frac1h\right)=1, $$

which does not tend to zero. This quotient can occur for the function defined by \(f(0)=0\) and \(f(x)=1\) for \(x\ne0\): its difference quotient at zero is \(1/h\). The correction is to establish a finite limit for \(Q(h)\), then use that limit to bound \(Q(h)\) near zero before estimating the product.

What the Theorem Does—and Does Not—Say

The result is a one-way implication: a finite derivative at a point guarantees continuity there. It does not assert that every continuous function has a derivative. Nor does the proof require a formula for the derivative away from \(a\), or continuity of the derivative. It uses only the difference quotient limit at the particular point and the algebraic identity relating that quotient to the change in function value.

The reasoning is useful because it converts a local slope condition into a precise statement about nearby function values. Whenever a derivative is computed from first principles, the same factorization explains why the function cannot have a jump or other failure of continuity at that point: the change equals a vanishing increment times a quotient that remains bounded.

Check Your Understanding

Answer these questions using the difference-quotient argument.

  1. In the proof, what quantity is shown to be bounded near zero, and what assumption gives that bound?
  2. Why must the derivative limit be a finite real number for this proof?
  3. If the derivative is one-sided at a domain endpoint, which increments are used to establish continuity?
  4. For \(f(x)=x^2\) at \(a=2\), compute the difference quotient and state the derivative.
  5. Explain why knowing that \(Q(h)\) is defined for every allowed \(h\ne0\) does not by itself show that \(hQ(h)\to0\).

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon