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:
For each of the following, consider a real valued function f of a real variable x, defined in a neighborhood of the point x0 at which f is discontinuous.
Consider the piecewise function
The point x0 = 1 is a removable discontinuity. For this kind of discontinuity:
The one-sided limit from the negative direction:
and the one-sided limit from the positive direction:
at x0 both exist, are finite, and are equal to L = L- = L+. In other words, since the two one-sided limits exist and are equal, the limit L of f(x) as x approaches x0 exists and is equal to this same value. If the actual value of f(x0) is not equal to L, then x0 is called a removable discontinuity. This discontinuity can be removed to make f continuous at x0, or more precisely, the function
is continuous at x = x0.
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 x0.[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.
Consider the function
Then, the point x0 = 1 is a jump discontinuity.
In this case, a single limit does not exist because the one-sided limits, L- and L+, exist and are finite, but are not equal: since, L- ? L+, the limit L does not exist. Then, x0 is called a jump discontinuity, step discontinuity, or discontinuity of the first kind. For this type of discontinuity, the function f may have any value at x0.
For an essential discontinuity, at least one of the two one-sided limits doesn't exist. Consider the function
Then, the point is an essential discontinuity.
In this example, both and don't exist, thus satisfying the condition of essential discontinuity. So x0 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.)
Thomae's function is discontinuous at every rational point, but continuous at every irrational point. By the first paragraph, there does not exist a function that is continuous at every rational point, but discontinuous at every irrational point.