I have formulated an old question but in that case I have committed many errors in limit calculus and I understand my doubt was not absolutely clear so I have decided to remove it (it had not answer) and now I try to formulate it better.
If I have a limit as $x$ goes to $\infty$ or $x\to 0$ I can multiply and divide by $x$ in order for instance to regain a notable limit. For instance $$\lim_{x\to 0}\frac{\sin^2{x}}{x}=\lim_{x\to 0}x\frac{\sin^2{x}}{x^2}=0$$ Now: if I have for istance a function $f(x)$ s.t $\lim_{x\to \infty}\frac{f(x)}{x}=1$ and I have to compute $\lim_{x\to \infty}f(x)-x$, if I apply the previous argument ONLY on the term $f(x)$ I will obtain: $\lim_{x\to \infty}x-x=0$.
$\textbf{My doubt is: }$is it allowed what i have done in the last?