Continuous functions are of utmost importance in mathematics, functions and applications. However, not all functions are continuous. If a function is not continuous at a point in its domain, one says that it has a discontinuity there. The set of all points of discontinuity of a function may be a discrete set, a dense set, or even the entire domain of the function. This article describes the classification of discontinuities in the simplest case of functions of a single real variable taking real values.

The oscillation of a function at a point quantifies these discontinuities as follows:

• in a removable discontinuity, the distance that the value of the function is off by is the oscillation;
• in a jump discontinuity, the size of the jump is the oscillation (assuming that the value at the point lies between these limits of the two sides);
• in an essential discontinuity, oscillation measures the failure of a limit to exist; the limit is constant.

A special case is if the function diverges to infinity or minus infinity, in which case the oscillation is not defined (in the extended real numbers, this is a removable discontinuity).

## Classification

For each of the following, consider a real valued function ${\displaystyle f}$ of a real variable ${\displaystyle x,}$ defined in a neighborhood of the point ${\displaystyle x_{0}}$ at which ${\displaystyle f}$ is discontinuous.

### Removable discontinuity

The function in example 1, a removable discontinuity

Consider the piecewise function

${\displaystyle f(x)={\begin{cases}x^{2}&{\text{ for }}x<1\\0&{\text{ for }}x=1\\2-x&{\text{ for }}x>1\end{cases}}}$

The point ${\displaystyle x_{0}=1}$ is a removable discontinuity. For this kind of discontinuity:

The one-sided limit from the negative direction:

${\displaystyle L^{-}=\lim _{x\to x_{0}^{-}}f(x)}$
and the one-sided limit from the positive direction:
${\displaystyle L^{+}=\lim _{x\to x_{0}^{+}}f(x)}$
at ${\displaystyle x_{0}}$ both exist, are finite, and are equal to ${\displaystyle L=L^{-}=L^{+}.}$ In other words, since the two one-sided limits exist and are equal, the limit ${\displaystyle L}$ of ${\displaystyle f(x)}$ as ${\displaystyle x}$ approaches ${\displaystyle x_{0}}$ exists and is equal to this same value. If the actual value of ${\displaystyle f\left(x_{0}\right)}$ is not equal to ${\displaystyle L,}$ then ${\displaystyle x_{0}}$ is called a removable discontinuity. This discontinuity can be removed to make ${\displaystyle f}$ continuous at ${\displaystyle x_{0},}$ or more precisely, the function
${\displaystyle g(x)={\begin{cases}f(x)&x\neq x_{0}\\L&x=x_{0}\end{cases}}}$
is continuous at ${\displaystyle x=x_{0}.}$

The term removable discontinuity is sometimes broadened to include a removable singularity, in which the limits in both directions exist and are equal, while the function is undefined at the point ${\displaystyle x_{0}.}$ [a] This use is an abuse of terminology because continuity and discontinuity of a function are concepts defined only for points in the function's domain.

### Jump discontinuity

The function in example 2, a jump discontinuity

Consider the function

${\displaystyle f(x)={\begin{cases}x^{2}&{\mbox{ for }}x<1\\0&{\mbox{ for }}x=1\\2-(x-1)^{2}&{\mbox{ for }}x>1\end{cases}}}$

Then, the point ${\displaystyle x_{0}=1}$ is a jump discontinuity.

In this case, a single limit does not exist because the one-sided limits, ${\displaystyle L^{-}}$ and ${\displaystyle L^{+}}$ exist and are finite, but are not equal: since, ${\displaystyle L^{-}\neq L^{+},}$ the limit ${\displaystyle L}$ does not exist. Then, ${\displaystyle x_{0}}$ is called a jump discontinuity, step discontinuity, or discontinuity of the first kind. For this type of discontinuity, the function ${\displaystyle f}$ may have any value at ${\displaystyle x_{0}.}$

### Essential discontinuity

The function in example 3, an essential discontinuity

For an essential discontinuity, at least one of the two one-sided limits does not exist in ${\displaystyle \mathbb {R} }$. (Notice that one or both one-sided limits can be ${\displaystyle \pm \infty }$).

