My initial thought would have been yes, but my professor's solution to proving that $\lim_{x \rightarrow0}(2x\sin(1/x)-\cos(1/x))$ doesn't exist has me thinking otherwise.
Professor's solution:
Assume for a contradiction that there exists $\lim_{x \rightarrow0}(2x\sin(1/x)-\cos(1/x))=l$ for some $l\in\mathbb{R}.$
Notice that $\cos(1/x)=(\cos(1/x)-2x\sin(1/x))+2x\sin(1/x).$
Then by our assumption, the fact that $\lim_{x\rightarrow0}2x\sin(1/x)=0$ (proof by Sandwich Theorem omitted) and using the Algebra of Limits we have that $$\lim_{x\rightarrow0}(\cos(1/x)-2x\sin(1/x))+2x\sin(1/x) \\=\lim_{x\rightarrow 0}(\cos(1/x)-2x\sin(1/x))+\lim_{x\rightarrow0}2x\sin(1/x)$$
But observe that $\lim_{x\rightarrow 0}\cos(1/x)$ does not exist (proof using sequences omitted). Hence we have a contradiction.
Ok so I have to admit that I don't even see where the contradiction is nor why we had to go through such a long process, just to end up with needing to show that the limit doesn't exist because $\lim_{x\rightarrow0}\cos(1/x)$ doesn't exist. Couldn't we just have done that from the start?