Skip to main content

Continuity

A function ff is continuous at aa when

  1. f(a)f(a) is defined;
  2. lim⁡x→af(x)\lim_{x\to a}f(x) exists;
  3. lim⁡x→af(x)=f(a)\lim_{x\to a}f(x)=f(a).

Thus continuity joins two kinds of information: the function's nearby behavior and its assigned value at the point.

One-Sided and Interval Continuity​

At an endpoint, only the side contained in the domain is relevant. A function is continuous on [a,b][a,b] when it is continuous on (a,b)(a,b), right-continuous at aa, and left-continuous at bb:

lim⁡x→a+f(x)=f(a),lim⁡x→b−f(x)=f(b).\lim_{x\to a^+}f(x)=f(a), \qquad \lim_{x\to b^-}f(x)=f(b).

Typical discontinuities include a removable hole, a jump between unequal one-sided limits, and unbounded behavior near a vertical asymptote.

Removable, jump, and infinite discontinuities shown side by side.Open full-size image

Compare the open circle, the filled point, and the values approached from each side. In (a), changing the single assigned value can restore continuity. In (b), the two one-sided limits disagree; in (c), the values become unbounded. Neither can be repaired by changing just f(a). Access for free at OpenStax.

Functions Built from Continuous Functions​

Polynomials are continuous on R\mathbb{R}. Rational functions are continuous where their denominators are nonzero. Exponential, logarithmic, trigonometric, and root functions are continuous on their respective domains.

Sums, products, and valid quotients of continuous functions remain continuous. If gg is continuous at aa and ff is continuous at g(a)g(a), then

(f∘g)(x)=f(g(x))(f\circ g)(x)=f(g(x))

is continuous at aa. This justifies moving the limit through ff under those continuity hypotheses:

lim⁡x→af(g(x))=f(lim⁡x→ag(x)).\lim_{x\to a}f(g(x)) =f\left(\lim_{x\to a}g(x)\right).

Intermediate Value Theorem​

If ff is continuous on [a,b][a,b] and NN lies between f(a)f(a) and f(b)f(b), then there is at least one c∈[a,b]c\in[a,b] such that f(c)=Nf(c)=N.

The theorem guarantees existence, not uniqueness or a formula for cc. In particular, if f(a)f(a) and f(b)f(b) have opposite signs, at least one root lies in [a,b][a,b].

Repairing a hole and locating a root​

Let f(x)=(x2−1)/(x−1)f(x)=(x^2-1)/(x-1) for x≠1x\ne1 and f(1)=cf(1)=c. Near 11, cancellation gives f(x)=x+1f(x)=x+1, so the limit is 22. Exactly the choice c=2c=2 makes ff continuous at 11; changing one value can repair a hole but cannot repair a jump.

For p(x)=x3−x−1p(x)=x^3-x-1, continuity and p(1)=−1p(1)=-1, p(2)=5p(2)=5 guarantee a root in (1,2)(1,2). Bisection retains the half-interval whose endpoint values have opposite signs; since p(1.5)=0.875p(1.5)=0.875, the first retained interval is [1,1.5][1,1.5]. After nn halvings its width is 2−n2^{-n}, so the midpoint is within 2−n−12^{-n-1} of a root. Continuity is essential: 1/x1/x has opposite signs at −1-1 and 11 but no zero, because it is not continuous on [−1,1][-1,1].

Explore connectionsOpen network