Consider the function

${\displaystyle f(x)={\begin{cases}\sin {\frac {5}{x-1}}&{\text{ for }}x<1\\0&{\text{ for }}x=1\\{\frac {1}{x-1}}&{\text{ for }}x>1.\end{cases}}}$

Then, the point ${\displaystyle x_{0}=1}$ is an essential discontinuity.

In this example, both ${\displaystyle L^{-}}$ and ${\displaystyle L^{+}}$ do not exist in ${\displaystyle \mathbb {R} }$, thus satisfying the condition of essential discontinuity. So ${\displaystyle x_{0}}$ is an essential discontinuity, infinite discontinuity, or discontinuity of the second kind. (This is distinct from an essential singularity, which is often used when studying functions of complex variables).

Supposing that ${\displaystyle f}$ is a function defined on an interval ${\displaystyle I\subseteq \mathbb {R} ,}$ we will denote by ${\displaystyle D}$ the set of all discontinuities of ${\displaystyle f}$ on ${\displaystyle I.}$ By ${\displaystyle R}$ we will mean the set of all ${\displaystyle x_{0}\in I}$ such that ${\displaystyle f}$ has a removable discontinuity at ${\displaystyle x_{0}.}$ Analogously by ${\displaystyle J}$ we denote the set constituted by all ${\displaystyle x_{0}\in I}$ such that ${\displaystyle f}$ has a jump discontinuity at ${\displaystyle x_{0}.}$ The set of all ${\displaystyle x_{0}\in I}$ such that ${\displaystyle f}$ has an essential discontinuity at ${\displaystyle x_{0}}$ will be denoted by ${\displaystyle E.}$ Of course then ${\displaystyle D=R\cup J\cup E.}$

## Counting discontinuities of a function

The two following properties of the set ${\displaystyle D}$ are relevant in the literature.

• If on the interval ${\displaystyle I,}$ ${\displaystyle f}$ is monotone then ${\displaystyle D}$ is at most countable and ${\displaystyle D=J.}$ This is Froda's theorem.

Tom Apostol [3] follows partially the classification above by considering only removal and jump discontinuities. His objective is to study the discontinuities of monotone functions, mainly to prove Froda’s theorem. With the same purpose, Walter Rudin [4] and Karl R. Stromberg [5] study also removal and jump discontinuities by using different terminologies. However, furtherly, both authors state that ${\displaystyle R\cup J}$ is always a countable set (see [6] [7]).

The term essential discontinuity seems to have been introduced by John Klippert. [8] Furtherly he also classified essential discontinuities themselves by subdividing the set ${\displaystyle E}$ into the three following sets:

${\displaystyle E_{1}=\left\{x_{0}\in I:\lim _{x\to x_{0}^{-}}f(x){\text{ and }}\lim _{x\to x_{0}^{+}}f(x){\text{ do not exist in }}\mathbb {R} \right\},}$
${\displaystyle E_{2}=\left\{x_{0}\in I:\ \lim _{x\to x_{0}^{-}}f(x){\text{ exists in }}\mathbb {R} {\text{ and }}\lim _{x\to x_{0}^{+}}f(x){\text{ does not exist in }}\mathbb {R} \right\},}$
${\displaystyle E_{3}=\left\{x_{0}\in I:\ \lim _{x\to x_{0}^{-}}f(x){\text{ does not exist in }}\mathbb {R} {\text{ and }}\lim _{x\to x_{0}^{+}}f(x){\text{ exists in }}\mathbb {R} \right\}.}$

Of course ${\displaystyle E=E_{1}\cup E_{2}\cup E_{3}.}$ Whenever ${\displaystyle x_{0}\in E_{1},}$ ${\displaystyle x_{0}}$ is called an essential discontinuity of first kind. Any ${\displaystyle x_{0}\in E_{2}\cup E_{3}}$ is said an essential discontinuity of second kind. Hence he enlarges the set ${\displaystyle R\cup J}$ without losing its characteristic of being countable, by stating the following:

• The set ${\displaystyle R\cup J\cup E_{2}\cup E_{3}}$ is countable.

