Need help proving $h$ is continuous at $0$

49 Views Asked by At

Here's the problem:

Define $h: \mathbb{R} \to \mathbb{R}$ by

enter image description here

Prove $h$ is continuous at $0$.

Usually, I have a good idea how to prove this when the cases are $x=0$ and $x\neq0$, but I'm a bit thrown off here since it says $x$ is rational/irrational. Can someone help explain this problem to me?

I think I'm supposed to use $\epsilon-\delta$ proof, but I'm not sure.

2

There are 2 best solutions below

6
On BEST ANSWER

Hint:

$$\left|x\sin\frac1x\right|\le|x|\to 0$$

0
On

You could equivalently use sequential continuity: show that for all $a_n\to 0$, we have $h(a_n)\to h(0)=0$. Using the fact that $|\sin|\leq 1$, this shouldn't be too hard.