gottfried
- 118
- 0
Homework Statement
Define the function f:ℝ→ℝ by f(x)=0 if x is irrational and f(p/q)=1/q if p,q are integers and q>0 and the fraction is in reduced form.
Prove f is continuous at every irrational point.
Homework Equations
The Attempt at a Solution
We must show that lim x->a f(x)=f(a)=0 if a is irrational.
This is clearly true for all the irrationals near a so we need to show that
lim (p/q)->a f(x)=0
From the limit definiton
\forall(|p|.\epsilon-a)>0 \exists \delta=(|p|.\epsilon - a) > 0 such that |p/q - a|<\delta
|p/q|<\delta + a
|q| > \frac{|p|}{\delta + a}
\frac{1}{|q|} < \frac{\delta + a}{|p|}
since \delta = (|p|.\epsilon -a)
we simplify to
|\frac{1}{q}|< \epsilon
Is that a sufficient proof
Any thoughts about this is appreciated.