## Rewriting Lebesgue's Theorem

When ${\displaystyle I=[a,b]}$ and ${\displaystyle f}$ is a bounded function, it is well-known of the importance of the set ${\displaystyle D}$ in the regard of the Riemann integrability of ${\displaystyle f.}$ In fact, Lebesgue's Theorem (also named Lebesgue-Vitali) theorem) states that ${\displaystyle f}$ is Riemann integrable on ${\displaystyle I=[a,b]}$ if and only if ${\displaystyle D}$ is a set with Lebesgue's measure zero.

In this theorem seems that all type of discontinuities have the same weight on the obstruction that a bounded function ${\displaystyle f}$ be Riemann integrable on ${\displaystyle [a,b].}$ Since countable sets are sets of Lebesgue's measure zero and a countable union of sets with Lebesgue's measure zero is still a set of Lebesgue's mesure zero, we are seeing now that this is not the case. In fact, the discontinuities in the set ${\displaystyle R\cup J\cup E_{2}\cup E_{3}}$ are absolutly neutral in the regard of the Riemann integrability of ${\displaystyle f.}$ The main discontinuities for that purpose are the essential discontinuities of first kind and consequently the Lebesgue-Vitali theorem can be rewritten as follows:

• A bounded function, ${\displaystyle f,}$ is Riemann integrable on ${\displaystyle [a,b]}$ if and only if the correspondent set ${\displaystyle E_{1}}$ of all essential discontinuities of first kind of ${\displaystyle f}$ has Lebesgue's measure zero.

The case where ${\displaystyle E_{1}=\varnothing }$ correspond to the following well-known classical complementary situations of Riemann integrability of a bounded function ${\displaystyle f:[a,b]\to \mathbb {R} }$:

• If ${\displaystyle f}$ has right-hand limit at each point of ${\displaystyle [a,b[}$ then ${\displaystyle f}$ is Riemann integrable on ${\displaystyle [a,b]}$ (see [9])
• If ${\displaystyle f}$ has left-hand limit at each point of ${\displaystyle ]a,b]}$ then ${\displaystyle f}$ is Riemann integrable on ${\displaystyle [a,b].}$
• If ${\displaystyle f}$ is a regulated function on ${\displaystyle [a,b]}$ then ${\displaystyle f}$ is Riemann integrable on ${\displaystyle [a,b].}$

### Examples

Thomae's function is discontinuous at every non-zero rational point, but continuous at every irrational point. One easily sees that those discontinuities are all essential of the first kind, that is ${\displaystyle E_{1}=\mathbb {Q} .}$ By the first paragraph, there does not exist a function that is continuous at every rational point, but discontinuous at every irrational point.

The indicator function of the rationals, also known as the Dirichlet function, is discontinuous everywhere. These discontinuities are all essential of the first kind too.

Consider now the ternary Cantor set ${\displaystyle {\mathcal {C}}\subset [0,1]}$ and its indicator (or characteristic) function

${\displaystyle \mathbf {1} _{\mathcal {C}}(x)={\begin{cases}1&x\in {\mathcal {C}}\\0&x\notin [0,1]\setminus {\mathcal {C}}.\end{cases}}}$
One way to construct the Cantor set ${\displaystyle {\mathcal {C}}}$ is given by ${\textstyle {\mathcal {C}}:=\bigcap _{n=0}^{\infty }C_{n}}$ where the sets ${\displaystyle C_{n}}$ are obtained by recurrence according to
${\displaystyle C_{n}={\frac {C_{n-1}}{3}}\cup \left({\frac {2}{3}}+{\frac {C_{n-1}}{3}}\right){\text{ for }}n\geq 1,{\text{ and }}C_{0}=[0,1].}$

In view of the discontinuities of the function ${\displaystyle \mathbf {1} _{\mathcal {C}}(x),}$ let's assume a point ${\displaystyle x_{0}\not \in {\mathcal {C}}.}$

