A set U is open when every point is an interior point — each point can be wrapped in an ε-ball. Move the point x and the radius ε on the line and watch whether the ball stays inside.
U open ⟺∀x∈U∃ε>0:(x−ε,x+ε)⊆U
F closed ⟺Fc open
Examples & Exercises
Prove directly from the definition that (0,1) is open.
ε=min(x,1−x)>0
x=0.5, ε=0.2 — the ball stays inside (0,1).Show proof
Let x∈(0,1). Since x>0 and 1−x>0, we may put ε=min(x,1−x)>0.
Let y∈(x−ε,x+ε). From ∣y−x∣<ε≤x we get y>x−ε≥0, and from ∣y−x∣<ε≤1−x we get y<x+ε≤1.
Hence (x−ε,x+ε)⊆(0,1). Since x was arbitrary, (0,1) is open.
Show ⋂n=1∞(−1/n,1/n)={0}, and prove it is not open.
n=1⋂∞(−n1,n1)={0}
{0} — no ε-ball fits inside a single point.Show proof
Let x∈⋂n(−1/n,1/n). Then ∣x∣<1/n for every n, so letting n→∞ gives ∣x∣=0, i.e. x=0.
Conversely 0 lies in every (−1/n,1/n), so the intersection is exactly {0}.
{0} is not open: at 0, for any ε>0 we have ε/2∈(−ε,ε) but ε/2∈/{0}, so no ε-ball fits inside {0}. — infinite intersections of open sets need not be open.
Prove [0,1] is not open.
−2ε∈(−ε,ε),−2ε∈/[0,1]
x=0 — at a boundary point every ε-ball leaks out.Show proof
0∈[0,1]. Let ε>0 be arbitrary.
−ε/2∈(−ε,ε) but −ε/2<0, so −ε/2∈/[0,1].
Hence no ε-ball at 0 stays inside [0,1]; [0,1] is not open.