Skip to content
Select theme

Continuity

The source download includes only this article, without shared templates or dependencies. To compile it, clone the notes repository and follow its setup instructions.

Theorem 1 (continuity). Let 𝐴​⊂ℝ, a function 𝑓​:𝐴​→ℝ is continuous if and only if ∀​open set​𝑈​⊂ℝ,∃​some open set​𝑉​⊂ℝ,such that​𝑓−1(𝑈)​=𝑉​∩𝐴.
Proof. Let 𝑥0​∈𝐴, 𝜀​>0. Setting 𝑈​⊂ℝ​=(𝑓(𝑥0)​−𝜀,𝑓(𝑥0)​+𝜀) and 𝑓−1(𝑈)​=𝑉​∩𝐴, where 𝑉​⊂ℝ. Then 𝑥0​∈𝑉. Since 𝑉𝑉 is an open set, there exists (𝑥0​−𝛿,𝑥0​+𝛿)​⊂𝑉. Because 𝑥0​∈𝑉​∩𝐴, 𝑉​∩𝐴 is non-empty. Hence, ∀𝑥​∈ℝ​which makes​​|𝑥​−𝑥0​|​<𝛿,​|𝑓(𝑥)​−𝑓(𝑥0)​|​<𝜀. Thus, ∀𝜀​>0,∃𝛿​>0,​|𝑥​−𝑥0​|​<𝛿​⇒​|𝑓(𝑥)​−𝑓(𝑥0)​|​<𝜀.
The converse is similar and is left to the reader.

□

View Typst source
#import "@preview/noteworthy:0.4.0": noteworthy
#import "/themes/site/notes.typ": *
#show: web-equations
#import "../shared.typ": *

#show: tylenotes.with(
  title: "Continuity",
  date: "2026-08-11",
  tags: ("topology", "lean"),
  summary: "An equivalent characterization of continuity for functions on A ⊆ ℝ: the preimage of every open set is open in the subspace topology.",
)

#theorem(title: "continuity")[
  Let $A subset RR$,
  a function $f:A -> RR$ is continuous if and only if
  $ forall "open set" U subset RR, exists "some open set" V subset RR, "such that" f^(-1)(U)=V inter A$.
]

#proof[
  Let $x_0 in A$, $epsilon > 0$.
  Setting $U subset RR = (f(x_0)-epsilon, f(x_0)+epsilon)$ and $f^(-1)(U) = V inter A$,
  where $V subset RR$.
  Then $x_0 in V$.
  Since $V$ is an open set, there exists $(x_0-delta, x_0+delta) subset V$.
  Because $x_0 in V inter A$, $V inter A$ is non-empty. 
  Hence, $forall x in RR "which makes" |x - x_0| < delta, |f(x)-f(x_0)|<epsilon$.
  Thus, $forall epsilon > 0, exists delta > 0, |x - x_0| < delta => |f(x)-f(x_0)| < epsilon$. \
  The converse is similar and is left to the reader.
]

Notes © zzj · Content: CC BY-SA 4.0 · Code: MIT · Built with Astro + Starlight