Prove that $f\left( x\right) =\begin{cases} \sin \dfrac {1} {x},x \neq 0\\ 0,x=0\end{cases}$
has no limit as $x\rightarrow 0$.
Proof. Consider $a_{n}=\dfrac {2} {\left( 4n+1\right) \pi }$ and $b_{n}=\dfrac {2} {\left( 4n+3\right) \pi }$, $n\in\mathbb{N}$.
Clearly, both $a_{n}$ and $b_{n}$ converge to $0$ as $n\rightarrow \infty$. On the other hand, since $f\left( a_{n}\right) =1$ and $f\left( b_{n}\right) =-1$ for all $n\in\mathbb{N}$, $f\left( a_{n}\right) \rightarrow 1$ and $f\left( b_{n}\right) \rightarrow -1$ as $n\rightarrow \infty$. Thus, the limit of $f(x)$, as $x\rightarrow \infty$, cannot exist.
My question is: Why consider $a_{n}=\dfrac {2} {\left( 4n+1\right) \pi }$ and $b_{n}=\dfrac {2} {\left( 4n+3\right) \pi }$?