Limits of $f(x)=x-x$

It's obvious that $f(x)=x-x=0$. But what exactly happens here?

You have a function $f(x)=x-x$ and you have to calculate the limits when $x\to \infty$

This'll be like this: $$\lim\limits_{x\to \infty}f(x)=\infty - \infty$$ That's an indetermination, and you have to multiply both sides with the conjugate of $f(x)$, which is equal to $x+x$.

\begin{align} f(x)&=x-x\\ &=\frac{(x-x)(x+x)}{x+x}\\ &=\frac{x^2-x^2}{x+x} \end{align}

If we do the limits now the answer is going to be: $$\lim\limits_{x\to \infty}f(x)=\frac{\infty - \infty}{\infty+\infty}$$ Which it's another type of indetermination(I think).

What happens here?Can there be an error multiplying with it's conjugate in both sides? Is there another case like this? Or am I completely wrong?


$\lim\limits_{x\to\infty}(x-x)$ isn't indeterminate: since $x-x=0$ for all $x$, it's simply $\lim\limits_{x\to\infty}0=0$. You certainly don't have to multiply by $\frac{x+x}{x+x}$, since there's a very simple, direct way to evaluate the limit. If you do perform this unnecessarly multiplication to get $$\lim_{x\to\infty}\frac{x^2-x^2}{x+x}\;,$$ you get a second chance to realize that you can simplify the expression: $\frac{x^2-x^2}{x+x}$ is identically $0$ for $x\ne 0$, and the singularity at $x=0$ is irrelevant to the limit as $x\to\infty$, so once again you have simply $\lim\limits_{x\to\infty}0=0$.


Never treat the symbol $\infty$ as a number subject to the usual rules of arithmetic. In most limit questions that you are asked, that procedure will give you the wrong answer. It can be useful, in a question about $\lim_{x\to \infty}f(x)$, to imagine that $x$ is a very large specific number, like $10^{40}$. It is clear that if $x=10^{40}$, then $x-x=0$.


The problem with indeterminate forms is that you measure things which approach the same limit, but at possibly different rates and what you are interested is the limit of the difference.

This is why $\lim 2n-n=\infty-\infty$ is infinite, because we evaluate the limit of the difference, not the difference of limits.

On the other hand, $f(x)=x-x$ is constantly zero, the difference is constant and therefore the limit is constant too, similarly $g(x)=\frac{x}{2x}$ has a constant ratio of $\frac12$ when approaching infinity, and the same logic applies.


The key point which is at stake here is that limits are NOT linear when they do not exist (or are infinity). In other words, $\lim_{x\rightarrow\infty} (x-x)$ does NOT equal $\lim_{x\rightarrow\infty}x-\lim_{x\rightarrow\infty}x$, whereas $\lim_{x\rightarrow\infty}(1/x-1/x)=\lim_{x\rightarrow\infty}(1/x)-\lim_{x\rightarrow\infty}(1/x)=0-0=0$ is valid since the individual limits exist and are finite. In particular, it is extremely dangerous to even hypothetically reason that $\lim_{x\rightarrow\infty}=\infty-\infty$ not only because the right hand side makes no sense but also because this masks the subtle lower order behavior that goes on. Take for example $\lim_{x\rightarrow\infty} (1+x-x)$ and erroneously conclude that it's 0 by thinking $\lim_{x\rightarrow\infty}(1+x)=\infty$ and $\lim_{x\rightarrow}(-x)=-\infty$ whereas the correct answer is simply 1. I sincerely urge you to drop this handwavy plugging in of $\infty$ into limits and use more grounded techniques to reason them out (at least until you are comfortable with the rules at work here).


The best way of doing limits is by simplifying from the start, so you only have to do this: \begin{align}f(x)&=x-x\\&=0\end{align}With this, you know that whatever the value of $x$ is, $f(x)$ is going to be $0$.