- #1
gottfried
- 119
- 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
[itex]\forall[/itex](|p|.[itex]\epsilon[/itex]-a)>0 [itex]\exists[/itex] [itex]\delta[/itex]=(|p|.[itex]\epsilon[/itex] - a) > 0 such that |p/q - a|<[itex]\delta[/itex]
|p/q|<[itex]\delta[/itex] + a
|q| > [itex]\frac{|p|}{\delta + a}[/itex]
[itex]\frac{1}{|q|}[/itex] < [itex]\frac{\delta + a}{|p|}[/itex]
since [itex]\delta[/itex] = (|p|.[itex]\epsilon[/itex] -a)
we simplify to
|[itex]\frac{1}{q}[/itex]|< [itex]\epsilon[/itex]
Is that a sufficient proof
Any thoughts about this is appreciated.