Apostol's book Calculus asks to show that there is not a value $A$ such that $f(x)=\sin\left(\frac{1}{x}\right)\to A$ when $x \to 0$. And my proof is:
Suppose for the sake of contradiction that there exists such $A$. If we take $\epsilon=1$, we have two cases:
If $A>0$, then $A - \epsilon > -1$, so $-1$ does not satisfy $|-1-A|<\epsilon$ inequality. Now for given $\delta>0$ we can take a natural number $n$ such that $\frac{2-3\pi\delta}{4\pi\delta}<n $ and then $0<\frac{1}{\pi\left( \frac{3}{2}+2n \right)}<\delta$. But $$f\left( \left( \frac{3}{2}\pi+2n\pi \right)^{-1} \right)=\sin \pi\left( \frac{3}{2}+2n \right)=-1. $$
If $A\le0$, then $A+\epsilon\le1$ so $1$ does not satisfy $|1-A|<\epsilon $ inequality. Now for given $\delta>0$ we can take a natural number $n$ such that $\frac{2-\pi\delta}{4\pi\delta}<n $ and then $0<\frac{1}{\pi\left( \frac{1}{2}+2n \right)}<\delta$. But $$f\left( \left( \frac{1}{2}\pi+2n\pi \right)^{-1} \right)=\sin \pi\left( \frac{1}{2}+2n \right)=1.$$
We have proved that with $\epsilon=1$ for every $\delta>0$ there exist $x$ such that $0<x<\delta$ but $|\sin \frac{1}{x} - A|<\epsilon$ does not hold. Therefore we have a contradiction, so such $A$ does not exist.
Is my proof correct? there is a shorter argument?. Thanks in advance.
You are, in essence, showing there exists sequences $y_n,x_n$ such that $\lim\limits_{n\to\infty} y_n=\lim\limits_{n\to\infty} x_n=0$ yet $$\lim\limits_{n\to\infty} \sin y_n^{-1}\neq \lim\limits_{n\to\infty}\sin x_n^{-1}$$
This can be generalized: