show that $x\sin\left(\frac{1}{x}\right)$ is uniformly continuous on $(0,1)$

3.8k Views Asked by At

A student showed me the following exercise:

Is $h(x) = x \sin\left(\frac{1}{x}\right)$ uniformly continuous on $(0,1)$?

Admittedly, it has been a while since I have looked at problems involving uniform continuity and so I am not sure how to go about this problem.

My guess is that $h(x)$ is uniformly continuous on this interval but I am not sure how to go about picking an appropriate $\delta > 0$ such that $|x-c|< \delta$ implies $|h(x) - h(c)| < \epsilon$ for $x,c \in (0,1)$.

The student and I looked at $|x \sin(x) - c \sin(c)| \leq |x \sin(x)| + |c \sin(c)| \leq |x| + |c|$ although this feel like the wrong path to go down.

I appreciate any help! Thanks in advance!

2

There are 2 best solutions below

3
On BEST ANSWER

$h(x)=x\sin(\frac{1}{x})$ can be extended to a continuous function on $[0,1]$ by setting $h(0)=0$. As $[0,1]$ is compact it follows that $h(x)$ is uniformly continuous on $[0,1]$, and therefore is uniformly continuous on $(0,1)$.

3
On

An idea: to use the equivalent definition of unif. continuity: let $\;\{x_n\}\;,\;\;\{y_n\}\;$ be any two sequences in $\;(0,1)\;$ s.t. $\;x_n-y_n\xrightarrow[n\to\infty]{}0\;$, then:

$$|h(x_n)-h(y_n)|=\left|x_n\sin\frac1{x_n}-y_n\sin\frac1{y_n}\right|\le|x_n-y_n|\left|\sin\frac1{x_n}\right|+y_n\left|\sin\frac1{x_n}-\sin\frac1{y_n}\right|=$$

$$=|x_n-y_n|\left|\sin\frac1{x_n}\right|+y_n\left|2\sin\left(\frac{\frac1{x_n}-\frac1{y_n}}2\right)\cos\left(\frac{\frac1{x_n}+\frac1{y_n}}2\right)\right|\xrightarrow[n\to\infty]{}0+0=0$$

since both summands above are of the form "function converging to zero times something bounded" .