Tutorials › Calculus I › Pointwise Differentiability Versus Differentiability on an Interval

The Derivative from First Principles · Tutorial 369 of 1495

Pointwise Differentiability Versus Differentiability on an Interval

Use difference quotients to check differentiability at a point, then determine whether the function is defined and differentiable across an entire interval.

Intermediate 9 min read

What You'll Learn

  • Define differentiability at a point using a difference-quotient limit.
  • Distinguish a pointwise claim from a claim about every point in an interval.
  • Derive a polynomial’s derivative at one point and at an arbitrary input.
  • Check differentiability of a rational function only where it is defined.
  • Explain why an excluded input prevents differentiability throughout an interval.

One Point Is Not an Entire Interval

A derivative is first defined at a particular input. To say that a function is differentiable at \(a\) is to make a claim about the function’s behavior near that one input. To say that it is differentiable on an interval is a stronger claim: the derivative must exist at every point in that interval, with endpoint conventions stated when needed.

This distinction matters in practice. A difference quotient can have a limit at one chosen point even if the function has a problem elsewhere. A formula may also be differentiable wherever it is defined but fail to be a function on an interval that includes an excluded input. The interval and the domain must therefore be checked along with the limit.

Definition: Let \(f:A\to\mathbb{R}\), and let \(a\) be an interior point of \(A\). The function \(f\) is differentiable at \(a\) if the finite limit $$ f'(a)=\lim_{h\to 0}\frac{f(a+h)-f(a)}{h} $$ exists, where \(h\ne 0\) and \(a+h\in A\). The number \(f'(a)\) is the derivative of \(f\) at \(a\).

The condition \(a+h\in A\) is essential: the quotient can only use inputs where \(f\) is defined. When \(a\) is an endpoint of the domain, the limit is taken from the side that stays in the domain, as in the usual one-sided endpoint convention.

For an open interval \(I\), \(f\) is differentiable on \(I\) if it is defined at every point of \(I\) and differentiable at every \(a\in I\). For a closed interval, we will include one-sided derivatives at the endpoints when saying it is differentiable throughout the interval. In every case, the requirement is universal: no point in the stated interval may be omitted.

A Pointwise Derivative of a Polynomial

Begin with a polynomial, for which the domain is all real numbers. We can calculate a derivative at one point directly from the definition, then compare that calculation with the stronger calculation at an arbitrary input.

Worked Example: A Cubic at One Point and Throughout the Real Line

Let \(p(x)=x^3-2x+4\). First find the derivative at \(a=1\) from the difference quotient. The function value is

$$ p(1)=1^3-2(1)+4=1-2+4=3. $$

At the nearby input \(1+h\),

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

Thus, for \(h\ne 0\),

$$ \frac{p(1+h)-p(1)}{h} =\frac{3+h+3h^2+h^3-3}{h} =1+3h+h^2. $$

Taking the limit gives

$$ p'(1)=\lim_{h\to 0}(1+3h+h^2)=1. $$

To show differentiability at every real input, let \(a\in\mathbb{R}\) be arbitrary. Expand the numerator:

$$ \begin{aligned} p(a+h)-p(a) &=(a+h)^3-2(a+h)+4-(a^3-2a+4)\\ &=a^3+3a^2h+3ah^2+h^3-2a-2h+4-a^3+2a-4\\ &=3a^2h+3ah^2+h^3-2h. \end{aligned} $$

For \(h\ne 0\), divide by \(h\) and take the limit:

$$ \frac{p(a+h)-p(a)}{h}=3a^2+3ah+h^2-2 \quad\Longrightarrow\quad p'(a)=3a^2-2. $$

