Continuity formalizes the idea that a function behaves without a break at a point or across an interval. Limits make that idea precise and separate removable holes from jumps, asymptotes and other discontinuities.

On this page (11 sections)

What continuity means

Informally, a continuous graph has no break at the point under consideration. The precise definition separates that idea into three conditions: the function value exists, the limit exists, and the two are equal.

lim x → a f ( x ) = f ( a ) \lim_{x\to a}f(x)=f(a)

The displayed equality assumes both sides are meaningful. In practice, check all three conditions rather than quoting only the final equation.

For the ordinary two-sided test, take a a to be an interior point of the domain. At an endpoint, use approach from within the domain. A graph-based “no break” description is a useful first impression, but these limits settle the question precisely.

A three-part continuity test

Continuity at x = a
Continuity at an interior input a a
CheckQuestion
1Is f ( a ) f(a) defined?
2Does lim x → a f ( x ) \lim_{x\to a}f(x) exist as a finite number?
3Does that limit equal f ( a ) f(a)?

If any one condition fails, the function is not continuous at that point.

Removable discontinuities

A function value different from its limit

A removable discontinuity where the limit and the assigned function value disagree.

Changing the filled point to the approached height repairs continuity in this diagram.

Diagram explained

Here the approached height is 1 and the assigned value is 0. The graph remains unchanged away from the marked input. The rational-function example below uses different values: its approached height at input 1 is 2.

Removable-discontinuity.svg by SilverStar. CC BY 2.5. Simplified SVG serialization; font substitution and typographic minus sign. Original curve, point and axis geometry retained; rasterized to PNG and WebP.

For f ( x ) = x 2 − 1 x − 1 f(x)=\frac{x^2-1}{x-1} when x≠1, the nearby expression simplifies to x+1. The limit at 1 is 2. Defining f(1)=2 fills the hole and makes the function continuous there.

A hole can also occur when the point has been assigned the wrong value. If the same nearby formula is used but f ( 1 ) = 5 f(1)=5, the limit is still 2. Replacing that value by 2 repairs continuity. The value of the limit decides the repair, not an arbitrary choice.

g ( x ) = { x 2 − 1 x − 1 , x ≠ 1 , k , x = 1 , k = 2 g(x)=\begin{cases}\dfrac{x^2-1}{x-1},&x\ne1,\\k,&x=1,\end{cases}\qquad k=2

Jump and infinite discontinuities

A jump: different limiting heights

For j ( x ) = 0 j(x)=0 when x < 0 x<0 and j ( x ) = 1 j(x)=1 when x ≥ 0 x\ge0, the left-hand limit is 0 and the right-hand limit is 1. Both are finite, but they disagree. No choice for j ( 0 ) j(0) can make them meet.

An infinite discontinuity: unbounded values

The function 1 / x 2 1/x^2 is unbounded near zero. There is no finite limit that a new point value could match. The vertical line x = 0 x=0 is an asymptote.

Oscillation is another possibility

The function sin ⁡ ( 1 / x ) \sin(1/x) remains bounded but does not approach one value near zero. This is neither a removable hole nor a jump with two finite one-sided limits. The common discontinuity categories do not all have the same cause.

Continuity on intervals

A function is continuous on an open interval when it is continuous at every interior point. At a closed endpoint, the appropriate one-sided limit is used. Standard polynomials are continuous everywhere; rational functions are continuous wherever their denominators are non-zero; roots, exponentials and logarithms are continuous on their natural domains.

For example, x \sqrt{x} is continuous at 0 relative to its domain [ 0 , ∞ ) [0,\infty) because lim x → 0 + x = 0 \lim_{x\to0^+}\sqrt{x}=0. There are no real-domain inputs to approach from the left.

The function 1 / x 1/x is continuous at every point in its domain. It is not continuous across zero, which is excluded. A disconnected domain does not mean that every defined point is a discontinuity.

Operations and compositions

Sums, products and constant multiples of continuous functions are continuous. Quotients are continuous wherever the denominator is non-zero. Compositions preserve continuity when the inner output lies in the domain where the outer function is continuous. These facts let you establish continuity without repeating a point-by-point limit calculation.

For ln ⁡ ( x 2 + 1 ) \ln(x^2+1), the inside expression is always positive, so the composition is continuous for every real input. For ln ⁡ ( x − 2 ) \ln(x-2), real inputs must satisfy x > 2 x>2. Establish the domain before applying continuity rules.

The Intermediate Value Theorem

If a function is continuous on [a,b], then it takes every value between f(a) and f(b). In particular, if f(a) and f(b) have opposite signs, at least one zero lies between a and b.

For f ( x ) = x 3 + x − 1 f(x)=x^3+x-1, f(0)=−1 and f(1)=1. Because the polynomial is continuous, there is at least one solution of f(x)=0 in (0,1). The theorem guarantees existence, not the exact location or uniqueness.

The sign change alone is not enough. The discontinuous function that equals −1 for x < 0 x<0 and 1 for x ≥ 0 x\ge0 changes sign without taking the value zero. Continuity on the entire interval is the assumption that rules out that gap. The Intermediate Value Theorem concerns existence; finding or proving a unique root requires additional reasoning.

f ( 0 ) < 0 < f ( 1 ) f(0)<0<f(1)

Continuity versus differentiability

Differentiability is stronger than continuity. If a function is differentiable at a point, it is continuous there. The converse is false: | x | |x| is continuous at 0 but has a corner, so its derivative there does not exist.

Differentiability of Functions asks the stronger question of whether a finite tangent slope exists. Return to Limits in Calculus for one-sided limit calculations.

Practice questions

  1. Which value fills the hole in ( x 2 − 1 ) / ( x − 1 ) (x^2-1)/(x-1) at input 1 continuously?

  2. Can a function be differentiable and discontinuous at the same interior point?

  3. What does the Intermediate Value Theorem give when a function is continuous on [ a , b ] [a,b] and its endpoint values have opposite signs?

Check your answers
  1. For x ≠ 1 x\ne1, the expression equals x + 1 x+1. The limit is 2, so define f ( 1 ) = 2 f(1)=2.

  2. No. A finite derivative at the point implies continuity there.

  3. There is at least one zero in ( a , b ) (a,b). The theorem alone does not locate it exactly or establish uniqueness.

Sources and further reading

These references support the definitions, theorem assumptions and standard conventions used in this article.