Therefore there exists a set ${\displaystyle C_{n},}$ used in the formulation of ${\displaystyle {\mathcal {C}}}$, which does not contain ${\displaystyle x_{0}.}$ That is, ${\displaystyle x_{0}}$ belongs to one of the open intervals which were removed in the construction of ${\displaystyle C_{n}.}$ This way, ${\displaystyle x_{0}}$ has a neighbourhood with no points of ${\displaystyle {\mathcal {C}}.}$ (In another way, the same conclusion follows taking into account that ${\displaystyle {\mathcal {C}}}$ is a closed set and so its complementary with respect to ${\displaystyle [0,1]}$ is open). Therefore ${\displaystyle \mathbf {1} _{\mathcal {C}}}$ only assumes the value zero in some neighbourhood of ${\displaystyle x_{0}.}$ Hence ${\displaystyle \mathbf {1} _{\mathcal {C}}}$ is continuous at ${\displaystyle x_{0}.}$

This means that the set ${\displaystyle D}$ of all discontinuities of ${\displaystyle \mathbf {1} _{\mathcal {C}}}$ on the interval ${\displaystyle [0,1]}$ is a subset of ${\displaystyle {\mathcal {C}}.}$ Since ${\displaystyle {\mathcal {C}}}$ is a noncountable set with null Lebesgue measure, also ${\displaystyle D}$ is a null Lebesgue measure set and so in the regard of Lebesgue-Vitali theorem ${\displaystyle \mathbf {1} _{\mathcal {C}}}$ is a Riemann integrable function.

More precisely one has ${\displaystyle D={\mathcal {C}}.}$ In fact, since ${\displaystyle {\mathcal {C}}}$ is a rare (closed of empty interior) set, if ${\displaystyle x_{0}\in {\mathcal {C}}}$ then no neighbourhood ${\displaystyle \left(x_{0}-\varepsilon ,x_{0}+\varepsilon \right)}$ of ${\displaystyle x_{0},}$ can be contained in ${\displaystyle {\mathcal {C}}.}$ This way, any neighbourhood of ${\displaystyle x_{0}\in {\mathcal {C}}}$ contains points of ${\displaystyle {\mathcal {C}}}$ and points which are not of ${\displaystyle {\mathcal {C}}.}$ In terms of the function ${\displaystyle \mathbf {1} _{\mathcal {C}}}$ this means that both ${\textstyle \lim _{x\to x_{0}^{-}}\mathbf {1} _{\mathcal {C}}(x)}$ and ${\textstyle \lim _{x\to x_{0}^{+}}1_{\mathcal {C}}(x)}$ do not exist. That is, ${\displaystyle D=E_{1},}$ where by ${\displaystyle E_{1},}$ as before, we denote the set of all essential discontinuities of first kind of the function ${\displaystyle \mathbf {1} _{\mathcal {C}}.}$ Clearly ${\textstyle \int _{0}^{1}\mathbf {1} _{\mathcal {C}}(x)dx=0.}$

## Discontinuities of derivatives

