In our lectures notes, continuous functions are always defined on closed intervals, and differentiable functions, always on open intervals. For instance, if we want to prove a property of a continuous function, it would go as "Let $f$ be a continuous function on $[a,b] \subset \mathbb R$" .. and for a differentiable function it would be $(a,b)$ instead.

Why is that?


2 Answers 2


Closed (and bounded) intervals in $\mathbb{R}$ are compact. This implies that continuous functions defined on such intervals have several nice properties such as the following:

  • They are bounded.
  • They actually achieve their bounds.
  • They are uniformly continuous.
  • They map convergent sequences to convergent sequences.

In general, other intervals do not yield the same properties to continuous functions defined on them.

As far as differentiable functions on open intervals: If all that is needed is differentiability on the interior of the interval, so much the better. Intuitively, for a real valued function on $\mathbb{R}$ to be differentiable, it means that at each point the graph of the function locally looks like a line. On an open interval every point is an interior point, so this intuition holds fine. If a function is differentiable at the boundary point of a closed interval the graph will locally look like a ray.

As other questions on this site (e.g. Functions with discontinuous derivative at the endpoints of an open interval ) show, this topic can get a bit nasty.


I would guess that it's because the notes have defined "one-sided" continuity (e.g. $\lim \limits_{x \to c^+} f(x) = f(c)$) so it makes sense to have a function be continuous at an endpoint, but you have not defined the analogous derivatives from the left and right, so it doesn't (yet) make sense to have a function be derivative at an endpoint (at least this is how I've seen it in some courses).


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.