rachelro said:
if f : (0, 1]--> R is given by f(x) = 0 if x is irrational, and f(x) = 1/(m+n) if x = m/n in (0, 1] in lowest terms for integers m and n. How can i prove that this function is continuous at 1/√2?
Clearly, if [itex]\,\{y_n\}\,[/itex] is an irrational seq. s.t. [itex]\,\displaystyle{y_n\to\frac{1}{\sqrt{2}}}\,[/itex] , then [itex]\,\displaystyle{0=f(y_n)=f\left(\frac{1}{\sqrt{2}}\right)=0}[/itex]
OTOH, if [itex]\,\displaystyle{\left\{x_n=\frac{a_n}{b_n}\right\}}\,[/itex] is a rational seq. s.t. [itex]\,\displaystyle{x_n\to\frac{1}{\sqrt{2}}}\,[/itex] , with [itex]\,(a_n,b_n)=1\,\,\forall n\,[/itex] , then
Lemma: If [itex]\,\displaystyle{\left\{x_n=\frac{a_n}{b_n}\right\}}\,[/itex] is a rational seq. that converges
to an irrational number , then [itex]\,b_n\to \infty[/itex]
Proof: Exercise (try contradiction and check what happens when an integer seq. converges...)
DonAntonio