Let now ${\displaystyle I\subseteq \mathbb {R} }$ an open interval and${\displaystyle f:I\to \mathbb {R} }$ the derivative of a function, ${\displaystyle F:I\to \mathbb {R} }$, differentiable on ${\displaystyle I}$. That is, ${\displaystyle F'(x)=f(x)}$ for every ${\displaystyle x\in I}$.

It is well-known that according to Darboux's Theorem the derivative function ${\displaystyle f:I\to \mathbb {R} }$ has the restriction of satisfying the intermediate value property.

${\displaystyle f}$ can of course be continuous on the interval ${\displaystyle I}$. Recall that any continuous function, by Bolzano's Theorem, satisfies the intermediate value property.

On the other hand, the intermediate value property does not prevent ${\displaystyle f}$ from having discontinuities on the interval ${\displaystyle I}$. But Darboux's Theorem has an immediate consequence on the type of discontinuities that ${\displaystyle f}$ can have. In fact, if ${\displaystyle x_{0}\in I}$ is a point of discontinuity of ${\displaystyle f}$, then necessarily ${\displaystyle x_{0}}$ is an essential discontinuity of ${\displaystyle f}$. [10]

This means in particular that the following two situations cannot occur:

1. ${\displaystyle x_{0}}$ is a removable discontinuity of ${\displaystyle f}$.
2. ${\displaystyle x_{0}}$ is a jump discontinuity of ${\displaystyle f}$.

Furtherly, two other situations have to be excluded (see John Klippert [11]):

1. ${\displaystyle \lim _{x\to x_{0}^{-}}f(x)=\pm \infty .}$
2. ${\displaystyle \lim _{x\to x_{0}^{+}}f(x)=\pm \infty .}$

Observe that whenever one of the conditions (i), (ii), (iii), or (iv) is fulfilled for some ${\displaystyle x_{0}\in I}$ one can conclude that ${\displaystyle f}$ fails to possess an antiderivative, ${\displaystyle F}$, on the interval ${\displaystyle I}$.

On the other hand, a new type of discontinuity with respect to any function ${\displaystyle f:I\to \mathbb {R} }$ can be introduced: an essential discontinuity, ${\displaystyle x_{0}\in I}$, of the function ${\displaystyle f}$, is said to be a fundamental essential discontinuity of ${\displaystyle f}$ if

${\displaystyle \lim _{x\to x_{0}^{-}}f(x)\neq \pm \infty }$
and
${\displaystyle \lim _{x\to x_{0}^{+}}f(x)\neq \pm \infty .}$

Therefore if ${\displaystyle x_{0}\in I}$ is a discontinuity of a derivative function ${\displaystyle f:I\to \mathbb {R} }$, then necessarily ${\displaystyle x_{0}}$ is a fundamental essential discontinuity of ${\displaystyle f}$.

Notice also that when ${\displaystyle I=[a,b]}$ and ${\displaystyle f:I\to \mathbb {R} }$ is a bounded function, as in the assumptions of Lebesgue's Theorem, we have for all ${\displaystyle x_{0}\in (a,b)}$:

${\displaystyle \lim _{x\to x_{0}^{\pm }}f(x)\neq \pm \infty ,}$
${\displaystyle \lim _{x\to a^{+}}f(x)\neq \pm \infty ,}$
and
${\displaystyle \lim _{x\to b^{-}}f(x)\neq \pm \infty .}$
Therefore any essential discontinuity of ${\displaystyle f}$ is a fundamental one.

## Notes

1. ^ See, for example, the last sentence in the definition given at Mathwords. [1]

## References

1. ^ "Mathwords: Removable Discontinuity".
2. ^ Stromberg, Karl R. (2015). An Introduction to Classical Real Analysis. American Mathematical Society. pp. 120. Ex. 3 (c). ISBN  978-1-4704-2544-9.
3. ^ Apostol, Tom (1974). Mathematical Analysis (second ed.). Addison and Wesley. pp. 92, sec. 4.22, sec. 4.23 and Ex. 4.63. ISBN  0-201-00288-4.
4. ^ Walter, Rudin (1976). Principles of Mathematical Analysis (third ed.). McGraw-Hill. pp. 94, Def. 4.26, Thms. 4.29 and 4.30. ISBN  0-07-085613-3.
5. ^ Stromberg, Karl R. Op. cit. pp. 128, Def. 3.87, Thm. 3.90.
6. ^ Walter, Rudin. Op. cit. pp. 100, Ex. 17.
7. ^ Stromberg, Karl R. Op. cit. pp. 131, Ex. 3.
8. ^ Klippert, John (February 1989). "Advanced Advanced Calculus: Counting the Discontinuities of a Real-Valued Function with Interval Domain". Mathematics Magazine. 62: 43–48. doi: 10.1080/0025570X.1989.11977410 – via JSTOR.
9. ^ Metzler, R. C. (1971). "On Riemann Integrability". American Mathematical Monthly. 78 (10): 1129–1131. doi: 10.1080/00029890.1971.11992961.
10. ^ Rudin, Walter. Op.cit. pp. 109, Corollary.
11. ^ Klippert, John (2000). "On a discontinuity of a derivative". International Journal of Mathematical Education in Science and Technology. 31:S2: 282–287.

## Sources

• Malik, S.C.; Arora, Savita (1992). Mathematical Analysis (2nd ed.). New York: Wiley. ISBN  0-470-21858-4.