Continuous Function

Basis
Last updated: Tags: Calculus, Continuity

Limits tell you what a function approaches at a point. Continuity asks whether the function arrives — whether the limit equals the actual value. Intuitively, a function is continuous if small changes in input produce only small changes in output, with no sudden jumps or gaps.

Continuity at a point

Definition. A function f:DRf : D \to \mathbb{R} is continuous at aDa \in D if

limxaf(x)=f(a).\lim_{x \to a} f(x) = f(a).

This packages three conditions into one: (1) f(a)f(a) is defined, (2) limxaf(x)\lim_{x \to a} f(x) exists, and (3) the limit equals f(a)f(a).

In ε–δ terms, ff is continuous at aa if and only if for every ε>0\varepsilon > 0 there exists δ>0\delta > 0 such that

xD and xa<δ    f(x)f(a)<ε.x \in D \text{ and } |x - a| < \delta \implies |f(x) - f(a)| < \varepsilon.

Notice that unlike the limit definition, xx is now allowed to equal aa — the condition still holds trivially there.

If aa is an isolated point of DD — some neighborhood of aa contains no other point of DD — then ff is automatically continuous at aa, because the limit condition is vacuously satisfied.

Continuity on a set

Definition. ff is continuous on SDS \subseteq D if it is continuous at every point of SS. When S=DS = D, one says simply that ff is continuous.

For functions defined on a closed interval [a,b][a, b], continuity at the endpoints is interpreted one-sidedly: limxa+f(x)=f(a)\lim_{x \to a^+} f(x) = f(a) and limxbf(x)=f(b)\lim_{x \to b^-} f(x) = f(b).

Algebra of continuous functions

The arithmetic of limits carries over immediately.

Theorem. If ff and gg are continuous at aa, then so are:

  • f+gf + g, fgf - g, fgf \cdot g
  • f/gf / g, provided g(a)0g(a) \neq 0
  • cfc \cdot f for any constant cc

Proof. For f+gf + g: since limxaf(x)=f(a)\lim_{x \to a} f(x) = f(a) and limxag(x)=g(a)\lim_{x \to a} g(x) = g(a), the limit sum rule gives limxa(f+g)(x)=f(a)+g(a)=(f+g)(a)\lim_{x \to a}(f + g)(x) = f(a) + g(a) = (f + g)(a). The remaining cases follow analogously from the corresponding limit rules. \square

Composition

Theorem. If gg is continuous at aa and ff is continuous at g(a)g(a), then fgf \circ g is continuous at aa.

Proof. Let ε>0\varepsilon > 0. Continuity of ff at g(a)g(a) gives η>0\eta > 0 such that yg(a)<η|y - g(a)| < \eta implies f(y)f(g(a))<ε|f(y) - f(g(a))| < \varepsilon. Continuity of gg at aa gives δ>0\delta > 0 such that xa<δ|x - a| < \delta implies g(x)g(a)<η|g(x) - g(a)| < \eta. Combining: xa<δ|x - a| < \delta implies f(g(x))f(g(a))<ε|f(g(x)) - f(g(a))| < \varepsilon. \square

Elementary functions are continuous

Every elementary function is continuous on its natural domain.

FunctionContinuous on
PolynomialsR\mathbb{R}
Rational p/qp/q{x:q(x)0}\{x : q(x) \neq 0\}
exe^xR\mathbb{R}
lnx\ln x(0,)(0, \infty)
sinx\sin x, cosx\cos xR\mathbb{R}
tanx\tan x{x:cosx0}\{x : \cos x \neq 0\}

Polynomials are continuous because limxax=a\lim_{x \to a} x = a and limit arithmetic extends this to all monomials and then all polynomials. Each other elementary function is proved continuous using its specific definition or series expansion; compositions preserve continuity by the theorem above.

This means you can evaluate limits of elementary expressions simply by substituting the point, as long as the function is defined there.

Discontinuities

When ff fails to be continuous at aa, the failure is classified by what does happen:

TypeBehavior
Removablelimxaf(x)\lim_{x \to a} f(x) exists but f(a)\neq f(a), or f(a)f(a) is undefined
JumpBoth one-sided limits exist but differ: limxaf(x)limxa+f(x)\lim_{x \to a^-} f(x) \neq \lim_{x \to a^+} f(x)
EssentialAt least one one-sided limit does not exist (or is ±\pm\infty)

A removable discontinuity can be fixed by redefining f(a)limxaf(x)f(a) \coloneqq \lim_{x \to a} f(x). Jump and essential discontinuities cannot be patched this way.

Summary

  • ff is continuous at aa if limxaf(x)=f(a)\lim_{x \to a} f(x) = f(a) — the limit exists and matches the function value.
  • Continuous on a set means continuous at every point of that set.
  • Sums, differences, products, quotients (nonzero denominator), and compositions of continuous functions are continuous.
  • Every elementary function is continuous on its natural domain; limits of elementary expressions are computed by direct substitution.
  • Discontinuities are removable, jump, or essential — only removable discontinuities can be fixed by redefining the function value.