1

Let $f:\Bbb R \to\Bbb R$ be defined by setting $f(x) = \sin x$ if $x$ is rational, and $f(x) = 0$ otherwise. At what points is $f$ continuous?

is this true?

Let $c$ be irrational. Then there exists a sequence of rational numbers $x_n$ such that $\lim x_n=c$. Then $f(x_n)=\sin x_n$, $\lim f(x_n)=\sin c$. However $f(c)=0$. Thus $f$ is discontinuous at $c$.

Brian M. Scott
  • 616,228

1 Answers1

0

HINT: You’re thinking in the right direction, but you’ve overlooked the possibility that $\sin c=0$. For what irrationals $c$ is this true?

Brian M. Scott
  • 616,228