This limit exists for every real \(a\), so \(p\) is differentiable on \(\mathbb{R}\). Substituting \(a=1\) into the general result gives \(p'(1)=3(1)^2-2=1\), agreeing with the pointwise calculation.

The first calculation established just one value, \(p'(1)\). The second established a result for an arbitrary real input, and therefore supports the claim that the polynomial is differentiable throughout \(\mathbb{R}\). Moving from a particular point to an arbitrary one is not just a longer calculation: it changes the scope of the conclusion.

From a Pointwise Limit to an Interval Claim

The logic can be stated precisely. Differentiability at a specified \(a\) asks whether one limit exists. Differentiability on an open interval \(I\) asks whether that limit exists for every input in \(I\), and whether the function is defined throughout \(I\).

$$ \text{Differentiable on }I \quad\Longleftrightarrow\quad \text{for every }a\in I,\ \lim_{h\to 0}\frac{f(a+h)-f(a)}{h} \text{ exists as a finite number.} $$

In the limit at each \(a\), \(h\) must be small enough that \(a+h\) remains in the domain. This requirement is automatic for an interior point of an open interval on which \(f\) is defined. It is not automatic for a formula whose domain has a hole or a forbidden input.

One useful way to justify a claim on an interval is to take an arbitrary point of that interval and show that its difference quotient has a finite limit. If the calculation works for every such point, it proves the interval claim. A calculation at one selected point, however accurate, cannot substitute for that argument.

Takeaway: Differentiability at \(a\) is a local, point-specific statement. Differentiability on \(I\) requires differentiability at every point of \(I\), and the function must be defined throughout \(I\).

Rational Functions and Their Domains

A rational formula involves a quotient of polynomials, so its denominator restricts where the function is defined. A difference-quotient calculation can establish differentiability at an input only if the function is defined there and at the nearby inputs used in the limit. Even if algebra simplifies a formula, that simplification does not by itself change the original domain.

Worked Example: A Rational Function on Each Side of an Excluded Input

Consider

$$ r(x)=\frac{x^2+1}{x-2}, \qquad A=\mathbb{R}\setminus\{2\}. $$

The input \(2\) is excluded because it makes the denominator zero. First calculate the derivative at \(a=0\). Since \(r(0)=1/(-2)=-\frac12\), for nonzero \(h\) near zero we have

$$ \begin{aligned} \frac{r(h)-r(0)}{h} &=\frac{1}{h}\left(\frac{h^2+1}{h-2}+\frac12\right)\\ &=\frac{1}{h}\left(\frac{2(h^2+1)+(h-2)}{2(h-2)}\right)\\ &=\frac{1}{h}\left(\frac{2h^2+h}{2(h-2)}\right)\\ &=\frac{2h+1}{2(h-2)}. \end{aligned} $$

Therefore,

$$ r'(0)=\lim_{h\to 0}\frac{2h+1}{2(h-2)} =\frac{1}{2(-2)} =-\frac14. $$

Now take any \(a\ne 2\). Polynomial division gives \(x^2+1=(x-2)(x+2)+5\), so on the domain of \(r\),

$$ r(x)=x+2+\frac{5}{x-2}. $$

For \(h\ne 0\) with \(a+h\ne 2\), the difference quotient is

$$ \begin{aligned} \frac{r(a+h)-r(a)}{h} &=\frac{1}{h}\left(h+\frac{5}{a+h-2}-\frac{5}{a-2}\right)\\ &=1+\frac{5}{h}\left(\frac{(a-2)-(a+h-2)}{(a+h-2)(a-2)}\right)\\ &=1-\frac{5}{(a+h-2)(a-2)}. \end{aligned} $$

Because \(a\ne 2\), the denominator \(a-2\) is nonzero. For \(h\) sufficiently close to zero, \(a+h-2\) also stays nonzero, and the limit is

$$ r'(a)=1-\frac{5}{(a-2)^2}. $$

This proves differentiability at every \(a\ne 2\). In particular, at \(a=0\), the formula gives \(1-\frac{5}{4}=-\frac14\), which checks the earlier calculation. The function is differentiable on each interval \((-\infty,2)\) and \((2,\infty)\), but it is not a function on an interval containing \(2\).

The final qualification is important. The derivative formula is valid only for \(a\ne 2\), just as the original rational function is defined only there. It would be incorrect to use the formula to claim differentiability at the excluded input.

A Pointwise Derivative Despite a Hole Elsewhere

The next example makes the distinction especially visible: a rational function has a derivative at a chosen point, yet it cannot be differentiable throughout an interval containing a different, excluded input.

Worked Example: Differentiable at Zero but Not Defined on the Whole Interval

Let

$$ q(x)=\frac{x^2-1}{x-1}, \qquad A=\mathbb{R}\setminus\{1\}. $$

At \(x=0\), the function is defined and \(q(0)=(-1)/(-1)=1\). For \(h\) sufficiently close to zero, \(h\ne 1\), so cancellation is valid at that input:

$$ q(h)=\frac{(h-1)(h+1)}{h-1}=h+1. $$

Consequently, for nonzero \(h\) sufficiently close to zero,

$$ \frac{q(h)-q(0)}{h} =\frac{(h+1)-1}{h} =\frac{h}{h} =1. $$

The difference quotient is constantly \(1\) for these \(h\), so \(q'(0)=1\). Nevertheless, \(q\) is not differentiable throughout \((-1,2)\): it is not even defined at \(x=1\), which belongs to that interval. Thus differentiability at zero is true, while the claim of differentiability on the whole interval is false.

Common Pitfall: Cancelling Does Not Add an Input to the Domain

A tempting but incorrect argument in the preceding example is: “The expression simplifies to \(x+1\), so the function is defined and differentiable at \(x=1\).” The algebraic cancellation is valid only when \(x\ne 1\). In fact, substituting \(x=1\) into the original formula gives a zero denominator, so the original function has no value there.

$$ \frac{x^2-1}{x-1}=x+1 \quad\text{for }x\ne 1, \qquad \frac{1^2-1}{1-1}=\frac{0}{0} \quad\text{is undefined.} $$

The corrected conclusion is that \(q(x)=x+1\) on its domain \(\mathbb{R}\setminus\{1\}\), and the derivative at \(0\) exists. The cancellation does not make the original function defined at \(1\), so it cannot establish differentiability on any interval that includes \(1\). Keep the formula and its domain together whenever assessing an interval claim.

A Reliable Check for Interval Differentiability

When deciding whether a function is differentiable throughout an interval, separate the task into two questions. First check that every point of the interval belongs to the function’s domain. Then check the derivative limit at an arbitrary point of the interval, including the appropriate one-sided limit if it is an endpoint. A failure at even one point disproves the full interval claim.

1
State the interval and domain.
Identify excluded inputs, such as zeros of a rational function’s denominator. If the interval contains an input where the function is undefined, it cannot be differentiable throughout that interval.
2
Test the stated point or an arbitrary point.
Use the difference quotient at a specified point for a pointwise claim. For an interval claim, let the input be arbitrary and establish the limit for every point in the interval.
3
Match the conclusion to the calculation.
A limit at one input proves differentiability there. A result valid at every input, together with the required domain condition, supports differentiability throughout the interval.

This approach prevents two common overstatements: inferring differentiability everywhere from one successful limit, and treating an algebraically simplified expression as if it had changed the original domain. A pointwise result is valuable, but it answers only the pointwise question unless the reasoning covers all points under consideration.

Check Your Understanding

For each question, pay attention to whether the claim concerns one input or every input in an interval.

  1. State the difference-quotient definition of differentiability at an interior point \(a\).
  2. What additional requirement is needed to claim that a function is differentiable on an open interval?
  3. For \(r(x)=\frac{x^2+1}{x-2}\), why can one not claim differentiability on an interval containing \(2\)?
  4. In the example \(q(x)=\frac{x^2-1}{x-1}\), why does the simplification \(q(x)=x+1\) not define \(q(1)\)?
  5. If a difference quotient has a finite limit at \(a=0\), what does that establish, and what does it not establish about an interval containing zero?

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