ANSWER.
By the definition of continuity from condition limn→∞xn=a it follows limn→∞f(xn)=f(a) . Therefore , if limn→∞xn=limn→∞yn=a then limn→∞f(xn)=limn→∞f( yn)
Let a be a real number and n be a natural number. Between the numbers a−1/n,a+1/n we choose a rational number xn and irrational number yn . Since a−n1<xn<a+n1,a−n1<yn<a+n1 , and limn→∞(a−n1)=limn→∞(a+n1)=a, then limn→∞xn=limn→∞yn=a . For sequences (xn) in Q, (yn) in R∖Q we have f(xn)=−2, f(yn)=2 for all n∈N . So
limn→∞f(xn)=−2=2= limn→∞f( yn) .
Hence, f is not continuous at a , and as a was arbitrary , that f is not continuous at any a∈R.
Comments