If $f:\mathbb{N}\rightarrow{\mathbb{R}}$ :
$f(x)=0 $ , if $x=1$ and $f(x)=\dfrac{1}{x-1}$ if $x>1$
(i) Proof $ f(\mathbb{N})$ is a compact set.
(ii) Is Weierstrass's theorem applicable? $f^{-1}:f(\mathbb{N})\rightarrow{\mathbb{N}}$
Thanks!
If $f:\mathbb{N}\rightarrow{\mathbb{R}}$ :
$f(x)=0 $ , if $x=1$ and $f(x)=\dfrac{1}{x-1}$ if $x>1$
(i) Proof $ f(\mathbb{N})$ is a compact set.
(ii) Is Weierstrass's theorem applicable? $f^{-1}:f(\mathbb{N})\rightarrow{\mathbb{N}}$
Thanks!
See that the set $f(\Bbb N)$ is closed and bounded thus conclude that it is compact. To see boundedness of $f(\Bbb N)$ see that $f(x) \leq 1 $ forall $x \in \Bbb N$.
$f(\Bbb N) = \{0,1,1/2,1/3, \cdots\}$. It is easy to see that $f(\Bbb N)$ is a closed set in $\Bbb R$ since $0$ is the only limit point of the set and it is in the set.