ConceptComplete

Continuous Functions

Continuity is the central concept of analysis. A function is continuous if small changes in input produce small changes in output β€” equivalently, if the limit of the function at a point equals the function's value. Continuous functions preserve convergence, map compact sets to compact sets, and satisfy the Intermediate and Extreme Value Theorems.


Epsilon-delta definition

Definition4.1Continuity at a point

Let f:Dβ†’Rf : D \to \mathbb{R} where DβŠ†RD \subseteq \mathbb{R}, and let c∈Dc \in D. Then ff is continuous at cc if for every Ο΅>0\epsilon > 0, there exists Ξ΄>0\delta > 0 such that

∣xβˆ’c∣<Ξ΄andx∈Dβ€…β€ŠβŸΉβ€…β€Šβˆ£f(x)βˆ’f(c)∣<Ο΅.|x - c| < \delta \quad \text{and} \quad x \in D \implies |f(x) - f(c)| < \epsilon.

RemarkIntuition

Continuity at cc means: given any tolerance Ο΅\epsilon for the output, we can find a tolerance Ξ΄\delta for the input such that inputs within Ξ΄\delta of cc produce outputs within Ο΅\epsilon of f(c)f(c).

Definition4.2Continuous function

ff is continuous on DD if ff is continuous at every point c∈Dc \in D.

ExamplePolynomials are continuous

Every polynomial p(x)=anxn+β‹―+a1x+a0p(x) = a_n x^n + \cdots + a_1 x + a_0 is continuous on R\mathbb{R}. For p(x)=x2p(x) = x^2, given Ο΅>0\epsilon > 0 and c∈Rc \in \mathbb{R}, let Ξ΄=min⁑(1,Ο΅/(2∣c∣+1))\delta = \min(1, \epsilon/(2|c| + 1)). Then for ∣xβˆ’c∣<Ξ΄|x - c| < \delta,

∣x2βˆ’c2∣=∣xβˆ’cβˆ£β‹…βˆ£x+c∣<Ξ΄β‹…(2∣c∣+1)≀ϡ.|x^2 - c^2| = |x - c| \cdot |x + c| < \delta \cdot (2|c| + 1) \leq \epsilon.

ExampleDiscontinuous function

The function

f(x)={1ifΒ xβ‰₯0,0ifΒ x<0f(x) = \begin{cases} 1 & \text{if } x \geq 0, \\ 0 & \text{if } x < 0 \end{cases}

is not continuous at x=0x = 0. For any Ξ΄>0\delta > 0, taking x=βˆ’Ξ΄/2x = -\delta/2 gives ∣xβˆ’0∣<Ξ΄|x - 0| < \delta but ∣f(x)βˆ’f(0)∣=∣0βˆ’1∣=1|f(x) - f(0)| = |0 - 1| = 1, so no Ξ΄\delta works for Ο΅=1/2\epsilon = 1/2.


Sequential characterization

Theorem4.1Sequential continuity

ff is continuous at cc if and only if for every sequence (xn)(x_n) in DD with xn→cx_n \to c, we have f(xn)→f(c)f(x_n) \to f(c).

ProofSketch

(β‡’\Rightarrow) If ff is continuous at cc and xnβ†’cx_n \to c, then for any Ο΅>0\epsilon > 0, there exists Ξ΄>0\delta > 0 such that ∣xβˆ’c∣<Ξ΄β€…β€ŠβŸΉβ€…β€Šβˆ£f(x)βˆ’f(c)∣<Ο΅|x - c| < \delta \implies |f(x) - f(c)| < \epsilon. Since xnβ†’cx_n \to c, eventually ∣xnβˆ’c∣<Ξ΄|x_n - c| < \delta, so eventually ∣f(xn)βˆ’f(c)∣<Ο΅|f(x_n) - f(c)| < \epsilon. Thus f(xn)β†’f(c)f(x_n) \to f(c).

(⇐\Leftarrow) Suppose ff is not continuous at cc. Then there exists Ο΅>0\epsilon > 0 such that for every Ξ΄>0\delta > 0, there exists xx with ∣xβˆ’c∣<Ξ΄|x - c| < \delta and ∣f(x)βˆ’f(c)∣β‰₯Ο΅|f(x) - f(c)| \geq \epsilon. Taking Ξ΄=1/n\delta = 1/n, we get a sequence (xn)(x_n) with ∣xnβˆ’c∣<1/n|x_n - c| < 1/n (so xnβ†’cx_n \to c) but ∣f(xn)βˆ’f(c)∣β‰₯Ο΅|f(x_n) - f(c)| \geq \epsilon for all nn. Thus f(xn)β†’ΜΈf(c)f(x_n) \not\to f(c), contradiction.

β– 
ExampleUsing sequential continuity

To show f(x)=1/xf(x) = 1/x is continuous on (0,∞)(0, \infty), let xnβ†’cx_n \to c with c>0c > 0. Then

∣1xnβˆ’1c∣=∣xnβˆ’c∣∣xncβˆ£β†’0\left|\frac{1}{x_n} - \frac{1}{c}\right| = \frac{|x_n - c|}{|x_n c|} \to 0

(since xn→c>0x_n \to c > 0, so xnx_n is bounded away from zero eventually). Thus f(xn)→f(c)f(x_n) \to f(c).


Algebra of continuous functions

Theorem4.2Algebra of continuous functions

If f,g:D→Rf, g : D \to \mathbb{R} are continuous at cc, then:

  1. f+gf + g is continuous at cc.
  2. fβ‹…gf \cdot g is continuous at cc.
  3. If g(c)≠0g(c) \neq 0, then f/gf/g is continuous at cc (on the domain where g≠0g \neq 0).
  4. If h:Rβ†’Rh : \mathbb{R} \to \mathbb{R} is continuous at f(c)f(c), then h∘fh \circ f is continuous at cc.
ExampleRational functions

Every rational function r(x)=p(x)/q(x)r(x) = p(x)/q(x) (where p,qp, q are polynomials) is continuous on its domain {x∣q(x)β‰ 0}\{x \mid q(x) \neq 0\}.

ExampleComposition of continuous functions

Since sin⁑\sin and x2x^2 are continuous, sin⁑(x2)\sin(x^2) is continuous. Similarly, esin⁑(x)e^{\sin(x)}, ln⁑(1+x2)\ln(1 + x^2), etc., are continuous wherever defined.


Topological characterization

Theorem4.3Topological continuity

f:Dβ†’Rf : D \to \mathbb{R} is continuous if and only if for every open set UβŠ†RU \subseteq \mathbb{R}, the preimage fβˆ’1(U)={x∈D∣f(x)∈U}f^{-1}(U) = \{x \in D \mid f(x) \in U\} is open in DD (with the subspace topology).

RemarkImportance

This characterization generalizes to arbitrary topological spaces and is the definition of continuity in topology. It says continuous functions are precisely those that preserve openness "backwards."

ExamplePreimages under continuous functions

Let f(x)=x2f(x) = x^2. Then fβˆ’1((1,4))={x∣1<x2<4}=(βˆ’2,βˆ’1)βˆͺ(1,2)f^{-1}((1, 4)) = \{x \mid 1 < x^2 < 4\} = (-2, -1) \cup (1, 2), which is open. Indeed, preimages of open intervals under ff are unions of open intervals.


Summary

Continuity is the fundamental property for functions in analysis:

  • Epsilon-delta definition: small changes in input produce small changes in output.
  • Sequential definition: preserves limits of sequences.
  • Algebraic operations and composition preserve continuity.
  • Topological definition: preimages of open sets are open.

See Intermediate Value Theorem and Extreme Value Theorem for major applications.